← Back to Skills Marketplace
Test Impact Analyzer
by
charlie-morrison
· GitHub ↗
· v1.0.0
· MIT-0
45
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install test-impact-analyzer
Description
Determine which tests need to run for a given code change — trace file dependencies, map source-to-test relationships, identify untested changes, and priorit...
Usage Guidance
This skill's scripts appear coherent for test-impact analysis, but do not run it blindly. Before installing or invoking: 1) confirm the full SKILL.md (the provided file is truncated) and inspect any remaining commands; 2) ensure required tools (git, ripgrep 'rg' or adjust to grep, python3, bc, mktemp, find, sed, grep) are available or update the script; 3) run the commands in a trusted/local clone (it will read and scan your repository files); 4) if you are uncomfortable executing shell snippets from an unknown source, ask the author for a complete script or run the commands step-by-step manually to verify behavior. The omission of required binaries in metadata is a red flag—ask the publisher to correct it before use.
Capability Analysis
Type: OpenClaw Skill
Name: test-impact-analyzer
Version: 1.0.0
The skill provides a 'Test Impact Analyzer' utility using shell scripts and Python to map code changes to tests. It is classified as suspicious due to shell injection vulnerabilities in SKILL.md, particularly in the 'affected' command where the $BASE_BRANCH variable and filenames are used in shell pipes without proper sanitization. While the behavior aligns with the stated purpose, these vulnerabilities represent a risk for arbitrary command execution if the agent is prompted to process malicious branch names or file paths.
Capability Assessment
Purpose & Capability
The skill's stated purpose (map changed source files to tests) matches the instructions. However the registry metadata lists no required binaries or env vars, while the SKILL.md explicitly calls out numerous CLI tools (git, find, sed, grep, rg/ripgrep, mktemp, bc, python3). That metadata omission is an incoherence and could mislead users about what the skill will run.
Instruction Scope
The instructions perform repository-local analysis (git diff, filesystem searches, import-chain scanning) which is appropriate for the stated task. They will read the project's files and run shell commands — expected for this tool. The provided SKILL.md is truncated near the end (a Python snippet is cut off), so the instructions may be incomplete; that should be resolved before running.
Install Mechanism
No install spec is provided (instruction-only). This minimizes installation risk because nothing is automatically downloaded or written to disk by an installer, but the agent will execute shell commands described in the SKILL.md.
Credentials
The skill does not request credentials or environment variables in metadata and the instructions do not attempt to read secrets or external service credentials. The main proportionality issue is the missing declaration of required CLI tools in metadata, not an over-broad credential request.
Persistence & Privilege
The skill is not always-enabled and does not request persistent/system-wide changes. It only contains runtime instructions to run locally; no autonomous or elevated persistence is requested in the metadata.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install test-impact-analyzer - After installation, invoke the skill by name or use
/test-impact-analyzer - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of test-impact-analyzer: Efficiently select and order tests based on code changes for faster, more focused CI.
- Find and run only tests affected by code changes using direct mapping and import analysis.
- Build a complete source-to-test mapping to visualize coverage and gaps.
- Identify untested source files, prioritized by risk (size and recent activity).
- Recommend test execution order: changed-file tests, transitive tests, integration, then full suite.
- Provides ready-to-use shell commands and scripts for each workflow.
Metadata
Frequently Asked Questions
What is Test Impact Analyzer?
Determine which tests need to run for a given code change — trace file dependencies, map source-to-test relationships, identify untested changes, and priorit... It is an AI Agent Skill for Claude Code / OpenClaw, with 45 downloads so far.
How do I install Test Impact Analyzer?
Run "/install test-impact-analyzer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Test Impact Analyzer free?
Yes, Test Impact Analyzer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Test Impact Analyzer support?
Test Impact Analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Test Impact Analyzer?
It is built and maintained by charlie-morrison (@charlie-morrison); the current version is v1.0.0.
More Skills