agentCLAWHUBUnverified

qa-shift-left

当项目还在需求阶段或者开发正在写代码时使用此技能——这时候介入能花最小的成本避免最多的缺陷。从需求可测试性评审(需求模糊/矛盾/不可测)、开发阶段测试设计(单元测试/接口契约/测试桩)和技术方案评审(影响面分析/风险识别)三个维度提前发现缺陷。越早发现 Bug 修复成本越低——需求阶段的 Bug 修复成本是线上阶段的 1/100。输出左移检查清单和阶段性介入记录。 触发场景:测试左移、左移、提前测试、需求可测试性(左移阶段)、需求评审(左移介入)、开发阶段测、项目早期需要介入测试时。 Use when the user asks about: shifting testing left into requirements and development — requirement testability review, test design during development, and technical design review. Skill: qa-shift-left Owner: kokxi Summary: 当项目还在需求阶段或者开发正在写代码时使用此技能——这时候介入能花最小的成本避免最多的缺陷。从需求可测试性评审(需求模糊/矛盾/不可测)、开发阶段测试设计(单元测试/接口契约/测试桩)和技术方案评审(影响面分析/风险识别)三个维度提前发现缺陷。越早发现 Bug 修复成本越低——需求阶段的 Bug 修复成本是线上阶段的 1/100。输出左移检查清单和阶段性介入记录。 触发场景:测试左移、左移、提前测试、需求可测试性(左移阶段)、需求评审(左移介入)、开发阶段测、项目早期需要介入测试时。 Use when the user asks about: shifting testing left into requirements and development — requirement testability review, test design

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-shift-left
  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-shift-left/snapshot"

Documentation

CLAWHUB

62,865 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: qa-shift-left
description: >-
  当项目还在需求阶段或者开发正在写代码时使用此技能——这时候介入能花最小的成本避免最多的缺陷。从需求可测试性评审(需求模糊/矛盾/不可测)、开发阶段测试设计(单元测试/接口契约/测试桩)和技术方案评审(影响面分析/风险识别)三个维度提前发现缺陷。越早发现 Bug 修复成本越低——需求阶段的 Bug 修复成本是线上阶段的 1/100。输出左移检查清单和阶段性介入记录。 触发场景:测试左移、左移、提前测试、需求可测试性(左移阶段)、需求评审(左移介入)、开发阶段测、项目早期需要介入测试时。 Use when the user asks about: shifting testing left into requirements and development — requirement testability review, test design during development, and technical design review.
license: MIT
allowed-tools: Read Grep Glob Bash
metadata:
  display-name: "Shift Left"
  version: "1.8.0"
  when-to-use: "用户说\"测试左移\"、\"左移\"、\"提前测试\"、\"需求可测试性(左移阶段)\"、\"需求评审(左移介入)\"、\"开发阶段测\"、需要将测试提前、项目早期需要介入测试时"
  related-skills: "{\"upstream\":[\"qa-req-deconstruction\",\"qa-testability-advocacy\"],\"downstream\":[\"qa-code-review-for-test\",\"qa-test-automation-arch\"]}"
  references: "[\"references/shift-left-stages.md\"]"
  input-format: "{\"required\":[{\"name\":\"项目计划\",\"type\":\"string\",\"description\":\"项目时间线和阶段规划\"},{\"name\":\"质量目标\",\"type\":\"string\",\"description\":\"项目质量目标和标准\"}],\"optional\":[{\"name\":\"团队能力\",\"type\":\"string\",\"description\":\"团队测试技能评估\"}]}"
  output-format: "{\"traceability\":[\"本技能规划左移,不产出唯一ID;可溯源到需求评审ID\"],\"structure\":[{\"shift_left_plan\":\"左移测试计划\"},{\"early_activities\":\"早期介入活动清单\"},{\"quality_gates_early\":\"前置质量门禁\"},{\"team_enablement\":\"团队赋能计划\"}]}"
  error-recovery-guidance: "{\"on_failure\":\"左移介入遗漏可测试性问题时回退到需求评审补充\",\"retry_behavior\":\"补充评审后重新评估左移点\"}"
  categories: "[\"Development\",\"Testing\",\"DevOps\"]"
  depth-requirement: "{\"reference_value\":\"根据介入阶段调整左移深度:简单×1/中等×2/复杂×3\",\"minimum\":\"至少覆盖需求可测试性评审、开发阶段测试2个介入点\"}"
---
> ⚠️ 本技能单独使用效果有限,建议配合完整技能集(12 步工作流)使用。安装:npx skills add Kokxi/qa-test-skills

# 测试左移实践

## 核心原则

测试左移——越早发现缺陷,修复成本越低。

## 加载时机

| 什么时候读 | 读哪个 |
|-----------|--------|
| 介入需求/设计/开发阶段时 | [`references/shift-left-stages.md`](references/shift-left-stages.md) |

> `左移阶段`的完整内容已下沉至 `references/shift-left-stages.md`,避免每次触发都占用上下文。

## 需求可测试性

### 验收标准模板

```markdown
## 验收标准(AC)

### 功能描述
[功能的简要描述]

### 验收条件
- [ ] 条件1:[具体条件]
- [ ] 条件2:[具体条件]
- [ ] 条件3:[具体条件]

### 输入
- 正常输入:[示例]
- 异常输入:[示例]
- 边界输入:[示例]

### 输出
- 正常输出:[预期结果]
- 异常输出:[错误信息]
- 边界输出:[边界处理]

### 验证方法
- [ ] 手动测试
- [ ] 自动化测试
- [ ] 接口测试
```

### 可测试性检查清单

```text
接口层:
├─ [ ] 接口是否可Mock?
├─ [ ] 接口是否有测试接口?
├─ [ ] 接口文档是否完整?
└─ [ ] 接口版本是否管理?

数据层:
├─ [ ] 数据是否可构造?
├─ [ ] 数据是否可清理?
├─ [ ] 数据是否可查询?
└─ [ ] 数据是否可隔离?

日志层:
├─ [ ] 关键路径是否有日志?
├─ [ ] 日志级别是否合理?
├─ [ ] 是否有TraceId?
└─ [ ] 日志是否可查询?

配置层:
├─ [ ] 功能开关是否支持?
├─ [ ] 配置是否可动态修改?
├─ [ ] 测试配置是否独立?
└─ [ ] 配置变更是否有记录?
```

## 代码评审检查点

### 测试视角的CR

```text
检查点:
├─ 业务逻辑
│   ├─ 条件判断是否正确?
│   ├─ 边界条件是否处理?
│   ├─ 异常情况是否考虑?
│   └─ 数据校验是否完整?
│
├─ 异常处理
│   ├─ 异常是否捕获?
│   ├─ 异常信息是否明确?
│   ├─ 异常恢复是否实现?
│   └─ 异常日志是否记录?
│
├─ 日志记录
│   ├─ 关键操作是否有日志?
│   ├─ 日志级别是否合理?
│   ├─ 敏感信息是否脱敏?
│   └─ TraceId是否传递?
│
└─ 性能影响
    ├─ 是否有N+1查询?
    ├─ 是否有内存泄漏风险?
    ├─ 是否有并发问题?
    └─ 是否有性能瓶颈?
```

## 单元测试支持

### 单元测试检查清单

```text
覆盖率:
├─ [ ] 核心逻辑覆盖?
├

_meta.json

{
  "ownerId": "kn71y9b23csfx0ykgm55d5m9x5891zt8",
  "slug": "qa-shift-left",
  "version": "1.8.0",
  "publishedAt": 1790656092420
}

references/shift-left-stages.md

# 测试左移三阶段详解

> 本文是 `qa-shift-left` 的**测试左移三阶段详解**。介入需求/设计/开发阶段时读本文;
其余部分留在 SKILL.md,不必读本文。

---


### 阶段1:需求阶段

```text
测试活动:
├─ 需求评审
│   ├─ 参与需求评审会议
│   ├─ 从测试角度提出问题
│   ├─ 识别需求不清晰/矛盾点
│   └─ 评估需求可测试性
│
├─ 验收标准
│   ├─ 协助定义验收标准(AC)
│   ├─ 确保AC可测试、可自动化
│   ├─ 明确输入/输出/边界
│   └─ 识别隐含需求
│
└─ 可测试性评估
    ├─ 评估接口是否可Mock
    ├─ 评估日志是否可追踪
    ├─ 评估配置是否可动态
    └─ 评估数据是否可构造
```

### 阶段2:设计阶段

```text
测试活动:
├─ 架构评审
│   ├─ 评估系统架构可测试性
│   ├─ 识别测试难点
│   ├─ 建议可测试设计
│   └─ 评估依赖服务Mock方案
│
├─ 接口设计评审
│   ├─ 评估接口设计合理性
│   ├─ 确认接口文档完整性
│   ├─ 评估错误码设计
│   └─ 评估版本兼容性
│
└─ 数据库设计评审
    ├─ 评估表结构设计
    ├─ 评估索引设计
    ├─ 评估数据迁移方案
    └─ 评估数据一致性
```

### 阶段3:开发阶段

```text
测试活动:
├─ 代码评审
│   ├─ 从测试角度Review代码
│   ├─ 识别潜在Bug模式
│   ├─ 评估异常处理
│   └─ 评估日志记录
│
├─ 单元测试支持
│   ├─ 协助开发设计测试用例
│   ├─ 提供测试数据建议
│   ├─ 验证单元测试覆盖
│   └─ 评审单元测试质量
│
└─ 接口测试
    ├─ 编写接口测试用例
    ├─ 验证接口契约
    ├─ 测试接口边界条件
    └─ 执行接口自动化测试
```

skill-card.md

## Description:

Helps QA teams shift testing into requirements, design, and development through testability reviews, acceptance criteria, and early test planning.

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 practitioners and developers use this skill to plan early testing involvement, review requirements and designs for testability, and prepare acceptance criteria and quality gates.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The optional companion workflow install command is not pinned to a release.

Mitigation: Confirm the companion source is trusted and use a reviewed commit or pinned version before installing.

## Reference(s):

- [Shift-left testing stages](references/shift-left-stages.md)
- [ClawHub skill release](https://clawhub.ai/kokxi/skills/qa-shift-left)

## Skill Output:

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

**Output Format:** [Markdown checklists and plans]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include early intervention activities, quality gates, and team enablement recommendations.]

## Skill Version(s):

1.8.0 (source: skill metadata and ClawHub 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-shift-left",
      "sourceUrl": "https://clawhub.ai/kokxi/skills/qa-shift-left",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T10:04:12.790Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-shift-left/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-shift-left/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T10:04:12.790Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.1K downloads",
      "href": "https://clawhub.ai/kokxi/qa-shift-left",
      "sourceUrl": "https://clawhub.ai/kokxi/qa-shift-left",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T10:04:12.790Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.8.0",
      "href": "https://clawhub.ai/kokxi/qa-shift-left",
      "sourceUrl": "https://clawhub.ai/kokxi/qa-shift-left",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-29T04:28:12.420Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-shift-left/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-shift-left/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.8.0",
      "description": "## qa-shift-left v1.8.0 Changelog - Major content for“左移阶段”已下沉至 references/shift-left-stages.md,优化主页面信息密度和上下文占用。 - 增加 metadata 字段(display-name, version, 相关用法、输入输出、引用、深度、容错等),结构更标准化。 - skill-card.md已删除,精简冗余元数据文件。 - 触发场景、上下游技能、输入输出结构等内容整合至 metadata 方便平台解析。 - 其余操作指南、可测试性、评审和单元测试清单保持不变。",
      "href": "https://clawhub.ai/kokxi/qa-shift-left",
      "sourceUrl": "https://clawhub.ai/kokxi/qa-shift-left",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-29T04:28:12.420Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to qa-shift-left and adjacent AI workflows.