plugins/starter-session-audit/skills/starter-session-audit/SKILL.md
Use when the user asks to audit a session for uncaptured learnings. Activates on "audit this session", "session audit", "what did we miss", "end of session check", or "/starter-session-audit". Scans the conversation for corrections, preferences, decisions, and new context, then proposes where to save each.
npx skillsauth add sagargupta16/claude-skills starter-session-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A lightweight end-of-session audit. Catches things the user said during the session that should be saved permanently so they never have to say them again.
Two things, and only two things:
No file reorganization. No cleanup. No progress tracking. Just: "Did I learn anything this session that should be remembered?"
Claude Code sessions can use several layers of persistence. Load whichever files exist:
~/.claude/CLAUDE.md (preferences that apply everywhere).CLAUDE.local.md (git-ignored, machine-specific)..claude/rules/*.md if the project uses path-scoped rule files..claude/resources/*.md if the project keeps task-triggered reference docs.If the project only has a single CLAUDE.md, that's fine. The audit adapts.
Walk the full conversation top to bottom. Look for four signal types.
The user fixed something Claude produced -- changed wording, rejected an approach, said "no, do it this way instead." Each correction reveals an underlying rule.
Ask: what preference or rule drove this change?
Example: User changed "refactor the whole module" to "just the one function". Rule: "Prefer surgical changes; don't expand scope without asking."
Direct instructions: "always", "never", "I prefer", "from now on", "don't do that", "stop doing X".
Example: "Stop summarizing what you just did at the end of every response."
Choices that affect future work -- stack choice, schema decision, project direction, timeline, scope resolution.
Example: "Let's use Biome instead of Prettier across the portfolio repos."
Facts about the user, their work, or the world that weren't in any loaded file -- contact details, schedules, relationships, project status, tool changes.
Example: "The API token is in the env as FOO_TOKEN, not in settings.json."
For each finding from Step 2, grep the loaded files from Step 1. Skip anything already captured. Only surface genuinely new findings.
Two routing tests:
.claude/rules/ file.Finer routing:
| Finding kind | Target file |
| --- | --- |
| Global preference (applies to every project) | ~/.claude/CLAUDE.md |
| Project-wide rule (always-on) | .claude/rules/always-on.md or project CLAUDE.md |
| Path-scoped rule | new or existing file in .claude/rules/ with paths: frontmatter |
| Cross-session fact about the user | new or existing memory topic file + index entry |
| Live repo state | STATUS.md |
| Backlog idea | TODO.md |
| Voice / output convention | .claude/resources/voice-principles.md or similar |
| Repo-specific behavior | that repo's own CLAUDE.md |
If the project doesn't have this exact layout, route to whatever's closest. Ask the user if ambiguous.
Format each one:
[N]. <what happened in one sentence>
- Rule/fact: <exact wording to save>
- Where it goes: <file path + section>
- Why: <one sentence on why it matters for future sessions>
Group into:
If there are no findings: Clean session. Nothing new to capture. Don't manufacture findings.
After the user approves (all, some, or none), write the approved entries to target files. For each write, print:
Saved to <path>: "<the line as written>"
If a target file does not exist yet (new memory topic, for example), create it with minimal frontmatter and add the index entry.
testing
Use when setting up new repositories, auditing existing ones, or preparing repos for public visibility. Generates .gitignore, .env.example, README, and LICENSE files. Detects committed secrets and flags security issues.
tools
Use when triaging open Renovate PRs across your own repos into merge / close / defer. Activates on "renovate triage", "review dep PRs", "monthly deps", or on the 1st of a month if deps are grouped monthly.
development
Use when restructuring code without changing behavior -- extracting functions, renaming, moving files, reducing duplication, migrating between patterns (JS to TS, CJS to ESM), or addressing code smells. Covers safe refactoring workflows for any language.
development
Use when contributing to open source projects from forked repositories. Handles upstream sync, CONTRIBUTING.md compliance, code style matching, PR preparation, and project-specific patterns. Activates for fork management, PR template filling, and upstream workflow compliance.