Agent skill
05-00-git
Working with Git — commit format, rebase/merge strategy, reverting policy
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/05-00-git
SKILL.md
Rebase / Merge Strategy
We use git merge --ff-only to maintain linear history. Do NOT create merge commits. The history must remain linear. If a merge cannot fast-forward, rebase the feature branch onto main first:
git checkout feature-branch
git rebase main
git checkout main
git merge --ff-only feature-branch
Read and follow the playbook — use the 20-git skills for the full procedure, and use critical sanity checks if your circumstances deviate from the regular workflow. In case of doubt, ask the Hooman.
Rebase strategy
20.01Rebase Preparations (Johnny Lookup → skill20-01-methodic-rebase-merge)20.02Rebase (Johnny Lookup → skill20-02-authoritative-main-rebase)
ALWAYS CONFIRM REBASE WITH EXPLICIT [R].
Merge strategy
ONLY MERGE IF THIS IS EXPLICITLY REQUESTED.
20.03Merge (Johnny Lookup → skill20-03-merge-local-safe)20.04Post-Merge (Johnny Lookup → skill20-04-post-merge-hygiene)
ALWAYS CONFIRM MERGE WITH EXPLICIT [M].
Commit Format
Critical: Close completed tickets with tk close <ticket-id> before committing. See 05.01 (Ticket Lifecycle).
feat(bridge): add tab management APIs
fix(sidebar): correct tab ordering on drag
docs(plan): update Phase 2 tasks
refactor(app): extract sidebar view model
Reverting (CRITICAL, EXPLICIT APPROVAL)
I WILL ABSOLUTELY DESTROY YOUR CIRCUITS IF YOU ATTEMPT TO REVERT FILES WITHOUT ME APPROVING LITERALLY IN THE NEXT COMMENT WITH "[OK]"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?