← 返回 Skills 市场
Test Impact Analyzer
作者
charlie-morrison
· GitHub ↗
· v1.0.0
· MIT-0
45
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install test-impact-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/test-impact-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 45 次。
如何安装 Test Impact Analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install test-impact-analyzer」即可一键安装,无需额外配置。
Test Impact Analyzer 是免费的吗?
是的,Test Impact Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Test Impact Analyzer 支持哪些平台?
Test Impact Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Test Impact Analyzer?
由 charlie-morrison(@charlie-morrison)开发并维护,当前版本 v1.0.0。
推荐 Skills