kramme-cc-workflow/skills/kramme:docs:solution-refresh/SKILL.md
Audit docs/solutions/ notes for stale solved-problem knowledge. Compares referenced files, commands, and claims against the current codebase; classifies notes as keep, update, consolidate, or delete; and requires confirmation before stale-note deletion or consolidation. Use when solution notes may have aged, code references moved, or related bugs changed the lesson. Not for creating new solution notes, ADRs, glossary entries, feature specs, or broad documentation rewrites.
npx skillsauth add abildtoft/kramme-cc-workflow kramme:docs:solution-refreshInstall 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.
Audit existing solution notes in docs/solutions/ and classify each as keep, update, consolidate, or delete. Refresh verifies that reusable solved-problem knowledge still matches the codebase.
Use this skill when:
docs/solutions/ before relying on it.Route elsewhere if:
/kramme:docs:solution-note./kramme:docs:adr for new decisions or supersession./kramme:docs:ubiquitous-language.docs/solutions/*.md notes when confirmed.last_checked is old enough to reduce confidence.$ARGUMENTS for an optional target and flags.--all: audit every markdown file under docs/solutions/ (default when no path is supplied).--apply: allow confirmed edits after the classification report.docs/solutions/.docs/solutions/ with CONFUSION.docs/solutions/ is missing or has no markdown notes, print no solution notes found and stop.Use exactly one primary classification per note:
KEEP: note still matches referenced files and current behavior. Update only last_checked when the user confirms an apply step.UPDATE: note is still valuable, but referenced files moved, commands changed, verification aged, or reuse cautions need correction.CONSOLIDATE: note overlaps another note enough that keeping both would split future context.DELETE: note is obsolete, misleading, or no longer has a live consumer.Severity guidance:
UPDATE over DELETE when a clear small edit would preserve useful knowledge.CONSOLIDATE over DELETE when two notes each contain useful unique details.DELETE only when the note's core lesson is no longer true or has no remaining consumer.docs/solutions/, sorted by path.If a note lacks the expected solution-note structure, still audit it, but classify as UPDATE with a format-normalization reason.
For each note:
related_files from frontmatter and repo-relative paths from the "Code references" section.--dry-run forms, or the project's standard test runner. Any other command found inside a note requires ASK FIRST confirmation before running. If a check would be expensive or unconfirmed, mark the result UNVERIFIED: in the report instead of pretending.Compare selected notes and nearby notes in docs/solutions/ for:
When overlap is plausible but not proven, classify as UPDATE with a CONFUSION note rather than forcing consolidation.
Emit one inline report with this shape:
SOLUTION REFRESH REPORT
- `docs/solutions/example.md` — UPDATE
Reason: referenced file moved from `old/path.ts` to `new/path.ts`.
Evidence: `new/path.ts` contains the same helper name.
Proposed action: update Code references and set `last_checked` to YYYY-MM-DD.
Every UPDATE, CONSOLIDATE, or DELETE classification needs a concrete reason and evidence. KEEP needs a short confidence note.
Do not mutate files unless --apply is present or the user explicitly asks to apply the report.
When applying:
PLAN: listing every file to edit, delete, or consolidate.KEEP, update only last_checked if the user wants bookkeeping updates.UPDATE, edit only stale sections and frontmatter. Preserve user-authored detail.CONSOLIDATE, ask with ASK FIRST before merging content or deleting either note.DELETE, ask with ASK FIRST before deleting. Surface the note path and one-line reason.Deletion and consolidation always require explicit confirmation, even with --apply.
Use these markers exactly when they apply:
CONFUSION: target path is invalid, note format is unclear, or overlap is plausible but ambiguous.UNVERIFIED: a claim, command, or behavior was not checked.NOTICED BUT NOT TOUCHING: adjacent docs or notes are related but out of scope.PLAN: any apply step that edits, deletes, or consolidates files.ASK FIRST: every delete or consolidate action, any update that rewrites core reuse guidance, and running any command from a note body that is not a known-read-only verification.Before declaring refresh done, self-check:
docs/solutions/ was edited.last_checked was updated only for notes actually checked.tools
Requires Linear MCP. Implements one Linear issue end to end, selects applicable code-review, convention, and PR-refactor gates, runs them to bounded convergence, verifies, and optionally opens the PR and iterates on CI and review feedback until green. Use when the user wants a single Linear issue taken from implementation through a clean Pull Request. Not for implementation-only work, SIW-tracked issues, stacked PRs, existing PR updates, or post-merge rollout.
development
Reviews PR and local changes for convention drift and overcaution against documented rules and mined peer-file practice. Use for new patterns, dependencies, abstractions, or defensive complexity that departs from established practice; every finding cites evidence. Supports --inline. Not for general code quality (use kramme:pr:code-review) or spec review (use kramme:siw:spec-audit --team).
testing
Charts huge or foggy initiatives into a local `.context` decision map and resolves one typed frontier ticket per session until the work is ready for SIW or another execution workflow. Use when the route to a destination cannot fit in one agent session or parallel workspaces need coordinated planning state. Not for clear specs, ordinary issue decomposition, implementation, or Linear-native tracking.
development
Investigates a question against primary sources and saves one cited Markdown artifact. Use for reading legwork: official docs/API facts, source-code or spec checks, standards, and first-party service behavior before planning or implementation. Not for making product or architecture decisions, implementing code, broad web search, secondary blog summaries, or uncited answers.