Spec Writer
The Spec Writer skill provides context injection for specification writing tasks, creating clear, unambiguous technical specifications using RFC 2119 language.Overview
| Property | Value |
|---|---|
| Skill ID | ct-spec-writer |
| Tier | 2 (Execution) |
| Protocol | specification |
| Tags | specification, documentation, rfc |
Capabilities
- Protocol Specifications - Define behavior rules with RFC 2119 keywords
- Technical Requirements - Document system requirements with constraints
- API Specifications - Define interfaces, schemas, and contracts
- Architecture Documents - Document system design decisions
When to Use
The dispatch algorithm selects ct-spec-writer for:- Tasks with keywords:
spec,rfc,protocol,contract - Tasks labeled:
specification - Task type:
specification
RFC 2119 Keywords
Specifications MUST use these keywords with their precise meanings:| Keyword | Meaning | Expected Compliance |
|---|---|---|
| MUST | Absolute requirement | 95-98% |
| MUST NOT | Absolute prohibition | 93-97% |
| SHOULD | Recommended unless good reason | 75-85% |
| SHOULD NOT | Discouraged unless good reason | 75-85% |
| MAY | Truly optional | 40-60% |
Specification Structure
Writing Guidelines
Be Precise
- Every requirement MUST be testable
- Avoid ambiguous terms (“appropriate”, “reasonable”, “adequate”)
- Use specific values, not ranges when possible
Be Complete
- Define all terms that might be misunderstood
- Cover error cases and edge conditions
- Specify what happens when requirements conflict
Be Organized
- Group related requirements
- Use consistent numbering (REQ-XXX, CON-XXX)
- Cross-reference related sections
Output Location
Specifications are written to:developer/specifications/{{SPEC_NAME}}.mdx
Execution Flow
Manifest Entry
Related Skills
- Task Executor - Implements specifications
- Validator - Verifies spec compliance
- Research Agent - Gathers requirements
