code reviewby wasabeef
Analyze project dependencies and evaluate architectural health
wasabeef/analyze-project-dependencies-and-evaluate-architectural-health
Analyze project dependencies and evaluate architectural health. Trigger with "analyze dependencies", "detect circular dependencies", "architecture issues?", "check module coupling", "find layer violations". Generates dependency matrix, fan-in/fan-out analysis, and prioritized improvement suggestions.
What it changes
Passed 19 of 22 test cases with the skill, and 11 of 22 without it.
Without skill50%
With skill86%
Checks it passed that the model alone missed
- Identifies 3 as the default depth setting
- Uses the command /dependency-analysis --circular
- Uses the /dependency-analysis command with --compare HEAD~10
and 5 more in the full report
8 fixed11 passed either way3 still failing0 broke
- Pass-rate lift
- +36 pp
- Tokens
- +11%
- Agent turns
- 0%
- Response time
- -44%
Model gemini-3.6-flashMeasured 8/15/2026v119 of 22 cases passed with skill
See it in action
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptIf no specific depth flag is supplied when executing `/dependency-analysis`, what default search depth is evaluated?
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| Identifies 3 as the default depth setting | Missed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md158 linessingle file
Analyze project dependencies and evaluate architectural health
Analyzes your project's dependencies and checks architecture health.
Usage
/dependency-analysis [options]
Options
--visual: Visually display dependencies
--circular: Detect only circular dependencies
--depth <number>: Specify analysis depth (default: 3)
--focus <path>: Focus on specific module/directory
Basic Examples
# Analyze dependencies for entire project
/dependency-analysis
# Detect circular dependencies
/dependency-analysis --circular
# Detailed analysis of specific module
/dependency-analysis --focus src/core --depth 5
What Gets Analyzed
1. Dependency Matrix
Shows how modules connect to each other:
- Direct dependencies
- Indirect dependencies
- Dependency depth
- Fan-in/fan-out
Track record
Benchmark
19 / 22
test cases passed, vs 11 / 22 without
Adoption
- Users
- 0
- Times used
- 0
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/3/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
Importedwasabeef / claude-code-cookbook
plugins/en/skills/analyze-dependencies/SKILL.md
View on GitHub ↗Imported 8/3/2026Version v1