🧪
QualityTypeScript

Test Strategy

by echoVic

Test Strategy is a Quality skill for Claude Code, published by echoVic in boss-skill.

548 stars50 forkson echoVic/boss-skillAdded 2026/08/26Repository updated 2026/08/23
ai-agentsbmadbmad-workflowclaude-codecursorskilltrae
Install in seconds
Install Test Strategy
Copy Test Strategy into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/echoVic/boss-skill/tree/main/skill/skills/qa/test-strategy ~/.claude/skills/test-strategy

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/echoVic/boss-skill.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skill/skills/qa/test-strategy/SKILL.md in echoVic/boss-skill
Installs to
~/.claude/skills/test-strategy
Collection
One of 25 skills cataloged from this repository
Category
Quality1354 skills

What Test Strategy does

Test Strategy defines the test pyramid and coverage expectations for unit, integration, and E2E tests. It is used to plan QA coverage, verify core user paths, and check security and performance basics.

Test Strategy is cataloged under Quality on DirSkills. Test Strategy comes from a repository tagged ai-agents, bmad, bmad-workflow, claude-code and cursor.

Documentation

README

测试策略与测试金字塔

测试金字塔原则

          /\
         /  \
        / E2E \          ← ~10%:端到端用户流程【必须编写】
       /--------\
      /  集成测试  \       ← ~20%:组件/服务/API 交互
     /--------------\
    /    单元测试     \    ← ~70%:函数/组件/服务逻辑
   /--------------------\

E2E 测试是强制要求

每个项目必须编写 E2E 测试,最少覆盖:

  • 创建流程
  • 编辑流程
  • 删除流程
  • 列表展示
  • 核心业务流程

前端 vs 后端测试分布

层级 前端测试 后端测试
单元测试 组件渲染、Hooks、工具函数 Service 层、业务逻辑、工具类
集成测试 组件交互、状态管理、API 调用 API 端点、数据库操作、服务间调用
E2E 测试 UI 用户流程 API 完整流程、跨服务调用

QA Attack Protocol

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Test Strategy

  • What else does echoVic publish alongside Test Strategy?

    Test Strategy is one of 25 skills that DirSkills catalogs from echoVic/boss-skill, the repository it ships in. Its siblings there include Architecture Design, Backend API Development and Backend Testing Guide. Each one is a separate skill with its own page in this directory, installs the same way Test Strategy does, and is maintained by echoVic in that same repository. The rest of the collection is listed on the echoVic/boss-skill page.

  • How does Test Strategy compare to other Quality skills?

    Test Strategy ranks #1175 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Test Strategy against them. Open each page to compare what they document and how they install.

More from echoVic/boss-skill

Test Strategy is one of 25 skills cataloged on DirSkills from echoVic/boss-skill.

See all 25 skills