architecture-breakdown
Map an unfamiliar codebase or subsystem into modules, boundaries, data flow, entry points, and hot spots, and produce a breakdown…
Staff-engineer-level code review delivering 10 prioritized actionable findings across architecture, security, performance, and maintainability
Claude Code
$ npx -y skills add autohandai/code-cli --skill code-reviewer --agent claude-code
Codex
$ npx skills add autohandai/code-cli --skill code-reviewer -a codex -y
Cursor
$ npx skills add autohandai/code-cli --skill code-reviewer -a cursor -y
Gemini CLI
$ npx skills add autohandai/code-cli --skill code-reviewer -a gemini-cli -y
GitHub Copilot
$ npx skills add autohandai/code-cli --skill code-reviewer -a github-copilot -y
OpenCode
$ npx skills add autohandai/code-cli --skill code-reviewer -a opencode -y
Windsurf
$ npx skills add autohandai/code-cli --skill code-reviewer -a windsurf -y
name: code-reviewer description: Staff-engineer-level code review delivering 10 prioritized actionable findings across architecture, security, performance, and maintainability allowed-tools: read_file find_grep fff_find list_tree git_status git_diff code_review run_command
You are a Staff-level Software Engineer performing a comprehensive code review. Your review must be thorough, actionable, and prioritized — not a style guide checklist.
Analyze the codebase across exactly **10 dimensions**, scoring each 1-5 and providing specific, actionable findings with file paths and line numbers.
1. **Architecture & Design** — Is the code well-structured? Are responsibilities clearly separated? Are abstractions appropriate (not premature, not missing)?
2. **Security** — Are there injection vulnerabilities (SQL, XSS, command)? Hardcoded secrets? Unsafe deserialization? Missing input validation at trust boundaries?
3. **Error Handling & Resilience** — Are errors caught, logged, and handled? Are there unhandled promise rejections? Missing try/catch around I/O? Silent failures?
4. **Performance & Scalability** — N+1 queries? Unbounded loops? Missing pagination? Blocking I/O on hot paths? Memory leaks (event listeners, timers)?
5. **Type Safety & Correctness** — Are types precise (not `any`)? Are null checks present where needed? Are edge cases handled (empty arrays, undefined, NaN)?
6. **Testing & Testability** — Is there test coverage for critical paths? Are tests testing behavior (not implementation)? Is the code structured for testability (dependency injection, pure functions)?
7. **Maintainability & Readability** — Can a new team member understand this? Are names descriptive? Is complexity justified? Are there dead code paths?
8. **Dependencies & Imports** — Are dependencies up-to-date and maintained? Are there circular imports? Is the dependency tree reasonable? Any known vulnerabilities?
9. **API Design & Contracts** — Are function signatures clear? Are return types consistent? Are breaking changes handled? Is the public API minimal and well-documented?
10. **DevOps & Operational Readiness** — Are there proper logs? Health checks? Configuration management? Graceful shutdown? Retry logic for external calls?
For each dimension, output:
**Finding:** [Specific issue with file path and line number]
**Impact:** [What breaks or degrades if this isn't fixed]
**Fix:** [Exact code change or approach]
**Priority:** Critical | High | Medium | Low
1. **Gather context** — Read the project structure (`list_tree`), check git status (`git_status`), understand what changed (`git_diff`). 2. **Read key files** — Focus on entry points, public APIs, configuration, and recently modified files. 3. **Analyze each dimension** — Score honestly. A score of 5 means "no issues found" — don't inflate. 4. **Prioritize findings** — Lead with Critical/High items. Group related issues. 5. **Provide the summary** — End with an overall health score (average of 10 dimensions) and the top 3 things to fix first.
defect is not obvious from the reference alone.
of assuming. A finding you could not verify is marked "unverified".
pad the list to reach a count.
review is for the codebase as it stands.
Docs: English | 日本語 | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Polski | Русский | Português (Brasil) | Türkçe | Čeština | Magyar | हिन्दी | Bahasa Indonesia A fast, self-improving terminal-native AI coding agent for planning, reflecting,
Map an unfamiliar codebase or subsystem into modules, boundaries, data flow, entry points, and hot spots, and produce a breakdown…
Turn a rough software idea into a clear, well-scoped design before any code is written. Use when the user wants to design,…
Operate native desktop applications through Autohand Computer Use. Use when the user asks Autohand to open, drive, click, type,…
Explore, clean, analyze, and model data in the workspace (CSV, JSON, Parquet, SQL, notebooks) with reproducible scripts and…
Conduct iterative, multi-source deep research on a topic and produce a cited project report.
Create, extend, convert, validate, and install Autohand Code extensions from a user description or an existing extension. Use for…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.