wrap-up — Claude Code command: what it does, how to install
wrap-up audits git diffs, runs test suites, records lessons learned, and prepares context before closing a Claude Code session.
MIT ★ 2,966 updated 2026-09-29
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflowWhat wrap-up does
The command guides Claude Code through a five-step wrap-up checklist. First, it inspects repository status with git status and git diff --stat to surface dirty working trees and leftover TODO comments.
Next, it triggers automated verification via npm run lint, npm run typecheck, and npm test -- --changed --passWithNoTests. Quality checks depend strictly on those npm scripts existing in package.json. Non-npm projects will fail this step.
Finally, the command logs reusable patterns using the [LEARN] Category: Rule format, lists next tasks, and drafts a one-paragraph recap. Once finished, Claude Code explicitly asks if you are ready to end the session.
What it helps with
- Audit uncommitted file modifications and leftover TODOs
- Run linter, typecheck, and changed tests before quitting
- Capture workflow mistakes and rules in LEARN format
- Summarize accomplishments and next steps for the next run
Example prompts for the agent
- /wrap-up
- Audit session changes and prepare next steps
- Run the wrap-up checklist before ending the session
How to install wrap-up
1Plugin marketplace
/plugin marketplace add rohitg00/pro-workflow/plugin install pro-workflow@pro-workflow2Manually: put the files in place
.claude/commands/wrap-up.mdCall it with /wrap-up. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/wrap-up.mdCall it with /prompts:wrap-up. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/wrap-up.prompt.mdManually: put the files in place
.gemini/commands/wrap-up.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about wrap-up
How to install wrap-up in Claude Code?
Run /plugin marketplace add rohitg00/pro-workflow in Claude Code, then execute /plugin install pro-workflow@pro-workflow. Alternatively, save the file to .claude/commands/wrap-up.md.
What does wrap-up do?
It reviews modified files via git, runs configured npm checks, captures session findings in a standardized format, and outlines next steps.
What scripts does the quality check step execute?
It runs npm run lint 2>&1 | head -20, npm run typecheck 2>&1 | head -20, and npm test -- --changed --passWithNoTests.
Source text
wrap-up.md · MIT
--- description: Audit session changes and capture learnings and next steps --- # /wrap-up - Session Wrap-Up End your Claude Code session with intention. ## Execute This Checklist ### 1. Changes Audit ```bash git status git diff --stat ``` - What files were modified? - Any uncommitted changes? - Any TODOs left in code? ### 2. Quality Check ```bash npm run lint 2>&1 | head -20 npm run typecheck 2>&1 | head -20 npm test -- --changed --passWithNoTests ``` - All checks passing? - Any warnings to address? ### 3. Learning Capture - What mistakes were made this session? - What patterns worked well? - Any corrections to add to LEARNED? Format: `[LEARN] Category: Rule` ### 4. Next Session Context - What's the next logical task? - Any blockers to note? - Context to preserve for next time? ### 5. Summary Write one paragraph: - What was accomplished - Current state - What's next --- **After completing checklist, ask:** "Ready to end session?"
© Rohit Ghumare · MIT · rohitg00/pro-workflow