# Markdown Templates & Examples > **Agent role**: Reference this file for document templates, structure, > and examples when creating new documentation. ## Document Templates ### Standard Document Template ```markdown # Document Title **Author**: Matthew Raymer **Date**: YYYY-MM-DD **Status**: 🎯 **STATUS** - Brief description ## Overview Brief description of the document's purpose and scope. ## Current State Description of current situation or problem. ## Implementation Plan ### Phase 1: Foundation - [ ] Task 1 - [ ] Task 2 ## Next Steps 1. **Review and approve plan** 2. **Begin implementation** 3. **Test and validate** --- **Status**: Ready for implementation **Priority**: Medium **Estimated Effort**: X days **Dependencies**: None **Stakeholders**: Development team ``` ### Technical Specification Template ```markdown # Technical Specification: [Feature Name] **Author**: Matthew Raymer **Date**: YYYY-MM-DD **Status**: 🎯 **DRAFT** - Under Review ## Overview Brief description of the technical specification. ## Requirements ### Functional Requirements - [ ] Requirement 1 - [ ] Requirement 2 ### Non-Functional Requirements - [ ] Performance requirement - [ ] Security requirement ## Technical Design ### Architecture Description of the technical architecture. ### Data Models ```typescript interface ExampleModel { id: string; name: string; createdAt: Date; } ``` ### API Design ```typescript interface APIResponse { success: boolean; data: T; error?: string; } ``` ## Testing Strategy - [ ] Unit tests - [ ] Integration tests - [ ] E2E tests --- **Status**: Draft **Priority**: High **Estimated Effort**: X days **Dependencies**: None **Stakeholders**: Development team ``` ## Content Examples ### JSON Examples ```json { "property": "value", "nested": { "property": "value" } } ``` ### Shell Commands ```bash # Command with comment npm run build:web # Multi-line command VITE_GIT_HASH=`git log -1 --pretty=format:%h` \ vite build --config vite.config.web.mts ``` ### TypeScript Examples ```typescript // Function with JSDoc const getEnvironmentConfig = (env: string) => { switch (env) { case 'prod': return { /* production settings */ }; default: return { /* development settings */ }; } }; ``` ## File Structure Standards ### Document Header ```markdown # Document Title **Author**: Matthew Raymer **Date**: YYYY-MM-DD **Status**: 🎯 **STATUS** - Brief description ## Overview Brief description of the document's purpose and scope. ``` ### Section Organization Standard sections: Overview, Current State, Implementation Plan, Technical Details, Testing & Validation, Next Steps ## Common Patterns Standard implementation plans follow Phase 1 (Foundation), Phase 2 (Features), Phase 3 (Testing & Polish) structure. ## Model Implementation Checklist ### Before Using Templates - [ ] **Template Selection**: Choose appropriate template for document type - [ ] **Structure Review**: Understand required sections and organization - [ ] **Content Planning**: Plan what information goes in each section - [ ] **Audience Analysis**: Ensure template matches target audience needs ### During Template Usage - [ ] **Section Completion**: Fill in all required sections completely - [ ] **Example Integration**: Include relevant code examples and patterns - [ ] **Formatting Consistency**: Apply markdown standards from core rules - [ ] **Cross-references**: Link to related documentation and resources ### After Template Usage - [ ] **Content Review**: Verify all sections contain appropriate content - [ ] **Formatting Check**: Run `npm run markdown:check` for compliance - [ ] **Template Validation**: Confirm document follows template structure - [ ] **Quality Assessment**: Ensure content meets project standards ### Template-Specific Requirements - [ ] **Standard Documents**: Include all required metadata and sections - [ ] **Technical Specs**: Complete all requirement and design sections - [ ] **Implementation Plans**: Define clear phases and milestones - [ ] **Examples**: Provide relevant, working code examples --- **See also**: - `.cursor/rules/docs/markdown_core.mdc` for core formatting standards - `.cursor/rules/docs/markdown_workflow.mdc` for validation workflows **Status**: Active templates and examples **Priority**: Medium **Estimated Effort**: Ongoing reference **Dependencies**: markdown_core.mdc **Stakeholders**: Documentation team, Development team