Finish Session — Git skill for Claude Code
Finish session with build, lint, tests, docs update, and commit.
How to install Finish Session
Installs to ~/.claude/commands/lucasxf-engineering-daybook-finish-session.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/lucasxf/engineering-daybook/HEAD/.claude/commands/finish-session.md -o ~/.claude/commands/lucasxf-engineering-daybook-finish-session.md Restart Claude Code, or start a new session, for it to be picked up.
What Finish Session does
description: Finish session with build, lint, tests, docs update, and commit argument-hint:
@CLAUDE.md
**Session Finalization Workflow**
Additional context for commit message: $ARGUMENTS
**Anti-Cyclic Dependency Note:** This command delegates documentation tasks to `tech-writer` agent. The agent MUST NEVER call `/finish-session` back (would create infinite loop).
Execute the following steps in order:
1. Build, Lint, and Test (if applicable)
**I
Alternatives in Git
- Brooks Review — Run a Brooks-Lint PR code review 1.5k ★
- Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
- Fix GitHub Issue — by jeremymailen - Analyzes and fixes GitHub issues using a structured approach with GitHub CLI for issue detai 708 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Drain Captures
Process all queued session captures — update shared docs, commit repos, and clear the queue
Session Entry
Alias for /session entry — append and fill the entry for the commit(s) just made, update what the change made
PR Ready
Verify the branch is ready to open a PR — typecheck, tests, lint, diff summary, commit message suggestion
Mob Done
Finish mob.sh session (mob done); remind human to review, commit, and push.
Ctx End
End of session — finish the journal entry, release the claim, commit code and context together
Document And Ship
Explore changes, update docs, commit, push, and create PR
Related Agents
Feat Finish
Finalize feature implementation - validate completion, run tests, update changelog, and archive
Session Workflow
Session startup and shutdown discipline — use at the start and end of every development session to orient from
Hooks
Configures and maintains Lefthook hooks for format/lint, tests, and commit message generation via llmc.