skills/debrief/SKILL.md
Use for debriefs or saved findings/reports from the current task. Creates `.ai/debriefs/<slug>/index.html`; `--md` writes `index.md` instead.
npx skillsauth add paulrberg/dot-agents debriefInstall 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.
Persist the current task's findings as a self-contained, interactive HTML debrief at ./.ai/debriefs/<slug>/index.html. Pick a slug from the user's task, build the page using the playground skill's conventions, and pre-populate it with concrete findings drawn from the transcript. Pass --md to emit a plain Markdown report at ./.ai/debriefs/<slug>/index.md instead; Markdown mode does not require the playground skill.
<slug> (optional): kebab-case folder name, e.g. auth-security-review. If omitted, derive a topical slug from the task — short (3-5 words), lowercase, dash-separated.--md (optional): emit a Markdown report at <debriefs_dir>/index.md instead of HTML. Disables the playground dependency.The playground skill is required only for HTML mode (the default). With --md, this skill has no external dependencies. scripts/prepare.sh probes for playground only when building HTML; if missing it prints the install command and exits non-zero. Manual install:
npx skills add anthropics/skills --skill playground --global
$ARGUMENTS if provided.auth-security-review, bundle-size-analysis, tailwind-v4-migration, lcp-regression-q1. Avoid generic names (report, findings, debrief, output).^[a-z0-9]([a-z0-9-]*[a-z0-9])?$ — the helper script enforces this.Run from the skill directory:
bash scripts/prepare.sh [--md] <slug>
The script:
.agents/skills/playground, .claude/skills/playground, ~/.agents/skills/playground, ~/.claude/skills/playground. In --md mode the probe is skipped entirely.2 with the install command if playground is missing in HTML mode — relay the message verbatim and stop../.ai/debriefs/<slug>/.KEY=VALUE lines on stdout: MODE, PLAYGROUND_DIR, DEBRIEFS_DIR, DEBRIEF_PATH, EXISTS. PLAYGROUND_DIR is empty when MODE=md; DEBRIEF_PATH ends in index.md instead of index.html.If EXISTS=true, ask the user before continuing: overwrite or pick a new slug.
Skip this step when --md is set.
Read $PLAYGROUND_DIR/SKILL.md, then load one template under $PLAYGROUND_DIR/templates/ whose shape best fits the debrief:
| Debrief shape | Template |
| ------------------------------- | ---------------------- |
| Code review / audit findings | diff-review.md |
| Document or spec critique | document-critique.md |
| Architecture / codebase tour | code-map.md |
| Learning, scope, knowledge gaps | concept-map.md |
| Data / query exploration | data-explorer.md |
| Visual / design decisions | design-playground.md |
Read only the chosen template — don't load all six. If nothing fits cleanly, pick the closest and adapt; do not invent a new template.
Write a single HTML file to $DEBRIEF_PATH that satisfies playground core requirements:
For larger payloads, embed findings as a JS array literal inside one inline <script> at the top of the file.
--md)Write a single Markdown file to $DEBRIEF_PATH. Recommended skeleton:
# <Slug in Title Case>
<One- or two-sentence summary of what was investigated and the headline takeaway.>
## Findings
### <Finding title> — severity: high|medium|low
- **File:** `path/to/file.ts:42`
- **Issue:** <one-line description>
```ts
// minimal snippet showing the issue
```
**Suggestion:** <concrete fix>.
## Next steps
- [ ] <actionable item>
Rules:
$DEBRIEFS_DIR/ if needed.After writing $DEBRIEF_PATH, open it in the user's default browser. Run this unconditionally — do not skip, prompt, or wait for confirmation:
open "$DEBRIEF_PATH"
Then print the absolute $DEBRIEF_PATH so the user can locate it.
A self-contained HTML debrief at ./.ai/debriefs/<slug>/index.html that:
With --md, the output is instead a plain Markdown report at ./.ai/debriefs/<slug>/index.md containing the same findings without the interactive UI.
./.ai/debriefs/<slug>/. Never write elsewhere..ai/debriefs/ to .gitignore if debriefs shouldn't be committed.testing
Use ONLY to check or update the project-scoped agent skills installed under .agents/skills so they match the current state of the repo. Do not trigger for creating, finding, or installing skills, or for README/AGENTS.md updates.
testing
Use when CSV, TSV, or Excel (.xlsx) is the primary input/output: inspect, clean, transform, dedupe, merge, validate, convert, recalc formulas, or create/fix spreadsheets. Do not trigger when tabular data is incidental.
testing
Use only when explicitly asked to archive/prune/compact/roll over checked tasks from TODO.md into `.ai/todos/TODO_UNTIL_YYYY_MM_DD.md`, leaving unchecked tasks.
development
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.