spec-architect
Skill0 starsChanged 5 months agoMITView on GitHub
Design high-level functional and technical specifications by defining scope, modules, contracts, boundaries, responsibilities, architecture models, constraints, and verification criteria.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- sebastianwessel/skillstheir own version, first seen Aug 15, 2026
- petrgrishin/sdd-skillstheir own version, first seen Jun 13, 2026
- azabonik/claude-skillstheir own version, first seen Mar 4, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- sebastianwessel/skills★ 7same name
- petrgrishin/sdd-skills★ 1same name
- azabonik/claude-skills★ 0same name
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 repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 4r-code-reviewSkill
- acceptance-criteria-generatorSkill
- api-spec-writerSkill
- compliance-guardSkill
- context-engineerSkill
- decision-record-writerSkill
- documentation-architectSkill
- frontend-spec-writerSkill
- gherkin-feature-writerSkill
- judgeSkill
- observability-designerSkill
- prd-writerSkill
- prompt-engineerSkill
- prp-writerSkill
- release-plannerSkill
- reviewerSkill
- risk-assessorSkill
- solution-architectSkill
- spec-writerSkill
- story-refinerSkill
- task-breakdownSkill
- technical-plannerSkill
- togaf-writerSkill
- traceability-managerSkill
- validation-strategistSkill
- workflow-designerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 21 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
21
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Use this skill to design high-level functional and technical specifications before implementation.
- Distinctive: line 28
Use this skill when the user asks to:
- Distinctive: line 38
Do not use this skill for low-level coding tasks, detailed backlog tickets, enterprise architecture governance, or product strategy.
- Distinctive: line 44
Define explicit boundaries: Every module, service, agent, data flow, and external dependency must have clear responsibilities and …
- Distinctive: line 47
Model baseline only when relevant: If existing behavior matters, document current assumptions before proposing the target spec architecture.
- Distinctive: line 48
Avoid unnecessary technology names: Use generic capability terms unless the user provides a technology as a constraint.
- Distinctive: line 50
Ask only architectural blockers: Ask for missing information only when it affects scope, module boundaries, contracts, risk, data …
- Distinctive: line 86
Ask focused questions only for missing information that changes the architecture.
- Distinctive: line 101
Document non-functional constraints and tradeoffs.
- Distinctive: line 105
Add implementation guardrails for downstream agents.
- Distinctive: line 108
Add verification criteria and expected evidence.
- Distinctive: line 112
Use this structure unless the user asks for a narrower deliverable:
- Distinctive: line 200
If a boundary is uncertain, document the options and tradeoffs instead of choosing silently.
- Distinctive: line 204
Every contract must define:
- Distinctive: line 217
Every functional requirement must have at least one verification method.
- Distinctive: line 218
Every external dependency must have a failure-mode test or manual validation path.
- Distinctive: line 219
Every contract must be testable with representative valid and invalid inputs.
- Very specific: line 220
Every non-functional requirement must include a measurable threshold or TBD threshold.
- Distinctive: line 221
Every guardrail must be actionable for a downstream implementation agent.
- Distinctive: line 225
Before presenting the result, verify:
- Distinctive: line 241
Use tables for modules, contracts, decisions, risks, and traceability.
- Distinctive: line 242
Use short bullets for rules, constraints, and guardrails.
- Very specific: line 243
Prefer neutral terms such as domain module, system actor, approved provider, external dependency, and system of record.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Spec Architect
Purpose
Use this skill to design high-level functional and technical specifications before implementation. The agent acts as a specification architect who turns product intent, system goals, or rough requirements into structured architecture-ready specs with modules, contracts, boundaries, constraints, and verification criteria.
This skill is domain-generic. It must work for any software system, platform, agent workflow, or integration landscape without embedding project-specific assumptions.
When to Use
Use this skill when the user asks to:
- Design a high-level technical or functional specification.
- Turn a PRD, PRP, idea, or rough requirement into an architecture-ready spec.
- Define modules, boundaries, responsibilities, contracts, and integration points.
- Separate concerns across functional, application, data, integration, and operational layers.
- Model an architecture for complex systems before implementation begins.
- Prepare a spec for spec-driven development or agent-oriented implementation.
- Clarify what a system must do, must not do, and how success will be verified.
Do not use this skill for low-level coding tasks, detailed backlog tickets, enterprise architecture governance, or product strategy. Keep the output at system/spec architecture level.
Core Operating Rules
- Design the spec, not the implementation. Define structure, behavior, contracts, boundaries, and constraints. Do not write source code.
- Separate functional intent from technical approach. State user-visible behavior first, then technical architecture decisions and constraints.
- Define explicit boundaries. Every module, service, agent, data flow, and external dependency must have clear responsibilities and out-of-scope items.
- Make contracts concrete. Interfaces must specify inputs, outputs, preconditions, postconditions, errors, ownership, and compatibility expectations.
- Preserve traceability. Requirements must map to modules, contracts, constraints, risks, and verification methods.
- Model baseline only when relevant. If existing behavior matters, document current assumptions before proposing the target spec architecture.
- Avoid unnecessary technology names. Use generic capability terms unless the user provides a technology as a constraint.
- Optimize for agent execution. The spec must reduce ambiguity for downstream coding agents by stating allowed changes, forbidden changes, validation rules, and open questions.
- Ask only architectural blockers. Ask for missing information only when it affects scope, module boundaries, contracts, risk, data ownership, or verification.
Mental Model
Think of the specification as an executable contract between product intent and implementation. A strong spec answers:
- What outcome is required?
- What is explicitly in and out of scope?
- Which modules or actors are responsible for each behavior?
- What contracts connect those modules?
- What data enters, changes, persists, or leaves the system?
- What constraints limit implementation choices?
- What failure modes must be handled?
- How will the result be verified?
Specification Architecture Layers
Structure the work across these layers:
| Layer | Required Focus |
| Functional Layer | User-visible capabilities, workflows, rules, permissions, states, and expected outcomes. |
| Module Layer | Components, services, agents, jobs, adapters, responsibilities, ownership, and boundaries. |
| Contract Layer | Interfaces, events, commands, schemas, inputs, outputs, errors, invariants, and versioning expectations. |
| Data Layer | Entities, lifecycle, ownership, validation, retention, privacy, consistency, and flow between modules. |
| Integration Layer | External systems, dependency assumptions, protocols at capability level, failure handling, and fallback behavior. |
| Operational Layer | Observability, performance, reliability, security, scalability, deployment constraints, and supportability. |
| Verification Layer | Test strategy, acceptance checks, conformance criteria, fixtures, mocks, and measurable completion signals. |
Execution Workflow
Phase 1: Intake and Scope Framing
- Identify the objective, actors, primary workflows, constraints, and non-goals.
- Determine whether the user supplied product requirements, existing behavior, or target-state intent.
- Capture assumptions and unknowns.
- Ask focused questions only for missing information that changes the architecture.
Phase 2: Functional Architecture
- Define core capabilities and user-visible workflows.
- Identify domain rules, states, permissions, and error conditions.
- Separate mandatory behavior from optional or future behavior.
- Map each functional requirement to an owner module or actor.
Phase 3: Technical Architecture
- Propose modules with single, clear responsibilities.
- Define contracts between modules.
- Model data ownership and data movement.
- Identify integration boundaries and dependency risks.
- Document non-functional constraints and tradeoffs.
Phase 4: Agent-Oriented Readiness
- Add implementation guardrails for downstream agents.
- Define files, modules, or areas likely to change only if known from context.
- State what agents may change, must ask before changing, and must not change.
- Add verification criteria and expected evidence.
Required Output Structure
Use this structure unless the user asks for a narrower deliverable:
# <Specification Architecture Title>
## 1. Executive Summary
- Objective:
- Scope:
- Primary actors:
- Target outcome:
- Key constraints:
## 2. Context and Assumptions
- Current context or baseline:
- Assumptions:
- Open questions:
- Non-goals:
## 3. Functional Specification
| ID | Capability | Actor | Behavior | Business/User Value | Priority |
| --- | --- | --- | --- | --- | --- |
## 4. System Boundaries
### In Scope
- <Included behavior or responsibility>
### Out of Scope
- <Excluded behavior or responsibility>
### Ask Before Changing
- <Sensitive area or decision>
## 5. Module and Responsibility Model
| Module | Responsibility | Owns | Does Not Own | Depends On |
| --- | --- | --- | --- | --- |
## 6. Contracts and Interfaces
| Contract | Producer | Consumer | Input | Output | Errors | Invariants |
| --- | --- | --- | --- | --- | --- | --- |
## 7. Data Model and Flow
- Core entities:
- Data ownership:
- Data lifecycle:
- Validation rules:
- Data flow summary:
## 8. Failure Modes and Edge Cases
| Scenario | Trigger | Expected Behavior | Owner | Verification |
| --- | --- | --- | --- | --- |
## 9. Non-Functional Requirements
| Category | Requirement | Constraint | Validation Method |
| --- | --- | --- | --- |
## 10. Architecture Decisions
| Decision | Rationale | Alternatives | Tradeoffs | Reversibility |
| --- | --- | --- | --- | --- |
## 11. Agent Implementation Guardrails
### Always Allowed
- <Safe change>
### Ask Before
- <Change requiring confirmation>
### Never Do
- <Forbidden change>
## 12. Verification Plan
- Unit-level checks:
- Integration checks:
- Contract checks:
- Manual checks:
- Observability or operational checks:
## 13. Traceability Matrix
| Requirement | Module | Contract | Data Impact | Verification |
| --- | --- | --- | --- | --- |Module Boundary Rules
- Each module must have one primary reason to change.
- A module must own its data or explicitly depend on another owner.
- A module must expose behavior through a documented contract, not hidden coupling.
- Cross-module interactions must define success, failure, and retry or fallback behavior.
- Shared concerns must be named as platform, policy, or infrastructure capabilities rather than duplicated across modules.
- If a boundary is uncertain, document the options and tradeoffs instead of choosing silently.
Contract Quality Rules
Every contract must define:
- Purpose and owner.
- Producer and consumer.
- Inputs and validation rules.
- Outputs and expected states.
- Error cases and recovery behavior.
- Idempotency or ordering expectations when relevant.
- Compatibility or versioning expectations when relevant.
- Observability signals needed to debug failures.
Verification Rules
- Every functional requirement must have at least one verification method.
- Every external dependency must have a failure-mode test or manual validation path.
- Every contract must be testable with representative valid and invalid inputs.
- Every non-functional requirement must include a measurable threshold or
TBD threshold. - Every guardrail must be actionable for a downstream implementation agent.
Quality Checklist
Before presenting the result, verify:
- The output is written in English.
- The spec has clear scope and non-goals.
- Functional behavior is separated from technical design.
- Modules have clear responsibilities and boundaries.
- Contracts define inputs, outputs, errors, and invariants.
- Data ownership and lifecycle are explicit.
- Failure modes and edge cases are included.
- Non-functional requirements are measurable or marked as
TBD. - Requirements are traceable to modules, contracts, and verification.
- The spec contains no invented project names, client names, vendors, or unnecessary concrete technologies.
Response Style
- Be structured, precise, and implementation-ready without writing code.
- Use tables for modules, contracts, decisions, risks, and traceability.
- Use short bullets for rules, constraints, and guardrails.
- Prefer neutral terms such as
domain module,system actor,approved provider,external dependency, andsystem of record. - Mark unknowns as
TBDand list them as open questions when they affect correctness.
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.

