agentleFS
grace-methodgrace-method/grace-plugin/skills/testing-strategy/SKILL.md

testing-strategy

Skill0 starsChanged 2 months agoMITView on GitHub

Define the project's testing strategy. What test layers exist, what tools they use, how acceptance criteria map to tests, and how tests run through the delivery workflow. Use during design, alongside or after design-review.

54 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use api-contract-design, deploy-checklist and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MohOneXSkill

    api-contract-design

    Designs and reviews API contracts (REST, RPC, GraphQL, library interfaces) for evolvability, backward compatibility, and failure semantics. Use when defining new endpoints/interfaces, versioning an API, reviewing a schema, or deciding how breaking changes propagate to clients.

    Also in 3 projects that use this

  • AnthropicSkill

    deploy-checklist

    Pre-deployment verification checklist. Use when about to ship a release, deploying a change with database migrations or feature flags, verifying CI status and approvals before going to production, or documenting rollback triggers ahead of time.

    Also in 4 projects that use this

  • xenitV1Skill

    react-patterns

    Modern React patterns and principles. Hooks, composition, performance, TypeScript best practices.

    Also in 4 projects that use this

  • AnthropicSkill

    tech-debt

    Identify, categorize, and prioritize technical debt. Trigger with "tech debt", "technical debt audit", "what should we refactor", "code health", or when the user asks about code quality, refactoring priorities, or maintenance backlog.

    Also in 4 projects that use this

  • MicrosoftSkill

    error-handling

    统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。

    Also in 5 projects that use this

  • MicrosoftSkill

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 9 projects that use this

  • +4 more from anthropics
  • +1 more from microsoft

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 44 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill during Stage 3 design to make the verification model explicit before implementation begins.

    line 12
  2. Distinctive:

    Not every project needs every layer.

    line 41
  3. Distinctive:

    If a layer is omitted, say why that omission is acceptable.

    line 42
  4. Distinctive:

    Document constraints and tradeoffs.

    line 52
  5. Distinctive:

    Do not treat the verification model as settled until a human reviews it.

    line 56
  6. Distinctive:

    Use the template in this skill directory when scaffolding or substantially reshaping the testing strategy.

    line 74

“Common” is measured: kept by at least 6 in 10 of the 44 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Testing Strategy

Use this skill during Stage 3 design to make the verification model explicit before implementation begins.

Current Project Context

System Architecture

!cat docs/03-design/system-architecture.md 2>/dev/null || echo "No system architecture found."

Components

!cat docs/03-design/01-components.md 2>/dev/null || echo "No components artifact found."

Interfaces

!cat docs/03-design/02-interfaces.md 2>/dev/null || echo "No interfaces artifact found."

Technology Choices

!cat docs/03-design/03-technology-choices.md 2>/dev/null || echo "No technology choices artifact found."

Existing Testing Strategy

!cat docs/03-design/05-testing-strategy.md 2>/dev/null || echo "No existing testing strategy found - starting fresh."

Interaction Pattern

  1. Review the project architecture and its meaningful boundaries.
    • Testing layers should reflect actual risk boundaries, not generic categories pasted in by habit.
  2. Define each test layer the project needs.
    • For each layer, state its purpose, tool, when it runs, and what it does not cover.
  3. Justify what is included and excluded.
    • Not every project needs every layer.
    • If a layer is omitted, say why that omission is acceptable.
  4. Define where acceptance criteria live.
    • Acceptance criteria do not live in the testing strategy.
    • Feature docs own integration criteria.
    • Story docs own component-level criteria.
  5. Define the test execution workflow.
    • Describe the inner loop, pre-commit, pre-merge, CI, and any other important gates.
  6. Document constraints and tradeoffs.
    • Real DB versus mocks, browser automation choices, cost/speed tradeoffs, and environment needs should be made explicit.
  7. Present the testing strategy for approval.
    • Do not treat the verification model as settled until a human reviews it.

Common Layers Reference

These are guidance, not a mandatory checklist:

  • Unit: single function or logic path, no I/O
  • Contract: cross-module boundary agreement such as schemas, payloads, or formats
  • Integration: real interfaces and infrastructure boundaries
  • End-to-end / Smoke: user-facing workflow across the full stack
  • Performance: latency, throughput, or resource-constraint verification

Outputs

Produce or update these artifacts as needed:

  • docs/03-design/05-testing-strategy.md

Use the template in this skill directory when scaffolding or substantially reshaping the testing strategy.

Gate

Human approval is required before treating the testing strategy as settled.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.