agentCLAWHUBUnverified

qa-regression-testing

根据变更范围、风险等级和时间约束制定分级精准回归方案。当版本迭代了、代码改动了、你需要确定"到底哪些功能要重新测一遍"的时候使用此技能。回归的时间永远不够——此技能帮你做出取舍决策:冒烟回归(P0核心流程)、核心回归(高影响区域)、全量回归(有余力时)。基于变更分析和风险评估选择最省时的回归策略,而不是盲目全量回归。 触发场景:回归测试、回归策略、回归范围、回归用例、冒烟测试、全量回归、回归不够时间、哪些要回归、版本迭代需要确定回归范围时。 Use when the user asks about: regression scope and strategy for a release — smoke, core, and full regression selected by change impact and risk when time is short. Skill: qa-regression-testing Owner: kokxi Summary: 根据变更范围、风险等级和时间约束制定分级精准回归方案。当版本迭代了、代码改动了、你需要确定"到底哪些功能要重新测一遍"的时候使用此技能。回归的时间永远不够——此技能帮你做出取舍决策:冒烟回归(P0核心流程)、核心回归(高影响区域)、全量回归(有余力时)。基于变更分析和风险评估选择最省时的回归策略,而不是盲目全量回归。 触发场景:回归测试、回归策略、回归范围、回归用例、冒烟测试、全量回归、回归不够时间、哪些要回归、版本迭代需要确定回归范围时。 Use when the user asks about: regression scope and strategy for a release — smoke, core, and full regression selected by change impact and risk wh

OpenClaw

Rank

62

Safety

84

Downloads

1.1k

Updated

Oct 11, 2026

Version

1.8.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1.1K downloadsadoption · observed Oct 11, 2026
Latest release
1.8.0release · observed Sep 29, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s170jw3s1atcj5jwhqb4r7v7eh8912kp:qa-regression-testing
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-regression-testing/snapshot"

Documentation

CLAWHUB

68,402 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: qa-regression-testing
description: >-
  根据变更范围、风险等级和时间约束制定分级精准回归方案。当版本迭代了、代码改动了、你需要确定"到底哪些功能要重新测一遍"的时候使用此技能。回归的时间永远不够——此技能帮你做出取舍决策:冒烟回归(P0核心流程)、核心回归(高影响区域)、全量回归(有余力时)。基于变更分析和风险评估选择最省时的回归策略,而不是盲目全量回归。 触发场景:回归测试、回归策略、回归范围、回归用例、冒烟测试、全量回归、回归不够时间、哪些要回归、版本迭代需要确定回归范围时。 Use when the user asks about: regression scope and strategy for a release — smoke, core, and full regression selected by change impact and risk when time is short.
license: MIT
allowed-tools: Read Grep Glob
metadata:
  display-name: "Regression Testing"
  version: "1.8.0"
  when-to-use: "用户说\"回归测试\"、\"回归策略\"、\"回归范围\"、\"回归用例\"、\"冒烟测试\"、\"全量回归\"、\"回归不够时间\"、\"哪些要回归\"、版本迭代需要确定回归范围时"
  related-skills: "{\"upstream\":[\"qa-code-review-for-test\",\"qa-risk-intuition\",\"qa-test-case-design\"],\"downstream\":[\"qa-ci-cd-testing\",\"qa-test-strategy-design\"]}"
  references: "[\"references/regression-selection.md\"]"
  input-format: "{\"required\":[{\"name\":\"变更范围\",\"type\":\"string\",\"description\":\"本次变更的功能和代码范围\"},{\"name\":\"历史用例集\",\"type\":\"array\",\"description\":\"全部历史测试用例\"}],\"optional\":[{\"name\":\"风险评估\",\"type\":\"object\",\"description\":\"变更风险评估\"},{\"name\":\"时间约束\",\"type\":\"string\",\"description\":\"回归测试时间限制\"}]}"
  output-format: "{\"traceability\":[\"回归用例沿用原始ID(TC_{模块缩写}_{功能缩写}_{序号},如 TC_API_LOGIN_001)\",\"标注回归级别(冒烟/核心/全量)\"],\"structure\":[\"覆盖率:标注口径(基于现有需求/输入文档),禁止\\\"全覆盖/100%\\\"绝对化表述;缺失模块标注\\\"未覆盖+原因\\\"\",{\"regression_plan\":\"回归测试方案\"},{\"selected_cases\":\"选取用例清单\"},{\"risk_based_priority\":\"基于风险的优先级\"},{\"execution_strategy\":\"执行策略\"}]}"
  error-recovery-guidance: "{\"on_failure\":\"回归范围遗漏高风险区域时回退到风险评估补充\",\"retry_behavior\":\"补充风险评估后重新选取回归用例\"}"
  categories: "[\"Development\",\"Testing\",\"DevOps\"]"
  depth-requirement: "{\"reference_value\":\"根据变更范围调整回归深度:简单×1/中等×2/复杂×3\",\"minimum\":\"至少完成冒烟回归、核心回归、选择全量回归3级策略\"}"
---
> ⚠️ 本技能单独使用效果有限,建议配合完整技能集(12 步工作流)使用。安装:npx skills add Kokxi/qa-test-skills

> **⚠️ 安全警告**:本技能的示例可能涉及发布阻塞策略和回归用例分级。
> 实际使用时请勿直接阻塞发布,先与项目经理和开发确认风险等级和发布窗口。
> 本技能仅在 workspace/ 输出评估文件,不持久化、不外传、不跨会话复用。

# 回归测试策略

> **无代码评审时的替代方案**:如果 `qa-code-review-for-test` 的输出不可用(代码评审不在本次工作流路径中),可直接根据用户提供的变更描述、版本 diff 或功能变更列表来确定变更影响范围和回归重点。上游依赖为可选,不阻塞工作流执行。

## 核心原则

回归不是全量重测,而是「判断哪些不用测」比「决定哪些要测」更重要。

## 回归金字塔

### 第1层:冒烟回归(P0 — 提交级)

```text
定位:每次提交/部署必须通过的快速验证
执行频率:每次提交/构建
执行方式:自动化(CI/CD触发)
执行时间:< 15分钟
覆盖率:核心流程 100%

典型用例:
├─ 关键登录态验证
├─ 主页/核心页面可访问
├─ 核心API健康检查
├─ 数据库连接正常

用例特征:
├─ 数量少(< 50条)
├─ 执行快(秒级)
├─ 结果明确(通过/不通过)
└─ 失败即阻塞发布
```

### 第2层:核心回归(P0 + P1 — 日级)

```text
定位:每日/每个迭代版本的关键功能验证
执行频率:每日/每次提测
执行方式:自动化为主 + 人工抽测
执行时间:< 2小时
覆盖率:核心功能 100% + 关联功能 80%

典型用例:
├─ 所有P0用例
├─ 关联功能的核心场景
├─ 历史缺陷的复测用例
├─ 变更影响区域的主路径

用例特征:
├─ 中等数量(100-500条)
├─ 覆盖核心链路
├─ 可自动化率 > 80%
└─ 失败需人工确认
```

### 第3层:全量回归(P0-P3 — 发版级)

```text
定位:大版本发布前的全面验证
执行频率:每个大版本
执行方式:自动 + 人工结合
执行时间:1-5天
覆盖率:全功能覆盖 90%+

典型用例:
├─ 全量P0-P2用例
├─ 所有功能点的边界场景
├─ 兼容性覆盖组合
├─ 全链路性能验证

用例特征:
├─ 数量大(500+条)
├─ 覆盖全面
├─ 部分需人工执行(探索式)
└─ 结果用于发版决策
```

## 加载时机

| 什么时候读 | 读哪个 |
|-----------|--------|
| 确定"回归哪些"时

_meta.json

{
  "ownerId": "kn71y9b23csfx0ykgm55d5m9x5891zt8",
  "slug": "qa-regression-testing",
  "version": "1.8.0",
  "publishedAt": 1790656046448
}

references/regression-selection.md

# 回归用例筛选策略详解

> 本文是 `qa-regression-testing` 的**回归用例筛选策略详解**。确定"回归哪些"时读本文;
其余部分留在 SKILL.md,不必读本文。

---


### 策略1:基于变更的筛选(Change-Based)

```text
适用场景:小迭代 / Bugfix版本
核心逻辑:代码变更 = 需要回归的区域

执行步骤:
1. 获取代码变更列表(Diff / Commit)
2. 确定变更影响的模块和接口
3. 从用例库中提取覆盖这些模块的用例
4. 增加模块间调用链上的关联用例
5. 增加历史缺陷中同类变更的相关用例

适用条件:
├─ 有代码评审结果(qa-code-review-for-test)
├─ 用例与代码有映射关系
└─ 变更边界清晰

优点:精准、用例量少
缺点:依赖代码映射、可能遗漏间接影响
```

### 策略2:基于风险的筛选(Risk-Based)

```text
适用场景:大版本 / 重构 / 新功能上线
核心逻辑:高风险区域 = 必须回归

执行步骤:
1. 引用风险评估结果(qa-risk-intuition)
2. 高风险区域 → 全量回归(P0-P2全覆盖)
3. 中风险区域 → 核心回归(P0-P1)
4. 低风险区域 → 冒烟回归(P0)
5. 历史缺陷高发模块 → 增加额外覆盖

适用条件:
├─ 有风险评估报告
├─ 用例库有优先级标注
└─ 回归时间有限

优点:时间弹性大、可裁剪
缺点:依赖风险判断的准确性
```

### 策略3:基于时间的筛选(Time-Boxed)

```text
适用场景:回归时间严重不足 / 紧急发布
核心逻辑:时间限制 = 用例上限,按价值排序

执行步骤:
1. 计算可用回归时间
2. 按优先级倒序裁减:
   ├─ 先保冒烟(P0,必须过)
   ├─ 再保核心(P0+P1,尽量过)
   └─ 最后全量(P0-P2,能过多少算多少)
3. 标记未覆盖的风险区域
4. 输出回归风险报告

优点:总能给出可执行的方案
缺点:覆盖率随裁剪下降,需显式暴露风险
```

### 策略比较速查

| 策略 | 适用场景 | 用例量 | 依赖 | 风险暴露 |
|------|---------|-------|------|---------|
| 变更驱动 | 小迭代/Bugfix | 少 | 代码映射 | 低 |
| 风险驱动 | 大版本/重构 | 中 | 风险评估 | 中 |
| 时间驱动 | 紧急发布 | 灵活 | 时间预估 | 高(显式暴露) |

skill-card.md

## Description:

Helps QA teams select smoke, core, or full regression coverage based on release changes, risk, and available testing time.

This skill is ready for commercial/non-commercial use.

## Publisher:

[kokxi](https://clawhub.ai/user/kokxi)

### License/Terms of Use:

MIT-0

## Use Case:

QA engineers and developers use this skill to prioritize regression cases for a release, plan execution within time limits, and identify areas left untested.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The suggested unpinned package installation may add skills beyond this release.

Mitigation: Review the wider package and its version before running the installation command.

Risk: A proposed regression gate or time-limited case selection may overlook release-critical areas.

Mitigation: Disclose untested areas and confirm risk priorities and the release window with the project manager and developers before blocking a release.

## Reference(s):

- [Regression case selection strategies](references/regression-selection.md)
- [ClawHub skill release](https://clawhub.ai/kokxi/skills/qa-regression-testing)

## Skill Output:

**Output Type(s):** [Guidance, Markdown]

**Output Format:** [Markdown regression plan and selected case list]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Preserves case IDs, labels regression tiers, and identifies uncovered risks.]

## Skill Version(s):

1.8.0 (source: frontmatter and server release)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 2d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/kokxi/skills/qa-regression-testing",
      "sourceUrl": "https://clawhub.ai/kokxi/skills/qa-regression-testing",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:41:14.408Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-regression-testing/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-regression-testing/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:41:14.408Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.1K downloads",
      "href": "https://clawhub.ai/kokxi/qa-regression-testing",
      "sourceUrl": "https://clawhub.ai/kokxi/qa-regression-testing",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T06:41:14.408Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.8.0",
      "href": "https://clawhub.ai/kokxi/qa-regression-testing",
      "sourceUrl": "https://clawhub.ai/kokxi/qa-regression-testing",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-29T04:27:26.448Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-regression-testing/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-regression-testing/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.8.0",
      "description": "**v1.8.0 Changelog** - Refactored SKILL.md: metadata fields (display name, version, input/output format, references, categories, etc.) moved to a structured frontmatter block. - Moved detailed regression case selection strategies out of the main SKILL.md and into a new references/regression-selection.md file to improve clarity and focus. - Removed the obsolete file skill-card.md. - Updated documentation to reference the new location for regression selection details. - Added a clear note about when to load external references for regression scope decisions.",
      "href": "https://clawhub.ai/kokxi/qa-regression-testing",
      "sourceUrl": "https://clawhub.ai/kokxi/qa-regression-testing",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-29T04:27:26.448Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to qa-regression-testing and adjacent AI workflows.