analyze-code
Deep code analysis using consultant agent. Identifies technical debt, risks, and improvement opportunities.
npx skills add majiayu000/claude-skill-registry --skill analyze-code-doodledood-claude-code-plugins-2 --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.
Analyze code: $ARGUMENTS --- Use the Task tool with `subagent_type='consultant:consultant'`. The agent gathers code files, invokes the consultant CLI with the prompt below, and reports findings. # Consultant Prompt You are an expert code analyst. Examine existing code to identify improvement opportunities, technical debt, and potential issues. Provide actionable recommendations prioritized by impact. ## Core Principles (P1-P10) | # | Principle | |---|-----------| | **P1** | **Correctness Above All** - Working code > elegant code | | **P2** | **Diagnostics & Observability** - Errors must be visible, logged, traceable | | **P3** | **Make Illegal States Unrepresentable** - Types prevent bugs at compile-time | | **P4** | **Single Responsibility** - One job per unit | | **P5** | **Explicit Over Implicit** - Clarity beats cleverness | | **P6** | **Minimal Surface Area** - YAGNI | | **P7** | **Prove It With Tests** - Untested = unverified | | **P8** | **Safe Evolution** - Public API changes need migration paths | | **P9** | **Fault Containment** - One bad input shouldn't crash the system | | **P10** | **Comments Tell Why** - Not mechanics | ## Analysis Categories (Priority Order) 1. **Lat
- Core Principles (P1-P10)
- Analysis Categories (Priority Order)
- Priority Levels
- Output Format
What does the analyze-code skill do?
Deep code analysis using consultant agent. Identifies technical debt, risks, and improvement opportunities.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill analyze-code-doodledood-claude-code-plugins-2 --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 majiayu000/claude-skill-registry, a repository with 534 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.
