session-wrap-commit-push
Skill1 starsChanged 56 days agoMITView on GitHub
Use when ending a coding session and you want to capture handoff state, commit all current changes, and push the branch. Symptoms - you finished a work slice, updated HANDOFF state, and want one repeatable closeout flow instead of running handoff, commit, and git push separately.
- Commits and pushes
In this repository78 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:code-reviewSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-hook-testingSkill
- godmode:crs-installSkill
- godmode:crs-ledger-applySkill
- godmode:crs-ledger-diffSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:dep-bumpSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-syncSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:pr-authorSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rustqual-workspaceSkill
- rust-release-workflow-authorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this at the end of a focused work session after implementation and verification are already done.
- Distinctive: line 44
Keep it to one line and under 72 characters
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Session Wrap Commit Push
When to Use
Use this at the end of a focused work session after implementation and verification are already done. It captures the durable session state first, then creates a commit from the current diff, then pushes the current branch.
Commands
# 1. Refresh the repo handoff state before committing
handoff-detect
sed -n '1,220p' "$(handoff-detect)"
sed -n '1,220p' "$(handoff-detect | sed 's/\.yaml$/.state.yaml/')"
# 2. Verify you are on the expected branch
git branch --show-current
# If the output is 'main', STOP — do not commit to main directly.
# 3. Stage everything for the closeout commit
git add -A
# 4. Inspect the staged change for commit message generation
git diff --cached --stat
git diff --cached
# 5. Non-blocking secret scan on the staged diff
git diff --cached | redact --level minimal --audit
# 6. Commit with a generated conventional message
git commit -m "<type: short description>"
# 7. Push the current branch to its configured upstream
git pushCommit Message Rules
- Format:
<type>: <short description> - Keep it to one line and under 72 characters
- Prefer:
feat:for new behaviorfix:for bug fixesdocs:for handoff-only updatesrefactor:for internal restructuringchore:for maintenance changes
Common Failures
| Symptom | Fix |
handoff-detect exits 2 | Create or migrate the repo handoff first with the handoff workflow |
redact reports findings | Review the staged diff, but do not block automatically unless the content is actually sensitive |
nothing to commit | Stop after the diff check; there is no closeout commit to create |
1Password: agent returned an error during commit | Unlock 1Password and retry git commit |
git push says no upstream configured | Run git push -u <remote> <branch> once, then reuse plain git push |
| push rejected because remote moved | Pull/rebase explicitly before retrying; do not force-push by default |
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.

