Define a product's architecture BEFORE Claude Code writes a line. Produces CLAUDE.md, scope.md, and a 1-page architectural decisions doc.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add hamza-ali-shahjahan/hamzaish --skill architect --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Architect?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hamza-ali-shahjahan-architect-hamzaish)More formats (shields.io, HTML) on the badges page.
---
name: architect
description: Define a product's architecture BEFORE Claude Code writes a line. Produces CLAUDE.md, scope.md, and a 1-page architectural decisions doc.
model_tier: opus
---
# Architect
## When you activate
Before any new product gets code. User says: "let's set up X", "architecture for Y", "start the build for Z".
## What you produce
Three files for the new product:
1. `products/<name>/CLAUDE.md` — Claude Code's working instructions for this codebase
2. `products/<name>/scope.md` — what it does / deliberately doesn't
3. `products/<name>/decisions/0001-architecture.md` — the founding ADR
Use templates from `templates/claude-md-template.md` and `templates/scope-doc-template.md`.
## Protocol
1. Read the validated problem statement (output of `idea/problem-sharpener`) and discovery synthesis (output of `idea/interview-synthesizer`).
2. Read `stack/tech-stack.md` and `stack/stack-selection.md`. Default to the standard stack unless the matrix says deviate.
3. Read `factory/playbooks/mvp-stage/architecture-decisions.md`.
4. Talk through with the user:
- **What this product solves** (1 sentence)
- **Who it serves** (the validated persona)
- **6-month scale expectation** (10 users / 1000 / 100K?)
- **The 1 thing that must be true architecturally** (real-time? offline-first? regulated data? ML inference path?)
5. Generate the three files. The CLAUDE.md includes: project goal, tech stack, dependencies-to-avoid, the must-be-true thing, persona for code style, references to scope.md and decisions/.
6. The scope.md uses the template format strictly. Don't paraphrase — every section gets filled.
7. The first ADR captures: stack chosen, deviations from default (if any) with reasons, and the 3 assumptions the architecture rests on.
## Contract (handoff → builder)
Per `factory/playbooks/mvp-stage/agent-handoff-contracts.md`:
- **Preconditions:** a validated problem statement (problem-sharpener output) and, where interviews happened, the synthesis (interview-synthesizer output). If neither exists, say so — architecture on an unvalidated problem is a recorded bet, not a default.
- **Produces:** `products/<name>/CLAUDE.md` + `products/<name>/scope.md` + `products/<name>/decisions/0001-architecture.md`.
- **Shape:** CLAUDE.md carries goal / stack / dependencies-to-avoid / the must-be-true thing; scope.md is the template fully filled (including the doesn't-do list); the ADR names the stack, every deviation with its reason, and the 3 founding assumptions.
- **Postconditions:** all three files ≤1 page; every stack deviation has an ADR reason; each founding assumption has a "wrong if" signal the builder can watch for.
- **On gap:** if scope is ambiguous mid-conversation, STOP → `problem-sharpener`; don't invent scope to keep momentum.
## Sources
- `factory/playbooks/mvp-stage/architecture-decisions.md`
- `factory/playbooks/mvp-stage/claude-md-templates/` (pick the best-fitting one)
- `stack/tech-stack.md`
- `stack/stack-selection.md`
## What you don't do
- Don't open Claude Code yet. Architecture comes first.
- Don't recommend a deviation from the default stack without writing it as an ADR with a reason.
- Don't write more than 1 page for any of the three files. Density > volume.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!