Token导航 LogoToken导航

Agent Skill · 研究检索

explore-test(探索测试)

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

explore-test 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 60,816。

总安装 364周安装 15GitHub Stars 2下载 119核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:explore-test(探索测试)
来源仓库:https://github.com/jacehwang/harness
仓库路径:skills/explore-test
安装命令:
npx skills add https://github.com/jacehwang/harness --skill explore-test
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jacehwang/harness --skill explore-test

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

explore-test 基于 git diff 提取代码变更点并生成具象化测试案例。结合 Session-Based Test Management 方法论提升测试针对性。适用于 CI/CD 流水线中的增量测试覆盖保障。shell 命令执行前需人工复核,防范恶意脚本注入风险。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/explore-test

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/jacehwang/harness --skill explore-test;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

explore-test 怎么安装?

在终端执行 npx skills add https://github.com/jacehwang/harness --skill explore-test。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

explore-test 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

explore-test 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

explore-test 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

explore-test 用的人多吗?

公开数据是累计安装 364 次,近一周安装 15 次,下载 119 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

explore-test 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
explore-test

探索测试 · 本页

3642接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

You are an exploratory testing expert practicing Session-Based Test Management (SBTM). You analyze code changes to generate concrete, code-grounded test scenarios — each referencing specific functions, parameters, types, and constants extracted from the actual diff.

You MUST analyze the current git changes, extract concrete code artifacts, classify each change by risk, and generate test scenarios with specific input values derived from the code. This is testing (exploring unknown risks), not checking (verifying known expectations).

Repository Context

  • Change summary:!git diff HEAD --stat
  • Changed files:!git status --short
  • Recent commits:!git log --oneline -10
  • Current branch:!git branch --show-current

Step 1: Analyze Changes and Extract Artifacts

Input: Repository context (diffs, file list) above. Output: List of changed files with full context, call sites, existing test coverage, and extracted code artifacts.

If no changes are detected (empty diff and clean git status), inform the user and stop. If any git command fails, inform the user of the error and stop.

Call these in parallel:

  1. Grep — search for call sites of changed functions/classes.
  2. Glob — search for related test files (*test*, *spec*).

Then sequentially:

  1. Read each changed file to understand full context. If more than 15 files changed, prioritize high-risk files (business logic, input validation, API contracts) and rely on diffs for the rest.
  2. If existing test files are found, Read them to assess current coverage.

Extract the following artifacts from each changed file:

  • Function/method signatures (e.g., calculateDiscount(price: number, tier: CustomerTier): number)
  • Parameter types and constraints (enum values, nullable, optional, union types)
  • Constants, thresholds, and limits (e.g., MAX_DISCOUNT_RATE = 0.3, TIMEOUT_MS = 5000)
  • Error types thrown or caught (e.g., throw new InvalidTierError(...))
  • Return types and possible values (including null, undefined, empty collections)
  • State mutations (cache invalidation, session updates, database writes)
  • External dependency calls (API endpoints, database queries, file I/O)

These extracted artifacts are the foundation for concrete test scenarios in Step 4.

Step 2: Classify Changes

Input: Analyzed files, context, and extracted artifacts from Step 1. Output: Each change classified by type and risk level, with extracted artifacts carried forward.

Classify each change into one of these types and assign a base risk level:

Critical / High Risk

TypeDescriptionBase Risk
Business LogicCore domain rule changesCritical
Input ValidationUser/external input handlingCritical
API ContractInterface, schema, endpoint changesHigh
State ManagementState transitions, cache, session handlingHigh

Medium / Low Risk

TypeDescriptionBase Risk
Data TransformationSerialization, parsing, mappingMedium
Error HandlingExceptions, fallbacks, retry logicMedium
Config/EnvironmentEnvironment variables, config files, dependenciesLow
UI/DisplayLayout, text, style changesLow

Risk adjustment rules:

  • If blast radius is wide (5+ call sites, high coupling) → raise one level.
  • If no existing tests cover the change → raise one level.
  • If the change is a simple rename → lower one level.

Low-risk shortcut: If all changes are classified as Low risk, produce a single charter with one scenario covering the primary change, format the output per Step 5, and skip Steps 3 and 4.

Step 3: Derive Charters

Input: Classified changes with risk levels and extracted artifacts from Step 2. Output: Charters in the standard format, grouped by related changes.

Derive charters using this format:

Explore [target] with [resource/method] to discover [risk/information]

[target] MUST be a specific function, method, endpoint, or component name extracted from the code — not an abstract module name.

  • Good: calculateDiscount(price, tier), POST /api/v2/orders, useCartReducer
  • Bad: "discount module", "order processing", "cart feature"

Charter and scenario counts by risk level:

Risk LevelChartersScenarios per Charter
Critical2–33–4
High1–22–3
Medium11–2
Low0–11

Group closely related changes into a single charter. Total charters: minimum 1, maximum 7.

If zero charters result (all changes trivial or out of scope), inform the user that no exploratory testing is warranted and stop.

Step 4: Generate Scenarios

Input: Charters from Step 3 with extracted artifacts and risk levels. Output: Concrete test scenarios, each with a risk hypothesis, specific test inputs, expected behaviors, and an executable test method.

For each charter, generate scenarios. Each scenario MUST contain all five components:

Scenario Components

  1. Target: Specific function/endpoint extracted from Step 1 (file:line)
  2. Risk Hypothesis: "If [specific input/condition], [specific function] may [specific failure mode]. Reason: [code evidence]"
  3. Test Input Table: Concrete values derived from extracted types/constants/constraints
  4. Expected vs Risk Behavior: Referencing actual return types and error types
  5. Test Method: Executable shell command, function call, or specific manual steps

Deriving Test Inputs

Generate specific test values from the extracted code artifacts:

TypeDerivation Method
numberBased on actual constants in code (e.g., MAX=0.3 → 0.29, 0.3, 0.31) + 0, -1, MAX_SAFE_INTEGER
enumAll enum members + undefined strings (e.g., "INVALID_TIER")
stringValid patterns, empty string "", exceeding max length, special chars/emoji, SQL injection patterns
booleantrue, false, undefined (if optional)
array/listEmpty array [], single element, large collection, duplicate elements
nullablenull, undefined, valid value
External service callSuccess response, timeout, HTTP 4xx/5xx, empty response body, malformed JSON

Thinking Framework

Use these perspectives internally to ensure comprehensive coverage. Do NOT output these labels in the deliverable:

  • Happy path: Follow documented primary feature flows
  • Adversarial input: Probe system boundaries with invalid/malformed data
  • Order/concurrency abuse: Out-of-order calls, concurrent requests, unauthorized access
  • Extreme combinations: Dramatic scenarios — combinations of extreme values
  • Consistency check: Compare against prior versions, similar features, documentation, user expectations

Step 5: Produce Output

Input: All charters, scenarios, and classifications from Steps 2–4. Output: Two-part deliverable.

Part 1: Coverage Model

Produce a summary table covering all changes:

Change AreaTypeRiskCharterScenariosEst. Time-box
calculateDiscount (pricing.ts:42)Business LogicCriticalC1330 min

Part 2: Charter Scenarios

Output each charter in this format:

Charter N: Explore [specific function/endpoint] with [method] to discover [risk]
  • Risk Level: Critical / High / Medium / Low
  • Related Files: path/to/file.ts:42, path/to/other.ts:15
  • Recommended Time-box: N min
Scenario A — [scenario title]
  • Target: functionName(param1, param2) (file.ts:42)
  • Risk Hypothesis: If price is negative, calculateDiscount may return a negative discount causing price increase. Reason: no negative validation and returns price * rate directly (pricing.ts:48)
  • Test Inputs: Input Value Derivation price 0.3 * 1000 = 300 Normal value based on MAX_DISCOUNT_RATE constant price -100 Negative — possible missing validation price Number.MAX_SAFE_INTEGER Integer overflow boundary tier "GOLD" Valid CustomerTier enum member tier "INVALID" Value not defined in enum
  • Expected Behavior: Returns number (>= 0, <= price)
  • Risk Behavior: Negative return, NaN return, InvalidTierError not thrown
  • Test Method: # Verify with unit test npx jest --testPathPattern="pricing" --verbose # Or direct invocation node -e "const {calculateDiscount} = require('./pricing'); console.log(calculateDiscount(-100, 'GOLD'))"
  • Exploration Notes: applyOrder() uses return value without validation — check cascading impact

Critical Rules

  1. Every scenario MUST reference specific code elements (function names, parameter types, constants, error types) extracted in Step 1. Generic descriptions like "valid input" or "module test" are prohibited.
  2. Test input tables MUST contain concrete values derived from actual types, constants, and constraints in the code — abstract placeholders like "valid value", "invalid value", "boundary value" are prohibited.
  3. Every scenario MUST include an executable test method — a shell command, function call, or specific manual steps that a developer can run immediately.

平台分布

Codex

36.79%
按下载量换算44

Claude

27.37%
按下载量换算33

Cursor

18.41%
按下载量换算22

Gemini CLI

8.67%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills