code-change-verification

Select and execute minimal Mocha tests, TSD checks, and build scripts for ioredis code changes.

15.3k|1.2k|Updated Apr 2, 2015
One-click install
npx skills add https://github.com/redis/ioredis --skill code-change-verification-redis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-change-verification
Source: https://github.com/redis/ioredis/tree/main/.agents/skills/code-change-verification
Command: npx skills add https://github.com/redis/ioredis --skill code-change-verification-redis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the guesswork in verifying code changes by identifying the smallest, most effective set of validation commands for any given modification to the ioredis codebase.

Core Features & Use Cases

  • Targeted Validation: Automatically selects the appropriate test suite based on whether the change affects runtime logic, Redis command typings, or build tooling.
  • Artifact Management: Ensures generated files like RedisCommander.ts remain synchronized with command definitions.
  • Use Case: When updating a Redis command implementation, use this skill to run only the relevant functional tests and typing checks, avoiding the overhead of the full test suite while ensuring system integrity.

Quick Start

Use the code-change-verification skill to analyze the current diff and execute the necessary tests to validate your changes.

Frequently Asked Questions about code-change-verification

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run targeted tests for ioredis code changes instead of the full suite?

Targeted testing for ioredis code changes involves selecting the minimal necessary test suite based on the diff. This skill analyzes modifications to runtime logic or typings and executes only the relevant Mocha tests and TSD checks.

What is the best way to validate TypeScript typing updates in a Redis command implementation?

Validating TypeScript typing updates for Redis commands requires running TSD typing checks alongside functional tests. This skill coordinates these specific checks to ensure command typings remain compliant without executing the entire test suite.

How do I keep generated RedisCommander.ts files synchronized after modifying Redis command definitions?

Keeping generated RedisCommander.ts files synchronized after modifying command definitions requires executing specific build scripts. This skill identifies necessary build tooling adjustments to ensure generated artifacts match updated command sources.

Can I run Mocha tests automatically based on the specific ioredis files I modified?

Running Mocha tests automatically based on modified ioredis files is possible by analyzing the current diff. This skill selects and executes the minimal necessary validation commands tailored to your specific TypeScript runtime modifications.

Does this verification approach work for build tooling adjustments in the ioredis repository?

This verification approach works for build tooling adjustments by identifying and executing the necessary build scripts. It ensures that changes to build configurations maintain project standards and keep generated artifacts synchronized.

What limitations should I expect when validating ioredis modifications outside of TypeScript and build tooling?

Limitations when validating ioredis modifications apply to changes outside TypeScript runtime logic, Redis command typings, and build tooling. This skill focuses exclusively on selecting Mocha tests, TSD checks, and build scripts for these specific areas.