spec-design
Skill16 starsChanged 5 days agoMITView on GitHub
Write OpenSpec design.md and tasks.md artifacts. TRIGGER when: producing a technical design or task checklist for a spec-driven feature. SKIP: writing proposal.md (use spec-research); executing tasks.md (use spec-develop).
6 other projects use a version of this.
Adopted by
Most recently taken up by
- cldanielhernandez/claude-skillstheir own version, first seen Aug 8, 2026
- paoloirrera/ccgraphtheir own version, first seen Aug 4, 2026
- fernandoxavier02/Pipeline-Orchestratortheir own version, first seen Jun 29, 2026
- yisean/claude-spec-skillstheir own version, first seen Jun 15, 2026
- alanvaa06/forge-mastertheir own version, first seen Jun 13, 2026
- MagicCube/agentaratheir own version, first seen Mar 5, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- MagicCube/agentara★ 503same name
- alanvaa06/forge-master★ 2same name
- fernandoxavier02/Pipeline-Orchestrator★ 1same name
- paoloirrera/ccgraph★ 1same name
- cldanielhernandez/claude-skills★ 0same name
- yisean/claude-spec-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 repository39 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-commsSkill
- agent-memorySkill
- api-designSkill
- context-engineeringSkill
- database-optimizationSkill
- distillSkill
- docker-templatesSkill
- error-handlingSkill
- frontend-designSkill
- github-actions-templateSkill
- git-operationsSkill
- logging-standardsSkill
- mcp-toolsSkill
- monitoring-observabilitySkill
- mui-stylingSkill
- necessity-firstSkill
- pattern-recognitionSkill
- planning-methodologySkill
- python-patternsSkill
- quality-validationSkill
- react-patternsSkill
- research-methodologySkill
- reverse-engineer-anythingSkill
- security-review-checklistsSkill
- semantic-memory-mcpSkill
- skill-authoringSkill
- sofa-searchSkill
- spec-developSkill
- spec-researchSkill
- spec-reviewSkill
- spec-workflowSkill
- state-managementSkill
- systematic-debuggingSkill
- testing-strategySkill
- ui-ux-pro-maxSkill
- verification-before-completionSkill
- watch-patternsSkill
- worktree-managementSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
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
- Very specific: line 12
Read {specs_path}/proposal.md first.
- Distinctive: line 51
Use SHALL/MUST for normative requirements (avoid should/may)
- Distinctive: line 52
Every requirement MUST have at least one scenario
“Common” is measured: kept by at least 6 in 10 of the 5 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
OpenSpec Design & Tasks Writing
Guide for creating design.md (WHAT + HOW) and tasks.md (implementation checklist).
Prerequisite
Read {specs_path}/proposal.md first. Reference its capabilities and impact sections.
Path Enforcement: The specs_path MUST be .scaffolding/conversations/{UUID}/specs/ where {UUID} is a valid UUID (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). NEVER use descriptive folder names.
.scaffolding/conversations/ is a symlink to <share>/projects/<repo-name>/conversations (paths below are unchanged; always go through the symlink).
design.md
Output Path
Write to: {specs_path}/design.md
Required Sections
| Section | Purpose | Format |
| Context | Background, current state, constraints | Prose |
| Goals / Non-Goals | Scope boundaries | Bullet lists |
| Specifications | Requirements + scenarios | GIVEN/WHEN/THEN |
| Decisions | Technical choices + rationale | Decision: Why X over Y |
| Risks / Trade-offs | Known limitations | [Risk] -> Mitigation |
| Migration Plan | Deploy + rollback steps | Checklist (if applicable) |
| Open Questions | Unresolved items | Numbered list |
Specification Format
### Requirement: user-session-timeout
The system SHALL terminate idle sessions after 30 minutes.
#### Scenario: session expires after inactivity
- **GIVEN** a user has an active session
- **WHEN** no activity occurs for 30 minutes
- **THEN** the session is invalidated and user is redirected to loginRules:
- Use SHALL/MUST for normative requirements (avoid should/may)
- Every requirement MUST have at least one scenario
- Each scenario is a potential test case
- Map capabilities from proposal.md to requirement groups
Decision Format
## Decisions
### Use Redis for session storage
**Alternatives**: PostgreSQL, in-memory
**Rationale**: Sub-millisecond lookups, built-in TTL, already in stackScaffolding Constraints
Include in all designs:
- Max 200 lines per Edit operation
- Files must stay under 500 lines
- Backend validation:
pytest; Frontend:npm run validate - Map steps to specific workflow chain agents
tasks.md
Output Path
Write to: {specs_path}/tasks.md
Format Rules
| Rule | Detail |
Group by ## N. Group Name | Numbered headings |
| Checkbox per task | - [ ] N.M Task description |
| Dependency order | Tasks ordered by what must come first |
| File paths | Include target file path in task |
| Acceptance criteria | Each task independently verifiable |
| Validation step | Include pytest / npm run validate per group |
| Size | Each task completable in one session |
Template
## 1. Setup
- [ ] 1.1 Create `./backend` module structure
- [ ] 1.2 Add dependencies to `requirements.txt`
## 2. Core Implementation
- [ ] 2.1 Implement service in `./backend/service.py`
- [ ] 2.2 Add Pydantic schemas in `./backend/schemas.py`
- [ ] 2.3 Add router in `./backend/router.py`
- [ ] 2.4 Run validation: `pytest`
## 3. Frontend + Tests
- [ ] 3.1 Add types to `app/frontend/src/types/index.ts`
- [ ] 3.2 Create component, add unit + integration tests
- [ ] 3.3 Run validation: `npm run validate && pytest`Quality Checklist
- design.md references proposal.md capabilities
- Every requirement has GIVEN/WHEN/THEN scenarios
- Decisions include alternatives considered
- Risks have specific mitigations
- tasks.md uses checkbox format (
- [ ]) - Tasks ordered by dependency
- Each group has a validation step
- File paths included in task descriptions
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.

