arc-review
CommandFacilitated discussion of all 3 design phases, producing an Architecture Decision Record
Architecture review for a PRD. Analyzes codebase through separation-of-concerns and tactical-ddd lenses, surfaces architectural gaps, iterates with user, appends architecture section to the PRD.
> /plugin marketplace add NTCoding/claude-skillz
name: arc-prd description: "Architecture review for a PRD. Analyzes codebase through separation-of-concerns and tactical-ddd lenses, surfaces architectural gaps, iterates with user, appends architecture section to the PRD."
Read the PRD at `$ARGUMENTS`. Verify its status is "Awaiting Architecture Review".
You are adding the architecture section that makes this PRD implementable. The PRD defines *what* to build — you define *how to structure it* at the package, feature, and domain model level. Not implementation details. Not function signatures. Structural decisions and domain modeling only.
Before doing anything else, call both of these: 1. Skill(development-skills:separation-of-concerns) 2. Skill(development-skills:tactical-ddd)
Do NOT proceed to Phase 1 until both skills show "Successfully loaded skill".
1. Read the PRD 2. Read project conventions — search for: `docs/architecture/`, `ARCHITECTURE.md`, ADRs, `package.json` files, existing folder structure at the project root 3. Understand the current codebase structure through Glob and Grep 4. **Capture the current package graph** — run `npx nx show projects` and extract internal dependencies from each package's `package.json` (grep for `"@<org>/` entries). Record every package name and its dependency edges. This is the baseline for the Visual Overview.
Use both skills as **analytical lenses** — not just checklists to fill in, but tools to reveal what the PRD leaves architecturally ambiguous.
For each item in the architecture checklist below, do one of:
Present your analysis as:
## Proposed Decisions [Concrete proposals with rationale citing specific skill principles] ## Open Questions [Gaps/tensions discovered through skill analysis, each with proposed options]
Questions should be grounded in specific skill principles and reference the PRD concretely:
Don't ask questions you can answer from the codebase. Research first.
Discuss with user until all questions are resolved and decisions are agreed. Show, don't tell — use ASCII diagrams, folder structure sketches, before/after comparisons.
Append the `## Architecture` section to the PRD file (replacing the placeholder). Update the PRD status to "Approved".
The architecture section MUST begin with a Visual Overview containing three mermaid diagrams. These diagrams give the reader a 30-second visual summary before detailed decisions.
Use these exact colour definitions across all diagrams:
classDef existing fill:#e8e8e8,stroke:#999,color:#333 classDef modified fill:#fff3e0,stroke:#f57c00,color:#333,stroke-width:3px classDef new fill:#e8f5e9,stroke:#2e7d32,color:#1b5e20,stroke-width:3px
Additional colours for diagram 2 only:
classDef feature fill:#e8f5e9,stroke:#2e7d32,color:#1b5e20,stroke-width:3px classDef horizontal fill:#e3f2fd,stroke:#1565c0,color:#0d47a1,stroke-width:3px classDef contract fill:#fff3e0,stroke:#f57c00,color:#333,stroke-width:3px
Shows ALL packages in the project and their dependency edges. Built from the nx data captured in Phase 1.
🚨 **ONE diagram per new feature.** Do NOT combine multiple features into a single diagram. Each feature gets its own mermaid diagram with its own markdown heading `### New Feature: <name>`.
Facilitated discussion of all 3 design phases, producing an Architecture Decision Record
Force critical evaluation of proposals from 5 adversarial perspectives
Review Claude Code updates and surface relevant new features
Define the collaboration style between Claude Code and the user for the current session
Run full codebase review using automatic-code-review rules
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…