agentleFS
vzakusylovzakusylo/victron/.claude/skills/ship-pr/SKILL.md

ship-pr

Skill4 starsChanged 13 days agoMITView on GitHub

Finish a change in this repo and ship it as a PR into master - sync flows.json and bump d#, run the checks and unit tests, update BACKLOG.md, commit, push, open the PR, and enable auto-merge once review feedback is addressed and threads are resolved. Use when the user says "ship it", "open the PR", "push and auto-merge", or a task is done and ready for review.

  • Commits and pushes

38 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ideate, review-diff and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    ideate

    Generate image-based alternatives, remixes, or new design directions from a Product Design brief. Use when the user asks for design variants, visual exploration, remixes, or image-generated approaches from provided context.

    Also in 4 projects that use this

  • thunderkdsSkill

    review-diff

    Generate a Markdown review file with C4 architecture diagrams and code walkthrough for the current git changes

    Also in 3 projects that use this

  • tekumaraSkill

    babysit-pr

    Monitor a pull request through review and CI, enabling GitHub auto-merge by default. Use when the user asks to monitor, watch, or babysit a PR.

    Also in 3 projects that use this

  • jaydubya818Skill

    why

    Use when design rationale must be recovered from source history and available records.

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 6 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 38 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run in the worktree of the change (never on master).

    line 8
  2. Very specific:

    Flows: if any NN *.js / NN *.html changed: node tools/flows.js sync (bumps d# once), then node tools/flows.js check must print OK.

    line 13

“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ship a change as a PR

Run in the worktree of the change (never on master). Commit and push only when the owner asked for it in this session (owner's global rule); otherwise stop after step 4 and ask.

  1. Branch: git status -sb. It must be a feature branch from origin/master. If master moved: git fetch origin; git merge origin/master (no rebase), then continue.
  2. Flows: if any NN *.js / NN *.html changed: node tools/flows.js sync (bumps d# once), then node tools/flows.js check must print OK. Never edit flows.json by hand. Infrastructure: for the paths listed in CLAUDE.md, run node tools/infra-version.js bump "Short description", then node tools/infra-version.js check.
  3. Tests: node --test "tests/*.test.js". All must pass. Exception: the fixture test "fixture network identities ... present in non-fixture HEAD" can fail only before the commit when new dotted strings were added; rerun it after the commit.
  4. BACKLOG.md: the task row says "in progress: <branch> / #PR" or moves to section 6 Done with the PR and d#.
  5. Commit: one clear English message (what and why, (d#N) for flow changes). Respect the owner's trailer rules.
  6. Push and PR: git push -u origin <branch>, gh pr create --base master --title ... --body ... (what changed, tests, d#, what is not verified). Address all review feedback and resolve every thread before running gh pr merge <N> --auto --merge. If new feedback arrives, pause auto-merge until it is addressed.
  7. Report: PR link, d# and i#, test counts, Test GX state, and Branch: <name>. A flow change deploys to the GX by itself after Test GX is green on the master push (see the deploy-gx skill).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.