agentleFS
MesteriisMesteriis/Engineering-Bible-AI/skills/quality-gates/SKILL.md

quality-gates

Skill0 starsChanged 5 months agoMITView on GitHub

Use only at validation, integration, completion, release, or drift-review boundaries. Do not load for every implementation step.

11 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

9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill as a lightweight control layer for non-trivial engineering work.

    line 10
  2. Distinctive:

    Read only the references needed for the task:

    line 29
  3. Distinctive:

    Use this skill when a request is non-trivial and involves any of:

    line 38
  4. Distinctive:

    Do not claim validation passed unless the exact command was run.

    line 54
  5. Distinctive:

    Keep task gates proportional to task risk.

    line 56
  6. Distinctive:

    Add or update regression coverage when a defect class is fixed.

    line 58
  7. Distinctive:

    Treat library drift as a repository bug, not as documentation polish.

    line 59
  8. Distinctive:

    Do not run campaigns on every edit, install a framework implicitly, or mutate the working source.

    line 71
  9. Distinctive:

    When this skill materially affects the work, report:

    line 76

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “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

Skill: quality-gates

Purpose

Use this skill as a lightweight control layer for non-trivial engineering work. It keeps agent output evidence-bound, task execution lifecycle-aware, reviewable, and resistant to Engineering Bible drift.

This skill does not replace language, security, UI, documentation, or review skills. It composes with them.

Author Verification Provider

For workflow completion, resolve superpowers.verification-before-completion with be skills route superpowers.verification-before-completion --json and read the complete exposed author skill and its required references. Its procedure remains upstream. The evidence, release and library-drift rules below are Bible's separate owner policy. Reuse compatible native providers, install missing reviewed dependencies through the selected profile, and report pending exposure. Do not replace the author procedure with this policy checklist.

Required References

Read only the references needed for the task:

  • ../../engineering/35_evidence_contract.md for claims, facts, validation, and uncertainty.
  • ../../engineering/36_task_lifecycle_gates.md for task scope, inspection, planning, validation, and reporting.
  • ../../engineering/37_review_regression_gates.md for diff-risk review and regression coverage.
  • ../../engineering/38_library_drift_audit.md for repository integrity and portable-tree drift.

When To Use

Use this skill when a request is non-trivial and involves any of:

  • code changes;
  • repository structure changes;
  • installer or CLI behavior;
  • docs that define behavior or process;
  • validation, CI, test, or review workflows;
  • multi-step debugging or refactoring;
  • claims about current code, runtime state, test results, or external behavior.

For trivial read-only answers, apply the evidence contract without loading every reference document.

Operating Rules

  • Important factual claims need evidence: file path, command output, test result, or explicit uncertainty.
  • Do not claim validation passed unless the exact command was run.
  • Inspect relevant files before changing them.
  • Keep task gates proportional to task risk.
  • Review behavior changes before completion.
  • Add or update regression coverage when a defect class is fixed.
  • Treat library drift as a repository bug, not as documentation polish.

Optional Test-Strength Check

For explicitly selected critical logic or a suspected weak test, use Targeted Mutation Testing. Select a small verified source/test allowlist and human-reviewed replacements. The Python helper executes baseline and mutant tests in separate temporary copies; those copies are not a sandbox for untrusted test code. Require a passing baseline and retain raw outputs and original exits. Assertion failures can kill a mutant; syntax, import and execution errors or timeouts cannot. A surviving mutant needs a concrete test-strength assessment, not a claimed passing gate. Do not run campaigns on every edit, install a framework implicitly, or mutate the working source. Select project-native Stryker separately for TypeScript.

Output

When this skill materially affects the work, report:

  • evidence used;
  • lifecycle gates completed;
  • validation commands and results;
  • review or regression reasoning;
  • remaining risks.

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.