Analyzing Codebases

Runs real static-analysis tooling and ranks refactor hotspots by churn x complexity.

Works with setup

Test report

Verdict
Works with setup
Score
8.0/10
Tested
Jul 15, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · 11e7413

Ran the real toolchain on a throwaway TS repo: jscpd correctly caught an exact-clone duplication cluster and git-churn math correctly ranked the touched-and-duplicated file above its untouched twin (score 96 vs 16, both cognitive complexity 16). But the reference doc's literal commands for dependency-cruiser and eslint-plugin-sonarjs both failed out of the box (needed --no-config plus --include-only, and a manually added @typescript-eslint/parser) — friction not mentioned anywhere in the skill.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 7/10
  • Docs & honesty 3/5

What Analyzing Codebases does

Detects a project's languages and monorepo shape, runs the matching static-analysis toolchain (dependency graph, duplication, cognitive complexity, semantic patterns), and writes a machine-parseable refactor map ranking the top 20 hotspots by git churn times complexity. Triggers on /aref or an explicit ask to analyze a codebase before refactoring.

How to install Analyzing Codebases

git clone https://github.com/wayne930242/Reflexive-Claude-Code
mkdir -p ~/.claude/skills
cp -r Reflexive-Claude-Code/plugins/aref/skills/analyzing-codebases ~/.claude/skills/analyzing-codebases

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Analyzing Codebases

  • /analyzing-codebases Runs real static-analysis tooling and ranks refactor hotspots by churn x complexity.

It also activates on plain-language prompts like these:

  • Analyze this codebase and tell me what needs refactoring first
  • Give me a hotspot map of the messiest, most complex files before we refactor
  • Which files here have the highest git churn combined with high complexity?

Frequently asked questions

Is the Analyzing Codebases skill free?
Yes. The skill itself is free from wayne930242/Reflexive-Claude-Code. SkillProof publishes the install command and an independent test verdict at no cost.
Does Analyzing Codebases work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 15, 2026. Verdict: Works with setup. Ran the real toolchain on a throwaway TS repo: jscpd correctly caught an exact-clone duplication cluster and git-churn math correctly ranked the touched-and-duplicated file above its untouched twin (score 96 vs 16, both cognitive complexity 16). But the reference doc's literal commands for dependency-cruiser and eslint-plugin-sonarjs both failed out of the box (needed --no-config plus --include-only, and a manually added @typescript-eslint/parser) — friction not mentioned anywhere in the skill.
What is the Analyzing Codebases SkillProof Score?
8.0/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 7/10, docs & honesty 3/5.
How do I install Analyzing Codebases?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Analyzing Codebases with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.