Skip to content

Mpfk/auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto — Multi-Agent Software Development Template

A project template that structures development using specialized AI agents, test-driven development, and GitHub Issues. Works with GitHub Copilot and Claude Code.

Quick Start

Claude Code

  1. Clone this template into your new project
  2. Activate git hooks (run once): git config core.hooksPath .githooks
  3. 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

GitHub Copilot

  1. Clone this template into your new project
  2. Configure MCP write access — required once per repo: docs/auto/copilot-cloud-setup.md
  3. Start working:
    • From GitHub: Open Copilot Chat → @issue Add a contact form
    • From VS Code: Open Copilot Chat → @orchestrate

How It Works

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
Loading

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.

Setup

Claude Code

Prerequisites:

Steps:

  1. Activate git hooks (run once after cloning): git config core.hooksPath .githooks
  2. Open Claude Code in the repo directory
  3. Use /issue to start new work or /auto to drive an existing issue forward

No additional MCP configuration is needed — gh CLI and GitHub MCP tools work out of the box.

GitHub Copilot — Required: MCP Write Access

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

GitHub-Native Mode (Copilot)

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:

  1. Open Copilot Chat on GitHub → @issue <description>
  2. Review the plan the Issue Agent posts as an issue comment and approve it
  3. Assign Copilot to the issue — implementation starts on issue/{number}
  4. When CI passes, the Review Agent validates automatically
  5. Approve the merge — branch merges to main and the issue closes

VS Code Mode (Copilot)

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:

  1. Open Copilot Chat → @orchestrate
  2. Describe what you need — the agent creates a GitHub Issue, runs research, and writes a plan
  3. Approve the plan (Gate 1)
  4. Agents implement the work on a feature branch
  5. Review the output and approve the merge (Gate 2)

Configuration

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.

Agents

Claude Code (slash commands)

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)

GitHub Copilot (chat agents)

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)

Project Structure

├── 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

About

A reusable project template that enforces structured software development through specialized GitHub Copilot agents, test-driven development, GitHub Issues for project management, and automated git hooks + GitHub Actions. Works with Copilot and Claude Code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages