A comprehensive guide and toolkit for structuring software projects to maximize effectiveness when working with LLM agents (like GitHub Copilot, Cursor, Claude, etc.).
This repository contains best practices, guidelines, and templates developed through iterative work across multiple projects. The goal is to help developers and teams structure their projects in ways that make LLM agents more effective collaborators.
- LLM Agent Project Setup Guide - Complete guide for setting up new projects with LLM agent collaboration in mind
- LLM Agent Project Migration Guide - Step-by-step guide for migrating existing projects to an LLM agent-friendly structure
- Commit Guidelines - Conventional Commits format and best practices
- Ticket Guidelines - Ticket composition and issue tracking best practices
- Branch Management - Git branch strategies for single and multiple agent workflows
- Framework Selection Guide - Choose the right frontend framework for your project
- Framework Setup Guides - Framework-specific setup guides (SvelteKit, Next.js, React, Vue, etc.)
.cursorrules- Example Cursor IDE rules file that references the process guidelines
- Clear Context - Well-organized documentation with explicit cross-references
- Documented Decisions - Rationale and alternatives are explained
- Consistent Structure - Predictable patterns across the codebase
- Explicit Dependencies - Clear relationships between components
- Preserved History - Git history tells a coherent story
- Project Maintainers setting up new projects
- Technical Leads migrating legacy systems
- LLM Agent Operators working with AI coding assistants
- Development Teams adopting AI-assisted workflows
- Choose a framework (if building a web app): Read the Framework Selection Guide
- Set up your framework: Follow the appropriate Framework Setup Guide
- Read the LLM Agent Project Setup Guide
- Copy the
.cursorrulesexample and adapt it to your project - Set up your project structure following the recommended patterns
- Configure your process guidelines in
docs/process/
- Read the LLM Agent Project Migration Guide
- Assess your current project structure
- Plan an incremental migration strategy
- Apply the guidelines gradually, ensuring non-breaking changes
- Full-Stack Web Applications (SvelteKit, Next.js, etc.)
- Libraries and Packages
- Utilities and Tools
- Monorepos with multiple applications/services
- Legacy System Migrations
The guides include comprehensive branch management strategies for:
- Single agent workflows
- Multiple parallel agents
- Local-first development
- Remote collaboration
- Hybrid approaches
These guidelines were developed iteratively across multiple projects. Contributions, improvements, and real-world examples are welcome!
This repository is provided as-is for educational and reference purposes. Feel free to adapt these guidelines to your projects.
Note: These guidelines are technology-agnostic but include examples from various stacks (SvelteKit, Next.js, PostgreSQL, etc.). Adapt the patterns to your specific technology choices.