1. Habit
  2. Skills
  3. Auto Create PR skill
open-mercato · 4K installs

Auto Create PR skill
Runs by itself, you give a task brief.

Task brief shipped as a PR

Install the Auto Create PR skill and make it a habit: follow https://gethabit.dev/skills/open-mercato/om-auto-create-pr.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

4K installs250 starsMIT licenceSource on GitHub ↗

Auto Create PR

by open-mercato · 4K installs

The skill

Auto Create PR (the om-auto-create-pr skill) runs a free-form task end to end: a Progress-tracked plan, phase-by-phase commits in an isolated worktree, a validation gate, a review pass and a labelled PR.

Only when you ask.

The habit

Task brief shipped as a PR

↻ Runs by itselfyou give a task brief

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one task per run; it stops if the gate or review cannot pass.

  1. 01

    Claim the slot

    Your agent confirms no other run owns the slot, or hands off to the resume skill on re-entry.

  2. 02

    Parse the brief

    It captures the goal, affected areas and scope, and reads only operator-passed skill URLs.

  3. 03

    Triage

    It reads the repo's agent instructions and reduces the brief to a goal, scope and explicit non-goals.

  4. 04

    Draft the plan

    It writes a lightweight plan with phases, steps and the exact Progress section, routing long plans to the loop engine.

  5. 05

    Worktree and plan commit

    It creates an isolated worktree, commits the plan and opens a draft PR for visibility.

  6. 06

    Implement

    It implements phase by phase with tests, ticking Progress and pushing after each phase.

  7. 07

    Gate, review, finalize

    It runs the validation gate, the review pass, normalizes labels and flips the PR ready at completion.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Auto Create PR skill helps.

Use it when

  • ✓ shipping a task brief as a PR
  • ✓ running an autonomous coding task
  • ✓ implementing a resolved spec

Skip it when

  • – you have no agent pipeline configured
  • – the change is a trivial one-off edit

Questions

Auto Create PR skill, answered.

Does it commit code before planning?

No. The execution plan lands as the first commit before any code, so a crash leaves a resumable plan on the remote.

What if the plan is long?

A plan over the configured step threshold hands off to om-auto-create-pr-loop before anything is committed.

How do I install the Auto Create PR skill?

Copy the prompt at the top into your agent. It installs the skill from open-mercato/skills and sets up the habit. Or run npx skills add open-mercato/skills --skill om-auto-create-pr.

Is the Auto Create PR skill free?

Yes. It is published under MIT. Habit is free too.

Auto Create PR. Now as a habit.

Install the Auto Create PR skill and make it a habit: follow https://gethabit.dev/skills/open-mercato/om-auto-create-pr.md

  • Free
  • No account
  • Undo in one line

All open-mercato skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by open-mercato, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.