/dotfiles:wrapup-session [focus]from Kevin's dotfiles skills
Closes a coding session by listing unfinished work, persisting lessons into agent instructions or code comments, and committing changes locally. Use at session end or with /bye.
Ships in Kevin's dotfiles skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This is the last turn of the session: the harness may quit as soon as it settles. Do not ask questions. State assumptions and finish. When arguments are passed, treat them as the focus of the pass.
Check the conversation for a closing report from an earlier invocation of this skill: the numbered, labelled to-do list (T1 Decide: …, T2 Push: …) is its signature. The user may refer to its items by ID. If one is there, this is a repeat call, and the session must end clean this time instead of deferring again.
On a repeat call, do not re-list the leftovers. Finish them:
Decide: item first. Apply the answer the user gave, in the arguments or in a later message. With no answer, apply the recommended one if it changes only the working tree. An item that changes something outside the working tree stays listed until the user answers it.Collect what this session leaves behind:
git -C calls. They include the current one, sibling checkouts, and any other folder under git. Run git status in each, and name only what this session produced. Never push or post anywhere.Verify every candidate against the current state before listing it. The user often fixes, commits, or cleans items by hand between the last prompt and this wrap-up, and a stale item tells them to redo work already done. For each candidate, re-check the evidence: re-run git status and git log rather than trusting an earlier snapshot, read the file a fix would touch, check whether a deferred report or upstream comment already exists. Drop every item that is already resolved. When an item is only partially done, list only the remainder.
Never list the cleanup of temporary files that the next reboot deletes. macOS empties /private/tmp at each boot, so a scratchpad or a build tree left there needs no item. Apply the same test to the temporary directory of any other machine or virtual machine. A scratch file left in a checkout stays a loose end. A draft or a result the user still needs keeps its own item, whatever directory holds it.
A candidate lesson is a correction the user gave, a surprise that cost time, or a rule stated nowhere. Skip anything the code, git history, or existing docs already record.
Route each keeper to the narrowest home that owns it. The global instructions file loads into every session of every project, so it is the last resort, not the default:
CLAUDE.md or AGENTS.md. A lesson about maintaining a tool belongs to that tool's repository, even when the session ran elsewhere.CLAUDE.md or AGENTS.md loaded from the home directory). Resolve symlinks and edit the target file inside its repository, never through the $HOME path: a replace-then-rename write forks the symlink.Guards:
wc -c): each lesson adds about 400 characters at most. More means a story stayed in or a narrower home was skipped, so cut until it fits. When the harness warns that the instruction files exceed its size limit, remove at least as much as the pass adds.Decide: item in the closing report (§ 5).This invocation is the user's go-ahead to commit locally. Before the closing report, commit the session's finished work: the uncommitted changes that § 2 found, and the edits of § 3.
Commit: item.git -C {repo} add -- {paths}. Commit with git -C {repo} commit -- {paths}, which leaves the rest of the index alone.git -C {repo} log -1 --format='%h %G? %s'.Commit: item, with the exact git command for the user to run.Push: item.End with two short lists, a few words per item: Done first, then Left to do. Write "none" where a list is empty.
Start each item with an ID, so the user can answer "yes to T1" or "drop T3". Number Done items D1, D2, … and Left to do items T1, T2, …, like - T1 Decide: …. The IDs restart at 1 on each invocation. Keep the whole report under about 15 lines.
Done holds what this session finished: lessons persisted and where (with the global file's size before and after, when the pass touched it), plus any tree work completed this turn and each commit made, with its SHA and repository. A lesson deliberately capped at a suggestion is not done: it moves to Left to do as a Decide: item instead, so every decision the user owes lives in one list. A lesson examined and skipped because the code, history, or docs already record it appears here as one line: Skipped: …, naming where it already lives. The report is exactly these two lists and nothing else.
Left to do holds every remaining action. Order it so it can be executed top to bottom. Decide: items come first, since an answer can add work below them. Then come create-and-fix work, documentation and Commit:. The steps only the user can take come last: Push:, Report:, a merge, a credential to supply. Name each item's target in full: the path, the SHA, the checkout, the upstream project. Say what an item waits on when this session cannot run it: a credential it does not hold, a release not yet published. Prefix each item with an action label naming the verb it needs, so the list is scannable at a glance. Pick the narrowest label that fits:
Decide: a change this session proposed and the user has not approved, like a proposal from the lessons pass, or a choice between options. End the item with the answer you recommend: yes, no, or one option.Implement: new code or a feature to write, in this repo or a sibling checkout (name the checkout).Commit: uncommitted changes that § 4 left out, with the reason, like another session's edits in the same file.Push: commits already made but not on the remote.Report: an issue or comment to file upstream. Name the project, and the draft's path once one exists.These five are the whole vocabulary: do not coin new labels. An item that fits none of them takes a verb as its first word after the ID, like - T4 Fix the … or - T5 Stop the …. A finding that asks for no action is not an item: list it as a Decide: item that proposes its fix, or leave it out.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/agent-config-self-tuneAudit and tune the configuration of coding agents across Claude Code and pi - settings files (settings.json, settings.local.json), permission rules, instruction files (CLAUDE.md, AGENTS.md), skill bodies and agent definitions. Use when an instruction file, a skill or an agent definition gets bloated or too big, or when asked to slim down, spread, deduplicate, relocate or compress it. Reads each source once, drops what another layer states, moves each rule beside the code, test or docs page it governs, then re-encodes what stays in a dense register to cut token count and context bloat. Also compresses system prompts and tool descriptions, percolates recurring local patterns into the global config, and reviews past session transcripts for tool calls denied by the sandbox or allow/deny rules to propose allowlist refinements./audit-repo-issuesAnalyze a GitHub repository's issues and PRs to find unaddressed feature requests, dismissed ideas, maintenance signals, and opportunities relevant to the current project. Use when you want to scout a related or competing repo for gaps your project could fill./fill-web-formFill a web form using data extracted from local documents (PDFs, images, spreadsheets). Uses Claude Desktop (Cowork) with Chrome integration to read source documents and navigate/fill browser forms. Use when the user wants to automate filling an online form from document data./memory-reviewReview, prune and repair the persistent memory of Claude Code (~/.claude/projects/*/memory). Verify every memory against the code, the docs, the skills and the upstream state, fix or delete the stale ones, merge duplicates, and keep each MEMORY.md index in step with its folder. Use when a memory misled a session, when memories look stale or bloated, when asked to clean up, prune, audit or consolidate memories, or every few months./pr-triageAudit open PRs across multiple repos for duplicates, stale drafts, Renovate noise, and conflicts. Produces a unified priority report./rename-with-datesRename documents and files (PDFs, images, screenshots, etc.) by reading their content to extract the effective/publication date, then renaming them with a "YYYY-MM-DD - Clear descriptive title.ext" format. Use when the user wants to organize files with date prefixes based on document content.npx claudepluginhub kdeldycke/dotfiles --plugin dotfilesOther plugins' skills for the same job