Skip to main content
command CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow
Open on GitHub

What 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-workflow

2Manually: put the files in place

.claude/commands/wrap-up.md

Call it with /wrap-up. For all projects use ~/.claude/commands/

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

Similar slash commands

All slash commands for Notes, tasks and projects →

From the same set83

The whole set →
self-correction self-correction turns a correction into a one-line [LEARN] rule with a category, and saves it only once you approve the wording. CX Codex +1 ★ 2,966repo stars mcp-audit Audits active MCP servers, estimates token overhead from tool schemas, and flags unused integrations to disable. CX Codex +1 ★ 2,966repo stars auto-setup auto-setup detects a project’s stack and configures quality gates, permission rules, and hooks. Useful when bringing a new codebase into Claude Code. CX Codex +1 ★ 2,966repo stars compact-guard compact-guard is a Claude Code command that saves working state before context compaction and restores critical data afterward. Run it before manual compaction or when auto-compaction warnings appear. CX Codex +1 ★ 2,966repo stars planner planner — a read-only subagent turns complex coding work into an implementation plan. Use it when several files, architecture choices, or unclear requirements are involved. CX Codex ★ 2,966repo stars permission-tuner permission-tuner analyzes why Claude Code keeps prompting for permissions or denying operations, then generates rules to reduce confirmation fatigue. CX Codex +1 ★ 2,966repo stars list list displays stored patterns and rules from the pro-workflow database by recency, category, or project. CX Codex +1 ★ 2,966repo stars context-discipline The context-discipline rule sets limits for file reads, tool calls, and test-driven edits. It helps keep Claude Code from reopening unchanged files or polishing code after tests pass. CX Codex +1 ★ 2,966repo stars

Project sponsors

Companies that keep this analytics open