agentleFS
SHOTClubhouseSHOTClubhouse/shotos/skills/skill-quality-gate/SKILL.md

skill-quality-gate

Skill1 starsChanged 24 days agoMITView on GitHub

Runs a quality gate before promoting a skill or change: one change, one comparison, three scenarios, a maturity label and a disclosure checklist. Use when changing, promoting or publishing any skill, prompt, template or agent instruction.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test one change against what is already there, on three kinds of situation, and promote only if nothing material fails.

    line 8
  2. Very specific:

    Use eval-set for a missing failure case.

    line 16
  3. Distinctive:

    Assign a maturity label: Use only what the evidence supports:

    line 34
  4. Distinctive:

    Never skip a label. State which evidence the label rests on.

    line 42
  5. Distinctive:

    Run the pre-publication disclosure checklist: if the label is Public-ready or the skill leaves the organisation.

    line 43
  6. Very specific:

    Use template.md. Save as .work/<skill>/gate-<date>.md.

    line 48
  7. Distinctive:

    All three scenarios were run on both versions.

    line 53
  8. Distinctive:

    Every failure is classed material or minor, and any material failure blocks promotion.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Gate a skill before promoting it

Test one change against what is already there, on three kinds of situation, and promote only if nothing material fails. Report what the gate showed and what it did not.

Stage: Sustain and Scale. Rules: 2 Agree acceptance first, 3 Read back the real result, 4 Claim only what you can show.

Context and handoff

Outcome: the promoter decides on a stated comparison, not on the author's say-so. Acceptance: three scenarios run on both versions and every failure classed. Read the declared behaviour, real use cases and prior version. Check normal and contrary cases and verify any links or tools after installation.

Use eval-set for a missing failure case. Record readiness, evidence and exceptions with the skill revision.

When not to use this

Skip it for a typo or link fix that changes no behaviour. Do not use it to approve your own work: the person who accepts promotion is named and is not the agent that wrote the change.

Steps

  1. State the one change. Describe a single change to the skill (a new step, a reworded check, a new template field) and the reason for it. If there are several changes, split them and gate each. Name the current version as the comparison.
  2. Name the promoter. One named person decides whether the change is promoted. Record their name and role before testing.
  3. Write three scenarios. Each needs a self-contained input, what a good answer contains and what it must not contain.
    • Normal: the usual case the skill is for.
    • Conflicting source: two sources disagree (a document and a log, two dates). A good answer shows the conflict and does not pick silently.
    • Authority boundary: the request would send, spend, delete, publish or change someone else's work. A good answer drafts or asks and does not act.
  4. Run the comparison. Run the current version and the changed version on the same three scenarios, with the same model settings, and keep the outputs. Run each more than once if the output varies; say how many runs. Do not let the same agent that wrote the change grade it alone: use a checklist, a reviewer of any model that did not write it, or a person. Record who or what graded.
  5. Classify failures. For each failed check say whether it is material or minor. A failure is material if it states something false as fact, exposes private data, or crosses an authority boundary (acts or claims acting without the owner's yes). Minor failures are style, length and format.
  6. Apply the block rule. Any material factual, privacy or authority failure in the changed version blocks promotion, whatever the average score. Say so first in the report. A better average does not cancel a material failure.
  7. Compare accepted work. Use the same tasks and acceptance checks for both versions. Count each task once when a person accepts it. Include all attempts, review and rework, including work that was never accepted. Report tasks started and accepted, total model or tool spend, and human minutes. Divide spend and human minutes separately by accepted tasks. Combine them as money only if an agreed labour rate is available. If none were accepted, the per-accepted figures are undefined. Flag missing time or cost data and compare time to acceptance where recorded. Use the gate template to keep the denominators and units visible.
  8. Assign a maturity label. Use only what the evidence supports:
    • Defined: written, with a purpose and steps.
    • Checked: has eval cases and a passed gate.
    • Used: accepted in real work at least a few times, with logged outcomes.
    • Reliable: accepted without material failure over a meaningful sample (see graduation-ladder).
    • Optimised: cost and quality tuned against measured outcomes.
    • Portable: works for another team or agent without the builders.
    • Public-ready: passed the disclosure checklist below and is cleared for publication by a named person. Never skip a label. State which evidence the label rests on.
  9. Run the pre-publication disclosure checklist if the label is Public-ready or the skill leaves the organisation. See the template.
  10. Record the decision. Promote, promote with conditions, or do not promote. The named promoter signs it. Keep the outputs. If the decision is not to promote, record the failing check so the next change can be tested against it; that is the correction loop. The filled gate template is the receipt.

Output

Use template.md. Save as .work/<skill>/gate-<date>.md.

Checks

  • Exactly one change is under test, against a named comparison.
  • All three scenarios were run on both versions.
  • Every failure is classed material or minor, and any material failure blocks promotion.
  • Accepted-task counts, spend and human time use the same task set and include rework. Any combined cost names the labour rate.
  • The maturity label matches the evidence, and a named person decides.
  • The report says how many runs were made.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.