architect
Skill0 starsChanged 4 months agoMITView on GitHub
Produce the formal SPEC.md after brainstorming has aligned intent. Defines module boundaries, API contracts, data models, and replaceability constraints. Output is a specification artifact at .copilot/specs/SPEC.md. Triggers: new feature, major refactor, database schema or API contract definition, system risk isolation. Reached by: brainstorming (handoff), concise-planning (upstream dependency).
174 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Yeachan-Heo/oh-my-claude-sisyphustheir own version, first seen Nov 8, 2026
- caidanw/skillstheir own version, first seen Nov 8, 2026
- pascalorg/editortheir own version, first seen Nov 8, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Nov 8, 2026
- naman10parikh/pennytheir own version, first seen Nov 8, 2026
- afawfawffaf/my-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
tristanphvnSkillketchup-video
Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.
Also in 14 projects that use this
jaydubya818Skillfigure-it-out
Use when novel or multi-phase work needs an auditable workflow and no narrower playbook fits.
Also in 55 projects that use this
ianclearySkillprinciple-explain-the-number
Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.
Also in 29 projects that use this
eryzerzSkillmake-bot-ui
Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.
Also in 20 projects that use this
- +6 more from naman10parikh
Other versions174 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- karim-bhalwani/agent-skills-collection★ 074% same
Wrote their own version · 173
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- pascalorg/editor★ 25ksame name
- backnotprop/pstack★ 3.8ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- jsmastery-pro/skills★ 1.4ksame name
- SethGammon/Citadel★ 927same name
- moeru-ai/xsai★ 667same name
- DanMcInerney/architect-loop★ 626same name
- Hainrixz/the-architect★ 562same name
163 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- brainstormingSkill
- concise-planningSkill
- context-engineerSkill
- data-analystSkill
- data-deprecation-analysisSkill
- data-engineeringSkill
- analystSkill
- detectiveSkill
- editorSkill
- inspectorSkill
- data-narrativeSkill
- data-scienceSkill
- excalidraw-diagramSkill
- genai-securitySkill
- guardianSkill
- holdout-validationSkill
- implementerSkill
- llm-app-patternsSkill
- llm-memSkill
- opsSkill
- prompt-librarySkill
- security-boundariesSkill
- story-masterSkill
- story-plannerSkill
- subagent-executionSkill
- systematic-debuggingSkill
- task-routingSkill
- thinkerSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 162 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 47
Map Dependencies: Ensure no circular dependencies exist (Dry-run Dependency Map).
- Distinctive: line 88
Before module design, answer these product-lens questions to surface assumptions:
- Very specific: line 90
10x Check: If this needed 10x load/users/data, would we design it the same?
- Distinctive: line 95
Document answers in the spec under a Scope Analysis section (before Module Boundaries).
- Distinctive: line 101
REDUCTION: no spec produced. Fix, review, done.
- Distinctive: line 117
Success Criteria: All stakeholders approve the specification before implementation begins
- Distinctive: line 132
Ensure each module has a single, clear responsibility
- Distinctive: line 139
Ensure no circular dependencies in the dependency graph
- Distinctive: line 200
Circular Dependencies: Not catching these during design leads to unmaintainable code.
- Distinctive: line 201
Unclear Module Boundaries: When developers can't explain what a module does in one sentence, the boundary is fuzzy.
“Common” is measured: kept by at least 6 in 10 of the 162 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architect Skill - System Design & Specification
Version: 9.0 | Updated: 01-July-2026 | Architect: Karim Bhalwani | Deps: brainstorming, thinker
Pipeline position: specify (2 of 4) -
brainstorming->architect->concise-planning->implementer. This skill produces.copilot/specs/SPEC.md. It runs AFTERbrainstorminghas aligned intent and BEFOREconcise-planningsequences execution.
Brainstorming gate: If no brainstorming artifact or documented intent alignment is provided by the user, pause and respond: "This skill requires a completed brainstorming session. Please run the brainstorming skill first and share the output before proceeding." Do not begin scope determination or spec authoring.
Dependencies
Load the following via read_file before using this skill. Skills marked ★ have disable-model-invocation: true and cannot self-invoke - they must be loaded explicitly.
~/.copilot/skills/thinker/SKILL.md★ - structured reasoning scaffold (UNDERSTAND → EXTRACT → HIGHLIGHT → APPLY)~/.copilot/skills/brainstorming/SKILL.md- requirement exploration and idea-to-design dialogue~/.copilot/skills/holdout-validation/SKILL.md- load when writing acceptance scenarios that will become holdout test criteria (ensures scenario format compatibility)
Overview
The Architect skill focuses on the "What" and "Where" of a system, rather than the "How." It is used to design robust, scalable, and maintainable software architectures using black-box principles.
Core Principles
- Black Box Interfaces: Modules are defined by what they do, hiding how they do it.
- Replaceable Components: Design modules so they can be rewritten from scratch using only their interface.
- Single Responsibility: One module = one clear purpose.
- Primitive-First Design: Identify core data types (primitives) and design the system around their flow.
- Human-Centric: Optimize designs for cognitive load - one developer should be able to understand any single module.
Workflow
- Scope Challenge: Determine scope mode (REDUCTION / HOLD / EXPANSION) before any design work. If REDUCTION: stop here - no spec is produced; apply the fix, review, and conclude. If HOLD: produce sections 1, 3, 4, and 5 only (see per-mode checklist below). If EXPANSION: run the full workflow including Scope Expansion Exercises.
- Understand: Analyze requirements and identify core business logic primitives.
- Define Boundaries: Determine where modules start and end.
- Design Contracts: Define API endpoints, data models, and interface protocols.
- Map Dependencies: Ensure no circular dependencies exist (Dry-run Dependency Map).
- Output Specification: Produce a
SPEC.mdthat serves as the source of truth for implementation. - Save Specification: Save the completed
SPEC.mdto.copilot/specs/SPEC.mdso downstream agents (Guardian, Developer) can locate it outside the conversation context.
Scope Modes
| Mode | When | Design Depth |
| REDUCTION | Bug fix, config change, dead code removal | No spec. Fix, review, done. |
| HOLD | Feature within existing architecture | Sections 1, 3, 4, and 5 only. Omit sections 2, 6–13 unless the feature introduces a new module boundary or data model change. |
| EXPANSION | New module/service/data model, architectural change | Full spec with Scope Expansion Exercises |
Per-Mode Checklists
REDUCTION - Bug fix, config change, dead code removal. No spec is produced.
- Identify the defect or change target
- Apply the fix (code, config, or removal)
- Review the change for correctness and side effects
- Done - do not advance to concise-planning or create a SPEC.md
HOLD - Feature within existing architecture. Partial spec only.
- Section 1: System Overview (goal, scope, out-of-scope)
- Section 3: API Contracts (only for interfaces that change)
- Section 4: Data Models (only for models that change)
- Section 5: Error Handling (updated rescue map for changed codepaths)
- Omit sections 2, 6–13 unless a new module boundary or data model is introduced
- Save spec to
.copilot/specs/SPEC.mdwithscope_mode: HOLD - Advance to concise-planning
EXPANSION - New module, service, data model, or architectural change. Full spec required.
- Complete all thirteen sections (see Mandatory Output below)
- Run Scope Expansion Exercises before module design
- Create holdout file at
.copilot/holdout/HOLDOUT-<feature-name>.md - Save spec to
.copilot/specs/SPEC.mdwithscope_mode: EXPANSION - Advance to concise-planning only after spec is reviewed and approved
Scope Expansion Exercises (EXPANSION mode only)
Before module design, answer these product-lens questions to surface assumptions:
- 10x Check: If this needed 10x load/users/data, would we design it the same? What breaks?
- Platonic Ideal: What does the perfect version look like? What compromises are we making and why?
- Do-Nothing Test: What happens if we don't build this? What is the cost of inaction?
- Dream State Mapping: Describe the ideal user experience. Work backwards to system design.
Document answers in the spec under a Scope Analysis section (before Module Boundaries).
Mandatory Output: SPEC.md Template
Load the template that matches your scope mode (determined in Step 0):
- REDUCTION: no spec produced. Fix, review, done.
- HOLD: load references/spec-hold-template.md - frontmatter + sections 1, 3, 4, 5 only. Omit sections 2, 6–13 unless the feature introduces a new module boundary or data model change.
- EXPANSION: load references/spec-template.md - frontmatter + all 13 sections, including the Error & Rescue Map. Run Scope Expansion Exercises first.
For a worked example spec, see references/SPEC.md.
When to Use
- Starting a new feature.
- Major system refactors.
- Defining database schemas or API contracts.
- Identifying and isolating system risks.
Outputs & Deliverables
- Primary Output:
SPEC.md- Complete technical specification document - Success Criteria: All stakeholders approve the specification before implementation begins
- Quality Gate: Specification passes review by implementer and guardian skills
Standards & Best Practices
Boring Technology Bias
- Prefer stable, well-established technologies over novel or bleeding-edge alternatives. Technologies described as "boring" (mature APIs, broad community support, extensive documentation) are easier for agents to reason about because they are well-represented in LLM training data.
- Composability and API stability matter more than feature novelty. A dependency the agent can fully internalize and reason about in-repo is worth more than a flashy library with sparse docs.
- When in doubt, reimplement small utilities rather than pulling in opaque upstream packages. A tightly integrated helper with full test coverage and predictable behavior beats a generic third-party package the agent cannot inspect or reason about.
- This is not anti-innovation - it is risk-aware. Novel dependencies increase the surface area where agents guess instead of reason.
Black Box Design
- Define modules by their contracts, not implementations
- Ensure each module has a single, clear responsibility
- Design for replaceability - any module should be rewritable from its interface
Data Flow Architecture
- Identify core business primitives early
- Map data transformations through the system
- Ensure no circular dependencies in the dependency graph
Definition of Done
Required Sections (All 13 Must Be Present)
System Design & Structure
- 1. System Overview: goal, scope, business primitives, out-of-scope boundaries
- 2. Module Boundaries: directory layout, one-sentence test, Mermaid diagram
- 3. API Contracts: method, path, payload, response, error codes (RFC 7807)
- 4. Data Models: schemas with field types, nullability, validation, indexes
Quality, Safety & Deployment
- 5. Error Handling: taxonomy, rescue map, retry strategy, logging obligations
- 6. Security Considerations: auth, trust boundaries, threat surface (STRIDE)
- 7. Performance Requirements: latency targets (p50/p95/p99), bottlenecks
- 8. Testing Strategy: coverage target, integration boundaries, CI tier
- 9. Deployment Considerations: environment, config, migration, rollback
Decision & Risk Management
- 10. Open Questions: unresolved decisions with owner and deadline
- 11. Risks: likelihood, impact, and mitigation per risk
- 12. Deferred Decisions: rationale, revisit criteria, owner
- 13. Acceptance Scenarios: reference to
.copilot/holdout/HOLDOUT-<feature-name>.md(not inline)
Design Quality Gates
Architecture & Dependencies
- Dependency graph verified acyclic (no circular dependencies)
- Replaceability confirmed: modules can be reimplemented from interface alone
- Every module passes "one-sentence description" test
Specification Completeness
- Error & Rescue Map complete (every codepath → failure mode → rescue action)
- No critical gaps in Error & Rescue Map (rows with RESCUED=N must be resolved)
- All API interfaces include RFC 7807 error response format
- Data models specify read schema and write schema separately where they differ
Artifact & Approval
- Specification saved to
.copilot/specs/SPEC.mdfor downstream agent access - Holdout file created at
.copilot/holdout/HOLDOUT-<feature-name>.md spec_schema_versiondeclared in SPEC frontmatter and present intests/contracts/schema_versions.SUPPORTED_SCHEMA_VERSIONSholdout_schema_versiondeclared in HOLDOUT frontmatter- Spec reviewed and accepted by implementer or stakeholder before implementation begins (implementer reviews
SPEC.mdonly; the holdout file referenced in Section 13 must not be opened or read by the implementer)
Constraints
- NO implementation code. Snippets for interfaces or data models only.
- NO testing logic.
- NO deployment configs.
Common Pitfalls
- Over-Engineering: Designing for every possible future scenario. Start with the simplest design that solves today's problem; refactor when needs emerge.
- God Modules: Creating one massive module instead of breaking concerns. Single Responsibility is non-negotiable.
- Circular Dependencies: Not catching these during design leads to unmaintainable code. Always verify the dependency graph is acyclic.
- Unclear Module Boundaries: When developers can't explain what a module does in one sentence, the boundary is fuzzy. Refactor immediately.
- Missing API Contracts: Vague interfaces lead to integration errors downstream. Always document input/output types, validation rules, and error responses.
- Ignoring Primitive Selection: Choosing the wrong core data types cascades through the entire design. Validate primitives early.
Integration Points
| Phase | Input From | Output To | Context |
| Discovery | brainstorming, thinker | This spec | Understand requirements and constraints |
| Specification | Core business logic | implementer, data-engineering | Implement according to spec |
| Validation | N/A | guardian | Review for security and patterns |
| Operations | Deployment requirements | ops | Infrastructure needs based on architecture |
| Query/Analysis | Data model from spec | data-analyst | Query database based on approved data model |
References
Load these when generating specifications and API contracts:
Reference Documents
- SPEC.md - System specification template. Load at the start of every architecture task to ensure all required sections (primitives, contracts, boundaries, data flows) are covered.
- api-specification.md - API contract template with OpenAPI-style schemas. Load when designing REST, gRPC, or event-driven interfaces.
- sprint-contract-template.md - Builder/Guardian sprint-contract negotiation template. Load when running
/sprint-contractto surface ambiguity between the spec and the implementation plan before coding starts.
Scripts
- scaffold_spec.py - Specification document scaffolder (programmatic). Run to generate a pre-structured
SPEC.mdwith all required sections andTODOmarkers for a named module. Use when you want a richer programmatic template. - scaffold_artifacts.py - On-disk artifact scaffolder. Creates
.copilot/specs/SPEC.mdand.copilot/holdout/HOLDOUT.mdas stubs. Run at the start of Phase 4 to guarantee both artifact files exist before being filled. Mirrors the brownfield/greenfield Bible scaffold pattern. - verify_spec.py - Verification gate. Run before handing off to implementation; exits 1 if
SPEC.mdorHOLDOUT.mdis still a stub or missing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

