codex/skills/spec-retro/SKILL.md
Mine historical Codex sessions, plans, reports, and workflows to improve future spec automation. Use for `$spec-retro`, learn from my past planning, mine plan churn, update exemplar library, derive automation from past practice, spec telemetry, receipt metrics, or which historical sessions should tune this spec workflow.
npx skillsauth add tkersey/dotfiles spec-retroInstall 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.
Drive future automation from observed practice instead of generic process advice.
The highest-value retrospective output is not more process language. It is a small set of gate rules, lint rules, receipt fields, churn triggers, and exemplar patterns that can be encoded into skills/scripts.
Use any available:
$grill-me snapshots;$plan outputs;$spec-pipeline outputs;.learnings.jsonl;seq query results.spec_exemplars:
- id:
label: ordinary_clean_spec | ambition_escalation | invariant_challenge | plan_churn_warning | mode_boundary | no_grill_fast_path | subagent_fanout_warning
source:
trigger:
good_pattern:
failure_pattern:
reusable_gate:
suggested_skill_update:
If given plan files or session excerpts, use:
python codex/skills/spec-retro/scripts/spec_churn_detect.py plan-*.md
The script looks for title drift, repeated replacement language, high iteration markers, many open questions, objective-changing Round Delta text, repeated blocked states, high subagent counts, and campaign-mode triggers.
SPEC RETRO
positive_exemplars:
warning_exemplars:
automation_rules:
gate_updates:
lint_updates:
receipt_updates:
subagent_budget_updates:
question_generator_updates:
next_measurement_plan:
Do not mutate skill files unless the user explicitly asks for edits.
testing
Use before local patching when bugs, regressions, malformed state, crashes, parser failures, migrations, cache drift, protocol problems, compatibility requests, tolerant readers, fallbacks, coercions, retries, catch-and-continue logic, or local workarounds may broaden accepted invalid state.
testing
Use for bug reports, PR/issue prose, reviewer comments, user diagnoses, generated summaries, memories, retrieved context, public tracker context, claimed root causes, proposed fixes, fake-minimal repro risk, or any investigation where natural-language context could anchor the implementation scope.
development
Use when non-trivial work needs Challenge Escalation, latent-intelligence activation, frame-market selection, doctrine operators, dominant-move selection, ablation/surface-tax judgment, reification, review comment law, negative capability, route receipts, or proof-bearing refusal to mutate.
development
Apply Algebra-Driven Design. Use for ADD, denotational design, combinator models, law-driven architecture, domain algebra, property tests, codebase modeling, event sourcing, workflow design, or agentic skill design. If the canonical bundle is unavailable, use this wrapper as the minimal ADD kernel and report the missing bundle path.