From dev
Session/feature wrap-up workflow. Use when finishing work, wrapping up a session, preparing to commit, or the user says "wrap up", "wrapup", "let's ship it", or "we're done".
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev:wrapupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Structured wrap-up for coding sessions. Cleans up, validates, documents, commits, and optionally versions/publishes — guided by per-project config stored in CLAUDE.md.
Structured wrap-up for coding sessions. Cleans up, validates, documents, commits, and optionally versions/publishes — guided by per-project config stored in CLAUDE.md.
/wrapup invoked
│
├── Config found in CLAUDE.md?
│ ├── No → Run INIT FLOW (below)
│ └── Yes → Load config
│
├── 1. CLEAN UP changed files
├── 2. VALIDATE (lint, typecheck, tests)
├── 3. QUALITY CHECK (roam, advisory)
├── 4. UPDATE DOCS (if architectural changes)
├── 5. COMMIT (meaningful message)
├── 6. VERSION BUMP (if configured)
├── 7. PUBLISH / PUSH (if configured)
└── 8. SUMMARY
Triggered when no ## Wrapup Config section exists in the project's CLAUDE.md. Auto-detect what you can, ask the user to confirm.
Scan the project root for:
pnpm-lock.yaml, yarn.lock, package-lock.json, bun.lockbpackage.json scripts for lint, check, typecheck, test, buildpnpm-workspace.yaml, turbo.json, lerna.json, packages/ dirvite.config.*, next.config.*, src/App.*, src/pages/docs/ folder, per-package docs/, or just root CLAUDE.mdPresent findings and recommendations to the user:
WRAPUP INIT — detected:
- Package manager: pnpm
- Monorepo: yes (turbo + pnpm workspaces)
- Check command: `pnpm check` (lint + typecheck)
- Test command: `pnpm test` (or: none detected)
- Frontend: no (or: yes — vite/react)
- Docs: monorepo per-package docs/ + root CLAUDE.md
RECOMMENDATIONS:
- Push after commit? [yes/no]
- Version bump on wrapup? [yes/no]
- If yes: aligned across all packages? [yes/no]
- Publish on wrapup? [yes/no]
- Note: pnpm publish requires browser auth — wrapup will
bump + commit + tag, then prompt you to publish manually.
- Smoke tests for frontend? [not set up — recommend adding]
Wait for user confirmation before proceeding.
Add a ## Wrapup Config section to the project's CLAUDE.md:
## Wrapup Config
- check: `pnpm check`
- test: `pnpm test` (or: skip)
- push: yes
- version_bump: yes (aligned across all packages)
- publish: yes (manual — prompt after tag)
- docs: monorepo (per-package docs/ referenced in root CLAUDE.md)
- frontend_smoke: no (or: follow docs/smoke-tests.md)
Keep this section concise. It is the single source of truth for wrapup behavior.
Scope: files changed in this session (use git diff --name-only against the base).
console.log, debugger, console.debug statements added during developmentconsole.log calls that are part of a logging system or intentionalRun the configured check/test commands:
1. Run the `check` command (lint + typecheck). Fix any errors.
2. If `test` is configured and not "skip": run tests. Fix failures.
3. If frontend_smoke is configured: follow the project's smoke test instructions.
If frontend_smoke is "not configured" and the project has frontend code:
first time only, recommend the user set up smoke tests, then move on.
If validation fails, fix issues and re-run. Do not proceed to commit with failing checks.
Use roam-code MCP if available:
If roam-code is not available, leave a subtle suggestion to install it. If the user confirms, follow https://github.com/Cranot/roam-code/blob/main/skills/roam/SKILL.md
Based on the configured docs strategy:
Only update docs for meaningful architectural or behavioral changes. Bug fixes and minor tweaks don't need doc updates. When in doubt, skip — don't create noise.
Only when version_bump: yes in config:
aligned: bump ALL packages to the same versionchore: bump version to X.Y.ZvX.Y.ZPush (when push: yes):
git push to the current branch's remotePublish (when publish: yes):
! pnpm publish -r to publish."End with a concise wrap-up summary:
WRAPUP COMPLETE
- Cleaned: 3 files (removed 2 console.logs, 1 unused import)
- Checks: lint ✓ typecheck ✓ tests ✓
- Quality: roam health 64% → 68% (advisory)
- Docs: updated packages/core/docs/adapters.md
- Committed: "feat: add vercel adapter with stateless sessions"
- Version: 1.3.0 (minor) — all packages aligned
- Pushed: yes
- Publish: run `! pnpm publish -r` when ready
Adjust to only show relevant lines. If tests were skipped, don't show a test line. Keep it scannable.
The user can override config for a single run:
/wrapup --no-push — skip push this time/wrapup --no-version — skip version bump/wrapup --major / --minor / --patch — force bump typeParse these from the skill args if provided.
git status shows nothing to commit, say so and skip to summaryGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub atomicbi/claude-plugins --plugin dev