Skill improvement

From projectbluefin/bluefin · View interactive version

Skill improvement is an AI agent skill from the GitHub repository projectbluefin/bluefin. Explains when to update an existing skill, how to avoid duplicating source-of-truth facts, and how to split oversized skills. Use when a reusable fact or procedure changes and a skill must follow.

How to use this skill

Skill file

Skill improvement

When to update a skill

Update a skill in the same change when you discover a reusable workaround,

non-obvious invariant, source correction, or durable project convention.

Procedure

  1. Find the closest existing skill.
  2. Confirm the fact against source code or authoritative external documentation.
  3. Update the existing skill instead of creating a duplicate.
  4. Keep SKILL.md focused; move long material to references/.
  5. Add a verification command for the documented behavior.
  6. Update docs/skills/index.md only when adding or renaming a skill.
  7. Run documentation validation and the repository default gate.

Rules

than copying it into this repository.

factory retired skill-drift for that reason; see

CODE0.

The mandate is enforced at developer time by pre-commit and at review.

Where a learning goes

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

CODE0.

Every-loop repair contract

Run this on every task, including tasks that succeed:

  1. Verify the repository, branch, and loaded skills against source.
  2. Name stale guidance explicitly instead of silently working around it.
  3. Repair the nearest authoritative skill when the correction is source-backed

and in scope.

  1. Validate with the checks that already exist; do not invent a new gate.
  2. Record the learning and any unresolved gap.
  3. Escalate a human gate rather than turning uncertainty into policy.

A successful task still checks for reusable learning and documentation drift

before completion.

Verify

python3 .github/scripts/validate-docs.py
pre-commit run --all-files

When to Use

Use for Adding or refactoring a reusable agent skill.

When NOT to Use

Do not use for Ephemeral session notes or unrelated implementation.

Core Process

Source-check the fact, update the closest skill, add verification, run documentation gates.

Common Rationalizations

Red Flags

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.