A collection of reusable templates for AI-native software development. Copy these files into your projects to improve AI coding assistant performance and maintain better project context.
This repository contains three types of templates:
Behavioral rules for Cursor AI that promote:
- Planning before coding
- Small, safe changes
- Test-first development
- Reading project docs before making changes
- Updating project memory after major work
Usage: Copy cursor/rules.md to .cursor/rules.md in your project root.
This template includes a reusable AI persona system.
Personas live in:
meta/personas/
Every new repo should copy the default persona into:
.cursor/rules/
This ensures consistent AI collaboration across projects.
Usage: Copy meta/personas/jordan-persona.md to .cursor/rules/jordan.md in your project.
Copy-paste prompts optimized for small, focused tasks:
planning.md- Plan features before implementationdebugging.md- Systematic bug investigationfeature-dev.md- Test-first feature developmenttesting.md- Comprehensive test coveragerefactoring.md- Safe code improvementspr-writing.md- Clear pull request documentation
Usage: Copy prompts into Cursor when needed, or reference them with @prompts/[file].
Core documentation files that provide persistent context for AI:
llms.txt- AI-readable project mapmemory.md- Implementation history and current statearchitecture.md- System design and componentsdecisions.md- Architecture Decision Records (ADRs)roadmap.md- Product direction and milestonestasks.md- Active sprint and task trackingtesting.md- Testing philosophy and standardscoding-standards.md- Code style and conventionsdeployment.md- Deployment processes and runbooksapi-contracts.md- API design standards
Usage: Copy entire project-templates/ folder to your project root and customize placeholders.
-
Set up AI persona:
mkdir -p /path/to/your-project/.cursor/rules/ cp meta/personas/jordan-persona.md /path/to/your-project/.cursor/rules/jordan.md
-
Copy Cursor rules:
cp cursor/rules.md /path/to/your-project/.cursor/rules.md
-
Copy project templates:
cp -r project-templates/* /path/to/your-project/ -
Customize templates:
- Fill in placeholders marked with
[BRACKETS] - Update project-specific information
- Remove sections that don't apply
- Fill in placeholders marked with
-
Use prompts as needed:
- Reference during development:
@prompts/feature-dev.md - Or keep templates folder accessible for copy-paste
- Reference during development:
-
Set up AI persona:
- Copy
meta/personas/jordan-persona.mdto.cursor/rules/jordan.md
- Copy
-
Add Cursor rules:
- Copy
cursor/rules.mdto.cursor/rules.md
- Copy
-
Start with core documentation:
- Copy
memory.md,architecture.md, anddecisions.md - Document current state and historical context
- Copy
-
Gradually adopt other templates as needed
Workflows for evolving and improving this templates repository:
system-evolution.md- How to improve templates over timetemplate-retrospective.md- Post-project review processnew-project-bootstrap.md- Canonical setup workflowprompt-evolution.md- Prompt library governancepersonas/- Reusable AI personas for consistent collaborationOPERATING_RHYTHM.md- Daily/monthly/quarterly maintenance cadence (start here!)
Note: The meta/ folder is for maintaining this templates repository. Copy meta/personas/ files into downstream projects as needed.
Templates for consulting and agency work:
- Monthly retainer reports
- Retainer agreements
- Value analysis and pricing
Research-backed guidelines for creating optimized llms.txt files:
LLM_TXT_STANDARDS.md- Best practices (95% AI success rate)CREATE_LLM_TXT.md- Quick creation guidellms.txt.template- Blank templateQUICK_REFERENCE.md- Command cheatsheet
Incident response procedures for ML systems:
- Model deployment and retraining
- Monitoring and alerting
- Data pipeline failures
- Infrastructure scaling
Traditional repositories document for humans. AI-native repositories document for AI agents.
AI coding assistants perform significantly better when projects include:
- Architecture context
- Coding standards
- Testing expectations
- Decision history
- Roadmap and tasks
- Persistent memory
These templates provide that structure.
- Reduces hallucinations - Clear context prevents invented solutions
- Maintains consistency - Standards guide implementation patterns
- Preserves decisions - ADRs prevent relitigating choices
- Enables planning - Roadmap and tasks provide direction
- Improves quality - Testing and coding standards set expectations
- Speeds onboarding - New developers (AI or human) understand quickly
Keep documentation current:
- Update
memory.mdafter completing major features - Document decisions in
decisions.mdwhen choosing between alternatives - Keep
tasks.mdsynchronized with actual work - Refresh
architecture.mdwhen system design changes
Stale documentation is worse than no documentation - it misleads AI and humans alike.
Found an improvement? Have a template to add? Open an issue or PR.
[Your chosen license]
- llms.txt research by Lance Martin
- ADR format by Michael Nygard
Last Updated: February 2026