Workflow Closeout
Use this skill only at the end of a substantial skill-guided workflow, PR, cflx phase, or review cycle. Do not run it for routine tiny/small tasks with no meaningful workflow signals; still run it when CI, GitHub/CodeRabbit/human review, missed-use, repeated friction, PR/review-cycle, cflx phase, or skill-change evidence exists.
Core principle: log broadly, change narrowly, validate deterministically, and prefer simplification over added process.
Default loop
- Collect signals: CI, GitHub/CodeRabbit/human review, self-review, gate failures, follow-ups, and user friction.
- Classify each signal: real miss, false positive, preference, unclear instruction, process friction, repeated pattern, or regression.
- Decide the smallest intervention:
- no skill change, just log the signal
- delete, trim, or clarify an existing step
- edit a Mermaid decision diagram
- add or update a deterministic eval
- update an existing reviewer lens/persona
- add a helper script/reference
- create a new targeted persona only after repeated evidenced misses
- Apply maturity thresholds: stable high-success skills need stronger evidence than draft or recently changed skills.
- Log usage or missed-use events when they are relevant to cross-repo learning.
- Before changing workflow skills, run static validation, behavioral evals, evidence/maturity validation, and adversarial review from GPT 5.5 plus Opus 4.7 when available.
- Record outcome: accepted, rejected, deferred, follow-up, or eval-added.
Context funnel
Read references only when needed:
references/learning-loop.md: signal taxonomy, logging, and promotion flow.
references/maturity-model.md: evidence thresholds for draft, recent, stable, high-success, and needs-repair skills.
references/storage-and-usage.md: global versus project-local storage, eval run summaries, usage events, missed-skill analysis, and candidate-skill signals.
assets/closeout-loop.mmd: compact Mermaid closeout flow.
scripts/append-learning.py: append a validated workflow learning JSONL record.
scripts/log-usage.py: append a cross-repo skill usage, missed-use, or candidate event.
scripts/validate.sh: behavioral contract checks for this skill.
Rules
- Do not add process for one-off preferences or false positives.
- Do not create a new reviewer persona unless repeated evidenced misses cannot fit an existing lens.
- Prefer removal, consolidation, clarification, or diagram edits before adding references or steps.
- Treat external review findings as learning signals, not automatic skill changes.
- Do not force every activity into a skill. Prefer skills for repeated, non-obvious, high-value, or safety-critical workflows.
- Any skill update from a learning must pass
.validate-workflow-skills.sh and adversarial review.
1---2name: workflow-closeout3description: End-of-workflow learning loop for skill-guided work. Use at session/checkpoint closeout to classify GitHub/CodeRabbit/human/CI findings, log missed-review patterns, and propose skill improvements only when evidence justifies them.4---56# Workflow Closeout78Use this skill only at the end of a substantial skill-guided workflow, PR, cflx phase, or review cycle. Do not run it for routine tiny/small tasks with no meaningful workflow signals; still run it when CI, GitHub/CodeRabbit/human review, missed-use, repeated friction, PR/review-cycle, cflx phase, or skill-change evidence exists.910Core principle: log broadly, change narrowly, validate deterministically, and prefer simplification over added process.1112## Default loop13141. Collect signals: CI, GitHub/CodeRabbit/human review, self-review, gate failures, follow-ups, and user friction.152. Classify each signal: real miss, false positive, preference, unclear instruction, process friction, repeated pattern, or regression.163. Decide the smallest intervention:17 1. no skill change, just log the signal18 2. delete, trim, or clarify an existing step19 3. edit a Mermaid decision diagram20 4. add or update a deterministic eval21 5. update an existing reviewer lens/persona22 6. add a helper script/reference23 7. create a new targeted persona only after repeated evidenced misses244. Apply maturity thresholds: stable high-success skills need stronger evidence than draft or recently changed skills.255. Log usage or missed-use events when they are relevant to cross-repo learning.266. Before changing workflow skills, run static validation, behavioral evals, evidence/maturity validation, and adversarial review from GPT 5.5 plus Opus 4.7 when available.277. Record outcome: accepted, rejected, deferred, follow-up, or eval-added.2829## Context funnel3031Read references only when needed:3233- `references/learning-loop.md`: signal taxonomy, logging, and promotion flow.34- `references/maturity-model.md`: evidence thresholds for draft, recent, stable, high-success, and needs-repair skills.35- `references/storage-and-usage.md`: global versus project-local storage, eval run summaries, usage events, missed-skill analysis, and candidate-skill signals.36- `assets/closeout-loop.mmd`: compact Mermaid closeout flow.37- `scripts/append-learning.py`: append a validated workflow learning JSONL record.38- `scripts/log-usage.py`: append a cross-repo skill usage, missed-use, or candidate event.39- `scripts/validate.sh`: behavioral contract checks for this skill.4041## Rules4243- Do not add process for one-off preferences or false positives.44- Do not create a new reviewer persona unless repeated evidenced misses cannot fit an existing lens.45- Prefer removal, consolidation, clarification, or diagram edits before adding references or steps.46- Treat external review findings as learning signals, not automatic skill changes.47- Do not force every activity into a skill. Prefer skills for repeated, non-obvious, high-value, or safety-critical workflows.48- Any skill update from a learning must pass `.validate-workflow-skills.sh` and adversarial review.