skill-maintenance
/skill-maintenance
Use when an agent mistake is caught — by the compiler, a test, code review or a human correction — and the same mistake could happen again. Turns the correction into a rule in the right skill, through the same merge-request review as code. Also use for periodic pruning of the skills. Triggers on "add a rule", "remember this", "the agent keeps doing", "update the skill", "learned rule", "same mistake again", "prune skills".
- Author
- ondrnovy ↗
- Repository
- delphi-ai-dev ↗
- Licence
- Apache-2.0
- Last repository change
- 02.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 1
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 02.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
Use when an agent mistake is caught — by the compiler, a test, code review or a human correction — and the same mistake could happen again. Turns the correction into a rule in the right skill, through the same merge-request review as code. Also use for periodic pruning of the skills. Triggers on "add a rule", "remember this", "the agent keeps doing", "update the skill", "learned rule", "same mistake again", "prune skills".
Triggers from the description
Original author description
Use when an agent mistake is caught — by the compiler, a test, code review or a human correction — and the same mistake could happen again. Turns the correction into a rule in the right skill, through the same merge-request review as code. Also use for periodic pruning of the skills. Triggers on "add a rule", "remember this", "the agent keeps doing", "update the skill", "learned rule", "same mistake again", "prune skills".
How it works
- When to add a rule
- Where
- Format
- Process
- Pruning (monthly or quarterly)
- Signals the skills need work
SKILL.md preview
--- name: skill-maintenance description: Use when an agent mistake is caught — by the compiler, a test, code review or a human correction — and the same mistake could happen again. Turns the correction into a rule in the right skill, through the same merge-request review as code. Also use for periodic pruning of the skills. Triggers on "add a rule", "remember this", "the agent keeps doing", "update the skill", "learned rule", "same mistake again", "prune skills". --- # Keeping the skills alive Skills are code. They are versioned, reviewed and maintained. A skill that never changes after week one stops matching the codebase, and the agent repeats the same mistakes. ## When to add a rule Add one when **all three** hold: 1. The mistake was caught: compile error, failing test, review comment, or a developer's correction. 2. It is **reusable**: it would happen again on a different file or task. 3. No existing rule already covers it. If one does, sharpen that rule instead. Do not add rules for one-off typos or for things the compiler already catches instantly and unambiguously. ## Where | Mistake about | Skill | |---------------|-------| | language, RTL, XE7 availability, memory | `delphi-xe7` | | build, tests, CI | `delphi-build-test` | | threads, UI responsiveness | `vcl-threading` | | frames, CRC, versions, firmware upload | `binary-protocol` | | review blind spots | `delphi-review` | | project conventions, units, components | the project's `CLAUDE.md` | ## Format Inside the `<!-- learned-rules -->` block of that skill, one entry per rule: ```markdown - **Never use `TThread.ForceQueue`** — not in XE7 (10.2 Tokyo). Use `TThread.Queue`. Evidence: MR !123, E2003 in Panel.Session.pas. Added 2026-11-02. ``` - **Wrong → right → why**, in one or two lines. - **Evidence:** the merge request, the compiler message or the review comment. - **Date.** ## Process 1. The agent proposes the rule in the same merge request as the fix, or in a separate one. 2. A developer reviews it like code. Skills that teach the agent wrong things are worse than no skills. 3. Merged rules are shared by the whole team through the repository. ## Pruning (monthly or quarterly) - Merge duplicate rules, generalise near-duplicates. - Delete rules that no longer apply (Delphi upgrade, refactored module). - Move a rule from a project `CLAUDE.md` into a skill when it proves general, and the other way round. - Keep each `SKILL.md` short enough to be read in full; move depth into reference files. ## Signals the skills need work - The same review comment appears on several merge requests. - The agent needs more than two build iterations on routine changes. - Developers stop trusting the agent's first draft for a whole area of the code.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · ondrnovy/delphi-ai-dev | 100 | Apache-2.0 |
| ryoppippi/dotfiles | 100 | MIT |
| meteor/agent-skills | 100 | MIT |
| zakariaf/reactnative-skills | 100 | MIT |
| 2021feiyu/agent-work-skills | 100 | MIT |
| practicajs/the-frontend-testing-skill | 95 | MIT |
| jacardl/viceroy-skills | 91 | MIT |
Database snapshot: 13.11.2026 · package version b293ea66b65c (SHA-256 digest of the entire package)
Downloads in the last 30 days: 5 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90correction-to-skill
Turns a correction from the user into a dated rule in the skill, agent or instruction file that caused the mistake, in the same session, and says where it went. Use when the user says "that's wrong", "not what I asked", "I told you before", "why didn't you", "remember this",… - 90learn
Turns a correction or a repeated mistake into the strongest structure that prevents it, and proves it catches the mistake. Use when the owner says "don't do that again", "remember this", "you keep doing X", or a review finds the same problem twice. - 100remember
Capture a durable instruction, preference, or correction into a project rule (or, rarely, a skill or hook). Use whenever the user says "remember this", "remember that", "always do X", "never do Y", "from now on", "going forward", "make this a rule", "don't forget", "stop doing… - 86lesson
Turn a correction or a repeated mistake into something that prevents it - a guard rule, a script or lint check, a test, or, last, text in a playbook or principle. Use when the user corrects the agent, when a mistake happens twice, or after a task that went wrong. - 90learning
Turns a repeated mistake or correction into the smallest lasting fix (CLAUDE.md line, rule, hook) and prunes stale rules. Use when the user says you keep doing X, wants a rule for this project, or asks to clean up CLAUDE.md. Proposes first. - 100agent-test-writer
Turn a project rule your coding agent keeps breaking (from CLAUDE.md, AGENTS.md, a review comment, or a correction) into an agent test, a TEST.md plus test.yaml under .agents/tests/, prove it fails on a violation and passes on compliant code, then check the repository against…