agentleFS
Amritesh-878Amritesh-878/Cerberus/.claude/skills/verify-quality/SKILL.md

verify-quality

Skill10 starsChanged 42 days agoMITView on GitHub

Run the project's lint, typecheck, and test pipeline in that mandatory order after any code change. Lint with autofix first, then typecheck, then tests. 0 errors, 0 warnings, and 100% passing is the only acceptable result.

  • Installs packages

2 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

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the quality pipeline in order.

    line 6
  2. Distinctive:

    Run both halves; a change to either side can break the other (Tauri commands, shared config).

    line 10
  3. Very specific:

    Run each half in its order: lint, then typecheck (clippy is both for Rust), then tests.

    line 31
  4. Distinctive:

    If a check fails, fix the underlying cause.

    line 43

≈ “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

Run the quality pipeline in order. Never run tests before lint and typecheck pass clean.

The pipeline

Run both halves; a change to either side can break the other (Tauri commands, shared config).

TypeScript (repo root)

Install from the lockfile first if node_modules/ is missing or stale: pnpm install --frozen-lockfile. Add a dependency only with pnpm add <pkg>@<exact version>.

pnpm run lint:fix    # ESLint --fix, then Prettier --write
pnpm run typecheck   # tsc --noEmit for src/ and for vite.config.ts
pnpm test            # vitest run

Rust (src-tauri/)

cargo fmt
cargo clippy --all-targets -- -D warnings
cargo test

Run each half in its order: lint, then typecheck (clippy is both for Rust), then tests. Confirm 0 errors and 0 warnings before the next step.

Acceptable results

  • Lint and typecheck: 0 errors, 0 warnings.
  • Tests: 100% passing.

Name the toolchain when reporting these: Node and pnpm versions, and cargo -V. A tool resolved from PATH rather than the project's own node_modules/.bin or the pinned toolchain reports a clean repo as broken, and the report reads identical either way.

If a check fails, fix the underlying cause. Do not comment out code, skip or delete tests, or disable rules project-wide to make a check pass. If a rule genuinely must be suppressed, suppress it inline on the specific line with a justification comment.

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.