How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-setup:session-endThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute these steps in order:
Execute these steps in order:
Run appropriate verification for the project:
If TypeScript project (tsconfig.json exists):
npx tsc --noEmit
If tests exist (test script in package.json):
npm test
If neither applies:
Report the verification status. If verification fails:
Append a new session entry to PROGRESS.md (create file if it doesn't exist).
Entry format:
---
## Session: [YYYY-MM-DD HH:MM]
### Completed
- [List of tasks/features completed this session]
### In Progress
- [Anything started but not finished]
### Issues Encountered
- [Blockers, bugs, or challenges discovered]
### Next Session Should
- [Clear guidance for the next session]
- [Specific tasks to pick up]
- [Any context that would be helpful]
If features.json exists:
"status": "pass""status": "wip"If features.json doesn't exist, skip this step.
If ROADMAP.md exists:
[ ] -> [x][WIP] notation to in-progress items if helpfulBefore committing, check if this session involved significant problem-solving that should be captured.
Prompt "Document what you learned?" if ANY of these apply:
Bug fix commits: Recent commits contain "fix", "bug", "resolve", "patch"
git log --oneline -5 | grep -iE "fix|bug|resolve|patch"
Significant debugging: Multiple commits touching the same file, or session involved substantial investigation
New pattern introduced: First usage of a library/API, architectural decision made
Use AskUserQuestion:
Question: "This session involved significant problem-solving. Document for future reference?"
Options:
solutions/~/.claude/solutions/Run the compound capture process:
# TypeScript Path Alias Resolution
> **Category:** build-error
> **Created:** 2026-02-01
> **Keywords:** typescript, path, alias, vite, imports
## Symptoms
- "Cannot find module '@/components/Button'"
- Worked in IDE, failed at build
## Solution
Install vite-tsconfig-paths plugin...
git status
git diff --stat
Review what will be committed. Ask user to confirm the scope is correct.
Create a commit with a descriptive message:
git add -A
git commit -m "Session: [brief summary of work done]
- [bullet point of key changes]
- [another key change]
Progress: Updated PROGRESS.md with session notes"
If there are no changes to commit, skip this step and note "No changes to commit."
Output a handoff summary:
## Session End Summary
**Duration:** [start time] - [end time] (if known)
**Verification:** [passed / failed with X issues]
### Completed This Session
- [Task 1]
- [Task 2]
### Committed
- [commit hash]: [commit message]
### Next Session Should
1. [Most important next step]
2. [Second priority]
3. [Third priority]
**Session ended cleanly.** Safe to close.
If verification fails:
If git commit fails:
--no-verify if appropriate (and user confirms)If PROGRESS.md write fails:
npx claudepluginhub matthewod11-stack/claude-setup --plugin claude-setupCloses out a session cleanly by reviewing work, updating project tracking files, committing changes, and capturing session knowledge. Use when a task is complete with no passoff needed.
Audits code changes, runs quality checks, captures learnings, and generates a session summary when ending a coding session.
Wraps up sessions by verifying tests/build/lint with pnpm, committing via /commit, updating .claude/project-diary.md and build-status.md, generating handoff messages.