analyze

Solid

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

AI & Automation 155 stars 19 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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 | Type | Description | |------|-------------| | `quality` | Code quality metrics (default) | | `security` | Security vulnerability scan | | `complexity` | Cyclomatic complexity | | `dependencies` | Dependency analysis | | `coverage` | Test 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 Rationalizatio...

Details

Author
softspark
Repository
softspark/ai-toolkit
Created
2 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category