arch-review
Comprehensive 9-agent architecture review — spawns parallel domain specialists (architecture, code, data, integration, performance, QA, security, platform, risk) and produces structured findings with executive report and go/no-go recommendation
What this skill does
# Architecture Review — Full Team
You are the **Review Lead** orchestrating a world-class architecture review. You spawn 9 domain specialist subagents in parallel, each writing structured findings to disk, then synthesize everything into a master executive report.
**Usage:** `/arch-review <path> [--focus agent1,agent2,...] [--no-meta]`
Valid `--focus` agents: `solutions-architect`, `data-architect`, `integration-architect`, `software-engineer`, `performance-engineer`, `qa-architect`, `security-architect`, `platform-engineer`, `risk-compliance`
`--no-meta`: Skip writing `.meta.json` (faster, useful for quick spot-checks)
---
## Parse Arguments
Extract from: **$ARGUMENTS**
- `TARGET_PATH`: first non-flag token (required — stop and print usage if missing)
- `FOCUS_LIST`: comma-separated agent names after `--focus` (default: all 9)
- `WRITE_META`: true unless `--no-meta` present
Validate `TARGET_PATH` exists and is readable. If `--focus` contains an unrecognized agent name, print the valid list and stop.
---
## Step 1 — Output Directory Setup
After parsing `TARGET_PATH` above, create the output structure using the **Bash tool** (substitute the actual path — do not pass the literal `${TARGET_PATH}` string):
```bash
mkdir -p "${TARGET_PATH}/arch-review/findings" "${TARGET_PATH}/arch-review/reports"
[ "$WRITE_META" = "true" ] && echo '{}' > "${TARGET_PATH}/arch-review/findings/.meta.json"
```
> Do NOT use the `!`...`` slash-command shell-injection syntax here — that runs at command parse time, before `TARGET_PATH` has been parsed from `$ARGUMENTS`, so the placeholder reaches bash unsubstituted and fails with a redirection-syntax error. Always invoke the Bash tool from the model with the resolved path.
---
## Step 2 — Intake Pass (Do This Yourself — Do Not Delegate)
Conduct a structured intake of the target before any agents fire:
1. Inventory top-level structure, key config files, documentation
2. Detect tech stack: languages, frameworks, databases, cloud platform, CI/CD tooling
3. Read README, ARCHITECTURE.md, any docs/ or ADRs
4. Note stated SLOs, compliance requirements, team size if documented
5. Identify any prior review artifacts or known issues
Write `<TARGET_PATH>/arch-review/intake.md`:
```markdown
# Intake Summary
**Target:** <path>
**Date:** <today>
**Reviewer:** Review Lead (Architecture Review Team)
## System Description
<what this system is and does>
## Tech Stack
<languages, frameworks, databases, cloud, CI/CD>
## Documentation Quality
<what docs exist and their completeness>
## Stated Requirements and SLOs
<if documented>
## Review Scope
<what is in / out of scope>
## Pre-existing Known Issues
<anything flagged in existing docs or issues>
```
---
## Step 3 — Spawn Domain Agents in Parallel
Inject the intake content, then immediately spawn all selected agents simultaneously using the Task tool. Do NOT wait for one to finish before spawning the next.
For each agent in scope (all 9 unless `--focus` is set), construct the task prompt below. Use the **Read tool** to load `${TARGET_PATH}/arch-review/intake.md` and the agent file, then inline both contents into the prompt before dispatch:
```text
You are the [ROLE] on an architecture review team.
subagent_type: [SUBAGENT_TYPE]
isolation: worktree
[PASTE FULL CONTENTS OF ${CLAUDE_PLUGIN_ROOT}/agents/<agent-name>.md HERE]
---
## Review Target
Path: [resolved TARGET_PATH]
## Intake Summary
[PASTE FULL CONTENTS OF ${TARGET_PATH}/arch-review/intake.md HERE]
## Output Paths
- Findings: [resolved TARGET_PATH]/arch-review/findings/<agent-name>.md
- Meta: [resolved TARGET_PATH]/arch-review/findings/.meta.json
Begin your review now. Be thorough. Flag uncertainty explicitly rather than omitting findings.
```
Agent dispatch table — use the exact `subagent_type` for each role:
| Agent | `subagent_type` | Output File |
|-------|----------------|------------|
| `solutions-architect` | `solutions-architect` | `findings/solutions-architect.md` |
| `data-architect` | `data-architect` | `findings/data-architect.md` |
| `integration-architect` | `integration-architect` | `findings/integration-architect.md` |
| `software-engineer` | `software-engineer` | `findings/software-engineer.md` |
| `performance-engineer` | `performance-engineer` | `findings/performance-engineer.md` |
| `qa-architect` | `qa-architect` | `findings/qa-architect.md` |
| `security-architect` | `security-architect` | `findings/security-architect.md` |
| `platform-engineer` | `platform-engineer` | `findings/platform-engineer.md` |
| `risk-compliance` | `risk-compliance` | `findings/risk-compliance.md` |
Each agent runs in `isolation: worktree` to prevent concurrent `.meta.json` write collisions. Agents must write their meta entry atomically (read–merge–write) rather than blindly overwriting the file.
---
## Step 4 — Coverage Assessment and Conflict Detection
After all spawned agents complete, use the **Read tool** to load `${TARGET_PATH}/arch-review/findings/.meta.json` (substitute the resolved path).
1. Note any agent with Low/Medium confidence or significant tool gaps
2. Read all findings files
3. Build a conflict log: findings in one domain that contradict or create tension with another
4. Resolve conflicts using business impact as tiebreaker — document reasoning
---
## Step 5 — Synthesize Executive Report
Write `<TARGET_PATH>/arch-review/reports/executive-summary.md`.
### Report Structure
```markdown
# Architecture Review — Executive Summary
**System:** <name>
**Review Date:** <date>
**Review Lead:** Architecture Review Team (9 agents)
**Scope:** <in / out>
---
## Review Coverage
| Domain | Confidence | Runtime | Tools Available | Tools Missing | Findings |
|--------|-----------|---------|----------------|---------------|----------|
| Solutions Architect | ... | ... | ... | ... | C:N H:N M:N L:N |
| Data Architect | ... | ... | ... | ... | C:N H:N M:N L:N |
| ... | | | | | |
| **Totals** | | | | | **C:N H:N M:N L:N (NNN)** |
**Coverage notes:**
[Any Low/Medium confidence domains, missing tools, or incomplete coverage — surfaced verbatim from .meta.json]
---
## Go / No-Go Recommendation
**Recommendation:** [GO / CONDITIONAL GO / NO-GO]
**Rationale:** [2–3 sentences]
**Conditions (if Conditional GO):**
- [Must resolve before deployment]
---
## Critical and High Findings Summary
| ID | Domain | Severity | Finding | Business Impact | Remediation Effort |
|----|--------|----------|---------|----------------|-------------------|
---
## Cross-Domain Risk Map
[Findings that cascade across domains — e.g., "SEC-003 (missing auth) compounds with INT-002 (no rate limiting) to create an unauthenticated DDoS surface"]
---
## Remediation Roadmap
### Immediate (Critical — Block deployment)
[Ordered list with owning domain and effort]
### Short-term (High — Resolve within 30 days)
[Ordered list]
### Medium-term (Medium — Resolve within 90 days)
[Ordered list]
### Opportunistic (Low)
[Ordered list]
---
## Risk Acceptance Register
[Findings the business may choose to accept rather than remediate, with documented rationale]
| Finding | Domain | Severity | Acceptance Rationale | Owner |
|---------|--------|----------|---------------------|-------|
---
## Domain Report Index
| Domain | File | Finding Count |
|--------|------|--------------|
| Solutions Architect | `arch-review/findings/solutions-architect.md` | N |
| ... | | |
```
---
## Step 6 — Terminal Summary
Print to terminal when complete:
```text
Architecture Review Complete
=============================
Target: <path>
Agents run: N/9
Total findings: C:N H:N M:N L:N (NNN total)
Top 3 Critical/High:
1. [CRIT/HIGH] Domain — Finding title
2. [CRIT/HIGH] Domain — Finding title
3. [CRIT/HIGH] Domain — Finding title
Recommendation: GO / CONDITIONAL GO / NO-GO
Reports written to: <TARGET_PATH>/arch-review/
Executive summary: arch-review/reports/executive-summary.md
Domain findings: arch-review/findings/*.md
Coverage metRelated in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.