mattmakes/multi-herdr/code-analysis
Claude Code and agent skill by mattmakes/multi-herdr
- community
Checking that the SKILL.md file is still in the repository.
Use when complexity-sweep or `horch ledger complexity` names a function, an analyzer reports a threshold violation, or a brief asks you to assess complexity. Load before you refactor. Skip it and the next sweep fails on the same function.
Install
npx vskill@latest install mattmakes/multi-herdr/code-analysisSKILL.md
The same SKILL.md was published earlier as mattmakes/multi-herdr/code-analysis.
Code Analysis
Analyze the assigned scope using the target repository's available analyzers. This portable workflow does not bundle any standalone JavaScript metrics engine or install tools at runtime.
- Determine the exact files or diff from the brief. Inspect language manifests, analyzer configuration, and CI scripts. Exclude generated/vendor files unless specifically in scope; report if no applicable source remains.
- Run the existing project analysis command with its configured thresholds. Capture tool/version, command, scope, diagnostics, and exit code. Do not assume one language's metrics are available for another, or invent measurements when an analyzer is absent.
- Group diagnostics by file and function. Read each flagged function and its callers to identify the actual construct driving the result: nested decisions, long-lived state, mutable globals, coupled calls, duplicated transformations, or unclear responsibility.
- Interpret metrics according to the tool: cyclomatic complexity measures paths; live variables and variable span reflect state burden; ABC reflects assignments, calls, and conditions; nesting weights structural depth. A maintainability index may use lower-is-worse thresholds. Report only measurements the installed tool actually produces.
- Distinguish new violations from the baseline where comparison is available. A low branch count can still hide excessive sequential state; identify this qualitatively rather than assigning invented scores. Conversely, a threshold violation alone does not prove a bug.
- Report
file:line, function, measured value/threshold when available, concrete cause, behavioral constraints, and a targeted refactoring recommendation. If no analyzer is available, perform an explicitly labeled qualitative review and report the measurement limitation.
Validation work reports findings by default. When refactoring is authorized, preserve contracts and meaningful tests, make focused changes, then rerun the same analysis and relevant tests. Compare before/after evidence without trading readable code for metric gaming. Save the report at the assigned path or ai_docs/reviews/code-analysis.md.
Worker coordination
Follow the assigned brief and repository instructions. Load only the skill content relevant to the current task. For a material ambiguity or missing prerequisite, use horch tell orchestrator with a concise question, evidence, and the affected task. Continue independent work and block only the dependent action. If messaging is unavailable, record the blocker in the worker result. Do not wait on an interactive human prompt or add routine approval checkpoints when the work is already authorized.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/code-analysis/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 8
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
[](https://verified-skill.com/skills/mattmakes/multi-herdr/code-analysis)