code-change-verification
Installation
SKILL.md
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.
Workflow
-
Inspect the diff and changed files before choosing commands.
- Use
git diff --stat,git diff --name-only, and targeted file reads. - Do not stage, unstage, or commit unless the user explicitly asks.
- Treat
built/andlib/utils/RedisCommander.tsas generated outputs; do not hand-edit them.
- Use
-
Classify the change.
- Runtime code under
lib/: run focused tests plus build when the change affects exported declarations or compiled output. - Redis command typing or generated command support: inspect
bin/config, regenerate withnode bin/index.jsif needed, and run tsd or targeted typing tests. - Functional Redis behavior: run the smallest relevant Mocha files and assume a compatible Redis server is on default host/port. If sandboxed Redis access is blocked, ask for permission rather than assuming Redis is unavailable.
- Cluster behavior: use
npm run docker:setupif infrastructure is needed, then targetedtest/cluster/**/*.tsornpm run test:cluster. - Docs-only changes: run
npm run format-checkonly if formatting-sensitive files changed; otherwise inspect rendered Markdown manually. - Build/tooling changes: run
npm run buildand the affected script directly.
- Runtime code under