implementation-agent
12
总安装量
10
周安装量
#26034
全站排名
安装命令
npx skills add https://github.com/vishal2457/open-orchestra --skill implementation-agent
Agent 安装分布
opencode
10
gemini-cli
10
antigravity
10
github-copilot
10
codex
10
kimi-cli
10
Skill 文档
Implementation Agent
Purpose
Implement the parent issue by executing planned implementation subtasks and handling PR publication in the same run with token-efficient context loading and auditable stage handoff.
Runtime Configuration
- Read
/orchestra-config.jsonfrom the repository root before starting. - Read
issue_trackerand use only the configured tracker MCP for ticket operations. - Use the MCP mapped to
issue_trackerinorchestra-config.json. - If the configured issue tracker MCP is unavailable, stop immediately and do not proceed with the task.
- For every task/comment/status update written to the tracker, include:
Skill-Version: implementation-agent@2.1.0. - Immediately stop if
ghCLI is unavailable.
When to Invoke
- After planning is complete on the parent issue.
- After PR review requests implementation rework.
Required Inputs
- Parent issue ID.
- Parent issue status is
In-progress. - Parent issue has tag
planning-done. - Child subtasks tagged
implement. - Most recent prior handoff comment in
<!-- OPEN-ORCHESTRA-HANDOFF -->format.
Outputs
- Code changes implementing all completable
implementsubtasks. - Git branch created as:
codex/<issue-id>-<short-description>. - Each completed subtask marked done in the configured issue tracker.
- Comment on each incomplete subtask explaining why it was not completed.
- Build and lint outcomes recorded in the configured issue tracker as command + pass/fail, with short error excerpts only when failing.
- Branch pushed to remote when work is complete.
- Pull request created (first pass) or updated (rework pass) and linked to the configured tracker issue.
- Parent issue status moved to
In reviewafter successful publish/update. - Parent issue tags:
implementation-donewhen implementation is complete.pr-publishedwhen PR is created or updated and linked.open-implementation-questionswhen implementation is blocked.- A handoff comment wrapped exactly as:
{
"execution_trace": "Execution-Trace:\nActions:\n1. <action>\n2. <action>\nDecisions:\n- <decision + reason>\nReferences:\n- <source artifact or command>\nAssumptions:\n- <assumption>\nOpen-Questions: none|<question list>\nSkill-Version: implementation-agent@2.1.0",
"handoff_summary": {
"from_skill": "implementation-agent",
"to_skill": "pr-review-agent",
"status": "ready|blocked",
"delta": ["<what changed in this implementation pass>"],
"key_decisions": [{"decision": "<decision>", "reason": "<reason>"}],
"relevant_artifacts": [
{
"artifact": "<artifact name>",
"hash": "sha256:<hash>",
"last_modified": "<ISO-8601>",
"summary": "<short relevance summary>"
}
],
"open_blockers": [{"blocker": "<text>", "owner": "<owner>", "next_action": "<next action>"}],
"next_guidance": {
"need_full": ["<artifact names needed by next skill>"],
"focus": ["<highest-priority checks for next skill>"],
"findings": [{"id": "<finding-id>", "file": "<path>", "action": "<required fix/check>"}]
}
}
}
handoff_summarymust be <= 600 tokens.
Context Gathering Order (Strict)
- Locate the most recent comment containing
<!-- OPEN-ORCHESTRA-HANDOFF -->from the previous skill. - Parse the JSON inside it; treat
handoff_summaryas primary context. - Review
relevant_artifactsand hashes first. - Declare exactly which artifacts require full reads with
need_full. - Read full content only if hash changed or the task cannot proceed without it.
- Do not read entire issue history or all prior execution traces by default.
Procedure
- Read
/orchestra-config.json, set issue tracker context, and verify the configured tracker MCP is available. - Execute the strict context gathering order above.
- Validate prerequisites: parent issue status is
In-progressand parent hasplanning-done. - Determine mode:
standard_mode: previous handoff is from planning/earlier implementation stage.rework_mode: previous handoff is frompr-review-agentand includesnext_guidance.findings.
- In
rework_mode, read only:
next_guidance.findingsfrom the review handoff.- affected
implementsubtasks referenced by those findings. - additional artifacts only if explicitly declared in
need_full.
- Create a git branch named
codex/<issue-id>-<short-description>if one is not already active. - Implement subtasks in listed order for
standard_mode, or implement only finding-scoped fixes inrework_mode. - After finishing work, mark completed subtasks done and add blocker comments for any incomplete subtask.
- Detect build and lint commands from repository config (for example
package.json,Makefile, or equivalent). - Run build and lint commands and record concise results.
- If implementation is blocked:
- Add
open-implementation-questions. - Post handoff JSON with
status: blockedand concreteopen_blockers. - Stop and wait for clarifications.
- If implementation is complete:
- Remove
open-implementation-questionsif present. - Add tag
implementation-done. - Optionally keep legacy tag
implementedduring migration windows. - Push branch to origin (
git push -u origin <branch>). - If linked PR already exists (typical
rework_mode), update the existing PR context/comments. - Otherwise create a PR targeting the base branch and include tracker issue ID/URL.
- Ensure parent issue tag
pr-publishedis present. - Add concise parent issue comment with PR URL and short review request.
- Move parent issue status to
In review. - Post handoff JSON with
to_skill: pr-review-agentandstatus: ready.
- Invoke
pr-review-agentwith the same parent issue ID unlessopen-implementation-questionsis present.
Guardrails
- Do not start implementation unless parent issue has
planning-doneand statusIn-progress. - Do not execute subtasks that are not tagged
implement. - Do not change scope outside planned subtasks without explicit tracker approval.
- Do not leave incomplete subtasks without a blocker comment.
- Do not run tracker operations unless the MCP for the configured
issue_trackeris available. - Do not paste full command output (for example full
pnpm listorpnpm buildlogs) into tracker or PR comments. - Do not reconstruct state by reading full comment history; use handoff summary first, then lazy-load only required artifacts.
- Do not create or update a PR if there are no committed changes from this implementation pass.
- Do not move issue status to
In reviewuntil PR creation/update succeeds. - Ensure the PR references the correct tracker issue ID and URL.
Handoff
Primary consumer: pr-review-agent (auto-invoke when unblocked).