agentleFS
sekteksektek/skills/skills/dev-workflow/verify/SKILL.md

verify

Skill0 starsChanged 16 days agoMITView on GitHub

Run type check, lint, and tests before committing

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use genie-hacks, workfly and 10 more.

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.
  • automagik-devSkill

    genie-hacks

    Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.

    Also in 3 projects that use this

  • automagik-devSkill

    workfly

    Discover a procedure and build its saved workflow — dynamic discovery, drafted script, adversarial verification, landed in the catalog.

    Also in 3 projects that use this

  • AviadPSkill

    risk-assess

    Assess the risk and blast radius of a proposed code change before implementing it. Evaluates CI impact, framework-wide vs localized scope, rollback path, and identifies blindspots. Use when user says "what's the risk", "is this safe", "assess the impact", "risk assess", "blast radius", or before applying framework-wide or CI-affecting changes. Do NOT use for code quality review (use code-quality) or plan validation (use design-validator).

    Also in 3 projects that use this

  • sanmidableSkill

    defaults

    Also in 3 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 7 projects that use this

  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 3 projects that use this

  • +2 more from automagik-dev

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 1

    Distinctive

    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. Very specific:

    Run the three-step pre-commit verification for the current package in order, stopping and reporting if any step fails.

    line 10
  2. Distinctive:

    Fails on the base too (pre-existing): don't fix it on this branch.

    line 44
  3. Very specific:

    Never report a pre-existing failure or a check that didn't run as passing.

    line 49

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

"The developer" and "the agent" are defined in the roles skill.

Environment skills: this skill defers to dev-environment for environment-specific values (commands, naming, conventions) and does not hardcode them. If one of them is not available, stop and ask the developer for the value instead of guessing.

Run the three-step pre-commit verification for the current package in order, stopping and reporting if any step fails. Check package.json scripts first and prefer the project's own scripts over ad-hoc commands. Where the project doesn't settle it, use the commands and quirks in the dev-environment skill.

  1. Type check (TypeScript only): a typecheck script if one exists, otherwise the dev-environment fallback. Skip this step for a JavaScript project: JSDoc types aren't verified.
  2. Lint: the dev-environment lint command.
  3. Tests: the dev-environment test command.

When a step fails

Environment problem or code problem? First check whether the failure is about the environment rather than the code: a service that can't be reached, missing credentials, or missing infrastructure. Signs: connection refused or timeout errors, auth errors, "command not found".

  • First, apply the known setup in dev-environment (e.g. service hosts or environment variables it lists). An environment error on a check that dev-environment explains how to run means the setup wasn't applied, not that the check can't run.
  • Only if it still can't run: it's not run, not failed. Don't change code to get around it, and don't invent environment changes beyond what dev-environment describes. Record it as not run, with the reason, and continue with the remaining steps. The PR's Testing section lists it as not run: <reason>, so CI is its first real run. Add it to the follow-up list so the missing setup can be added to dev-environment and the check runs next time.

Otherwise, check whether the change caused it before fixing anything: run the same check on the default branch (or the stack base) in a temporary detached worktree (git worktree add --detach <tmp-path> origin/<base>), then remove that worktree.

  • Passes on the base: the change caused it. Show the relevant output and stop; don't proceed to later steps until it's fixed.
  • Fails on the base too (pre-existing): don't fix it on this branch. Record it as pre-existing, with the failing test or error, and continue with the remaining steps. Add it to the follow-up list so the developer can decide on a ticket. If it prevents verifying the change at all (e.g. the build or type check fails outright), stop and report.

Never report a pre-existing failure or a check that didn't run as passing. The PR's Testing section lists a pre-existing failure as failing before this change, and a check that didn't run as not run: <reason>.

Report

The outcome of each step: passed, failed (caused by the change), failed (pre-existing), or not run (with the reason). If nothing failed because of the change, confirm it's ready to commit.

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.