kramme-cc-workflow/skills/kramme:workflow-artifacts:cleanup/SKILL.md
Delete workflow artifacts — review and audit overviews, QA reports, generated PR plans, SIW tracking files, and visual diagram HTML — from the working directory and the shared diagrams folder. Confirms before deleting; SIW specification files are kept unless you explicitly include them. Recoverable via Trash when `trash` is installed, otherwise permanent.
npx skillsauth add abildtoft/kramme-cc-workflow kramme:workflow-artifacts:cleanupInstall 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.
Delete workflow artifacts from the current working directory and generated diagram files under ~/.kramme-cc-workflow/diagrams/. This is a destructive command: deletion is recoverable from the system Trash only when trash is installed (see Step 4), so it always confirms first.
Note: For SIW-specific cleanup, consider using /kramme:siw:remove instead. This cleanup command intentionally leaves siw/DISCOVERY_BRIEF.md and siw/SPEC_STRENGTHENING_PLAN.md alone because they can still be active handoff artifacts, while /kramme:siw:remove deletes them as part of destructive SIW cleanup.
Targets fall into two groups. Only targets that exist on disk are deleted or reported; missing targets are ignored.
Visual diagram artifacts (shared across sessions and projects — confirmed separately in Step 3):
~/.kramme-cc-workflow/diagrams/*.html (generated by /kramme:visual:* skills)Review and audit artifacts:
REVIEW_OVERVIEW.mdUX_REVIEW_OVERVIEW.mdPRODUCT_REVIEW_OVERVIEW.mdPRODUCT_AUDIT_OVERVIEW.mdPRODUCT_AUDIT.mdCOPY_REVIEW_OVERVIEW.mdQA_REPORT.mdQA_BASELINE.jsonAUDIT_IMPLEMENTATION_REPORT.mdAUDIT_SPEC_REPORT.mdsiw/PRODUCT_AUDIT.mdsiw/AUDIT_IMPLEMENTATION_REPORT.mdsiw/AUDIT_SPEC_REPORT.mdPlanning artifacts:
PR_PLAN_*.mdSIW tracking artifacts (in siw/):
siw/LOG.mdsiw/OPEN_ISSUES_OVERVIEW.mdsiw/issues/ (directory — candidate only when the SIW marker siw/OPEN_ISSUES_OVERVIEW.md exists; see Step 1)siw/qa-intake/ (directory — same condition)These are durable SIW specifications, not throwaway output. They are kept unless the user explicitly opts in during Step 3.
siw/FEATURE_SPECIFICATION.mdsiw/PROJECT_PLAN.mdsiw/API_DESIGN.mdsiw/DOCUMENTATION_SPEC.mdsiw/SYSTEM_DESIGN.mdsiw/TUTORIAL_PLAN.mdRecord which targets exist, as three separate lists: working-directory artifacts, shared diagram files under ~/.kramme-cc-workflow/diagrams/, and permanent specs. Only items discovered here are deleted or reported in later steps, and the siw/OPEN_ISSUES_OVERVIEW.md marker is read here, before anything is deleted.
For the conditional directories:
siw/issues/ is a candidate only if siw/OPEN_ISSUES_OVERVIEW.md exists. If it contains files that do not match ISSUE-*.md, drop it from the candidates and report it as skipped.siw/qa-intake/ is a candidate only if siw/OPEN_ISSUES_OVERVIEW.md exists. If it contains files that do not match QA-INTAKE-*.md, drop it from the candidates and report it as skipped.If no candidates and no specs exist, report No artifact files found. and stop.
If the working directory is a git repository, run git status --porcelain -- against the found working-directory paths. If any found file has uncommitted changes, list them and warn that deletion will discard that work (recoverable from Trash only if trash is installed). Skip this step when not in a git repo.
Ask the user to confirm before deleting anything. Build the options from the Step 1 lists only — never list files that were not found. Present:
~/.kramme-cc-workflow/diagrams/, noting they are shared across sessions and projects,Offer at least: delete artifacts only (keep specs), delete everything found (artifacts + specs), or cancel. Omit the "everything" option when no permanent specs were found. If the user cancels, stop without deleting.
Delete only the confirmed set. Prefer trash for recoverability; use trash -r for directories (siw/issues/, siw/qa-intake/).
If trash is not installed, warn that deletion will be permanent, then fall back to rm / rm -rf:
Warning: 'trash' command not found. Files will be permanently deleted.
Install with `brew install trash` (macOS) or your distro's `trash-cli` package (Linux).
development
Compare an existing PR's title and body against the actual branch diff and report drift — false claims, missing major changes, stale scope, missing risk callouts. Use after pushing changes to a branch with an open PR, or before requesting review. Read-only by default; add --fix to delegate to kramme:pr:generate-description for an updated description. Complements kramme:pr:code-review (which checks description accuracy as one signal among many code-quality checks) by being a fast, focused, single-purpose check that runs in seconds.
tools
Reviews plugin skills for focused scope, progressive disclosure, portability, safety, retry behavior, and documentation quality. Use when auditing a SKILL.md, skill directory, or proposed skill text against skill-authoring standards. Not for creating new skills, editing skills, or reviewing ordinary application code.
tools
Reviews recent agent session transcripts to find repeated manual workflows or repeated user asks, then proposes and optionally scaffolds only useful new skills or custom subagents. Use when the user asks to inspect recent sessions, find automation opportunities, or create reusable workflows from repeated work. Not for summarizing one session, general retrospectives, or codebase refactoring.
data-ai
Remove all DONE issues and renumber remaining issues within each prefix group. Not for editing live issue content, archiving still-open issues, or moving issues between prefix groups.