redis/code-change-verification
Verify ioredis code changes before handoff. Use when an agent changes or reviews runtime TypeScript, Redis command support, generated typings, tests, docs tied to behavior, build tooling, release-sensitive files, or any task that needs choosing and running the right local validation commands.
npx skills add https://github.com/redis/ioredis --skill code-change-verification
Use this skill to choose the smallest credible validation set for an ioredis change, run it when feasible, and report exactly what passed, failed, or was skipped.
git diff --stat, git diff --name-only, and targeted file reads.built/ and lib/utils/RedisCommander.ts as generated outputs; do not hand-edit them.lib/: run focused tests plus build when the change affects exported declarations or compiled output.bin/ config, regenerate with node bin/index.js if needed, and run tsd or targeted typing tests.npm run docker:setup if infrastructure is needed, then targeted test/cluster/**/*.ts or npm run test:cluster.npm run format-check only if formatting-sensitive files changed; otherwise inspect rendered Markdown manually.npm run build and the affected script directly.TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test npx mocha --no-experimental-strip-types "test/unit/<file>.ts".test/helpers/*.ts only when the unit file relies on global hooks or helper setup.test/helpers/*.ts and the specific test/functional/... file.npm run build then npx tsd --files test/typing/<file>.test-d.ts when a focused file exists.npm test after focused tests pass.npm run lint or npm run format-check as appropriate.bin/argumentTypes.js, bin/returnTypes.js, bin/overrides.js, bin/sortArguments.js, bin/typeMaps.js, or bin/template.ts changes command declarations, regenerate lib/utils/RedisCommander.ts with node bin/index.js.built/ is publish-facing but generated by npm run build; mention if it is intentionally not updated.npm run build: remove built/ and compile TypeScript.npm run lint: ESLint over lib/.npm run format-check: Prettier check.npm run test:js: non-cluster Mocha suite over helpers, unit, and functional tests.npm run test:cluster: cluster Mocha suite.npm run test:tsd: build and run all tsd tests.npm test: test:js plus test:tsd.npm run docker:setup / npm run docker:teardown: start/stop Redis test infrastructure.Take redis/code-change-verification from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npx.
Without those the skill loads but fails at the first command.