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.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-evaluationSkill
- api-and-interface-designSkill
- architecture-reviewSkill
- behavior-validationSkill
- browser-testingSkill
- codebase-orientationSkill
- code-simplificationSkill
- completion-verificationSkill
- database-designSkill
- dispatching-parallel-agentsSkill
- documentation-and-adrsSkill
- frontend-designSkill
- implementation-planningSkill
- incident-responseSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- plan-executionSkill
- pr-code-reviewerSkill
- receiving-code-reviewSkill
- release-engineeringSkill
- requesting-code-reviewSkill
- root-cause-debuggingSkill
- safe-migrationsSkill
- security-and-hardeningSkill
- solution-designSkill
- subagent-driven-developmentSkill
- technical-researchSkill
- test-driven-developmentSkill
- test-strategySkill
- ui-ux-reviewSkill
- using-git-worktreesSkill
- using-godmodeSkill
- writing-skillsSkill
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
- Distinctive: line 17
Run git status and inspect the full diff from the intended base.
- Distinctive: line 18
Check for untracked files, generated artifacts, secrets, unrelated edits, and migration or release notes that belong in the branch.
- Distinctive: line 20
Run the relevant focused and broad checks with fresh output.
- Very specific: line 23
Use completion-verification.
- Distinctive: line 30
Keep the branch: leave it available for later work.
- Distinctive: line 31
Discard: delete only after confirming no unique work remains.
- Distinctive: line 33
Do not push, merge, delete a branch, or remove a worktree unless the user or the repository's explicit automation authorizes that action.
≈ “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.
Files
Branch Integration
Finishing is a decision gate, not an automatic merge.
Final inspection
- Run
git statusand inspect the full diff from the intended base. - Check for untracked files, generated artifacts, secrets, unrelated edits, and migration or release notes that belong in the branch.
- Run the relevant focused and broad checks with fresh output.
- 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.
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
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.

