agentleFS
OpenxIntelligenceOpenxIntelligence/Coding-Agent-Skills/quality-gates/SKILL.md

quality-gates

Skill4 starsChanged 26 days agoMITView on GitHub

Use before claiming any task complete. Enforces verification steps, test execution, and proof of success. Prevents premature completion claims and ensures work is actually done.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 5

    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:

    Before creating a PR

    line 18
  2. Distinctive:

    Show the output: Don't just say "tests pass."

    line 30
  3. Distinctive:

    Run the FULL test suite, not just new tests

    line 33
  4. Distinctive:

    No new warnings or errors

    line 35
  5. Distinctive:

    Before claiming "done", provide:

    line 67

“Common” is measured: kept by at least 6 in 10 of the 23 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

Quality Gates Before Completion

Iron Rule

NEVER claim completion without evidence.

This skill activates before ANY "done", "complete", "finished", or "ready" statement.

When This Skill Activates

  • About to say "done" or "complete"
  • Task appears finished
  • User asks "is this done?"
  • Before creating a PR
  • Before merging code

Mandatory Quality Checks

1. Tests Pass

# Run relevant tests
pytest tests/
npm test
cargo test

Show the output. Don't just say "tests pass."

2. No Regressions

  • Run the FULL test suite, not just new tests
  • Existing functionality still works
  • No new warnings or errors

3. Type Checks (if applicable)

# Python
mypy src/
pyright src/

# TypeScript
tsc --noEmit

4. Linting Clean

# Python
ruff check .

# JavaScript/TypeScript
eslint .

# Rust
cargo clippy

5. Manual Verification

Actually TEST the feature:

  • Run the code
  • Check the output
  • Verify expected behavior

Evidence Format

Before claiming "done", provide:

## Verification Evidence

### Tests
Command: pytest tests/test_feature.py -v
Result: 5 passed in 0.23s

### Type Check
Command: mypy src/
Result: Success: no issues found

### Manual Test
Action: Called API endpoint with test data
Result: Returned expected response {status: "ok"}

Quick Checklist

[ ] Tests written and passing
[ ] Existing tests still pass
[ ] Type checks clean
[ ] Linting clean
[ ] Manually verified behavior
[ ] Showed evidence in response

Integration

This skill combines with:

  • verification-before-completion (from Superpowers)
  • test-driven-development (ensures tests exist)
  • Project-specific test commands

Common Excuses (Don't Accept)

  • "It should work" → Run it and prove it
  • "Tests aren't set up" → Set them up first
  • "Minor change, doesn't need tests" → It always needs verification
  • "I'll add tests later" → No, add them now

Anti-Patterns

  • Claiming done without running code
  • Running only new tests, not regression suite
  • Ignoring linting warnings
  • Saying "I tested it" without showing output

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.