A streamlined, agent-agnostic repository template designed for seamless collaboration between human developers and AI coding agents (Claude, GitHub Copilot, Cursor, etc.).
Modern software development often involves multiple AI agents. Without a clear structure, these agents can struggle with context, overwrite each other's work, or lose track of long-term project goals. This template provides a stable framework for any agent to understand your codebase's current state, rules, and priorities.
- Agent-Agnostic Core: Centralized instructions in
AGENTS.mdthat work for any AI. - Persistent Context: Dedicated
docs/developer/current-state.mdfor session-to-session continuity. - Structured Task Tracking: Lightweight task management in
docs/tasks.md. - Customizable Adapters: Thin wrappers like
CLAUDE.mdandCOPILOT.mdfor tool-specific behaviors. - Modern Standards: Built-in support for conventional commits and clear quality gates.
.
├── AGENTS.md # 🧠 The "Brain" - repo-wide agent rules
├── CLAUDE.md # 🔧 Adapter for Claude Desktop/Dev
├── COPILOT.md # 🔧 Adapter for GitHub Copilot
├── docs/
│ ├── tasks.md # 📝 Current roadmap and priorities
│ └── developer/ # 🏗️ Internal documentation index
│ ├── current-state.md # 📍 The "Source of Truth" (read first)
│ ├── architecture-guide.md # 🏛️ System design & patterns
│ └── ... # 📚 Testing, Releases, and more
└── README.md # 📖 You are here- Clone & Adapt: Copy these files into your new or existing repository.
- Customize
AGENTS.md: Update these 3 specific areas:- Package Manager: Set your preferred tool (npm, pnpm, yarn, etc.).
- Validation Command: Define your "check everything" script (e.g.,
npm run test). - Stack-Specific Patterns: Add rules for your framework (React, Go, etc.).
- Initialize State: Update
docs/developer/current-state.mdwith your current progress. - Explore Docs: Check the developer index for architecture, testing, and release guides.
- Start Coding: Point your AI agent to
AGENTS.mdand watch it work with precision.
- Read Before Editing: Agents are instructed to read related files and documentation before making changes.
- Update State: Every significant session should end with an update to
current-state.md. - Senior Architect Mindset: Prioritize maintainability and performance over quick fixes.