Requirement Document Style
Generate hierarchical, checklist-style documents using the requirement document format.
Trigger
Use when the user asks to:
- •Create any structured document (plans, checklists, guides, specs)
- •Create tasks or task lists for specific work
- •Convert prose instructions into actionable items
- •Organize requirements from a document/assignment/specification
- •Break down a project or goal into trackable steps
Input
The user provides:
- •Source documents (paths, URLs, or pasted content), OR
- •A description of tasks/goals to organize, OR
- •A topic or project to create a structured plan for
Output Format
Frontmatter (YAML)
yaml
--- id: <uuid> name: <Document Title> description: <One-line summary of what this requirements doc covers> type: reference created: <ISO 8601 timestamp> updated: <ISO 8601 timestamp> tags: [<relevant>, <tags>] aliases: [<short-names>, <alternate-refs>] ---
Document Structure
- •
Title:
# <Document Name>followed by key metadata (due date, course, etc.) - •
Major Sections: Use
## N. Section Namewith horizontal rule (---) before each - •
Subsections: Nest with decimal notation:
- •
### N.M Subsection - •
#### N.M.P Sub-subsection
- •
- •
Context Blocks: Start sections with blockquote containing:
markdown> Command: `<command to run>` > Target: <success metric>
- •
Checkboxes: All actionable items use
- [ ]format - •
Item Style:
- •Imperative fragments, not full sentences
- •Include technical details in parentheses:
Query projection (Linear) - •Use numbered lists (
1. [ ]) for sequential steps - •Use bullet lists (
- [ ]) for unordered requirements
- •
Emphasis:
- •
**NO**or**CRITICAL**for prohibitions/warnings - •
**Important**for key notes - •Inline
codefor commands, classes, files, arguments
- •
- •
Cross-References: Use
(see N.M)to link related sections - •
Warnings: Use blockquote with bold prefix:
markdown> **Warning**: <warning text>
Writing Rules
- •Extract, don't interpret: Pull requirements directly from source; don't add your own
- •Preserve technical terms: Use exact class names, function names, file paths from source
- •One checkbox = one verifiable action: Each item should be completable and checkable
- •Group by dependency: Earlier sections should not depend on later ones
- •Include success criteria: Every major section needs a measurable target
- •No prose paragraphs: Convert explanations into structured items or omit
- •Preserve all constraints: Restrictions ("do NOT use X") get their own emphasized items
Example Transformation
Source prose:
"Your implementation should get over 95% accuracy. You must not use nn.TransformerEncoder or any off-the-shelf attention. Use Linear layers for Q, K, V projections."
Output:
markdown
### 2.1 Implementation Requirements #### 2.1.1 Accuracy Target - [ ] Achieve > 95% accuracy on dev set #### 2.1.2 Restrictions - [ ] **NO** `nn.TransformerEncoder` - [ ] **NO** off-the-shelf attention modules #### 2.1.3 Attention Implementation - [ ] Query projection (`nn.Linear`) - [ ] Key projection (`nn.Linear`) - [ ] Value projection (`nn.Linear`)
Workflow
- •Read all source documents thoroughly
- •Identify major deliverables/parts → become top-level sections
- •Extract requirements for each part → become subsections
- •Decompose complex requirements → become sub-subsections with checkboxes
- •Add context blocks with commands and targets
- •Add cross-references between related sections
- •Review for completeness against source material