Help us improve
Share bugs, ideas, or general feedback.
From project-toolkit
Performs systematic multi-step codebase analysis producing prioritized findings with file-line evidence for architecture reviews, security assessments, and code quality evaluations.
npx claudepluginhub rjmurillo/ai-agents --plugin project-toolkitHow this skill is triggered — by the user, by Claude, or both
Slash command
/project-toolkit:analyzeclaude-sonnet-4-6This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
When this skill activates, IMMEDIATELY invoke the script. The script IS the workflow. Do NOT explore the codebase first.
Performs systematic multi-step codebase analysis producing prioritized findings with file-line evidence. Covers architecture reviews, security assessments, and code quality evaluations for broad investigations.
Analyzes codebase architecture via multi-agent specialists on structure, coupling, integration, error handling, security; verifies findings, reports strengths and flaws with evidence.
Audits entire codebases for security vulnerabilities, architecture issues, and dependencies using 1M context window in a single pass. Use for whole-project analysis.
Share bugs, ideas, or general feedback.
When this skill activates, IMMEDIATELY invoke the script. The script IS the workflow. Do NOT explore the codebase first.
analyze this codebase - architecture and quality focusreview code quality - quality focusrun security assessment - security focusarchitecture review of this system - architecture focusfind code smells - quality focus| Input | Focus | Minimum Steps |
|---|---|---|
| Architecture review | Structure, dependencies, layering | 6 |
| Security assessment | Input validation, auth, data handling | 7-9 |
| Code quality | Duplication, complexity, test gaps | 6-7 |
| Broad investigation | All dimensions | 9-12 |
When using the Bash tool, all arguments containing variable or user-provided input MUST be quoted to prevent command injection vulnerabilities. Refer to the repository style guide on Command Injection Prevention (CWE-78).
WRONG: grep $PATTERN /some/path
CORRECT: grep -- "$PATTERN" /some/path
Use this skill when:
Use direct code reading instead when:
| Script | Purpose | Exit Codes |
|---|---|---|
scripts/analyze.py | Multi-step guided analysis with exploration, investigation, and synthesis | 0=success, 1=invalid input |
python3 scripts/analyze.py \
--step-number 1 \
--total-steps 6 \
--thoughts "Starting analysis. User request: <describe what user asked to analyze>"
| Argument | Required | Description |
|---|---|---|
--step-number | Yes | Current step (starts at 1) |
--total-steps | Yes | Minimum 6; adjust as script instructs |
--thoughts | Yes | Accumulated state from all previous steps |
The script outputs REQUIRED ACTIONS at each step. Follow them exactly.
Delegate to Explore agent(s). The script determines scope and parallelism. Wait for all agents, then re-invoke scripts/analyze.py with --step-number 1, including the Explore results in --thoughts.
Classify investigation areas by dimension (architecture, performance, security, quality). Assign priorities P1-P3. Estimate total steps.
Commit to specific files, questions, and hypotheses per focus area. This creates a contract verified in the verification phase.
Execute the investigation plan. Read files, collect evidence with file:line references and quoted code. Trace root causes across files.
Audit completeness against step 3 commitments. Identify gaps. If gaps exist, increase total-steps and return to deep analysis.
Consolidate verified findings by severity (critical, high, medium, low). Identify systemic patterns. Produce prioritized action plan.
# Step 1: Start, script instructs you to explore first
python3 scripts/analyze.py --step-number 1 --total-steps 6 \
--thoughts "Starting analysis of auth system"
# [Follow REQUIRED ACTIONS: delegate to Explore agent, wait for results]
# Step 1 again with explore results
python3 scripts/analyze.py --step-number 1 --total-steps 6 \
--thoughts "Explore found: Flask app, SQLAlchemy, auth/ dir..."
# Step 2+: Continue following script output
python3 scripts/analyze.py --step-number 2 --total-steps 7 \
--thoughts "[accumulated state from step 1] Focus: security P1, quality P2"
| Avoid | Why | Instead |
|---|---|---|
| Exploring the codebase before invoking the script | Script orchestrates exploration order | Run step 1 immediately, let script direct you |
| Skipping the Explore agent delegation | Misses broad codebase context | Follow step 1 REQUIRED ACTIONS to delegate |
| Passing empty thoughts to later steps | Loses accumulated context | Include all findings from previous steps |
| Reducing total-steps below 6 | Skips verification and synthesis | Keep minimum 6, increase as script directs |
| Reporting findings without file:line evidence | Unverifiable claims | Always cite specific locations |
After execution: