A comprehensive template for writing application specifications and technical documentation.
# Copy the templates folder to your project root
cp -r templates/ your-project-name/
cd your-project-name
Browse the templates/
folder to see all available templates and copy individual files as needed.
All templates are located in the templates/
folder:
templates/
├── README.md # Main index with links to all components
├── REQUIREMENTS.md # Requirements template
├── TODO.md # Project tracking and milestones
├── INVESTIGATION.md # Research and pre-work documentation
├── DESIGN.md # System design and architecture
├── .agent # Agent guidance for consistent support
├── .gitignore # Git ignore file for common files
└── decisions/ # Decisions
├── 0000-template.md # Decision template
└── 0001-example-decision.md # Example decision
- templates/REQUIREMENTS.md - Requirements
- templates/TODO.md - Project tracking and milestones
- templates/DESIGN.md - System design and architecture
- templates/INVESTIGATION.md - Research, analysis, and pre-work documentation
- templates/decisions/ - Decisions directory
- templates/decisions/0000-template.md - Decision template
- templates/decisions/0001-example-decision.md - Example decision
- .cursor/rules/spec-process.mdc - Cursor rules for spec template assistance
- Copy the templates:
cp -r templates/ your-project-name/
- Start with the TODO: Review
TODO.md
to understand the project phases - Write the Requirements: Begin with
REQUIREMENTS.md
to define what you're building - Conduct Research: Use
INVESTIGATION.md
to document your research and analysis - Design the System: Work through
DESIGN.md
to create your system design - Document Decisions: Create decisions in the
decisions/
directory for key architectural choices
- New application development
- Major system redesigns
- Complex feature implementations
- Technical architecture planning
- Discovery Phase: Fill out REQUIREMENTS and conduct initial research
- Design Phase: Create system design and document architectural decisions
- Implementation Phase: Build according to the design
- Documentation Phase: Update documentation based on implementation learnings
- Keep documents up to date as the project evolves
- Create decisions for all significant architectural choices
- Use clear, concise language in all documents
- Include diagrams and visual aids where helpful
- Reference external resources and research in investigation docs
This template includes Cursor rules that provide intelligent assistance when working with specifications. The rules help with:
- Phase-specific guidance and best practices
- Quality standards and review processes
- Common assistance patterns and workflows
- Communication guidelines for effective collaboration
Feel free to customize the templates to fit your organization's needs:
- Update branding and company information
- Add or remove sections based on your requirements
- Modify the workflow to match your development process
- Adjust the decision template to match your decision-making process
To add new templates:
- Create your new template file in the
templates/
folder - Update this README.md to include the new template
- Consider updating the
.agent
file if the new template requires special guidance
If you have suggestions for improving the templates:
- Fork this repository
- Make your improvements
- Submit a pull request with a clear description of changes
Consider sharing:
- Additional template examples
- Industry-specific adaptations
- Workflow improvements
- Tool integrations
This template is provided as-is for educational and professional use. Feel free to adapt and modify for your projects.
Happy Spec Writing! 🎉