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/agent-skills 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.
development
This skill should be used when the user asks to consult Codex/GPT for planning or code review, or wants a second opinion on code. Trigger phrases include "ask Codex", "consult Codex", "second opinion on code", "consult the oracle". NOT for implementation tasks.
databases
This skill should be used when the user asks to create a monochrome technical diagram, schematic, or systems/architecture diagram in black-and-white line-art style. Trigger phrases include "create a diagram", "monochrome diagram", "systems diagram", "draw a schematic".