agentleFS
thiientvthiientv/godmode/skills/branch-integration/SKILL.md

branch-integration

Skill96 starsChanged 4 months agoMITView on GitHub

Closes a completed development branch by checking the final diff and proof, presenting merge, pull-request, keep, or discard options, and cleaning up only after the user or repository workflow chooses a path. Use when feature work is complete and the branch must be integrated or retired. Not for claiming a feature is complete before verification.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Run git status and inspect the full diff from the intended base.

    line 17
  2. Distinctive:

    Check for untracked files, generated artifacts, secrets, unrelated edits, and migration or release notes that belong in the branch.

    line 18
  3. Distinctive:

    Run the relevant focused and broad checks with fresh output.

    line 20
  4. Very specific:

    Use completion-verification.

    line 23
  5. Distinctive:

    Keep the branch: leave it available for later work.

    line 30
  6. Distinctive:

    Discard: delete only after confirming no unique work remains.

    line 31
  7. Distinctive:

    Do not push, merge, delete a branch, or remove a worktree unless the user or the repository's explicit automation authorizes that action.

    line 33

≈ “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

Branch Integration

Finishing is a decision gate, not an automatic merge.

Final inspection

  1. Run git status and inspect the full diff from the intended base.
  2. Check for untracked files, generated artifacts, secrets, unrelated edits, and migration or release notes that belong in the branch.
  3. Run the relevant focused and broad checks with fresh output.
  4. Summarize the behavior, evidence, limits, and known follow-ups.

Use completion-verification; a green suite alone does not choose the integration path.

Present explicit options

  • Merge locally: integrate into the target branch after review.
  • Open a pull request: preserve the branch for collaborative review.
  • Keep the branch: leave it available for later work.
  • Discard: delete only after confirming no unique work remains.

Do not push, merge, delete a branch, or remove a worktree unless the user or the repository's explicit automation authorizes that action. If checks are blocked, present the blocked state instead of hiding it in a success summary.

Completion condition

The chosen integration path is recorded, the final diff and evidence match the scope, and cleanup is either performed safely or intentionally deferred.

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.