static-code-analyzer
Deep static analysis of codebases for quality, complexity, and migration readiness assessment
npx skills add a5c-ai/babysitter --skill static-code-analyzer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Static Code Analyzer Skill Performs comprehensive static analysis of codebases to assess code quality, complexity metrics, and migration readiness. This skill integrates with industry-standard tools to provide actionable insights for migration planning. ## Purpose Enable deep static analysis of codebases for: - Code quality assessment - Complexity measurement - Migration readiness evaluation - Technical debt quantification - Security vulnerability scanning (SAST) ## Capabilities ### 1. Cyclomatic Complexity Measurement - Analyze control flow complexity - Identify high-complexity functions/methods - Generate complexity reports by module/package - Track complexity trends over time ### 2. Code Duplication Detection (Clone Detection) - Detect exact code clones - Identify near-duplicates and structural clones - Calculate duplication percentage - Map clone relationships ### 3. Dead Code Identification - Find unreachable code paths - Identify unused functions/methods - Detect orphaned imports and exports - Flag obsolete feature flags ### 4. Security Vulnerability Scanning (SAST) - Scan for common security anti-patterns - Identify injection vulnerabilities - Check for hardcoded secrets -
- Purpose
- Capabilities
- 1. Cyclomatic Complexity Measurement
- 2. Code Duplication Detection (Clone Detection)
- 3. Dead Code Identification
- 4. Security Vulnerability Scanning (SAST)
- 5. Maintainability Index Calculation
- 6. Coding Standards Compliance
- Tool Integrations
- Usage
- Basic Analysis
- Analysis Workflow
- Output Schema
- Integration with Migration Processes
Invoke skill for basic analysis The skill will auto-detect language and apply appropriate analyzers Expected inputs:
What does the static-code-analyzer skill do?
Deep static analysis of codebases for quality, complexity, and migration readiness assessment
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill static-code-analyzer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
