git-pr-strategy
Skill4 starsChanged 4 months agoMITView on GitHub
Apply safe branching, commits, conflict resolution, review ownership, merge, rollback, and release-tag rules.
In this repository31 other files it gives its agents.
- accessibility-gateSkill
- agent-isolationSkill
- architecture-builderSkill
- board-doctorSkill
- brownfield-onboardingSkill
- business-modelSkill
- content-designSkill
- context-preflightSkill
- database-migrationSkill
- defect-huntingSkill
- dependency-policySkill
- design-systemSkill
- growth-analysisSkill
- house-conventionsSkill
- ic-workflowSkill
- intent-traceSkill
- interaction-motionSkill
- localisationSkill
- mutation-testingSkill
- parallel-orchestratorSkill
- performance-reviewSkill
- policy-checkerSkill
- prd-builderSkill
- process-tieringSkill
- requirements-intakeSkill
- role-activationSkill
- runtime-gateSkill
- spec-criticSkill
- sprint-plannerSkill
- support-miningSkill
- team-protocolSkill
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
- Very specific: line 8
Use for every code or documentation change that will be reviewed, merged, released, reverted, or shared with another agent.
- Distinctive: line 13
Run context preflight and confirm the base branch, ticket, worktree, and dirty-tree state.
- Distinctive: line 14
Use one worktree per writing agent and one ticket per branch.
- Distinctive: line 15
Keep commits coherent and reversible: implementation, tests, docs, and generated artifacts should be distinguishable when that helps review.
- Distinctive: line 17
Before review, update from the declared integration branch and rerun the relevant gates.
- Distinctive: line 27
Use the team ledger for material decisions, blockers, escalations, and handoffs.
≈ “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
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
- Run context preflight and confirm the base branch, ticket, worktree, and dirty-tree state.
- Use one worktree per writing agent and one ticket per branch. Never stage blindly.
- 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.
- 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.
- 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.
- 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.
- 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.
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.

