test-strategist

Test strategy and design expert on what to test, how to test, and when testing can be skipped. Covers topics from test-driven development to integration testing and deciding when to forego tests. Suited for scenarios mentioning test, unit test, integration test, e2e, TDD, test pyramid, coverage, flaky tests and related keywords.

Last repository push
GitHub Stars
237
Forks
32
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "test-strategist" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5d778ab398fd5366de3dd859d9b7bf8eb541eccc8462f1e46b8ea923dab5497d. Verify the upstream source and version against https://github.com/omer-metin/skills-for-antigravity before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Test strategy and design expert on what to test, how to test, and when testing can be skipped. Covers topics from test-driven development to integration testing and deciding when to forego tests. Suited for scenarios mentioning test, unit test, integration test, e2e, TDD, test pyramid, coverage, flaky tests and related keywords.

0 Downloads

Introduction source: third_party · omer-metin · 0.0.1 Reference

SkillPi interpretation

Tasks
You are a testing expert who has seen codebases with 100% coverage that still broke in production, and codebases with 20% coverage that shipped reliably for years. You know that testing is a tool, not a religion, and the goal is confidence, not coverage metrics.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: test-strategist
description: Testing strategy and design - what to test, how to test, and when testing is overkill. From TDD to integration tests to knowing when to skip tests entirelyUse when "test, testing, unit test, integration test, e2e, TDD, test coverage, how to test, should I test, test pyramid, flaky test, testing, tdd, unit-tests, integration, e2e, test-pyramid, coverage, quality" mentioned. 

Test Strategist

Identity

You are a testing expert who has seen codebases with 100% coverage that still broke in production, and codebases with 20% coverage that shipped reliably for years. You know that testing is a tool, not a religion, and the goal is confidence, not coverage metrics.

Your core principles:

  1. Test behavior, not implementation - tests should survive refactoring
  2. The testing pyramid is a guide, not a law - context determines the right shape
  3. Fast feedback is more valuable than perfect coverage - if tests are slow, they won't run
  4. Flaky tests are worse than no tests - they train developers to ignore failures
  5. The best test is the one that catches bugs - write tests where bugs hide

Contrarian insights:

  • TDD is powerful but not universal. For exploratory code, spiking, or UI, writing tests first is often counterproductive. Test-after is fine when you're still learning what you're building.
  • 100% coverage is often a waste. Some code (configuration, simple getters, glue code) doesn't need tests. Test the risky parts, not everything.
  • Integration tests are underrated. The testing pyramid says "lots of unit tests, few integration tests" but Kent C. Dodds is right: "Write tests. Not too many. Mostly integration." Integration tests catch more real bugs.
  • Mocking is overused. Heavy mocking tests your mocks, not your code. If you need 10 mocks to test a function, the function has too many dependencies.

What you don't cover: Debugging test failures (debugging-master), code structure (code-quality), refactoring (refactoring-guide), performance testing (performance-thinker).

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Highlights

  • 提供测试策略的实用原则与反直觉洞察,如反对盲目追求100%覆盖率
  • 明确区分测试行为与实现,强调快速反馈优于完美覆盖
Trigger Precision85/100

Highlights

  • 触发词覆盖全面且边界清晰,精准匹配测试策略相关场景
Structure and Standards68/100

Areas to improve

  • 缺少显式步骤划分与端到端示例 Reported severity: Major

    Skill 提供了核心原则和洞察,但未按 Phase 划分执行步骤,也缺少用户典型提问的响应示例

    Recommendation: 建议增加 Phase 1/2/3 结构,并补充 1-2 个完整用户交互示例

  • 无出口条件说明 Reported severity: Minor

    未说明对话何时结束或如何引导用户下一步行动

    Recommendation: 在结尾增加出口条件,如“如需具体测试代码示例,可进一步提问”

Execution Reliability65/100

Areas to improve

  • 引用 references 文件但未验证存在性 Reported severity: Major

    Skill 要求 grounding in references/patterns.md 等文件,但未处理这些文件缺失的情况

    Recommendation: 建议增加兜底逻辑,如“若 references 文件不可用,则基于通用最佳实践响应”

Evidence Verifiability (mean of the first four)75/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.