claude-skills/engineering/skill-retro/commands/cs-skill-retro.md
Claude a43dc35e11
refactor(engineering): rename skill-doctor to skill-retro
Claude Code 2.1.314 ships a built-in /skill-doctor, and our plugin skill
of the same name hid it. Rename the plugin, skill, agent (cs-skill-retro)
and command (/cs-skill-retro); update the marketplace, the Codex, Gemini,
Vibe and Hermes mirrors, docs pages, harness manifest, eval cases and
listing baseline. Upstream (warpdotdev) attribution keeps its original
name. Add skill-doctor and three other bundled skills to the G-names
reserved list, a CHANGELOG migration note and README deviation 24.
Bump changed plugins to 2.14.6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFLDu2gf1Jru9svgJHW
2026-10-31 06:16:19 +00:00

2.2 KiB

disable-model-invocation description argument-hint
true Grade the agent setup from real local session history — rubric-scored, evidence-gated, rendered as one local shareable report. [optional: --repo PATH | --days N | --harness claude|codex | a question about the setup]

/cs-skill-retro

Run the skill-retro pass with $ARGUMENTS (pass any --repo, --days, --harness, --include-subagents flags through to the collector).

Load engineering/skill-retro/skills/skill-retro/SKILL.md and follow it exactly. Summary of the contract:

Pre-flight

  1. Confirm the target repo — the report is scoped to one repo's skills and the sessions that ran inside it. Run from that repo or pass --repo.
  2. State the privacy contract up front: everything runs locally, transcripts are redacted before they touch disk, nothing is uploaded.
  3. Create the scratch dir: RUN="$(mktemp -d "${TMPDIR:-/tmp}/skill-retro-XXXXXXXX")".

Pipeline

python ${CLAUDE_PLUGIN_ROOT}/skills/skill-retro/scripts/collect_sessions.py --out "$RUN" $ARGUMENTS
python ${CLAUDE_PLUGIN_ROOT}/skills/skill-retro/scripts/score_aggregator.py --inventory "$RUN/inventory.json" --emit-template > "$RUN/session_scores.json"
# ... judge each transcript against scorers/, fill the template, draft suggestions ...
python ${CLAUDE_PLUGIN_ROOT}/skills/skill-retro/scripts/score_aggregator.py --inventory "$RUN/inventory.json" --scores "$RUN/session_scores.json" --suggestions "$RUN/suggestions.json"
python ${CLAUDE_PLUGIN_ROOT}/skills/skill-retro/scripts/render_report.py --report "$RUN/report.json"

If sessions_sampled is 0, stop and tell the user (suggest --days 90). If the aggregator exits 4, fix what it names and re-run — never bypass it. Report every non-zero exit code as a finding, not an error to swallow.

Output

Tell the user, in text: the letter grade, the three top findings, how many secrets were redacted, and the suggestion count (zero is a valid success — say why per finding). Then link the local report:

  • Your quality report: file://$RUN/report.html (print to PDF to share)

Finally ask: "Want me to apply any of these proposed diffs to your real skills?" — and apply only on an explicit per-skill yes.