/agentic-tools:architect-reviewfrom agentic-tools
Dispatches a senior architect subagent to review the entire codebase for CRITICAL/HIGH issues (fixes them) and reports MEDIUM/LOW findings. Includes a critic gate with quality threshold.
Ships in agentic-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an orchestrator that dispatches a senior software architect to review the entire codebase, then fixes any critical findings.
Dispatch an architect subagent on an isolated worktree:
Subagent: Agent tool, subagent_type="general-purpose", isolation="worktree"
Prompt: You are a senior software architect performing a full architectural review.
The project is at the repo root. Read key files to understand:
- Project structure and framework
- Database schema and migrations
- API routes and server actions
- Component architecture
- Auth and security patterns
- Shared code and monorepo structure (if applicable)
Look for:
1. Server/client component boundaries (correct 'use server'/'use client')
2. Data fetching patterns (N+1 queries, missing parallelization)
3. Auth flow completeness (middleware, route protection)
4. Database issues (missing indexes, type mismatches with migrations)
5. Duplicate code (types, utilities, shared logic)
6. Dead files and unused imports
7. Security issues (SQL injection, hardcoded secrets, missing auth checks)
8. Error handling gaps
9. Monorepo wiring (if applicable — shared packages, workspace deps)
10. Build configuration (Vercel, CI/CD, lockfiles)
Classify each finding as:
- CRITICAL: Broken functionality, security vulnerability, build failure
- HIGH: Best practice violation, performance issue, data integrity risk
- MEDIUM: Code quality, consistency, maintainability
- LOW: Style, minor improvement, documentation
Fix all CRITICAL and HIGH issues. Make commits for each fix.
Report MEDIUM and LOW findings without fixing.
Output TASK_COMPLETE with: findings summary, commits made, unfixed items.
Dispatch a critic subagent to review the architect's fixes:
Subagent: Agent tool, subagent_type="general-purpose"
Prompt: Review the git diff of the architectural fixes.
Run: `git diff main...<branch> --stat` and `git diff main...<branch>`
Score each fix:
- Does it actually resolve the identified issue?
- Does it introduce new problems?
- Is it the simplest correct fix?
Overall score must be >= 9.6/10 to approve.
If below threshold, list specific issues to fix.
Gate: If critic score < 9.6, dispatch the architect again with the critic's feedback. Max 3 iterations.
If critic approves:
Output a structured report:
## Architectural Review Results
### Fixed (CRITICAL/HIGH)
| # | Severity | Finding | Fix |
|---|----------|---------|-----|
### Unfixed (MEDIUM/LOW)
| # | Severity | Finding | Recommendation |
|---|----------|---------|----------------|
### Metrics
- Files reviewed: X
- Issues found: X (C critical, H high, M medium, L low)
- Issues fixed: X
- Critic score: X.X/10
<style jsx> doesn't work, use dangerouslySetInnerHTMLturbopack: false is invalid in next.config.tsWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kurtlehnardt/agentic-tools --plugin agentic-tools29 skills in this plugin
/babysitCron supervisor that checks on worker subagents every ~5 minutes by running the model-free `babysit tick` command, which compares each worker's git progress against its task manifest and writes NUDGE.md into drifting worktrees. The model only handles BLOCKED, UNKNOWN_ASSIGNMENT, and NUDGE_ERROR outcomes. Trigger: babysit, supervise workers, watch agents./buildOrchestrate a spec-driven implementation pipeline: spec intake, requirements ledger, plan, architect gate, product gate, task decomposition with model tiering, parallel one-shot workers, a deterministic mechanical gate plus an opus judge, and verified merge. Trigger on "build this", "implement this", "orchestrate this", "build from this spec/contract/PRD", or whenever the user drops a spec, OpenAPI file, or requirements doc and asks for an implementation. Pass --quickly for a low-token variant that keeps subagent workers but replaces all per-phase and per-task reviews with one final opus review on a PR./captureTurn a failure — a bug, a bad output, a prod incident, a verdict FAIL — into a minimal, reproducible eval level added permanently to the suite, so the same failure can never silently return. Builds the eval flywheel. Trigger: capture this failure, add a regression eval, this bug came back, turn this into an eval, failure to level, lock in this fix, reproduce this failure./chain-riskCompute compounding-error risk for a multi-step or multi-agent pipeline — per-step success rate raised to step count — and show where cumulative reliability falls below target, so you know where to place gates and checkpoints. Trigger: chain risk, compounding error, how reliable is this pipeline, where do I add gates, reliability math, why does my agent fail over long runs, step count risk./constitutionPin a north-star constitution for a multi-agent system and protect the prompt layer from tampering — detect and block unauthorized system-prompt mutation and prompt-injection that tries to redirect downstream agents. Trigger: pin the constitution, north star, protect the system prompt, prompt integrity, stop prompt tampering, agent alignment guardrail, injected intent./contractTurn a task into a declarative contract — objective/intent plus machine-checkable acceptance criteria and a stub-proof gate. Refuses prompt-as-wish and imperative pseudocode. Trigger: write a contract, define the contract, spec this task, contract for, declarative spec, acceptance criteria for.