A project template that structures development using specialized AI agents, test-driven development, and GitHub Issues. Works with GitHub Copilot and Claude Code.
- Clone this template into your new project
- Activate git hooks (run once):
git config core.hooksPath .githooks - Open Claude Code and start working:
/issue Add a contact form— research, plan, Gate 1/auto— drive the full workflow from the current issue state
- Clone this template into your new project
- Configure MCP write access — required once per repo:
docs/auto/copilot-cloud-setup.md - Start working:
- From GitHub: Open Copilot Chat →
@issue Add a contact form - From VS Code: Open Copilot Chat →
@orchestrate
- From GitHub: Open Copilot Chat →
You describe what you need. Agents handle research, planning, implementation, and review. You approve the plan and the merge — everything else is automated.
flowchart TD
A([You describe what you need]) --> B[Orchestrate: create GitHub Issue]
B --> C[Research Agents: investigate in parallel]
C --> D[Synthesize findings + write plan]
D --> G1{Gate 1\nPlan Approval}
G1 -- Approve --> E[Develop + Doc Agents: implement]
G1 -- Revise --> D
E --> CI{CI checks\npass?}
CI -- Fail --> E
CI -- Pass --> F[Review Agent: validate]
F -- Issues found --> E
F -- PASS --> G2{Gate 2\nMerge Approval}
G2 -- Approve --> M([Merge to main])
G2 -- Reject --> C
style G1 fill:#ff6b6b,color:#fff,stroke:#c0392b
style G2 fill:#ff6b6b,color:#fff,stroke:#c0392b
style M fill:#2ecc71,color:#fff,stroke:#27ae60
Every piece of work is tracked as a GitHub Issue, developed on its own issue/{number} branch, implemented test-first, and documented before reaching main. You stay in control at two gates: the plan and the merge.
Prerequisites:
- Claude Code installed
- Repository cloned locally
Steps:
- Activate git hooks (run once after cloning):
git config core.hooksPath .githooks - Open Claude Code in the repo directory
- Use
/issueto start new work or/autoto drive an existing issue forward
No additional MCP configuration is needed — gh CLI and GitHub MCP tools work out of the box.
Agents need write access to create issues, branches, and pull requests. This is a one-time setting per repository.
→ Follow docs/auto/copilot-cloud-setup.md
Drive the workflow entirely from GitHub — no local IDE required.
Prerequisites:
- GitHub Copilot with coding agent (assign-to-Copilot) access
- MCP write access configured (see above)
Steps:
- Open Copilot Chat on GitHub →
@issue <description> - Review the plan the Issue Agent posts as an issue comment and approve it
- Assign Copilot to the issue — implementation starts on
issue/{number} - When CI passes, the Review Agent validates automatically
- Approve the merge — branch merges to
mainand the issue closes
Prerequisites:
- GitHub Copilot Chat extension installed
- Repository cloned locally
- MCP write access configured (see above)
- Git hooks activated (run once after cloning):
git config core.hooksPath .githooks
Steps:
- Open Copilot Chat →
@orchestrate - Describe what you need — the agent creates a GitHub Issue, runs research, and writes a plan
- Approve the plan (Gate 1)
- Agents implement the work on a feature branch
- Review the output and approve the merge (Gate 2)
workflow.conf is auto-detected from your project on first use (reads package.json, pyproject.toml, go.mod, Cargo.toml, etc.). Edit manually only if auto-detection doesn't match your setup.
| Command | Purpose |
|---|---|
/issue |
Create issue, run parallel research, write plan, present Gate 1 |
/auto |
Auto-drive the full workflow from the current issue state — pauses only at Gate 1 and Gate 2 |
/develop |
Implement one component via Red-Green-Refactor |
/document |
Maintain docs/ |
/review |
Pre-merge validation |
/research |
Single-strategy investigation (codebase, docs, external, constraints) |
| Agent | Purpose |
|---|---|
@issue |
GitHub-native intake: research, planning, and Gate 1 prep |
@orchestrate |
VS Code entry point: creates issue, runs research, writes plan |
@develop |
Implements one component via Red-Green-Refactor |
@documentation |
Maintains docs/ |
@review |
Pre-merge validation (read-only) |
├── workflow.conf # Test command, source/test directories
├── CLAUDE.md # Claude Code project instructions (auto-loaded)
├── .claude/
│ ├── settings.json # Project-scoped permissions and hooks
│ └── commands/ # Slash command definitions (/issue, /auto, /develop, etc.)
├── .github/
│ ├── copilot-instructions.md # Workspace instructions (auto-loaded by Copilot)
│ ├── agents/ # Copilot agent definitions (.agent.md files)
│ ├── workflows/ # GitHub Actions CI
│ └── ISSUE_TEMPLATE/ # Structured issue template
├── .githooks/ # Git hook enforcement (local dev)
├── docs/ # All project documentation
├── src/ # Source code
└── tests/ # Test files
docs/auto/agent-flow.md— Complete workflow specification, state machine, and agent referencedocs/auto/copilot-cloud-setup.md— Copilot MCP write access setup and language tooling