define-tech-spec
Skill8 starsChanged 8 months agoMITView on GitHub
Create tech specs with architecture for Stage C of the VibeFlow docs-first workflow
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analyze-codebaseSkill
- clarify-demandSkill
- create-feature-specSkill
- define-prdSkill
- manage-workSkill
- prepare-releaseSkill
- record-decisionSkill
- run-tddSkill
- validate-checkpointSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Create tech specs with architecture for Stage C of the VibeFlow docs-first workflow.
- Distinctive: line 20
Document data contracts and SLOs
- Very specific: line 74
Follow the workflow in .claude/rules/context7-research.md to fetch current library documentation.
- Very specific: line 85
After completing Stage C, update docs/workflow-state.yaml:
- Distinctive: line 92
After completing this stage, ask the user for permission before committing:
- Very specific: line 103
After the commit is complete, directly run /manage-work advance <ID> to advance to the next stage.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
define-tech-spec
Create tech specs with architecture for Stage C of the VibeFlow docs-first workflow.
Purpose
This skill creates and validates Tech Spec documents for Stage C:
- Define architecture and interfaces
- Document data contracts and SLOs
- Specify component inventory and topology
Workflow
Stage C: Specify
│
├── Create/update Tech Specs
├── Define architecture and interfaces
└── Document data contracts and SLOsUsage
Create/Update Tech Spec
/define-tech-spec <spec-name>Creates or updates docs/specs/spec-<name>.md.
Example:
/define-tech-spec api
/define-tech-spec llmDocument Requirements
Tech Spec (docs/specs/spec-<name>.md)
Required sections:
- Header (version, status, PRD link, contract versions)
- Overview & Goals
- Architecture (topology diagram + component inventory)
- Interfaces & Data Contracts
- Data & Storage
- Reliability & SLIs/SLOs
- Security & Privacy
- Evaluation Plan
Validation
scripts/validate_techspec.py— Validate tech spec
References
See assets/:
techspec-template.md— Tech spec template
Context7 Library Research
Follow the workflow in .claude/rules/context7-research.md to fetch current library documentation.
What to look for: API surfaces, configuration options, integration patterns, version constraints.
Where to incorporate findings:
- Architecture — topology and component interactions with external dependencies
- Interfaces & Data Contracts — exact types, parameters, and return values from library APIs
- Reliability — known limitations, failure modes, and SLO implications
Manifest Update
After completing Stage C, update docs/workflow-state.yaml:
- Set
stage: C - Append to
docs.specs[]:docs/specs/spec-<name>.md
Git Commit
After completing this stage, ask the user for permission before committing:
git add docs/specs/spec-<name>.md docs/workflow-state.yaml
git commit -m "feat(spec): define <name> tech spec (#ft-<ID>)"Replace <name> and <ID> with actual values.
Auto-Advance
After the commit is complete, directly run /manage-work advance <ID> to advance to the next stage.
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.

