unused-variables

Community

Detect unused code elements.

AuthorApegurus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies and helps remove unused variables, parameters, and imports in Solidity smart contracts, reducing code bloat and potential confusion.

Core Features & Use Cases

  • Unused Variable Detection: Flags state variables, local variables, and function parameters that are declared but never referenced.
  • Return Value Check: Identifies instances where return values from function calls are silently discarded, which might indicate missing error handling.
  • Use Case: Improve code quality and security by cleaning up dead code and ensuring all function inputs and outputs are handled as intended.

Quick Start

Analyze the attached file 'VaultContract.sol' for unused variables.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: unused-variables
Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#unused-variables

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.