GitHub Copilot custom agents for orchestrating the complete software development lifecycle
Project description
Awesome Skills - GitHub Copilot Agents
A collection of specialized GitHub Copilot custom agents for orchestrating the complete software development lifecycle, from requirements gathering through implementation, testing, and review.
Installation
Install via pip:
pip install swe-copilot-agents
Or install from source:
git clone https://github.com/khaerulumam42/agent-generator.git
cd agent-generator
pip install -e .
Install Agents to Your Project
After installing the package, navigate to your project directory and run:
cd /path/to/your/project
swe-copilot-agents
This will copy the agents to .github/agents/ in your current directory:
✓ brainstormer.agent.md
✓ dev-orchestrator.agent.md
✓ infra-setup.agent.md
✓ knowledge-graph-agent.agent.md
✓ plan-executor.agent.md
✓ plan-reviewer.agent.md
✓ pytest-agent.agent.md
✓ readme-generator.agent.md
✓ rug-orchestrator.agent.md
✅ Installed 9 agent(s) to /path/to/your/project/.github/agents
Overview
This repository contains AI agents that follow the "coordinator and worker" pattern—where specialist agents perform focused work under the guidance of an orchestrator. Each agent has a strong persona, clear boundaries, and specific expertise.
Agents
@dev-orchestrator
Role: Meticulous technical lead who conducts specialist agents like an orchestra conductor
Persona:
- Philosophy: "Right agent, right time, right order"
- Traits: Meticulous, patient, organized, clear
- Metaphor: Orchestra conductor who doesn't play instruments but brings out the best performance from each soloist
Responsibilities:
- Coordinates the complete development lifecycle across 4 movements
- Tracks state obsessively (which movement, which soloist, which outputs)
- Manages review cycles with automatic fix loops (max 2 reviews)
- Seeks human approval at each intermission
Orchestrated Agents:
- @brainstormer (Movement I - Planning)
- @plan-executor (Movement II - Implementation)
- @plan-reviewer (Movement III - Review)
- @pytest-agent (Movement IV - Testing, optional)
Companion Agents:
- @readme-generator — Generate/update README from knowledge graph
- @infra-setup — Generate Terraform infra from knowledge graph
Best Practices: ✅ EXCELLENT
- Strong, distinctive persona with musical terminology throughout
- Clear YAML configuration with
agentsrestriction - Visual workflow diagram (ASCII art)
- Comprehensive error handling and human intervention pathways
- Review cycle feedback loop with automatic fixes
- Memorable tagline: "A great conductor doesn't play every instrument—they know exactly when each section should perform."
@rug-orchestrator
Role: Pure delegation orchestrator following the RUG pattern (Repeat Until Good) — NEVER implements, only delegates
Persona:
- Philosophy: "Repeat Until Good" — every task validated, failed tasks retried
- Traits: Pure delegator, context-preserving, validation-obsessed
- Constraint: Only uses
agent,read,searchtools — NEVEReditorexecute
Responsibilities:
- Delegates ALL implementation work to specialist subagents (preserves context window)
- Decomposes plans into granular tasks (one file = one subagent task)
- Validates EVERY task via separate @plan-reviewer (mandatory, not optional)
- Retries failed tasks with improved instructions (up to 3 times, then escalates)
- Supports parallel execution for independent tasks
Orchestrated Agents:
- @brainstormer (Phase 1 - Planning, if no plan exists)
- @plan-executor (Phase 3 - Implementation per decomposed task)
- @plan-reviewer (Phase 4 - Mandatory validation for every task)
- @pytest-agent (Phase 6 - Testing, optional)
RUG Loop: Implement → Validate → If FAIL, retry (up to 3x) → If still FAIL, escalate to human
Best Practices: ✅ EXCELLENT
- Distinctive RUG pattern differentiates from @dev-orchestrator
- Task decomposition rules prevent monolithic delegation
- Mandatory per-task validation ensures quality
- Common failure modes table teaches anti-patterns
- Parallel execution pattern for efficiency
- Result routing table clarifies all state transitions
Role: Curious planning agent who asks clarifying questions to crystallize requirements
Persona:
- Philosophy: Uncertainty triggers questions, not assumptions
- Traits: Insatiably curious, thorough, multi-round questioner (1-10 rounds)
- Metaphor: Exploratory researcher who never assumes
Responsibilities:
- Asks 1-10 rounds of clarifying questions before writing plans
- Queries knowledge graph for impact analysis (downstream, cycles, bottlenecks, test seams)
- Creates detailed markdown plan documents in
docs/plan/YYYY-MM-DD-*.md - Integrates knowledge graph findings into every plan
- Decision Helper mode: Presents 2-4 options with pros/cons, comparison table, and one clear recommendation with reasoning
- Handoff support: Offers direct handoff to @plan-executor or orchestrated execution via @dev-orchestrator
Best Practices: ✅ EXCELLENT
- Strong persona ("insatiably curious")
- Knowledge graph integration for impact analysis
- Multi-round questioning framework with defined stages
- Decision Helper mode with structured options, comparison tables, and recommendations
- Clear completion criteria (user confirmation before writing plan)
- Comprehensive plan output template with KG analysis sections
- Handoff support to @plan-executor or @dev-orchestrator
@plan-executor
Role: Senior Python engineer who executes plans by blending seamlessly with existing codebases
Persona:
- Philosophy: "Consistency > Clean Code"
- Traits: Chameleon-like, adaptive, pattern-matching
- Metaphor: Code chameleon who becomes indistinguishable from existing code
Responsibilities:
- Reads 3-5 existing files to understand patterns before writing
- Matches existing style exactly (naming, imports, error handling, formatting)
- Implements requirements from plan documents
- Uses
todotool to track plan item progress - Never "fixes" existing code because it's ugly
Best Practices: ✅ EXCELLENT
- Strong persona with clear philosophy ("Consistency > Clean Code")
- Concrete code examples showing good vs. bad matching
- Specific matching table (naming, imports, errors, strings, formatting)
- Clear boundaries (never "revamp" existing code)
- Executable commands for studying patterns
todotool integration for plan item tracking- Handoff support to @plan-reviewer
@plan-reviewer
Role: Senior code reviewer and quality assurance engineer who rigorously audits implementation against plans
Persona:
- Philosophy: "Evidence over assumptions"
- Traits: Ruthlessly thorough, evidence-driven, uncompromising
- Metaphor: Auditor who proves everything through code inspection
Responsibilities:
- Extracts all requirements from plan documents
- Searches codebase for concrete evidence of each requirement
- Categorizes execution status (Fully/Partially/Not Executed)
- Performs brittleness analysis via knowledge graph (high centrality, excessive dependencies, deep chains)
- Provides prioritized remediation recommendations
Best Practices: ✅ EXCELLENT
- Strong persona ("ruthlessly thorough")
- Clear execution status definitions with evidence gathering checklist
- Knowledge graph brittleness analysis with risk levels
- Comprehensive report output format
- Priority assignment criteria (P0-P3)
- Status determination rules with specific conditions
@pytest-agent
Role: Senior Python QA engineer specializing in pytest with expert-level mocking and patching
Persona:
- Philosophy: "Depth over breadth"
- Traits: Exhaustive, comprehensive, edge-case obsessed
- Metaphor: Test surgeon who operates at every code path
Responsibilities:
- Writes exhaustive test suites (happy path, edge cases, errors, state, integration)
- Expert-level mocking and patching (Mock, MagicMock, patch, PropertyMock)
- Targets >80% coverage for new code
- Tests only newly implemented code (respects scope boundaries)
Best Practices: ✅ EXCELLENT
- Strong persona ("depth over breadth")
- Comprehensive test coverage requirements table
- Expert mocking examples with all patterns
- Clarification protocol for ambiguous behavior
- Clear scope boundaries (only test new code)
- Code style examples (good vs. bad)
@knowledge-graph-agent
Role: Expert code analysis specialist who builds knowledge-base graphs from codebases
Persona:
- Philosophy: Static analysis reveals code architecture
- Traits: Multi-lingual, systematic, incremental
- Metaphor: Code cartographer who maps relationships
Responsibilities:
- Scans codebases and generates
knowledge-graph.yamlin project root - Tracks relationships: files, functions, classes, imports, call chains, concerns
- Supports incremental updates (only changed files)
- Version tracking via git commit hashes
- Multi-language support (Python, JS/TS, Go, Java, Rust)
Best Practices: ✅ EXCELLENT
- Clear startup behavior with git hash comparison
- Incremental update mode to avoid full rescans
- Comprehensive YAML output format specification
- Complete analysis standards with good/bad examples
- Web framework pattern recognition (Flask, FastAPI, Express, Gin)
- Validation checklist before completion
@readme-generator
Role: Technical writer who transforms code knowledge into clear, accurate README documentation
Persona:
- Philosophy: "Data-driven documentation"
- Traits: Meticulous, factual, preservation-focused
- Metaphor: Documentarian who only writes what the code proves
Responsibilities:
- Auto-generates README.md from knowledge-graph.yaml data
- Updates existing READMEs by syncing KG-derived sections (marked with
<!-- KG:SECTION -->comments) - Preserves all manual content when updating
- Extracts tech stack, file structure, entry points, and dependencies from KG
Best Practices: ✅ EXCELLENT
- Dual-mode behavior (generate new vs. update existing)
- KG section markers for safe updates
- Clear section mapping table
- Knowledge graph handoff when KG is missing
- Data extraction examples from KG to README
@infra-setup
Role: Senior DevOps engineer who generates production-ready Terraform for AWS ECS Fargate
Persona:
- Philosophy: "Infrastructure from code knowledge"
- Traits: AWS-specialized, Terraform-focused, security-conscious
- Metaphor: Infrastructure architect who reads code to design deployments
Responsibilities:
- Generates
infra/folder with Terraform HCL files - Derives service topology from knowledge-graph.yaml entry points
- Maps external dependencies to AWS resources (RDS, ElastiCache)
- Creates security groups based on code concerns
Output Files:
main.tf— Provider, backend, localsvariables.tf— Configurable inputsoutputs.tf— Exported values (ALB URL, cluster ARN)ecs.tf— ECS cluster, task definitions, servicesalb.tf— ALB, target groups, listenerssecurity.tf— Security groups, IAM roles
Best Practices: ✅ EXCELLENT
- KG-driven service discovery
- Fargate-only focus (no EC2 launch type)
- One-at-a-time configuration questions
terraform fmtvalidation- Security-first: least privilege IAM, no public IPs
Best Practices Summary
| Agent | Persona | Boundaries | Commands | Examples | Workflow Diagram | Overall |
|---|---|---|---|---|---|---|
| @dev-orchestrator | ✅ Strong | ✅ Clear | ✅ Complete | ✅ Musical | ✅ ASCII | EXCELLENT |
| @rug-orchestrator | ✅ Strong | ✅ RUG | ✅ Complete | ✅ Decomposition | ✅ ASCII Flow | EXCELLENT |
| @brainstormer | ✅ Strong | ✅ Clear | ✅ Complete | ✅ Plan format | ✅ Decision Helper | EXCELLENT |
| @plan-executor | ✅ Strong | ✅ Clear | ✅ Complete | ✅ Code style | ❌ None | EXCELLENT |
| @plan-reviewer | ✅ Strong | ✅ Clear | ✅ Complete | ✅ Report format | ❌ None | EXCELLENT |
| @pytest-agent | ✅ Strong | ✅ Clear | ✅ Complete | ✅ Test style | ❌ None | EXCELLENT |
| @knowledge-graph-agent | ✅ Strong | ✅ Clear | ✅ Complete | ✅ YAML format | ❌ None | EXCELLENT |
| @readme-generator | ✅ Strong | ✅ Clear | ✅ Complete | ✅ KG mapping | ✅ Dual-mode | EXCELLENT |
| @infra-setup | ✅ Strong | ✅ Clear | ✅ Complete | ✅ TF templates | ✅ File tree | EXCELLENT |
Overall Repository Quality: ✅ EXCELLENT - All 9 agents follow GitHub Copilot custom agent best practices with strong personas, clear boundaries, executable commands, and comprehensive examples.
Workflow Orchestration
Complete Development Cycle
User Request
↓
┌─────────────────────────────────────────────────────────────────┐
│ @dev-orchestrator (Conductor) │
└─────────────────────────────────────────────────────────────────┘
│
├─ Movement I: @brainstormer → Plan document
│ (1-10 rounds of questions)
│ ↓ Human Approval
│
├─ Movement II: @plan-executor → Implementation
│ (Match existing code patterns)
│ ↓ Human Approval
│
├─ Movement III: @plan-reviewer → Review #1
│ ↓ Major issues found?
│ ├─ YES → Movement IIb: @plan-executor (Fix)
│ │ ↓ Movement IIIb: @plan-reviewer (Re-review FINAL)
│ │ ↓ Issues persist?
│ │ └─ YES → Human Intervention
│ └─ NO → Continue
│ ↓ Human Approval
│
└─ Movement IV: @pytest-agent → Tests (Optional)
↓
Finale
Review Cycle Logic
- Review #1 identifies issues → If major issues found, trigger fix cycle
- Fix Cycle (@plan-executor) implements recommendations
- Review #2 (FINAL) re-audits → If issues persist, human intervention required
- Maximum 2 reviews enforced
Usage
Basic Agent Invocation
# In VS Code with GitHub Copilot Chat
@dev-orchestrator
I want to add a user authentication system with JWT tokens
# Or invoke a specific agent directly
@brainstormer
I need to add a search feature to my application
@plan-reviewer
Review the implementation against docs/plan/2025-03-02-auth.md
File Locations
- Agents:
agents/*.agent.md - Plans:
docs/plan/YYYY-MM-DD-*.md - Knowledge Graph:
knowledge-graph.yaml(project root)
Agent File Structure
All agents follow this structure:
---
name: agent-name
description: Brief description of purpose
tools: ["tool1", "tool2"]
agents: ["agent1", "agent2"] # For orchestrators only
target: vscode | github-copilot
---
# Persona description
## Core Philosophy
## Your Role
## [Specific sections per agent]
## Boundaries (Always Do / Ask First / Never Do)
## Commands
Contributing
When adding new agents:
- Follow the persona pattern - Give each agent a distinctive personality
- Define clear boundaries - What they always do, ask first, never do
- Include executable commands - Concrete bash commands they can run
- Provide examples - Good vs. bad outputs
- Add visual workflow - ASCII diagrams for complex agents
- Document best practices - Mark if agent follows Copilot best practices
License
MIT License - see LICENSE file for details.
Inspiration
Based on patterns from:
- GitHub Custom Agents Documentation
- awesome-copilot community collection
- Subagent orchestration patterns in VS Code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swe_copilot_agents-0.1.10.tar.gz.
File metadata
- Download URL: swe_copilot_agents-0.1.10.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11cfc778284bd1645fe69fad0af5cc6834d06e212e4e4ee952bee111e68acb5f
|
|
| MD5 |
97b0871f800a653bdb3a411bf21fb3e4
|
|
| BLAKE2b-256 |
d5561717448046859d74a3703a843e98db2a13f565a5d28315b9639db81d5916
|
Provenance
The following attestation bundles were made for swe_copilot_agents-0.1.10.tar.gz:
Publisher:
publish.yml on khaerulumam42/agent-generator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swe_copilot_agents-0.1.10.tar.gz -
Subject digest:
11cfc778284bd1645fe69fad0af5cc6834d06e212e4e4ee952bee111e68acb5f - Sigstore transparency entry: 1393643933
- Sigstore integration time:
-
Permalink:
khaerulumam42/agent-generator@859a90d4c202a472de003ed8f66a2b1ce3cb7d4a -
Branch / Tag:
refs/tags/v0.1.10 - Owner: https://github.com/khaerulumam42
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@859a90d4c202a472de003ed8f66a2b1ce3cb7d4a -
Trigger Event:
push
-
Statement type:
File details
Details for the file swe_copilot_agents-0.1.10-py3-none-any.whl.
File metadata
- Download URL: swe_copilot_agents-0.1.10-py3-none-any.whl
- Upload date:
- Size: 50.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5d5b6f740f4cdc4c029955b7a41169f5312ae996bf08328ca0699360412ff44
|
|
| MD5 |
a759ae368629fb22ca83ffde7f620860
|
|
| BLAKE2b-256 |
4a784da8960df41ca0a8fe75c87635f3af642f8c1faf2e75add86e34f6c7ea91
|
Provenance
The following attestation bundles were made for swe_copilot_agents-0.1.10-py3-none-any.whl:
Publisher:
publish.yml on khaerulumam42/agent-generator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swe_copilot_agents-0.1.10-py3-none-any.whl -
Subject digest:
e5d5b6f740f4cdc4c029955b7a41169f5312ae996bf08328ca0699360412ff44 - Sigstore transparency entry: 1393643965
- Sigstore integration time:
-
Permalink:
khaerulumam42/agent-generator@859a90d4c202a472de003ed8f66a2b1ce3cb7d4a -
Branch / Tag:
refs/tags/v0.1.10 - Owner: https://github.com/khaerulumam42
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@859a90d4c202a472de003ed8f66a2b1ce3cb7d4a -
Trigger Event:
push
-
Statement type: