Code Review · agent skill
Architecture Map
Measures the real graph. Ranks the five worst problems.
What it does
Loads when it is needed
Your agent loads it when the user wants to understand, onboard onto or improve a codebase's structure. It carries 5 rules and reads a profile.md with your details before it starts, so the output matches your brand and project.
Same prompt, with and without
Map the architecture before a refactor
Prompt · I'm new to this repo and we want to split it up next quarter. Map the real architecture and tell me what to fix first.
Repo: 214 TS files, ~38k lines. Measured import counts (importer -> imported, count of files):
api/* -> services/orders: 31 files; api/* -> db/client: 27 files (routes query the DB directly)
services/orders -> services/billing: 9; services/billing -> services/orders: 7 (cycle)
services/billing -> services/customers: 6; services/customers -> services/billing: 4 (cycle)
utils/helpers.ts: imported by 88 files, 1,940 lines, 61 exports
services/orders/index.ts: 2,310 lines, changed in 74 of last 200 commits
db/client: imported by 52 files across api, services, jobs
jobs/* -> api/*: 5 files (cron jobs call HTTP route handlers)
No file in web/ imports from services/ or db/. Tests: 41 files, 0 in services/billing.
Top-level dirs: api, services, db, jobs, utils, web, config.Profile used: Project: order and payments API; Stack: TypeScript, Express, Stripe, Postgres; Strictness: Standard; Conventions: none beyond eslint
Both answers from the same model (Claude sonnet), 2026-10-17. The one without the skill was written in a separate session that never saw it. Shortened where marked with …
Install
One command, in your project
It detects your agent; add --agent all for every agent.
npx proskills-cli add architecture-map --order <order id from your receipt>
Or copy the skill folder (the one holding SKILL.md) into the directory your agent reads, then restart it or start a new session.
| Agent | This project | Every project |
|---|---|---|
| Claude Code | .claude/skills/ | ~/.claude/skills/ |
| Cursor | .agents/skills/ (or .cursor/skills/) | ~/.cursor/skills/ |
| Codex | .agents/skills/ | ~/.agents/skills/ |
| Gemini CLI | .agents/skills/ (or .gemini/skills/) | ~/.gemini/skills/ |
Changelog
What changed
- v1.0.0 · 2026-10-17
- First versioned release: Map the real import graph, rank the five costliest problems, fix them in green steps.
- Scanned 100/100 before release.
Keep it current with npx proskills-cli update; your profile.md is never touched. Everyone who bought it gets the update free and an email when it lands.
Same collection
More from Code Review
The scan checks spec compliance, token cost, clarity and security patterns. A clean scan is not a guarantee: static scanners can be evaded. Scan any skill yourself.