agentleFS
AntelopeJSAntelopeJS/dms-assistant/.agents/skills/verify-changes/SKILL.md

verify-changes

Skill2 starsChanged 4 days agoApache-2.0View on GitHub

How to check a change in this repository before you push it, scoped to what you touched. The command for each kind of change, the services a test needs, the worker cap, and what CI and the merge queue run instead of you. Use after you edit code, tests, configs or docs, before you commit or push.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use intelligent-routing, design-spec 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.
  • SKB3002Skill

    intelligent-routing

    Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

    Also in 3 projects that use this

  • jornalistainclusivoSkill

    design-spec

    How to author a DESIGN.md file — the machine-readable design-token + human-rationale format that must exist before any UI is built. YAML front-matter token schema (colors, typography, spacing, rounded, components), type system, token references, and canonical section order.

    Also in 3 projects that use this

  • xenitV1Skill

    red-team-tactics

    Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.

    Also in 3 projects that use this

  • xenitV1Skill

    bash-linux

    Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

    Also in 3 projects that use this

  • xfstudioSkill

    rust-pro

    Master Rust 1.75+ with modern async patterns, advanced type system

    Also in 3 projects that use this

  • +7 more from xenitV1

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 6

    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:

    Run at most 4 test workers.

    line 41
  2. Distinctive:

    When a change touches several packages, run one test file in each package you changed.

    line 43
  3. Distinctive:

    Start a service only when the test file you run needs it.

    line 47
  4. Distinctive:

    Stop only what you started.

    line 52
  5. Distinctive:

    Do not run these locally. CI runs them on every pull request, and the merge queue runs them on the merged result:

    line 56
  6. Distinctive:

    When CI reports a failure, reproduce that one check or test file locally, fix it, and push.

    line 63

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

Verify changes

CI runs every check on every pull request, and the merge queue runs them again on the merged result. You check only what you changed, so a wrong change fails in seconds on your machine instead of after a CI round.

Read the repository's own facts first

This skill names no script or path the repository can change. Read them from the repository:

  • The scripts of the package.json of the package you changed. In a workspace (pnpm-workspace.yaml), that is the package's own package.json, not the root one.
  • The ## Tests section of AGENTS.md, or of the package's README.md, when one exists. It names the test runner, the fixtures and the services. Where it and this skill differ, follow it.
  • .github/compose.yml, when it exists. It lists the services the tests need.

Run the check for each kind of change

You changedRun
Any filepnpm exec oxlint <files> and pnpm exec oxfmt --check <files> on the files you changed.
A type, a signature or an exportThe typecheck script of the package you changed, such as pnpm --filter <package> run typecheck in a workspace.
BehaviourThe one test file that covers it. See Run one test file.
A .vue fileESLint on the files you changed, pnpm exec eslint <files>, when the package lints with ESLint.
A lint directive, @ts-expect-error or SAFETY: commentpnpm run suppressions. After you remove one, run pnpm run suppressions:update and commit guardrails.suppressions.json.
A file antelopejs-sync writesNothing by hand. Change @antelopejs/tooling-configs instead, then run pnpm run sync:check.

The commit hook formats and lints the staged files again. A change of Markdown only needs the lint and format rows.

Run one test file

Pass the path of one test file, never a pattern that matches the suite, and never run the test script alone: it runs the suite. Pick the command from the runner the test script calls:

  • ajs module test: tests run from the build. Run pnpm run build, then pnpm exec ajs module test . --timeout 30000 -f dist/<path>.test.js.
  • node --test: node --test --test-concurrency=4 <file>.
  • vitest: pnpm exec vitest run <file> --maxWorkers=4.
  • mocha: pnpm exec mocha --timeout 30000 <file>. Add --parallel --jobs 4 only when the file is slow.
  • playwright: pnpm exec playwright test <file> --workers=4.

Run at most 4 test workers. Other agents share the machine, and a runner that takes every core slows their checks and yours.

When a change touches several packages, run one test file in each package you changed.

Start the services a test needs

Start a service only when the test file you run needs it. A test that needs a service it cannot reach fails on its connection, not on your change.

  • MongoDB: run the test through a lease, such as pnpm exec antelopejs-lease run -- pnpm exec ajs module test . --timeout 30000 -f dist/<path>.test.js. The lease starts a mongod for this worktree on its own port and sets MONGO_URL and MONGO_DATABASE. When the test reads another variable, set it from these. Run pnpm exec antelopejs-lease down --stop when you are done.
  • Another service of .github/compose.yml: start it under a project name of your own, such as docker compose -p <worktree> -f .github/compose.yml up -d --wait <service>. Remove it after the test with docker compose -p <worktree> -f .github/compose.yml down. When its port is taken, another worktree runs it: leave that test to CI.

Stop only what you started. Never stop a process or a container by a pattern match: it stops the work of other agents too.

Leave the rest to CI

Do not run these locally. CI runs them on every pull request, and the merge queue runs them on the merged result:

  • pnpm run checks and the full test suite.
  • knip, size, sync:check when you changed no synced file, and the lockfile and dependency checks.
  • The checks that read the npm registry, such as published:types and readme:version.
  • Windows and the browser suites.

When CI reports a failure, reproduce that one check or test file locally, fix it, and push.

Report what you ran

Name each command you ran and its result in your reply or pull request, and say which checks you left to CI.

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.