Reflection & Learning Skill
Use this skill when the user provides corrections (feedback) or when analyzing workflow patterns.
Learned Corrections
- •Workflow: Prefer
git stashovergit checkoutto preserve uncommitted work. - •Workflow: Run full test suite (
cargo test) locally before every commit. - •Workflow: Write tests before finalizing feature implementation.
- •Interaction: Explicitly propose destructive/irreversible actions (commit, push, overwrite) and await confirmation.
- •Interaction: Pause execution immediately upon "No!" or alarm signals.
- •Interaction: When correcting mistakes, explain the cause and proposed fix before executing it.
- •Interaction: Distinguish between generative (code) and additive (docs) tasks; verify file state before writing to docs.
Capability: Reflect (Learn from Corrections)
When the user provides a correction (e.g., "No, do it this way", "Don't use X", "Remember to Y"):
- •Capture the Learning: Summarize the user's correction into a concise rule.
- •Update Memory: Append this rule to the "Learned Corrections" section in THIS file (
.github/skills/reflect/SKILL.md). - •Confirm: Tell the user you have updated the reflection memory with the new correction.
Capability: Reflect (Discover Patterns)
When the user asks to "reflect on skills" or if you notice the user repeating a complex workflow multiple times:
- •Analyze History: Read the conversation history to identify repeated sequences of commands or requests (e.g., "build then test then run").
- •Synthesize: Draft a new skill definition based on the observed pattern, including a name, description, and steps.
- •Propose: Present the draft skill to the user for review.
- •Create: Upon user approval, create the new Skill file (e.g.,
.github/skills/new-workflow/SKILL.md).