kramme-cc-workflow/skills/kramme:session:wrap-up/SKILL.md
End-of-session checklist to capture progress, ensure quality, and document next steps. Writes a session summary to SESSION_NOTES.md at the repo root (creating or appending), or appends to siw/LOG.md when an SIW project exists.
npx skillsauth add abildtoft/kramme-cc-workflow kramme:session:wrap-upInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A structured end-of-session ritual that ensures nothing is forgotten and captures context for future sessions.
Run git status and report:
git stash list for forgotten stashesSearch for TODOs added during this session.
Uncommitted changes:
git diff --unified=0 | grep -E "^\+.*TODO"
Recent commits — prefer the session's actual start point when determinable (the merge-base with the base branch); otherwise fall back to the last 5 commits:
default=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/@@')
base=""
if [ -n "$default" ]; then
base=$(git merge-base HEAD "$default" 2>/dev/null || true)
[ "$base" = "$(git rev-parse HEAD)" ] && base="" # on the base branch itself; no branch scope
fi
scope="this session"
if [ -z "$base" ]; then
base=$(git rev-parse --verify --quiet HEAD~5 || git rev-list --max-parents=0 HEAD | head -1)
scope="last 5 commits"
fi
git diff "$base" --unified=0 | grep -E "^\+.*TODO"
Report any TODOs found with file locations. When the HEAD~5 fallback was used, label the findings "last 5 commits" (from $scope) instead of "this session" — the window is a proxy, not the actual session start.
Scan recent changes for explicit markers, reusing $base and $scope from TODO detection:
git diff "$base" --unified=0 | grep -E "^\+.*(WIP|FIXME|XXX)"
Then spot-check modified files by judgment for commented-out code blocks and empty or placeholder function bodies. Report anything found.
If there are uncommitted changes, offer to run quality checks:
question: "Run quality checks on uncommitted changes?"
options:
- label: "Yes, run checks"
description: "Run lint, typecheck, and tests on affected code"
- label: "Skip"
description: "Skip quality checks"
If user selects "Yes", invoke /kramme:verify:run and report results.
Prompt the user for session documentation:
question: "What was accomplished this session?"
freeform: true
placeholder: "Brief summary of completed work..."
question: "What are the logical next steps?"
freeform: true
placeholder: "What should be done next session..."
question: "Any blockers or open questions?"
freeform: true
placeholder: "Leave empty if none..."
optional: true
Build the session block, using the current date for the heading:
## Session: [current date]
**Accomplished:** [user's summary]
**Next steps:** [user's next steps]
**Blockers:** [if any, else "None"]
Append it to the active context log so the summary survives the session:
siw/LOG.md exists), append to siw/LOG.md.SESSION_NOTES.md at the repository root, creating the file if it does not exist.Remember the path written so Phase 5 can report it.
Present a summary:
## Session Wrap-Up Complete
### Changes Status
- Uncommitted files: N
- Untracked files: N
- Stashes: N
- TODOs found: N
- Quality checks: PASS/FAIL/SKIPPED
### Documentation
- Session notes: Saved to [path] / Not saved
### Reminders
[List any uncommitted work, failing tests, or blockers]
If user runs /kramme:session:wrap-up quick, skip the quality-check prompt (Phase 2) and run Phases 1, 3, 4, and 5 (audit, summary, context preservation, report).
tools
Requires Linear MCP. Implements one Linear issue end to end, selects applicable code-review, convention, and PR-refactor gates, runs them to bounded convergence, verifies, and optionally opens the PR and iterates on CI and review feedback until green. Use when the user wants a single Linear issue taken from implementation through a clean Pull Request. Not for implementation-only work, SIW-tracked issues, stacked PRs, existing PR updates, or post-merge rollout.
development
Reviews PR and local changes for convention drift and overcaution against documented rules and mined peer-file practice. Use for new patterns, dependencies, abstractions, or defensive complexity that departs from established practice; every finding cites evidence. Supports --inline. Not for general code quality (use kramme:pr:code-review) or spec review (use kramme:siw:spec-audit --team).
testing
Charts huge or foggy initiatives into a local `.context` decision map and resolves one typed frontier ticket per session until the work is ready for SIW or another execution workflow. Use when the route to a destination cannot fit in one agent session or parallel workspaces need coordinated planning state. Not for clear specs, ordinary issue decomposition, implementation, or Linear-native tracking.
development
Investigates a question against primary sources and saves one cited Markdown artifact. Use for reading legwork: official docs/API facts, source-code or spec checks, standards, and first-party service behavior before planning or implementation. Not for making product or architecture decisions, implementing code, broad web search, secondary blog summaries, or uncited answers.