Qa/Test Strategy logo

Qa/Test Strategy

Community
echoVic
qa/test-strategy

测试策略和测试金字塔原则,定义单元测试、集成测试、E2E测试的分布和覆盖要求

Overview

PublisherechoVic
Repositoryboss-skill
Skill nameqa/test-strategy
Stars
562
Forks
51
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by echoVic on GitHub. Read the source before you install it.

Installation

Install the Qa/Test Strategy AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/echoVic/boss-skill/tree/main/skill/skills/qa/test-strategy
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/echoVic/boss-skill.git /tmp/boss-skill
mkdir -p .claude/skills
cp -r /tmp/boss-skill/skill/skills/qa/test-strategy .claude/skills/echovic-qa-test-strategy
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Qa/Test Strategy in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Qa/Test Strategy on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Qa/Test Strategy is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

测试策略与测试金字塔

测试金字塔原则

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

E2E 测试是强制要求

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

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

前端 vs 后端测试分布

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

QA Attack Protocol

  • 重放核心用户路径:证明核心用户路径真实可用
  • 捕获真实 payload 与服务端响应:验证请求 payload、服务端响应和 schema 一致性
  • 攻击认证授权:覆盖匿名、授权、非授权、过期、越权
  • 攻击数据边界:empty state、pagination、第二页、旧数据、illegal enum、long input、double submit
  • 攻击业务一致性:核对界面展示与服务端业务常量一致
  • 验证产物类功能:验证核心产物、记录或状态存在、可展示、可继续用于下游流程
  • 标记未验证路径:若核心用户路径只由 Mock 或桩数据证明,必须标记为未验证,不能作为发布证据

安全测试

测试类型测试内容示例
SQL 注入参数化查询验证' OR '1'='1
XSS输出转义验证<script>alert(1)</script>
CSRFToken 验证跨站请求测试
认证Token 有效性过期/伪造 Token
授权权限边界越权访问测试
输入验证边界值/格式超长/特殊字符

性能测试

指标前端目标后端目标
首屏加载< 3s-
API P50-< 100ms
API P99-< 500ms
并发用户-≥ 100
内存泄漏无无

Frequently asked questions

What does the Qa/Test Strategy AI skill do?

测试策略和测试金字塔原则,定义单元测试、集成测试、E2E测试的分布和覆盖要求

Why use Qa/Test Strategy on TypingMind?

Because you install it once and use it with any model. Qa/Test Strategy is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Qa/Test Strategy in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/echoVic/boss-skill/tree/main/skill/skills/qa/test-strategy. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Qa/Test Strategy?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Qa/Test Strategy?

As many as you like. As long as a model supports skills, you can use Qa/Test Strategy with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Qa/Test Strategy AI skill free?

Yes. It is published on GitHub by echoVic under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇