Code Change Verification

Run the verification stack (format, lint, typecheck, test) when changes affect runtime code, tests, or build config.

pproenca Updated

File contents

Code Change Verification

Overview

Ensure work is only marked complete after formatting, linting, type checking, and tests pass. Use this skill when changes affect runtime code (src/), tests, or build configuration. Skip it for docs-only or repository metadata changes unless a user asks for the full stack.

Quick start

bash .agents/skills/code-change-verification/scripts/run.sh

The script runs npm run format first, then npm run lint, npm run typecheck, and npm test in parallel with fail-fast semantics.

Manual workflow

Run from the repository root:

  1. npm run format — apply formatting fixes
  2. Then in parallel: npm run lint, npm run typecheck, npm test
  3. Stop and fix issues immediately when a command fails.
  4. Re-run the full stack after applying fixes.

When to run

  • Changes to src/ (server code, tools, types)
  • Changes to tests/
  • Changes to package.json, tsconfig.json, or CI config

pproenca/unifi-mcp/tree/main/.agents/skills/code-change-verification commit 5901cc944c

Frequently asked questions

npx skillmds@latest add pproenca/code-change-verification