agentleFS
OpenAIKnown publisheropenai/openai-guardrails-js/.agents/skills/code-change-verification/SKILL.md

code-change-verification

Skill104 starsChanged 3 months agoMITView on GitHub

Select and run Guardrails verification for code, dependency, test, tooling, documentation, or repository-workflow changes.

5 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. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

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

    Follow repository verification and inspect the current package.json scripts before selecting checks.

    line 8
  2. Distinctive:

    When areas overlap, combine their required checks.

    line 21
  3. Distinctive:

    Run each command separately and inspect its exit status before proceeding:

    line 28
  4. Distinctive:

    Keep verification within the available sandbox.

    line 44

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

Code Change Verification

Follow repository verification and inspect the current package.json scripts before selecting checks. Run from the selected linked worktree's root; preserve its branch and user-owned changes.

Select the evidence

Changed areaVerification
Runtime, public types, dependencies, build/test configuration, packagingFull sequence below; focused tests during implementation
SDK integration or dependency compatibilityBuild first, then the relevant src/__tests__/integration/sdk-*.test.ts tests; full sequence before handoff
Site content, links, navigation, or VitePress toolingnpm ci, then npm run docs:check
Contributor instructions or skill metadata onlyValidate commands, relative links, frontmatter/UI metadata, and git diff --check

When areas overlap, combine their required checks. A test described as "integration" is not necessarily live: inspect its fixtures and calls before running it. The normal suite uses local fixtures and mocks; do not turn ordinary verification into a credentialed eval or an external API experiment.

Full sequence

Run each command separately and inspect its exit status before proceeding:

npm ci
npm run build
npm run test:run
npm run lint
npm run docs:check

The build emits CommonJS and declarations consumed by compatibility tests. test:run avoids watch mode. Biome lint includes formatting and import checks; VitePress and the Node documentation tests run through docs:check. Invoke npm directly in the host shell, including PowerShell; no platform-specific wrapper or additional formatter is needed.

Keep verification within the available sandbox. Diagnose failures and fix only in-scope defects; report unrelated failures and missing coverage. Retry a transient failure when evidence supports that diagnosis. After a fix, repeat checks whose evidence it invalidated. Never report a skipped or failed gate as passing, and do not infer Windows coverage from Linux or macOS results.

Report the command, result, tested Node version, and any coverage limits. For remote checks, associate the result with the current PR head. The review gate in AGENTS.md also applies before pushing; passing tests do not replace it.

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.