agentleFS
vmobifystudiovmobifystudio/app-dev-team/skills/git-pr-strategy/SKILL.md

git-pr-strategy

Skill4 starsChanged 4 months agoMITView on GitHub

Apply safe branching, commits, conflict resolution, review ownership, merge, rollback, and release-tag rules.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    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. Very specific:

    Use for every code or documentation change that will be reviewed, merged, released, reverted, or shared with another agent.

    line 8
  2. Distinctive:

    Run context preflight and confirm the base branch, ticket, worktree, and dirty-tree state.

    line 13
  3. Distinctive:

    Use one worktree per writing agent and one ticket per branch.

    line 14
  4. Distinctive:

    Keep commits coherent and reversible: implementation, tests, docs, and generated artifacts should be distinguishable when that helps review.

    line 15
  5. Distinctive:

    Before review, update from the declared integration branch and rerun the relevant gates.

    line 17
  6. Distinctive:

    Use the team ledger for material decisions, blockers, escalations, and handoffs.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Git and PR strategy

Use for every code or documentation change that will be reviewed, merged, released, reverted, or shared with another agent. Read knowledge/git-workflow.md and agent-isolation first.

Lifecycle

  1. Run context preflight and confirm the base branch, ticket, worktree, and dirty-tree state.
  2. Use one worktree per writing agent and one ticket per branch. Never stage blindly.
  3. Keep commits coherent and reversible: implementation, tests, docs, and generated artifacts should be distinguishable when that helps review. Do not rewrite another agent's branch.
  4. Before review, update from the declared integration branch and rerun the relevant gates. A review is stale when the source commit or required evidence changes.
  5. The reviewer owns the verdict; the author fixes findings. No self-approval, no merge on a summary, and no merge while required checks are unknown.
  6. Resolve conflicts by reading both sides and the governing spec. Never choose “ours” or “theirs” blindly. If the conflict changes behavior or contract, escalate to the owner of that contract.
  7. Record the merge commit/tag, checks, evidence bundle, and rollback/revert path in the release record.

Communication

Use the team ledger for material decisions, blockers, escalations, and handoffs. State what changed, what was verified, what remains unknown, and the exact next action. Do not hide a failed command behind “could not run”; name the missing toolchain or input.

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.