.github/skills/agent-orchestration/SKILL.md
Multi-agent orchestration patterns using Gem/RUG Orchestrator style: decompose goals, delegate to sub-agents, validate and repeat until complete. Use when coordinating multiple specialized agents for complex autonomous tasks.
npx skillsauth add javiertarazon/agente-copilot agent-orchestrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Orchestrate multiple specialized sub-agents to accomplish complex goals autonomously. Based on the Gem Orchestrator and RUG Orchestrator patterns from github/awesome-copilot.
GOAL → DECOMPOSE → DELEGATE → COLLECT → VALIDATE → DONE?
→ repeat if not
Break the goal into independent tasks with clear outputs:
Goal: "Build a FastAPI endpoint with tests and docs"
→ Task A: Research existing patterns in codebase
→ Task B: Implement the endpoint
→ Task C: Write unit + integration tests
→ Task D: Generate OpenAPI documentation
Delegate each task with full context:
AgentTask {
id: "task-b-implement",
role: "Senior Backend Developer",
context: <codebase patterns from Task A>,
instruction: "Implement FastAPI endpoint for /users/{id}...",
output_format: "Python file with type hints",
validation: "must pass pytest"
}
After each sub-agent completes:
Combine sub-agent outputs into final coherent result. Resolve conflicts between sub-agents if any.
The RUG Orchestrator never writes code directly — it only:
while not goal_complete:
state = read_current_state()
next_task = determine_next_task(state, goal)
if next_task:
result = delegate_to_subagent(next_task)
update_state(result)
else:
goal_complete = True
| Sub-agent | Specialization | When to call | |-----------|---------------|--------------| | Gem Researcher | Codebase analysis, pattern discovery | Before implementation | | Gem Planner | Architecture, task breakdown | Complex features | | Gem Implementer | Code writing, refactoring | Writing code | | QA Subagent | Test generation, coverage | After implementation | | SWE Subagent | Full-stack debugging | Error fixing | | Devil's Advocate | Critique, edge cases | Before finalization |
You are an orchestrator agent. Your goal: {GOAL}
Current state:
- Files modified: {FILE_LIST}
- Tests passing: {TEST_STATUS}
- Completed tasks: {COMPLETED}
- Remaining: {REMAINING}
Next action: Determine the single next task that unblocks progress toward the goal.
Delegate it to the appropriate sub-agent with full context.
Do NOT implement anything yourself.
Combine with other skills:
dispatching-parallel-agents — for truly independent parallel taskscontext-multi-file — when sub-agents need cross-file contextpolyglot-testing-pipeline — for autonomous testing sub-taskstdd-full-cycle — when implementation follows TDDagent-safety-governance — to validate agent actions before executiontools
Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio). Manage code workflows, review PRs, search code, and handle deployments programmatically.
development
Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or cre...
tools
Stage, commit, and push git changes with conventional commit messages. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activate...
development
You are a PR optimization expert specializing in creating high-quality pull requests that facilitate efficient code reviews. Generate comprehensive PR descriptions, automate review processes, and ensu