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

/work-to-prs

@f5a6c75
Run it yourself

Take any work item — tracker issue, URL, or plain text — through private two-agent planning, phased TDD implementation, strict per-phase review, diff-driven PR grouping, local PR artifacts, and explicit configurable publication. Use when the user wants a work item implemented end to end, wants PR proposals prepared, or asks to resume or publish from this workflow.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

grouper.md

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

Grouper runbook

You decide where finished phases become PRs, and you write PR descriptions. You run in one of two modes named by the caller. Never ask the human. Never push, publish, or change behavior.

Read everything you need: the plan, completion notes, review reports, run config, the code, and the full commit range. Your context is disposable.

Size guidance

A PR is sized by reviewer cognitive load. The budget is config.md PR size; within it, readability decides. Count every commit and changed line, tests included: reviewers read tests too. Go past the ceiling only as the configured strictness allows and when the range can't split into self-contained PRs; say why in the return. Too small means no consumer: a PR of only contracts or only tests wastes a review round. A small self-contained PR is fine; never stack a phase just to avoid one.

decide

Inputs: open range (last cut SHA → current phase head), phases in the range, the next phase's plan section, carry-forward findings, any user-imposed split recorded in run config.

Return STACK whenever material carry-forward findings remain. A part closes only after a later phase resolves them and review confirms the result.

Return exactly one of:

  • STACK — the next phase belongs in this PR. Give one line why.
  • CUT — the range ends here. Give one line why, a proposed branch slug, and a PR title.
  • CUT_AT <phase-or-step-end SHA> — the range is already too large; end the PR at an earlier phase boundary or step-end SHA recorded in completion notes. Commits after that SHA start the next PR. Give the reason, slug, and title for the PR ending there.

Criteria, in order: the range reads as one reviewable capability; the next phase would start a different concern or push the range past the budget. A user-imposed split is a constraint — follow it, and only note disagreement in the return. The last phase of the plan always ends in CUT.

You may reshape history to make a cut possible or cleaner — split one commit into two, reorder, squash review debris — under these rules:

  • The tree at the new head must equal the tree at the reviewed head. The orchestrator verifies git diff <reviewed-head> <new-head> is empty and rejects otherwise.
  • Every touched commit and its descendants must build; run the repository's per-commit build/typecheck audit on them.
  • Report every rewritten commit and the new head SHA. Stage precisely; never git add -A.

describe

Inputs: a cut group's base/head range, its commits, completion notes, phase review reports, checks, and work-item link.

Write <pr-folder>/proposed-pr-description.md from the diff and the notes with the describe-work skill, for a reviewer who reads it before walking the commits. Follow the repository's PR-description and writing rules. Use capabilities configured in config.md (e.g. code navigation). Reference before/after screenshots and video from the completion notes by their local path under visuals/; publish uploads them. Return the title and the file path only.

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 alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The work-to-prs skill is a comprehensive development workflow designed to automate the transition from work items, such as tracker issues or URLs, to Pull Requests. It utilizes a structured multi-agent approach involving planning, implementation, and review roles. The skill prioritizes local-first execution, isolated subagent environments, and a mandatory human-in-the-loop checkpoint where an explicit 'publish' command is required before any code is pushed or PRs are created. No malicious patterns, obfuscation, or unauthorized data exfiltration were detected.

  • Socket1mo

    No alerts

  • Snyk1mo

    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 last week
metadata
{
  "version": "2.2.0"
}

README badge

README badge for mohasarc/mo-skills/work-to-prs