Loading...
Loading...
This skill should be used when a developer wants to capture learnings from a difficult session, record what Claude got wrong, save implementation gotchas, or update the steering docs with hard-won knowledge — for example "let's reflect", "capture what we learned", "that was painful, save this", "update the steering docs with what went wrong", "I need to debrief", "what went wrong today", "log this lesson", "save this gotcha", "document this mistake", "I want to write this down before I forget", "add this to the steering docs", or when prompted by the intervention tracker after multiple corrections. Routes each learning into the right steering doc (TECH, QA, DESIGN, or VISION) under a "Hard-Won Lessons" section.
npx skill4agent add xiduzo/wtf wtf.reflecthooks/track-interventions.shUserPromptSubmit/tmp/wtf-interventions-$(whoami)-$(basename "$(git rev-parse --show-toplevel 2>/dev/null)")reflectls docs/steering/ 2>/dev/nullTECH.mdQA.mdDESIGN.mdVISION.mdAskUserQuestionquestionheaderoptions[{label: "Create them now", description: "Run the steer-* skills to set up the docs"}, {label: "Skip — just capture notes", description: "Save all learnings to docs/steering/LEARNINGS.md instead"}]steer-techsteer-techlsdocs/steering/LEARNINGS.mddocs/steering/LEARNINGS.mdgit log --oneline -10AskUserQuestionquestionheaderoptions{label: "Something else", description: "I'll type it"}{label: "Nothing — skip", description: "Session went smoothly"}questionheaderoptions[{label: "Yes — describe it", description: "I'll tell you what it kept doing"}, {label: "No recurring mistakes", description: "One-off issues only"}]AskUserQuestionquestionheaderoptions[{label: "I'll type the rule", description: "Free text"}, {label: "Skip", description: "Hard to articulate right now"}]questionheaderoptions{label: "I'll write it", description: "Free text"}{label: "Skip this one", description: "Nothing to add"}| Learning type | Target doc |
|---|---|
| Architecture pattern, implementation gotcha, AI coding mistake | |
| Test failure pattern, flaky test cause, QA gap | |
| Design inconsistency, component misuse, style mistake | |
| Scope confusion, priority conflict, domain language drift | |
| Doesn't clearly fit one doc | |
docs/steering/LEARNINGS.md# Overflow Learnings## Hard-Won Lessons<!-- MANUAL ADDITIONS START -->- **[Short label]** — [Concrete rule or observation]. *Learned [YYYY-MM-DD].*- **Don't mock the auth middleware in tests** — Three tests passed with mocks but failed in CI against the real service. Always integrate against real dependencies. *Learned 2026-03-24.*git add docs/steering/
git commit -m "docs(steering): add hard-won lessons from $(date +%Y-%m-%d) session"echo "0" > /tmp/wtf-interventions-$(whoami)-$(basename "$(git rev-parse --show-toplevel 2>/dev/null)")