/superskills:debrieffrom Superskills
Reviews the current session to extract lessons, classifies them by destination (skill edit, new skill, project rule, memory note, script, or hook), and checks existing skill coverage before proposing changes.
Ships in Superskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A session produces lessons. Most are trivia, a few deserve a permanent home. This skill separates them and says where each one goes. It proposes; you decide.
Announce at start: "I'm using the debrief skill to review this session."
Check visibility without printing remote URLs, which can embed credentials:
run gh repo view --json visibility -q .visibility 2>/dev/null. If that fails,
run git remote get-url origin | sed -E 's#//[^@/]*@#//#' to see the host and
repo with any credentials removed, and judge from that. If visibility still
cannot be determined, say "unknown, treat as public". For a public repo,
nothing goes into a tracked file that is session-specific (ticket numbers,
dates, outages, client names, plans, research, private paths) or that
describes the project's own internals (how its code works, its private rules).
Those lessons go to untracked local notes or private memory only. Only
lessons true in any project may be proposed for a tracked file. Say which
case applies before proposing anything.
Work from this session's own history. List at most five of each, one line each: a decision that paid off, a mistake that cost time, a correction the user gave, a step that was repeated by hand. Skip anything that only mattered to this one task. Never quote session or transcript text into a proposal: it can hold secrets, tokens or client names. Describe the lesson in your own words.
A lesson stays if it will recur and is not obvious from the code or docs. One-offs and facts the repo already records are dropped, and you say that you dropped them.
For each lesson that stays, ask whether a skill already covers it. The overlap
tool (skill_overlap.py query) lives in the superskills repo, not the working directory. Find the repo
the way /superskills-doctor does and run the lookup in a single Bash
call, since separate calls do not share shell variables.
LESSON_FILE=/absolute/path/lesson.txt # written with the file tool beforehand
NAME=debrief
WANT=scripts/skill-census/skill_overlap.py
SKILL_DIR="${SKILL_DIR:-}" # set to this skill's base directory when the host provides it
case "$SKILL_DIR" in /*) : ;; *) SKILL_DIR="" ;; esac # only an absolute path is trusted, never resolved against the cwd
ROOT=""
for cand in "${SKILL_DIR:+$SKILL_DIR/../..}" "${CLAUDE_PLUGIN_ROOT}"; do
[ -n "$cand" ] && [ -f "$cand/$WANT" ] && { ROOT="$(cd "$cand" && pwd -P)"; break; }
done
if [ -z "$ROOT" ]; then
# What ./setup creates: Claude Code and ZCode link SKILL.md, OpenCode links it under a
# superskills- prefix, Codex links the whole skill folder (so SKILL.md itself is no symlink).
for probe in "$HOME/.claude/skills/$NAME/SKILL.md" \
"$HOME/.codex/skills/$NAME/SKILL.md" \
"$HOME/.config/opencode/skills/superskills-$NAME/SKILL.md" \
"$HOME/.config/opencode/skills/$NAME/SKILL.md" \
"$HOME/.zcode/skills/$NAME/SKILL.md"; do
# Only a file that resolves to a real path counts; never fall back to the cwd.
[ -f "$probe" ] || continue
real="$(readlink -f "$probe" 2>/dev/null || perl -MCwd=realpath -e 'print realpath($ARGV[0])' "$probe")"
if [ -n "$real" ] && [ -f "$real" ]; then
ROOT="$(cd "$(dirname "$real")/../.." 2>/dev/null && pwd -P)"
[ -f "$ROOT/$WANT" ] && break
ROOT=""
fi
done
fi
if [ -z "$ROOT" ]; then echo "CENSUS=missing"; else
CENSUS="$ROOT/scripts/skill-census"
echo "ROOT=$ROOT"
# One lesson per run. The lesson is read from a file you wrote with the Write
# tool, so no shell ever parses its text.
python3 -I "$CENSUS/skill_overlap.py" query "$ROOT" --stdin --top 3 < "$LESSON_FILE"
fi
The locate block above is intentionally duplicated in /superskills-doctor, /debrief and /prune-skills (a skill needs the repo path before it can source anything); tests/locate-block.bats keeps the three identical.
Before the Bash call, write the lesson (one sentence) to a scratch file with the
file-writing tool, not the shell, and put its absolute path on the first line of
the block as LESSON_FILE=/absolute/path/lesson.txt. For several lessons, write
one file each and repeat the python3 line with each path. Never put lesson
text on the command line or in a here-document.
If it prints CENSUS=missing, say the lookup tool could not be found and
continue with the manual read below. Do not invent scores.
Overlap has low recall. It is a coarse word-match score, and real
neighbours such as qa-full and basic-review score only about 0.09. An
empty or weak result does NOT mean no skill covers the lesson. Before you
propose a new skill, also read the name and description lines of candidate
skills under skills/ and design-skills/ yourself, and judge. Prefer
extending an existing skill over adding one. If a skill scores high, read it
before deciding; the score is a hint, not proof.
/skillify.CLAUDE.md or AGENTS.md./update-config. Do not edit settings.json here.Each proposal says what changes, where, and why, in two short lines.
This skill proposes only. Never write a file before the user says yes to that
item, and never create, edit or delete a skill without an explicit yes for it.
After a yes, make the edit, then tell the user what gates apply: a change to a
skill's description or body is a behaviour change, so run /eval before
pushing; ./scripts/lint-skills.sh and ./tests/run.sh must pass.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ariadoss/superskills --plugin superskills48 skills in this plugin
/a11yAccessibility audit for frontend changes — WCAG 2.2 AA, screen-reader
compatibility, keyboard navigation, focus management, ARIA correctness, color
contrast, and reduced-motion. Static diff-scoped analysis (safe to auto-run) plus
an optional dynamic axe pass against a running app. Use when asked to "check
accessibility", "a11y audit", "screen reader check", "WCAG", "is this
accessible", "keyboard navigation", "ARIA review", or after heavy frontend work.
/articleExtract clean article content from URLs (blog posts, articles, tutorials) and save as readable text. Use when user wants to download, extract, or save an article/blog post from a URL without ads, navigation, or clutter./basic-reviewRead-only correctness review of pending changes, needing no external
install: correctness, security, reliability/performance and contract risk,
each finding cited as file:line with why it is wrong and a fix. The fallback
when gstack's /review is unavailable (not installed, or its install is
broken); /qa-full and /daily-qa call it automatically then. Applies a
vendored copy of gstack's pre-landing checklist. Use when asked for
a "basic review", a "quick review without gstack", or a review in a tool where
/review is missing. Not for quality cleanups (use /clean-code), and not the
first choice when /review is installed: /review goes deeper and applies fixes.
Other plugins' skills for the same job