| name | skill-improvement | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| description | Add, refactor, validate, and maintain agent skills without duplicating facts. | ||||||||
| metadata |
|
Update a skill in the same change when you discover a reusable workaround, non-obvious invariant, source correction, or durable project convention.
- Find the closest existing skill.
- Confirm the fact against source code or authoritative external documentation.
- Update the existing skill instead of creating a duplicate.
- Keep
SKILL.mdfocused; move long material toreferences/. - Add a verification command for the documented behavior.
- Update
docs/skills/index.mdonly when adding or renaming a skill. - Run documentation validation and the repository default gate.
- Use one canonical source per mutable fact.
- Cross-repo procedure is canonical in
projectbluefin/common; link it rather than copying it into this repository. - Do not write session notes, personal machine details, or incident diaries.
- Do not claim repository policy is an AAIF or MCP requirement.
- Do not add client-specific or tool-specific instruction duplicates.
- Do not document behavior that was not checked against source.
- Do not add a bespoke per-convention CI gate to enforce skill discipline. The
factory retired
skill-driftfor that reason; seecommon/docs/skills/skill-drift.md. The mandate is enforced at developer time bypre-commitand at review.
Working in this repository, write to the closest docs/skills/<name>/SKILL.md.
When the learning affects two or more factory repositories, apply it locally,
then file an issue in projectbluefin/common describing the propagation. Do not
self-apply a queue label. Never write to ublue-os/*. The canonical mandate is
common/docs/skills/skill-improvement.md.
Run this on every task, including tasks that succeed:
- Verify the repository, branch, and loaded skills against source.
- Name stale guidance explicitly instead of silently working around it.
- Repair the nearest authoritative skill when the correction is source-backed and in scope.
- Validate with the checks that already exist; do not invent a new gate.
- Record the learning and any unresolved gap.
- Escalate a human gate rather than turning uncertainty into policy.
A successful task still checks for reusable learning and documentation drift before completion.
python3 .github/scripts/validate-docs.py
pre-commit run --all-filesUse for Adding or refactoring a reusable agent skill.
Do not use for Ephemeral session notes or unrelated implementation.
Source-check the fact, update the closest skill, add verification, run documentation gates.
- "A shortcut is harmless." Follow the source-of-truth and verification rules instead.
- Creating duplicate skills or recording transient incident state.
- The selected source and focused command were checked.
- The repository default gate passes.