dart-retro
Use this skill in Codex to run the DART dart-retro workflow. The editable
workflow source lives in .claude/commands/; this file is its generated adapter
in the shared .agents/skills/ catalog.
Invocation
- Claude Code:
/dart-retro <arguments>
- Codex:
$dart-retro <arguments>
Treat the text after the skill name as $ARGUMENTS. When the workflow
references $1, $2, etc., map those to the positional values supplied by the
user.
Command Body
Improve future task execution through a retrospective: $ARGUMENTS
Use the original request and session evidence to improve the harness for future
similar tasks: better quality, completeness, or efficiency. Successful,
unsatisfactory, incomplete, and blocked outcomes qualify. PR merge and dev-task
retirement do not alone establish that the user's goal was met.
Required Reading
@AGENTS.md
@docs/AGENTS.md
@docs/ai/principles.md
@docs/ai/components.md
@docs/ai/verification.md
Load task owners as needed. Read docs/onboarding/ai-tools.md for tool/runtime
questions and before controlled agent runs. docs/ai/components.md owns
placement of accepted learnings; this workflow owns the retrospective method.
Skip If
Conclude without harness edits when the evidence supports no reusable
improvement: existing guidance already covers the lesson and is discoverable,
the finding is task-specific, or no change has a supported benefit. State why
and report missing evidence; success, failure, or a merged PR alone is not a
skip condition.
Workflow
- Reconstruct intent and outcome. Default to the current session. Compare
the initial request and later scope decisions with artifacts and results.
Inspect relevant history around decisions, corrections, and failures,
including substantive domain work before CI/review/closeout. State missing
evidence; do not load every log by default.
- Find the harness contribution. Connect useful decisions, rework, missed
requirements, and wasted context/tool cycles to instructions, routing, tools,
or gates. Separate observations from inferred causes, implementation bugs,
and external blockers. Check existing owners and executable coverage before
proposing rules; investigate why existing guidance was missed.
- Choose a testable improvement. State the observed decision, causal gap,
owner, and what an agent starting from the same brief should do differently.
Name the expected benefit, a check that could disprove it, and successful
constraints to preserve.
- Improve existing owners. Prefer removal, consolidation, or rewriting to
appending rules or files; repair discovery when guidance already exists.
Follow
docs/ai/components.md for placement and adapter regeneration. Keep
session identifiers out of durable guidance. Preserve model/effort/action
limits; a retrospective does not reopen the original implementation or
authorize new GitHub mutations.
- Validate proportionately. For consequential instruction changes, replay
the observed decision and a contrasting similar task; use fresh controlled
agents when permitted and useful. Distinguish structural checks, predicted
benefits, and measured outcomes. Run the relevant gates in
docs/ai/verification.md and pixi run lint before committing.
Output
- Original intent, actual outcome, and material session evidence
- Accepted/rejected harness changes, expected future behavior, and owner files
- Validation results, measured benefits or limits, and remaining work
1---2name: dart-retro3description: DART Retro: improve the AI harness from successful or unsatisfactory task outcomes4---56<!-- AUTO-GENERATED FILE - DO NOT EDIT MANUALLY -->7<!-- Source: .claude/commands/dart-retro.md -->8<!-- Sync script: scripts/sync_ai_commands.py -->9<!-- Run `pixi run sync-ai-commands` to update -->1011# dart-retro1213Use this skill in Codex to run the DART `dart-retro` workflow. The editable14workflow source lives in `.claude/commands/`; this file is its generated adapter15in the shared `.agents/skills/` catalog.1617## Invocation1819- Claude Code: `/dart-retro <arguments>`20- Codex: `$dart-retro <arguments>`2122Treat the text after the skill name as `$ARGUMENTS`. When the workflow23references `$1`, `$2`, etc., map those to the positional values supplied by the24user.2526## Command Body2728Improve future task execution through a retrospective: $ARGUMENTS2930Use the original request and session evidence to improve the harness for future31similar tasks: better quality, completeness, or efficiency. Successful,32unsatisfactory, incomplete, and blocked outcomes qualify. PR merge and dev-task33retirement do not alone establish that the user's goal was met.3435## Required Reading3637@AGENTS.md38@docs/AGENTS.md39@docs/ai/principles.md40@docs/ai/components.md41@docs/ai/verification.md4243Load task owners as needed. Read `docs/onboarding/ai-tools.md` for tool/runtime44questions and before controlled agent runs. `docs/ai/components.md` owns45placement of accepted learnings; this workflow owns the retrospective method.4647## Skip If4849Conclude without harness edits when the evidence supports no reusable50improvement: existing guidance already covers the lesson and is discoverable,51the finding is task-specific, or no change has a supported benefit. State why52and report missing evidence; success, failure, or a merged PR alone is not a53skip condition.5455## Workflow56571. **Reconstruct intent and outcome.** Default to the current session. Compare58 the initial request and later scope decisions with artifacts and results.59 Inspect relevant history around decisions, corrections, and failures,60 including substantive domain work before CI/review/closeout. State missing61 evidence; do not load every log by default.622. **Find the harness contribution.** Connect useful decisions, rework, missed63 requirements, and wasted context/tool cycles to instructions, routing, tools,64 or gates. Separate observations from inferred causes, implementation bugs,65 and external blockers. Check existing owners and executable coverage before66 proposing rules; investigate why existing guidance was missed.673. **Choose a testable improvement.** State the observed decision, causal gap,68 owner, and what an agent starting from the same brief should do differently.69 Name the expected benefit, a check that could disprove it, and successful70 constraints to preserve.714. **Improve existing owners.** Prefer removal, consolidation, or rewriting to72 appending rules or files; repair discovery when guidance already exists.73 Follow `docs/ai/components.md` for placement and adapter regeneration. Keep74 session identifiers out of durable guidance. Preserve model/effort/action75 limits; a retrospective does not reopen the original implementation or76 authorize new GitHub mutations.775. **Validate proportionately.** For consequential instruction changes, replay78 the observed decision and a contrasting similar task; use fresh controlled79 agents when permitted and useful. Distinguish structural checks, predicted80 benefits, and measured outcomes. Run the relevant gates in81 `docs/ai/verification.md` and `pixi run lint` before committing.8283## Output8485- Original intent, actual outcome, and material session evidence86- Accepted/rejected harness changes, expected future behavior, and owner files87- Validation results, measured benefits or limits, and remaining work