Meta-skill that orchestrates comprehensive testing across a project by coordinating testing-patterns, e2e-testing, and testing agents. Use when setting up testing for a new project, improving coverage for an existing project, establishing a testing strategy, or verifying quality before a release.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install testing-workflow或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install testing-workflow⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/testing-workflow/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: testing-workflow model: standard category: testing description: Meta-skill that orchestrates comprehensive testing across a project by coordinating testing-patterns, e2e-testing, and testing agents. Use when setting up testing for a new project, improving coverage for an existing project, establishing a testing strategy, or verifying quality before a release. version: 1.0 ---
Orchestrate comprehensive testing across a project by coordinating the testing-patterns skill, e2e-testing skill, and testing agents. This meta-skill does not define test patterns itself — it routes to the right skill or agent at each stage and ensures nothing is missed.
---
---
Follow these steps in order. Each step routes to a specific skill or agent — read and apply that resource before moving to the next step.
Scan the project to understand existing test infrastructure, measure current coverage, and identify gaps before making changes. Without a baseline, you cannot demonstrate improvement.
Based on the discovery results, select the appropriate testing approach for this project.
ai/skills/testing/testing-patterns/SKILL.md and choose the unit/integration test patterns that match the project's architecture, language, and framework.Generate tests following the patterns selected in Phase 2.
ai/skills/testing/e2e-testing/SKILL.md and write E2E tests for each critical user journey identified in Phase 2.Verify that the new tests meet quality standards and coverage targets.
Establish ongoing practices to keep the test suite healthy.
---
Use this table to route specific needs to the correct resource:
| Need | Route To | Path | |------|----------|------| | Unit/integration test patterns | testing-patterns | ai/skills/testing/testing-patterns/SKILL.md | | E2E test patterns | e2e-testing | ai/skills/testing/e2e-testing/SKILL.md | | Code quality standards | clean-code | ai/skills/testing/clean-code/SKILL.md | | Review checklist | code-review | ai/skills/testing/code-review/SKILL.md | | CI/CD quality gates | quality-gates | ai/skills/testing/quality-gates/SKILL.md | | Debugging test failures | debugging | ai/skills/testing/debugging/SKILL.md |
When a request falls clearly into one row, go directly to that resource. Use the full orchestration flow only when comprehensive coverage is the goal.
---
Targets vary by project type. Use the appropriate row to set expectations:
| Project Type | Statement | Branch | Function | E2E Journeys | Notes | |--------------|-----------|--------|----------|--------------|-------| | Startup MVP | 60% | 50% | 60% | Top 3 flows | Focus on critical paths only | | Production App | 80% | 70% | 80% | Top 10 flows | Balance speed with confidence | | Library / Package | 90% | 85% | 95% | N/A | Public API must be fully covered | | Critical Infrastructure | 95% | 90% | 95% | All flows | Zero tolerance for gaps |
These are minimums. Aim higher when time permits, but do not block releases on vanity metrics — prioritize meaningful coverage over percentage points.
---
Use this template to document the testing strategy for a project. Fill it in during the orchestration flow and keep it in the repo.
# Testing Strategy
## Project Overview
- **Project**: [name]
- **Type**: [startup MVP | production app | library | critical infrastructure]
- **Primary Language**: [language]
- **Framework**: [framework]
- **Test Runner**: [runner]
- **Coverage Tool**: [tool]
## Coverage Baseline
- **Statement**: [X%]
- **Branch**: [X%]
- **Function**: [X%]
- **E2E Journeys Covered**: [N of M]
- **Date Measured**: [YYYY-MM-DD]
## Coverage Targets
- **Statement**: [target%]
- **Branch**: [target%]
- **Function**: [target%]
- **E2E Journeys**: [target count]
## Test Patterns Selected
- [ ] [Pattern 1 — reason for selection]
- [ ] [Pattern 2 — reason for selection]
- [ ] [Pattern 3 — reason for selection]
## Critical User Journeys (E2E)
1. [Journey 1 — e.g., signup -> onboarding -> first action]
2. [Journey 2 — e.g., login -> dashboard -> export]
3. [Journey 3 — e.g., checkout -> payment -> confirmation]
## Gaps and Risks
- [Untested area 1 — risk level, mitigation plan]
- [Untested area 2 — risk level, mitigation plan]
## Quality Gate Status
- [ ] All tests pass
- [ ] Coverage targets met
- [ ] Critical journeys covered with E2E
- [ ] No skipped tests without justification
- [ ] Test execution time within budget
- [ ] CI enforces coverage thresholds
---
All of the following must be satisfied before marking testing complete:
...
安装 Testing Workflow 后,可以对 AI 说这些话来触发它
Help me get started with Testing Workflow
Explains what Testing Workflow does, walks through the setup, and runs a quick demo based on your current project
Use Testing Workflow to meta-skill that orchestrates comprehensive testing across a project...
Invokes Testing Workflow with the right parameters and returns the result directly in the conversation
What can I do with Testing Workflow in my developer & devops workflow?
Lists the top use cases for Testing Workflow, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/testing-workflow/ 目录(个人级,所有项目可用),或 .claude/skills/testing-workflow/(项目级)。重启 AI 客户端后,用 /testing-workflow 主动调用,或让 AI 根据上下文自动发现并使用。
Testing Workflow 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Testing Workflow 可免费安装使用。请查阅仓库了解许可证信息。
Meta-skill that orchestrates comprehensive testing across a project by coordinating testing-patterns, e2e-testing, and testing agents. Use when setting up testing for a new project, improving coverage for an existing project, establishing a testing strategy, or verifying quality before a release.
Testing Workflow 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Testing Workflow
Identifies repetitive steps in your workflow and sets up Testing Workflow to handle them automatically