feature-branch-lifecycle
Skill3 starsChanged 3 months agoMITView on GitHub
Use when a feature, change, or update may use one or more development branches and must be integrated, validated, promoted through long-lived integration and production branches, and cleaned up safely.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ArcanEdge-AI/coding-agent-playbook-claude-codetheir own version, first seen Jul 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ArcanEdge-AI/coding-agent-playbook-claude-code★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aws-local-preflightSkill
- design-taste-frontendSkill
- handoffSkill
- humanizerSkill
- impeccableSkill
- legacy-path-retirementSkill
- local-ci-preflightSkill
- multi-role-repo-reviewSkill
- multi-session-coordinationSkill
- platform-documentationSkill
- production-api-integrationSkill
- production-architecture-reviewSkill
- production-code-qualitySkill
- production-database-integritySkill
- production-devops-releaseSkill
- production-documentation-onboardingSkill
- production-pass-orchestratorSkill
- production-performance-reviewSkill
- production-readiness-reportSkill
- production-reliability-observabilitySkill
- production-security-reviewSkill
- production-testing-qaSkill
- production-ux-accessibilitySkill
- reference-doc-routingSkill
- senior-code-reviewSkill
- session-cleanupSkill
- subagent-orchestrationSkill
- task-graph-orchestrationSkill
- taste-new-websiteSkill
- taste-redesign-websiteSkill
- technical-debt-auditorSkill
- worktree-lifecycleSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to keep feature assembly out of long-lived branches and to make promotion and cleanup explicit.
- Very specific: line 10
Read references/branching-rule.md before creating the branch structure, opening an integration or promotion pull request, or deleting …
- Distinctive: line 14
Before applying the branching model, inspect:
- Very specific: line 21
Use the repository's actual branch names.
- Distinctive: line 23
If the repository does not have an established long-lived integration and production branch model, do not create or rename those branches …
- Distinctive: line 27
When the model applies:
- Distinctive: line 39
Create the feature integration branch from the current integration branch.
- Distinctive: line 40
Create feature-scoped development branches from the feature integration branch.
- Distinctive: line 45
Never delete permanent integration or production branches.
- Distinctive: line 46
Delete temporary local and remote branches only after the cleanup gates pass and authority exists for the exact deletion.
- Very specific: line 50
Use multi-session-coordination when independent Codex tasks or other owners are working on related branches.
- Very specific: line 51
Use worktree-lifecycle when any participating branch is checked out in an auxiliary worktree.
- Very specific: line 52
Use task-graph-orchestration when integration, validation, promotion, and cleanup form part of a broader dependency graph.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Feature Branch Lifecycle Skill
Use this skill to keep feature assembly out of long-lived branches and to make promotion and cleanup explicit.
Read references/branching-rule.md before creating the branch structure, opening an integration or promotion pull request, or deleting temporary branches.
Applicability Gate
Before applying the branching model, inspect:
- applicable repository instructions
- the default, current, integration, and production branches
- relevant remotes, pull requests, branch protections, and worktrees
- active work that may still depend on a temporary branch
Use the repository's actual branch names. The examples use staging and main.
If the repository does not have an established long-lived integration and production branch model, do not create or rename those branches merely because this skill is available. Follow a more specific repository workflow or obtain an explicit maintainer decision.
Lifecycle Invariants
When the model applies:
development branches
↓
feature integration branch
↓
long-lived integration branch (for example, staging)
↓
long-lived production branch (for example, main)- Create the feature integration branch from the current integration branch.
- Create feature-scoped development branches from the feature integration branch.
- Merge development branches only into the feature integration branch.
- Validate the complete intended change on the feature integration branch before promotion.
- Promote the feature integration branch to the integration branch with one pull request.
- Promote to the production branch only from the integration branch.
- Never delete permanent integration or production branches.
- Delete temporary local and remote branches only after the cleanup gates pass and authority exists for the exact deletion.
Related Skills
- Use
multi-session-coordinationwhen independent Codex tasks or other owners are working on related branches. - Use
worktree-lifecyclewhen any participating branch is checked out in an auxiliary worktree. A branch and a worktree are not interchangeable lifecycle units. - Use
task-graph-orchestrationwhen integration, validation, promotion, and cleanup form part of a broader dependency graph.
Required Result
Track and report:
- the resolved branch roles and exact branch names
- the base and destination of each temporary branch
- complete-feature validation evidence
- pull-request and merge state
- cleanup eligibility and final disposition for each temporary branch
- any missing authority, failed gate, or active dependency that requires preservation
The branching rule defines required sequencing. It does not provide blanket authority to create remote infrastructure, open or merge pull requests, delete branches, or promote production.
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.

