git-it-out
Git It Out
Use this skill when the work is substantially complete and the user wants the agent to own the remaining closeout all the way to the repo's final landing point.
Boundaries
- Use it for final last-mile closure: verification, proper commits, main/mainline landing, push, release, deploy, publish, tracker, checkpoint, and handoff work.
- Do not use it for greenfield implementation, broad refactors, deep debugging, or release-process design from scratch.
- If you discover the work is not actually closeable yet, clear only the blockers required to reach the intended finish line, then stop expanding scope.
Load references/finish-checklist.md when
- the user says "git it out," "get it out," or clearly wants final no-dangling-session closeout,
- the finish line touches more than one surface, such as main plus tracker plus deploy,
- an irreversible action is about to happen,
- repo policy or branch protection adds gates you must satisfy, or
- you need a completion checklist before handing back status.
Default Stance
- Treat the request as a final "I'm going to bed; take it from here" ownership transfer, not a brainstorming or branch-prep request.
- Infer the intended landing path from repo instructions, branch or PR state, CI signals, release config, deployment config, and task context before asking questions.
- Prefer the repo's native path over generic Git habits.
- Treat repo-native checkpoint, release, or closeout tooling such as Entire as first-class only when it is actually configured.
- Default to the smallest complete path that leaves the work landed, pushed, and cleaned up at the repo's real final surface.
- Use branches or PRs only as mechanisms when the repo requires them; do not treat an open PR or pushed branch as final done unless a hard external gate blocks merging or landing.
- Ask only when the irreversible target is ambiguous, credentials or authority are missing, verification reveals a production-impacting blocker, or repo or user policy requires approval.
Closeout Procedure
- Inspect the state: git status, active branch, pending diffs, PR or review state, CI, release or deploy config, and task context.
- Determine the actual finish line: proper commit(s), main/mainline landing, push, release, deploy, publish, production verification, or handoff-ready partial completion because of an external blocker.
- Identify required gates for that finish line: tests, lint, build, typecheck, approvals, changelog or release notes, tracker state, migrations, feature flags, checkpoint capture, or other repo-native checks.
- Run the last useful validation for the chosen finish line and fix only finish-blocking issues. Re-run until the gate passes or you hit a true blocker.
- Create proper commit(s), land or merge them to the repo's final mainline surface, and push the result.
- Execute repo-native release, deploy, publish, production verification, tracker, checkpoint, and handoff steps in order.
- Clean up every surface that is part of done: PR, branch, tracker, release artifact, deploy surface, checkpoints, and handoff notes.
- Report the final state clearly, including anything that could not be completed.
Ask vs Act
- Keep moving when the standard target is clear from repo context.
- Do not ask whether to leave the work on a branch when the user explicitly says "git it out" or "get it out"; main/mainline landing is the target unless the repo's required workflow says otherwise.
- Ask before merge, release, deploy, publish, or delete-branch actions only when the destination, authority, credentials, or policy gate is unclear.
- If an external system blocks the last step, complete everything up to that blocker and leave a precise handoff.
Guardrails
- Do not invent a release or deployment process.
- Do not treat "finish the session" as permission to bypass required review, CI, release, or production gates.
- Do not leave a branch or PR as the final state when the repo permits landing to main/mainline.
- Do not assume Git usage alone means Entire is active.
- Do not broaden scope into unrelated cleanup or quality polish.
- Do not both merge and deploy unless the workflow actually requires both.
- Do not leave branch, tracker, release, or handoff cleanup half-done when it is part of the finish line.
- Do not hide skipped checks, failed gates, residual risk, or manual follow-up.
Output
- What landed.
- Where it landed.
- What was verified.
- Which surfaces were updated.
- Whether the repo is clean and pushed.
- Any residual risk, remaining blocker, or next follow-up.
More from mylesmcook/mcook-skills
adversarial-review
Use this skill when you need a serious code review, diff review, or implementation-plan review from independent reviewers. In Codex hosts, prefer a fresh Codex subagent for the Codex reviewer; otherwise use the Codex, Claude Code, and Gemini reviewer paths when available. Return a PASS, CONTESTED, or REJECT verdict.
13subagent-driven-development
Use after an implementation plan is approved to execute mostly independent tasks through fresh subagents with scoped context, harness-aware model routing, proportional review gates, and mandatory controller verification.
10brainerd
>
10simple-code
Reduce incidental complexity in code and design. Use when shaping APIs, module boundaries, refactors, tests, naming, and architecture tradeoffs with a bias toward concrete, local, reversible solutions.
7laws-of-taste
>-
6simplify
Refine recently changed code for clarity, consistency, and maintainability without changing behavior. Use when the user explicitly asks to simplify, clean up, or lightly refactor touched code, reduce local complexity, remove redundancy, improve naming or structure, or make recent edits easier to read while preserving outputs, interfaces, tests, security, and accessibility.
6