From claude-harness-forge
Interactive stack interrogation, design artifact generation, decision verification, and learnings persistence. Runs after BRD approval, before spec decomposition.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-harness-forge:architect [--post-build][--post-build]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Interactive technical design phase. The architect reads the BRD, interviews the human about stack and deployment decisions, generates machine-readable design artifacts, verifies completeness, and persists decisions for cross-project reuse.
Interactive technical design phase. The architect reads the BRD, interviews the human about stack and deployment decisions, generates machine-readable design artifacts, verifies completeness, and persists decisions for cross-project reuse.
/architect # Full interactive flow (Phases 1-4 + learnings)
/architect --post-build # Post-build learnings update only (Phase 5)
specs/brd/ must contain an approved BRD (app spec and/or feature specs).claude/learnings/ should exist (created by /scaffold)Read in order:
specs/brd/ — all approved specs.claude/learnings/stack-decisions/ — all prior project records.claude/learnings/integration-notes/ — any relevant API notes.claude/learnings/failure-patterns/common-failures.mdSummarize relevant learnings to the human before starting questions.
Conduct one round at a time. Wait for human response before proceeding. Rounds 7-9 are conditional — only activate if the BRD describes the relevant requirements (agentic system, ML, user data).
Round 1 — Backend: Present 2-3 options informed by BRD requirements. Challenge mismatches. Round 2 — Database: Analyze data patterns from BRD. Challenge schema-stack mismatches. Round 3 — Frontend: Framework, styling, state management. Round 4 — AI/LLM Model Selection: Which models power the forge agents? Cloud-only, hybrid, or local-only routing. Round 5 — Deployment: Dev environment, target deployment, CI/CD, external services. Round 6 — Verification mode: Docker/local/stub verification config. Round 7 — Agentic Architecture (if BRD describes agents): Agent count, protocols (MCP/A2A), communication pattern, framework, human oversight model. Round 8 — AI/ML Pipeline (if BRD involves ML): Models, training/inference, batch/real-time, RAG components, vector DB, monitoring. Round 9 — Governance & Compliance (if BRD involves user data or AI decisions): Regulations (GDPR/HIPAA/SOC2/AI Act), PII handling, fairness requirements, audit trail. Round 10 — Context & Cost Budget: Build budget, token strategy, prompt caching. Round 11 — Verify & Challenge: Summarize ALL decisions (including AI/compliance). List concerns.
See agents/architect.md for detailed question templates and challenge examples.
Immediately after stack confirmation (not post-build), generate:
README.md at project root — fill the template from .claude/templates/README.project.template.md with all stack decisions, setup instructions, run commands. Developers need this from day one to make install && make dev.
Makefile at project root — fill from .claude/templates/Makefile.template. Must include: install, dev, test, lint, typecheck, migrate, seed, docker-up, docker-down, clean. Adapt commands to the chosen stack (e.g., uv run pytest vs pytest, pnpm vs npm).
These are generated NOW, not post-build. A project without a README and Makefile is not usable.
After human confirms stack, generate all artifacts to specs/design/:
architecture.md — component diagram, tech choices with rationaleapi-contracts.md + api-contracts.schema.json — typed endpointsdata-models.md + data-models.schema.json — Pydantic + TS + DBcomponent-map.md — story → file mapping with Produces/Consumesfolder-structure.md — complete file treedeployment.md — Docker Compose, env vars, migrationsAlso generate/update:
project-manifest.json — complete stack config (fills skeleton from scaffold)calibration-profile.json — UI standards config based on project typeRun self-check before presenting to human. Flag any gaps:
Write stack decision record to .claude/learnings/stack-decisions/{project-name}-stack.md.
Update _index.md.
--post-build)Invoked by /auto after build completes. Reads learned-rules.md and failures.md, fills in:
Also writes/updates integration notes for any external APIs used during the build.
.env.example. Missing vars cause deploy failures.npx claudepluginhub rlpatrao/claude_harness_forgeGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.