/self-learning
MUST activate on: execution failure/error, mistake, wrong/unexpected result, expected≠actual mismatch, 2 consecutive mismatches, unhappy/upset user, user asks why something failed/didn't work.
$ npx -y skills add griddynamics/rosetta --skill self-learning --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/self-learning
Context preview
The summary Claude sees to decide when to auto-load this skill.
MUST activate on: execution failure/error, mistake, wrong/unexpected result, expected≠actual mismatch, 2 consecutive mismatches, unhappy/upset user, user asks why something failed/didn't work.
SKILL.md
self-learning.SKILL.mdname: self-learning
description: "MUST activate on: execution failure/error, mistake, wrong/unexpected result, expected≠actual mismatch, 2 consecutive mismatches, unhappy/upset user, user asks why something failed/didn't work."
<self_learning>
<process>
On failure or mismatch — also: user asks why something didn't work · 3+ errors in quick succession · retrying same approach without progress · drift from agreed plan/scope · large change without full understanding:
1. STOP all changes immediately. NO "one more try". 2. Identify root cause — not symptoms. Understand BEFORE replanning. 3. Ask 1-3 clarifying questions if ambiguous. 4. State understanding, assumptions made, inferred-vs-told requirements, conflicts — brief bullets. 5. Wait for explicit user confirmation; let the user redirect.
Memory:
6. Consult AGENT MEMORY.md during planning. 7. Init if missing; prefer agent memory over task memory. 8. Convert root causes into GENERALIZED, REUSABLE preventive rules — not incident-specific notes. 9. Store in AGENT MEMORY.md concisely and organized. 10. Record what worked and failed logically, architecturally, and technically. 11. Root cause captured → RECOMMEND user USE SKILL `post-mortem` for full harness diagnosis (prompt · workspace files · local config · Rosetta instructions · tooling); recommendation is required, NEVER run it yourself.
</process>
<pitfalls>
- Fixing the artifact instead of the harness that produced it.
- Storing incident notes instead of generalizable rules.
- "Let me try one more thing" — the opposite of stopping.
- Proposing a new plan immediately — understand first.
- Apologizing excessively instead of regrouping efficiently.
- Auto-invoking `post-mortem` instead of recommending it to the user.
</pitfalls>
</self_learning>
Read more
name: self-learning description: "MUST activate on: execution failure/error, mistake, wrong/unexpected result, expected≠actual mismatch, 2 consecutive mismatches, unhappy/upset user, user asks why something failed/didn't work."
<self_learning>
<process>
On failure or mismatch — also: user asks why something didn't work · 3+ errors in quick succession · retrying same approach without progress · drift from agreed plan/scope · large change without full understanding:
1. STOP all changes immediately. NO "one more try". 2. Identify root cause — not symptoms. Understand BEFORE replanning. 3. Ask 1-3 clarifying questions if ambiguous. 4. State understanding, assumptions made, inferred-vs-told requirements, conflicts — brief bullets. 5. Wait for explicit user confirmation; let the user redirect.
Memory:
6. Consult AGENT MEMORY.md during planning. 7. Init if missing; prefer agent memory over task memory. 8. Convert root causes into GENERALIZED, REUSABLE preventive rules — not incident-specific notes. 9. Store in AGENT MEMORY.md concisely and organized. 10. Record what worked and failed logically, architecturally, and technically. 11. Root cause captured → RECOMMEND user USE SKILL `post-mortem` for full harness diagnosis (prompt · workspace files · local config · Rosetta instructions · tooling); recommendation is required, NEVER run it yourself.
</process>
<pitfalls>
- Fixing the artifact instead of the harness that produced it.
- Storing incident notes instead of generalizable rules.
- "Let me try one more thing" — the opposite of stopping.
- Proposing a new plan immediately — understand first.
- Apologizing excessively instead of regrouping efficiently.
- Auto-invoking `post-mortem` instead of recommending it to the user.
</pitfalls>
</self_learning>
Repo: griddynamics/rosetta
Other skills on rosetta.
- /collect-github-stats
Collect GitHub repo health/usage stats into merged JSON.
Open skill - /compress-prompt
Compress a Rosetta KB prompt artifact (skill · workflow · phase · rule · agent · template · generic) by stripping structural tautology and ineffective scaffolding while preserving every importance-bearing token. Use when the user asks to compress, shorten, tighten, densify, or
Open skill - /documentation
To write, design, review, simplify, restructure, or standardize OSS project documentation
Open skill - /merge-main
To merge main branch, exact context and instructions
Open skill - /sync-web-site
To synchronize web site with changes made to local *.md files
Open skill - /update-change-log
To synchronize CHANGELOG.md with changes made last week (mon - sun)
Open skill

