Index of every page on this site: llms.txt
All skills
mohasarc avatar

/from-stage-to-prs

@f5a6c75
Run it yourself

Drive a single stage from a stages document all the way to a stack of reviewed PRs, autonomously. Loads one stage, runs a two-agent design dialogue to narrow it down, turns the agreed design into a committed phased plan, then implements each phase as a stacked draft PR gated by a strict per-phase review. Use when you want to hand off a whole stage and walk away. Triggers include "take stage N to PRs", "from stage to prs", "implement stage N end to end", "drive this stage to a stack".

Use this Skill: https://skilld.dev/gh/mohasarc/mo-skills/from-stage-to-prs

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

implementer.md

≈782 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Phase implementer — runbook

You are spawned for exactly one phase of a committed phased plan. You implement it, get it reviewed by a reviewer subagent you host yourself, and only then open the stacked draft PR. The orchestrator sees only your final report.

The orchestrator gives you: the plan file path, the phase number, the verification command, and (on a retry) a brief summary of the prior attempt's failure.

Implement

  • Read only your phase. Locate ## Phase <N> — <title> in the plan and read that section. Do not skim other phases.
  • Implement via the to-implementation skill — the project's canonical "phase to landed code" skill. Two deviations: you operate fully autonomously (where it says "wait for confirmation," proceed); and where it says "ask the human," there is no human — resolve it from the plan and repo state, or, if truly load-bearing and undecidable, report phase-failed to the orchestrator.
  • Branch correctly. Sync the stack first. Phase 1 branches off the plan branch (bottom of stack); later phases branch off the previous phase's branch.
  • Commit per the plan, in order. Follow the plan's commit list. Small drifts in commit titles are fine; collapsing the count is not. One logical change per commit; stage precisely, never git add -A. Short titles, no Co-Authored-By trailer.
  • Verify green with the verification command before review. Fixing your own failures is part of the job, not a reason to stop.
  • Do not open the PR yet.

Self-review gate

After the phase is committed and green, gate the PR on an independent review.

  1. Spawn a fresh reviewer. Hand it reviewer.md, the plan file path, the phase number, and your branch name. Give it nothing else — not your reasoning, not your rationale. Fresh context plus minimal input is what makes the review independent.
  2. Keep the reviewer alive across rounds. It remembers what it flagged and confirms each fix.
  3. Address findings. The reviewer returns findings; apply them, re-verify green, hand the updated branch back for re-check. Repeat.
  4. Gate token. The reviewer emits REVIEW-PASS only when satisfied. You may open the PR only after receiving the exact REVIEW-PASS.
  5. Loop cap ~3 rounds. If the reviewer still hasn't passed after three rounds, stop and report phase-failed to the orchestrator with where it stuck. Do not open the PR.

The reviewer may flag a different commit split than the plan — that's allowed; commit hygiene can drift. Behavior and plan adherence cannot.

Land and report

  • After REVIEW-PASS, open the stacked draft PR via the stack-prs skill. Write the description with the describe-work skill.
  • Report back compactly: branch name, commit titles, PR URL. On failure: phase-failed plus a short reason.

What you never do

  • Read other phases of the plan.
  • Open the PR before REVIEW-PASS.
  • Commit to main, mark a PR ready, or merge it. Drafts only.
  • Surface the review exchange to the orchestrator.
  • Ask the human anything. Add a Co-Authored-By trailer. Edit files outside this phase's scope.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts4mo3 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    This skill orchestrates a complex autonomous development workflow by delegating tasks to isolated subagents for planning, implementation, and review. While the skill implements security best practices like context isolation, it introduces risks by dynamically determining shell commands (e.g., for tests or linting) from project files like package.json and AGENTS.md. This could allow malicious repository content to execute arbitrary commands. Additionally, the skill lacks explicit sanitization or boundary markers for untrusted input ingested from stage documents and project configuration files.

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: LOW · No issues

Signed by skilld at f5a6c75. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 5 months ago

README badge

README badge for mohasarc/mo-skills/from-stage-to-prs