This skill enables Claude to track and run regression tests, ensuring new changes don't break existing functionality. It is triggered when the user asks to "track regression", "run regression tests", or uses the shortcut "reg". The skill helps in maintaining code stability by identifying critical tests, automating their execution, and analyzing the impact of changes. It also provides insights into test history and identifies flaky tests. The skill uses the `regression-test-tracker` plugin.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
name: Tracking Regression Tests
description: |
This skill enables Claude to track and run regression tests, ensuring new changes don't break existing functionality. It is triggered when the user asks to "track regression", "run regression tests", or uses the shortcut "reg". The skill helps in maintaining code stability by identifying critical tests, automating their execution, and analyzing the impact of changes. It also provides insights into test history and identifies flaky tests. The skill uses the regression-test-tracker plugin.
Overview
This skill allows Claude to track and execute regression tests, which are crucial for maintaining software quality and preventing unintended consequences from new code changes. By automating the regression testing process, Claude can quickly identify and address potential issues before they impact users.
How It Works
- Identify Regression Tests: The user marks specific tests as part of the regression suite using the
--markflag. - Execute Regression Suite: The skill runs the designated regression tests.
- Analyze Results: The skill analyzes the test results, highlighting failures and potential flaky tests.
When to Use This Skill
This skill activates when you need to:
- Run the regression test suite before deploying new code.
- Mark a specific test as part of the regression suite.
- Investigate potential regressions after making code changes.
Examples
Example 1: Running the Regression Suite
User request: "run regression tests"
The skill will:
- Execute all tests marked as part of the regression suite.
- Report the results, including any failures or flaky tests.
Example 2: Marking a Test for Regression
User request: "track regression --mark test_example"
The skill will:
- Mark the test
test_exampleas part of the regression suite. - Confirm that the test has been added to the suite.
Best Practices
- Test Selection: Choose tests that cover critical functionality and are likely to be affected by changes.
- Frequency: Run the regression suite frequently, especially before deployments.
- Analysis: Carefully analyze test failures to identify the root cause of regressions.
Integration
This skill can be integrated with other testing and CI/CD tools to automate the regression testing process as part of a larger development workflow.
More by jeremylongshore
View allRabbitmq Queue Setup - Auto-activating skill for Backend Development. Triggers on: rabbitmq queue setup, rabbitmq queue setup Part of the Backend Development skill category.
evaluating-machine-learning-models: This skill allows Claude to evaluate machine learning models using a comprehensive suite of metrics. It should be used when the user requests model performance analysis, validation, or testing. Claude can use this skill to assess model accuracy, precision, recall, F1-score, and other relevant metrics. Trigger this skill when the user mentions "evaluate model", "model performance", "testing metrics", "validation results", or requests a comprehensive "model evaluation".
building-neural-networks: This skill allows Claude to construct and configure neural network architectures using the neural-network-builder plugin. It should be used when the user requests the creation of a new neural network, modification of an existing one, or assistance with defining the layers, parameters, and training process. The skill is triggered by requests involving terms like "build a neural network," "define network architecture," "configure layers," or specific mentions of neural network types (e.g., "CNN," "RNN," "transformer").
Oauth Callback Handler - Auto-activating skill for API Integration. Triggers on: oauth callback handler, oauth callback handler Part of the API Integration skill category.
