testing-strategy
What it does
This skill plans how a team should test its software, from what to cover to which kinds of tests to write. It is for developers and QA leads who want reliable tests without wasted effort.
When to use it
- ✓When you need to decide what tests a project needs and where to focus them.
- ✓When a team asks how to test a new API, data pipeline or frontend.
- ✓When you want a test plan with coverage targets and example test cases.
Skill link
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/testing-strategy/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Create a testing strategy for our new payments API, including the test types and coverage targets.”
5 new skills a week. 1 minute to read.
How it works
The agent applies the testing pyramid, using many fast unit tests, some integration tests and a few end-to-end tests. It matches the approach to each component type and writes a test plan with examples.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Testing Strategy
Design effective testing strategies balancing coverage, speed, and maintenance.
Testing Pyramid
/ E2E \ Few, slow, high confidence
/ Integration \ Some, medium speed
/ Unit Tests \ Many, fast, focused
Strategy by Component Type
- API endpoints: Unit tests for business logic, integration tests for HTTP layer, contract tests for consumers
- Data pipelines: Input validation, transformation correctness, idempotency tests
- Frontend: Component tests, interaction tests, visual regression, accessibility
- Infrastructure: Smoke tests, chaos engineering, load tests
What to Cover
Focus on: business-critical paths, error handling, edge cases, security boundaries, data integrity.
Skip: trivial getters/setters, framework code, one-off scripts.
Output
Produce a test plan with: what to test, test type for each area, coverage targets, and example test cases. Identify gaps in existing coverage.
FAQ
What is the testing pyramid?
A way of balancing tests: many fast unit tests at the base, fewer integration tests, and a small number of slower end-to-end tests at the top.
What should not be tested?
Trivial getters and setters, framework code and one-off scripts.
Does it find gaps in existing tests?
Yes. It identifies gaps in the existing coverage.
Details
Original description by the author
Design test strategies and test plans. Trigger with "how should we test", "test strategy for", "write tests for", "test plan", "what tests do we need", or when the user needs help with testing approaches, coverage, or test architecture.
repo: TencentCloud/Octop
Popularity
- GitHub stars
- 11k
- Ranking position
- #11651
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
polite-greeting
11kHelps your agent open a conversation with a short, friendly and polite greeting, then move quickly to what you need.
medical-source-failover
11kHelps your agent find trusted Chinese medical guidelines, drug information and public health documents when a main source is blocked, slow or hard to read.
cowork-plugin-customizer
11kHelps your agent tailor an existing Claude plugin to an organization's tools and workflows, by replacing placeholders and adjusting skills and settings.
create-cowork-plugin
11kHelps your agent build a new Claude plugin from scratch through guided questions, covering skills, agents, hooks and a ready-to-install package.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.