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.

README.md

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

work-to-prs

Current workflow version: 2.0.0.

The version is published as Agent Skills metadata.version. Skills.sh installs and updates from repository source; this metadata identifies the workflow release but does not provide registry-style version selection.

Hand the agent a work item, get back reviewed, ready-to-publish PRs. The pipeline: a planner and a private companion agent research the codebase and interview each other until the design is settled, the work is broken into single-concern TDD phases, each phase is implemented by a fresh agent under strict commit rules and gated by a fresh strict reviewer, a grouper decides from the real diff where each PR ends, and everything lands as local branches plus markdown artifacts. Nothing is pushed or published until you explicitly say so.

Install

npx skills install mohasarc/mo-skills --skill work-to-prs

Quick start

work-to-prs fix the double-submit bug on the checkout form
work-to-prs PROJ-123
work-to-prs https://github.com/you/repo/issues/42

Output lands in runs/<run>/ inside the skill folder (git-ignored): brief, phased plan, planning dialogue, per-phase completion notes, review reports, grouping decisions, and a proposed PR description per branch. The handoff report ends with the exact publish command.

work-to-prs resume <run-folder>    # continue an interrupted run
work-to-prs publish <run-folder>   # push and open PRs per your config

Configure

Edit config.md beside SKILL.md. It ships with working defaults; every line is a plain-sentence rule the agents follow. The sections:

  • Reading work items — how input becomes a brief. Default: plain text is the work description. Point it at your tracker, e.g. "Use the linear-read skill for Linear IDs and URLs. Tracker is read-only."
  • Models — model per agent role (planner, companion, implementer, reviewer, grouper), e.g. "Planner: opus". Unset roles use the harness default.
  • Publication — what publish does (draft PRs / ready PRs / push only) and when (all at once on command / per part as each is cut).
  • Review — non-final phases get at most two reviewer rounds; material findings carry into the next phase, while the final phase reviews until it passes and clears them.
  • Runs — where run output lives and whether to keep it. Default: keep everything.
  • PR size — commit and line budget per PR. The grouper cuts to it; the planner slices larger phases so a PR can end mid-phase. Defaults to ~10 commits and ~500 lines, ceiling 20 commits. Strictness says how far past the ceiling a range may go and when.
  • Conventions — integration branch, branch naming, verification commands. Left on "discover", the agent reads your repo docs and asks before recording what it found.
  • Capabilities — optional tools agents may use, all off by default.
  • Extra guidance — freeform project rules passed verbatim to every agent. Rules here override the workflow's defaults, so this is also where you relax core behavior (e.g. drop TDD) if you must.

Suggested third-party tools

None required. If installed and named in config, agents use them:

  • linear-read — Linear issue access, for the Reading work items section.
  • loom-watch — Loom transcripts and frames, for the Video links capability.

Any equivalent tool works; the config sentence just has to name it.

Requirements

Install describe-work alongside this skill. Implementers use it for phase completion notes; groupers use it for PR descriptions.

Works on any agent harness that can load markdown skills. Harnesses that can spawn subagents get the full design: isolated planner/companion dialogue and fresh implementer/reviewer/grouper contexts per phase. Harnesses without subagents degrade to playing the roles sequentially in one context; the run still completes and the handoff report discloses the lost isolation.

Note: reinstalling or updating the skill can overwrite your edited config.md. Diff and carry your rules over after an update.

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