From lpclaude-config
Surveys the working tree for loose ends—uncommitted git state, TODO/FIXME markers, temp files, stale plans—then resolves each so the next session starts clean.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lpclaude-config:wrap-upThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Prepare the working state for a clean context `/clear`: surface every loose end,
Prepare the working state for a clean context /clear: surface every loose end,
then resolve it — so the next session starts from a tidy, fully-recorded baseline
with nothing half-wired left behind.
This skill is a procedure, not an app. The harness is a read-only survey script that mechanically finds loose ends; you then resolve each one with judgment. It is global — run it against whichever repo is the current directory.
Run it while the tree is still dirty, so it sees what you're about to leave behind. It changes nothing; safe to run anytime.
bash ~/.claude/skills/wrap-up/survey.sh "$PWD"
Optional explicit path: bash ~/.claude/skills/wrap-up/survey.sh /path/to/repo.
Outside a git repo it exits 2 with a note (the rest of the wrap-up still applies).
The report has five sections and a SUMMARY: tally. Walk them in order.
The survey reports; you fix. Honor the user's standing directives as you go (No Loose Ends, Definition of Done, commit-and-push-at-milestones, temp-file cleanup, the memory system). Map each section to an action:
feat/fix/docs/refactor/test/chore), review staged with
git diff --staged, then commit and push (this is pre-authorized at a
milestone — do not ask). Push any ahead-of-upstream commits. Decide each
forgotten stash consciously: pop and integrate, or drop. Caveat: if your
changes share files with the user's own uncommitted parallel work, do not
surgically split — leave it to commit together once it settles.console.log, breakpoint(), …) before
finalizing. The "code moved, docs did not" line is a soft prompt — check
whether the touched code has docs that now lag.__pycache__/.pyc is gitignored regen, not
a loose end.ACTIVE_ plan with the actual state:
mark finished phases done, and rename ACTIVE_… → COMPLETE_… when the plan
is fully delivered. Skim listed TODO/PLAN docs for entries that are now stale.MEMORY.md pointer; see the
memory instructions). If work is mid-flight, leave an explicit handoff note
(what's done, what's next, where you stopped) so the next session resumes
without re-deriving context.If a runtime-affecting change shipped this session (a new daemon/loop, a runtime knob, behavior-changing config), confirm its operator surface is wired before calling it done — that is itself a loose end (see the project's control-plane standard when one exists).
After committing, pushing, and cleaning, re-run the survey. Aim for
SUMMARY: clean. (or only intentional, explained leftovers). Then the session
is safe to /clear.
bash ~/.claude/skills/wrap-up/survey.sh "$PWD"
survey.sh is read-only. It runs git, find, and grep; it never
edits, commits, or deletes. All mutation is yours, with judgment.git diff @{u}), so committed-but-unpushed work and
uncommitted work are scanned as one surface. No upstream → falls back to HEAD.git diff, so a TODO or breakpoint() in a file you just created would be
invisible to a diff-only scan. The survey greps untracked-not-ignored files on
disk too. The plan scan (section 4) likewise unions tracked + untracked, so a
plan you just created still counts..gitignore. It only flags backups git would
care about (tracked, or untracked-and-not-ignored) — deliberately-ignored
backups (e.g. timestamped directive backups) are left alone.$repo with /→- under
~/.claude/projects/<slug>/memory), so section 5 points at the right place
per project.git stash -u hides the working tree. If you stash untracked changes,
the dirty-tree / dangler / temp / plan sections go silent because the files
are now in the stash, not the tree — section 1 still flags the stash itself.
Pop before surveying if you want to see what's in it.~/.claude/skills/wrap-up/survey.sh — committed alongside this SKILL.md. It is
the harness this skill drives. Read-only, no dependencies beyond git/find/
grep/sed. Edit it here if the project's loose-end conventions change.
npx claudepluginhub lpasqualis/lpclaude --plugin lpclaude-configGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.