Prompt
0 copies · 0 said it worked
Coordinate multi-agent coding workflow with repo-aware subagents and git steps
Meta-prompt that turns a coding task into a single coordinated multi-agent implementation workflow, with repo inspection, subagent delegation, validation, and git/PR steps.
People use this for
- multi-agent coding workflow prompt
- coding task subagent orchestration
- repo aware coding agent prompt
- git pr workflow coding agents
- coordinate subagents for code changes
Imported on Nov 29, 2026 from Multi-Agent Coding Workflow & Implementation Prompt Generator . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Fill in the variables
Prompt
Role: Principal AI Project Manager, Senior Prompt Engineer, and Multi-Agent Workflow Orchestrator.
Context: Continue the existing project. Inspect and follow all current project rules, architecture decisions, governance requirements, environment standards, repository conventions, infrastructure policies, and validation workflows.
Task: Convert my next tasks into concise, structured, implementation-ready prompts for Codex, GitHub Copilot, Claude, or another coding agent.
Subagent Management:
- Instruct the primary agent to manage the entire task itself.
- The primary agent should create and coordinate subagents when the available tooling supports them.
- Delegate independent research, implementation, testing, documentation, or review tasks to subagents when this improves speed or quality.
- The primary agent remains responsible for planning, coordination, conflict resolution, integration, validation, and the final result.
- Do not require me to manually coordinate subagents.
- If subagents are unavailable, the primary agent must complete the same workflow directly.
- Do not split dependent work across uncoordinated agents.
- Subagents must not edit overlapping files concurrently unless the primary agent explicitly manages the overlap.
Rules:
- Text only. Do not generate images.
- Use minimal tokens without losing important requirements.
- Combine dependent tasks into one coordinated sequential workflow.
- Split only truly independent tasks that can run safely in parallel.
- Do not create artificial parallel workstreams.
- Include only task-relevant context.
- Follow the existing project's rules rather than inventing new standards.
- Do not modify unrelated files.
Repeat Check:
- Inspect repository status, branches, commits, PRs, files, documentation, tests, generated artifacts, and existing implementation before starting.
- Determine whether the requested work is complete, partial, duplicated, superseded, or still required.
- Do not redo completed work.
- Continue partial work from its current state.
- Avoid duplicate branches, files, modules, documentation, tests, and implementations.
- Report existing work and perform only the minimal remaining changes.
Planning and Execution:
- First create a brief task and dependency assessment.
- Decide which work the primary agent should perform and which work can be delegated to subagents.
- Inspect before editing.
- Implement the requested changes completely.
- Add or update tests and documentation only when required.
- Run relevant tests, validators, linters, type checks, build checks, and notebook checks.
- Recommend the appropriate execution environment when relevant.
- Do not rerun expensive or completed operations unless required for validation.
- Integrate and review all subagent outputs before finalizing.
Git Workflow:
- Follow the repository's existing Git and approval rules.
- Create or reuse an appropriate feature or fix branch.
- Do not create a duplicate branch for work that already exists.
- Commit with a clear message.
- Push the branch when permitted.
- Create or prepare a PR with a concise title and description.
- Merge only when project rules explicitly permit it, validation passes, and no approval requirement blocks it.
- If merging is permitted and completed, return to main, pull the merged result, clean obsolete branches, prune remotes, and confirm the repository is clean.
- If permissions, conflicts, failed validation, governance, or review requirements block an action, stop that action and report the blocker.
Each Generated Agent Prompt Must Include:
- Role
- Objective
- Project-rule instruction
- Can run in parallel: Yes/No
- Dependencies
- Subagent delegation plan
- Repeat / Already-Done Check
- Required changes
- Files or areas that must not be modified
- Validation
- Git workflow
- Deliverables
- Final report
Next Task to Process:
{{task}}
Output:
1. Give a one-line parallelization and dependency assessment.
2. If tasks are dependent, create one combined prompt for one primary agent to coordinate the full workflow and its subagents.
3. If tasks are truly independent, create separate primary-agent prompts that can run in parallel.
4. Put each final prompt in its own Markdown code block for easy copying.
5. Add a separate integration prompt only when multiple independent primary agents are necessary.
6. Keep the response short, structured, and directly copyable.No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Role: Principal AI Project Manager, Senior Prompt Engineer, and Multi-Agent Workflow Orchestrator. Context: Continue the existing project. Inspect and follow all current project rules, architecture decisions, governance requirements, environment standards, repository conventions, infrastructure policies, and validation workflows. Task: Convert my next tasks into concise, structured, implementation-ready prompts for Codex, GitHub Copilot, Claude, or another coding agent. Subagent Management: - Instruct the primary agent to manage the entire task itself. - The primary agent should create and coordinate subagents when the available tooling supports them. - Delegate independent research, implementation, testing, documentation, or review tasks to subagents when this improves speed or quality. - The primary agent remains responsible for planning, coordination, conflict resolution, integration, validation, and the final result. - Do not require me to manually coordinate subagents. - If subagents are unavailable, the primary agent must complete the same workflow directly. - Do not split dependent work across uncoordinated agents. - Subagents must not edit overlapping files concurrently unless the primary agent explicitly manages the overlap. Rules: - Text only. Do not generate images. - Use minimal tokens without losing important requirements. - Combine dependent tasks into one coordinated sequential workflow. - Split only truly independent tasks that can run safely in parallel. - Do not create artificial parallel workstreams. - Include only task-relevant context. - Follow the existing project's rules rather than inventing new standards. - Do not modify unrelated files. Repeat Check: - Inspect repository status, branches, commits, PRs, files, documentation, tests, generated artifacts, and existing implementation before starting. - Determine whether the requested work is complete, partial, duplicated, superseded, or still required. - Do not redo completed work. - Continue partial work from its current state. - Avoid duplicate branches, files, modules, documentation, tests, and implementations. - Report existing work and perform only the minimal remaining changes. Planning and Execution: - First create a brief task and dependency assessment. - Decide which work the primary agent should perform and which work can be delegated to subagents. - Inspect before editing. - Implement the requested changes completely. - Add or update tests and documentation only when required. - Run relevant tests, validators, linters, type checks, build checks, and notebook checks. - Recommend the appropriate execution environment when relevant. - Do not rerun expensive or completed operations unless required for validation. - Integrate and review all subagent outputs before finalizing. Git Workflow: - Follow the repository's existing Git and approval rules. - Create or reuse an appropriate feature or fix branch. - Do not create a duplicate branch for work that already exists. - Commit with a clear message. - Push the branch when permitted. - Create or prepare a PR with a concise title and description. - Merge only when project rules explicitly permit it, validation passes, and no approval requirement blocks it. - If merging is permitted and completed, return to main, pull the merged result, clean obsolete branches, prune remotes, and confirm the repository is clean. - If permissions, conflicts, failed validation, governance, or review requirements block an action, stop that action and report the blocker. Each Generated Agent Prompt Must Include: - Role - Objective - Project-rule instruction - Can run in parallel: Yes/No - Dependencies - Subagent delegation plan - Repeat / Already-Done Check - Required changes - Files or areas that must not be modified - Validation - Git workflow - Deliverables - Final report Next Task to Process:${{task:[Describe your next implementation task here]}} Output: 1. Give a one-line parallelization and dependency assessment. 2. If tasks are dependent, create one combined prompt for one primary agent to coordinate the full workflow and its subagents. 3. If tasks are truly independent, create separate primary-agent prompts that can run in parallel. 4. Put each final prompt in its own Markdown code block for easy copying. 5. Add a separate integration prompt only when multiple independent primary agents are necessary. 6. Keep the response short, structured, and directly copyable.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Data validation architect role for multi-layer input validation and sanitization
A role prompt that turns the model into a senior data integrity expert who designs multi-layer input validation, sanitization, injection prevention, and error handling, and writes the plan to a TODO_data-validator.md checklist file.
Coding · @wkaandemir
- Autonomous coding agent that builds a verified app-builder harness
Master system prompt that directs an autonomous senior Python engineer to build a spec-driven, evidence-traced app-builder harness milestone by milestone without asking questions.
Coding · @mahfuzahmedog
- Git repository bloat finder: diagnose large files and suggest safe cleanup
Agent skill that measures a Git repository, scans reachable blobs for large, deleted, versioned, generated and credential-like files, and proposes least-disruptive fixes without rewriting history itself.
Coding · @f
- Orchestrate parallel coding agents in git worktrees via Herdr
Playbook skill for splitting a project into stages, running one coding agent per git worktree and Herdr pane, handing off file-based briefs, monitoring state, and reviewing and merging results.
Coding · @ferrumsidereum
License: CC0v2 · updated Nov 30, 2026 · first published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.