Append a learning entry to AGENTS_LEARNING.md when an AI agent makes a mistake. Auto-activates after a pre-write audit auto-fix, a retrospective correction loop, or a mid-session user correction. Use when: mistake, wrong, correction, my bad, agent error, learning log.
78%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.github/skills/common/common-learning-log/SKILL.mdWrite structured mistake entry to AGENTS_LEARNING.md in project root before retrying any corrected action.
Pre-write violation — common-feedback-reporter violation block emitted with Auto-fixed: YESUser correction — user used correction language mid-sessionSession retrospective — correction loop found during common-session-retrospectiveAGENTS_LEARNING.md — count existing ## Agent Learning Log: Iteration headers → Nproposed, never approved| Correction shape | Mechanism | Evidence required |
|---|---|---|
| Mechanical violation a deterministic rule can catch (forbidden import, naming, schema shape, duplicate export) | Lint rule, schema, or static check | Rule id + failing fixture that the check rejects |
| Behavioral defect reproduced by a scenario (wrong retry order, stale state, broken rollback) | Regression test | Named test that fails before the fix and passes after |
| Judgment, routing, or authoring quality that only a graded sample can distinguish | Held-out evaluation case | Eval id + recorded baseline/candidate outcome |
| Runtime permission, sandbox, or tool-contract failure | Runtime control (host config, approval policy, adapter contract) | Config change reference and observed control outcome |
| Genuine explanatory gap no check can encode | Concise guidance, only after deterministic options fail | Authorization reference + independent review |
Instruction files (AGENTS.md/CLAUDE.md) are one guidance destination, not the default sink. Editing them requires explicit maintenance authorization and the same review as code.
session, project, registry) and candidate IDimprovement_id; a second occurrence of the same root cause adds evidence to that item instead of writing a second ruleproposed. It NEVER triggers automatic instruction-file (CLAUDE.md/AGENTS.md) or policy promotion"I made a mistake" → name specific pattern or rule violatedproposed; promotion requires independent maintainer review.When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
Append to AGENTS_LEARNING, append
AGENTS_LEARNING.md
Iteration
improvement item
Additional task-grounded exact anchors: Pre-write; trigger
HoangNguyen0403/agent-skills-standard
cd1e988
Also appears in
since Sep 24, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.