بنقرة واحدة
onex-execute-plan
Autonomous implementation pipeline. Reads a plan file, reviews it adversarially,
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Autonomous implementation pipeline. Reads a plan file, reviews it adversarially,
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Use this skill when the user has a rough idea, wants to explore a feature, or says "let's brainstorm" or "help me design." The goal is to refine an idea into a validated design doc before any code is written.
Use this skill when ending a session and you want the next session to pick up where you left off. The goal is to capture enough context for seamless session continuity.
Use this skill when starting feature work that needs isolation from the current workspace, or when you need to work on multiple branches simultaneously. The goal is to create an isolated worktree with a verified clean baseline.
Use this skill when fixing a bug caused by invalid data reaching deep into execution. The goal is to add validation at every layer the data passes through, making the bug structurally impossible to reproduce.
Use this skill when documentation has drifted from the codebase, needs an inventory, or should be archived.
>-
استنادا إلى تصنيف SOC المهني
| name | onex-execute-plan |
| description | Autonomous implementation pipeline. Reads a plan file, reviews it adversarially, |
| disable-model-invocation | true |
Autonomous implementation pipeline. Reads a plan file, reviews it adversarially, creates Linear tickets, then runs the full ticket pipeline (implement → PR → CI → merge) for each ticket via the Omnimarket bridge.
Announce at start: "I'm using the onex-execute-plan skill."
/execute-plan docs/plans/my-plan.md
Or single ticket mode — skip Steps 1–2 and drive the Omnimarket pipeline for one Linear issue key you already have:
/execute-plan OMN-47
(Pass whatever identifier Linear shows for your workspace, not a generic placeholder.)
In single ticket mode, skip Steps 1–2 and continue at Step 3 with that identifier.
Otherwise follow skills/plan-review.md on the plan file:
In single ticket mode, skip this step entirely.
Otherwise follow skills/plan-to-tickets.md on the plan file:
## Task N: section.For each ticket in task order (respecting blockedBy dependencies), or once when you invoked single-ticket mode:
Bridge contract
run_ticket_pipeline (FastMCP server omnicursor-omnimarket in this repo; Cursor UI may label the project MCP differently) expects the Linear identifier as ticket_id — same name as the JSON/MCP argument, e.g. run_ticket_pipeline(ticket_id="OMN-47").python -m omnimarket.nodes.node_ticket_pipeline with optional --skip-test-iterate / --dry-run first, then the issue key as the final positional argument. Omnimarket’s CLI does not take --ticket-id; if you see unrecognized arguments: --ticket-id, reinstall OmniCursor in the venv the MCP server uses (pip install -e ".[dev]" from this repo) so the bridge matches omnimarket.OMN- only as illustration).3a. Via Omnimarket bridge (preferred)
If the Omnimarket MCP server is available, call:
run_ticket_pipeline(ticket_id="OMN-47")
This drives the full pipeline unattended:
Parse the MCP tool’s JSON envelope; when ok is true and state is present, read final_phase (and pr_number when present):
On return, check final_phase:
done → record pr_number, continue to next ticketblocked → note failure reason, continue to next ticketfailed → note failure reason, continue to next ticket3b. Fallback — inline implementation (if bridge unavailable)
If run_ticket_pipeline is not available:
skills/systematic-debugging.md (max 2 attempts)gh pr create, mark ticket done in Linear3c. On dependency not met
If a ticket's blockedBy dependency is blocked or failed:
After all tickets are processed:
execute-plan summary: docs/plans/my-plan.md
Done: N tickets (OMN-101 → PR #12, OMN-102 → PR #13)
Blocked: N tickets (OMN-103 — pipeline failed: test_auth.py timeout)
Skipped: N tickets (OMN-104 — blocked by OMN-103)
Next steps:
- Review blocked tickets and fix root cause manually
- Re-run /execute-plan after resolving blockers
| Condition | Action |
|---|---|
| plan-review returns FAIL | Stop before creating any tickets (skipped in single ticket mode) |
| Linear MCP unavailable | Stop before creating any tickets (skipped in single ticket mode) |
| Ticket creation fails | Report, continue with remaining tasks |
| Bridge returns blocked/failed | Record reason, continue to next ticket |
| Inline fallback fails after 2 attempts | Mark blocked, continue to next ticket |
| Dependency ticket is blocked | Mark dependent as skipped, continue |