test-strategy

Map behaviors to a coverage matrix and identify missing boundary and regression scenarios.

73|7|Updated May 26, 2026
One-click install
npx skills add https://github.com/franklioxygen/agent-workflows --skill test-strategy-franklioxygen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-strategy
Source: https://github.com/franklioxygen/agent-workflows/tree/main/zh-cn/skills/test-strategy
Command: npx skills add https://github.com/franklioxygen/agent-workflows --skill test-strategy-franklioxygen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

帮助你为功能、缺陷修复、重构、迁移和评审设计高价值、低脆弱性的测试策略,避免只覆盖实现细节却遗漏关键边界与回归风险,从而降低反复返工与发布事故概率。

Core Features & Use Cases

  • 覆盖矩阵与缺口识别:把行为映射到覆盖矩阵,明确现有覆盖、缺失项与优先级(P0/P1/P2)。
  • 行为驱动的验证选择:以可观察外部结果为中心区分自动化测试、手工 QA 与验证命令,优先做定向验证再扩展。
  • 脆弱与低信号测试规避:标记宽泛快照、恒真断言、时间敏感、与实现一一映射而非验证行为的测试,避免无意义更新。
  • 回归与质量输出约束:要求包含场景、输入、期望结果与重要性,并显式标注跳过/弱测理由,支持“修复前失败、修复后通过”的回归定义。

Quick Start

在你有仓库路径时,先运行 scripts/test_inventory.py <path> 并据此生成覆盖矩阵,再参照 references/test-strategy-checklist.md 补齐缺失边界与验证命令。

Frequently Asked Questions about test-strategy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a high-signal test strategy that avoids fragile tests?

Design a high-signal test strategy by mapping behaviors to a coverage matrix, prioritizing P0/P1/P2 gaps, and avoiding low-signal tests like broad snapshots or implementation-coupled assertions to prevent meaningless updates.

How do I create a behavior verification coverage matrix for regression testing?

Create a behavior verification coverage matrix by mapping observable external results to test scenarios, separating automation from manual QA, and explicitly marking missing boundary and regression cases with priority levels.

What is the best way to plan QA steps for code refactoring and migrations?

Plan QA steps for refactoring by defining explicit behavior-driven test plans with prioritized scenarios, expected results, and concrete validation commands, ensuring tests fail before a fix and pass after.

How do I identify missing boundary cases in my CI validation pipeline?

Identify missing boundary cases in CI validation by running a test inventory against your repository path, mapping existing coverage, and cross-referencing a test strategy checklist to expose unverified edge scenarios.

Why does my automated test suite require constant updates without catching bugs?

Your automated test suite likely contains fragile or low-signal tests, such as broad snapshots or time-sensitive assertions, which fail on implementation changes rather than actual behavior regressions.

Can I use this approach to separate manual QA from automated behavior verification?

Yes, you can separate manual QA from automated behavior verification by categorizing targeted validation commands and observable external outcomes into distinct execution tracks within your coverage matrix.