softspark/ai-toolkit/analyze

Claude Code and agent skill by softspark/ai-toolkit

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture signal.

Install

npx vskill@latest install softspark/ai-toolkit/analyze

SKILL.md

The same SKILL.md was published earlier as softspark/ai-toolkit/analyze.

Code Analysis

$ARGUMENTS

Analyze code quality, complexity, and patterns.

Usage

/analyze [path] [--type=<type>]

What This Command Does

  1. Scans codebase or specific path
  2. Analyzes code quality metrics
  3. Identifies patterns and anti-patterns
  4. Reports findings with recommendations

Analysis Types

TypeDescription
qualityCode quality metrics (default)
securitySecurity vulnerability scan
complexityCyclomatic complexity
dependenciesDependency analysis
coverageTest coverage gaps

Output Format

markdown
## Code Analysis Report
### Summary
-**Files Analyzed**: [count]
-**Issues Found**: [count]
-**Quality Score**: [score]/100
### Metrics
| Metric | Value | Threshold |
|--------|-------|-----------|
| Complexity | [avg] | <10 |
| Duplication | [%] | <5% |
| Coverage | [%] | >70% |
### Issues by Severity
-Critical: [count]
-High: [count]
-Medium: [count]
-Low: [count]
### Top Issues
1.**[Issue]** - [file:line]
-[Description]
-Fix: [Recommendation]
### Patterns Detected
-[Pattern 1]: [locations]
-[Pattern 2]: [locations]
### Recommendations
1.[Recommendation with priority]

Automated Complexity Analysis

Run the bundled script for a quick complexity report:

bash
python3 ${CLAUDE_SKILL_DIR}/scripts/complexity.py .

Reports file counts by type, largest files, TODO/FIXME counts, and total code lines.

Common Rationalizations

ExcuseWhy It's Wrong
"The linter is green, the code is fine"Linters catch syntax, not design flaws — analysis covers architecture and patterns
"We know where the problems are"Intuition misses systemic issues — data-driven analysis reveals hidden hotspots
"Analysis takes too long"A 5-minute scan prevents weeks of debugging — front-load the investment
"It's legacy code, analysis won't help"Legacy code benefits most — find the critical paths before they break

Tools Used

LanguageTools
Pythonruff, mypy, pylint
JavaScripteslint, tsc
Gogolangci-lint
Rustclippy

Rules

  • MUST report measured values — never assert "this is fine" without numbers
  • NEVER modify source files (read-only skill)
  • CRITICAL: if the requested analysis type is unsupported for the detected language, say so explicitly and stop — do not fake metrics

Gotchas

  • Linters that exit 0 still may have skipped files (gitignore rules, no-match patterns, parse errors). Always read the "N files checked" line before reporting "clean".
  • Coverage percentages silently exclude generated code, migrations, and __init__.py by default. Report coverage with the exclude list, not the headline number alone.
  • ruff and pylint disagree on several rules (line length, import order) — pick one as the source of truth for the project and note the choice in the report.
  • mypy --strict on a codebase that was not authored under strict mode will return hundreds of spurious findings. Start with --ignore-missing-imports and a file allowlist before claiming the codebase is untyped.

When NOT to Use

  • For a single-PR code review — use /review instead
  • For fixing a specific bug — use /debug or /fix
  • For architectural friction and module design — use /architecture-audit
  • For a vulnerability scan of dependencies — use /cve-scan

Related Skills

  • Found quality issues? → /refactor to fix them systematically
  • Security issues detected? → /cve-scan for dependency audit
  • Want deeper architecture review? → /architecture-audit for friction discovery
  • Performance hotspots found? → /workflow performance-optimization

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
162
Repository forks
21
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/softspark/ai-toolkit/analyze/badge)](https://verified-skill.com/skills/softspark/ai-toolkit/analyze)

Something wrong with this skill or its page? Tell us.