test-automation-strategy

test-automation-strategy is a skill for Claude Code from summarybotng/summarybot-ng. It costs 33 tokens per session (1,803 once invoked), scanned A, original, MIT.

A guide to planning automated tests, including how to divide tests between unit, integration, and end-to-end checks. It also covers common test patterns, continuous integration, and flaky-test handling.

In plain words
What is it for?
Use it when creating or improving a test automation framework, speeding up a CI pipeline, or reducing flaky tests.
Why use it?
It helps teams get faster feedback and avoid slow, brittle, or duplicated test suites. It also gives a way to spot gaps in an automation setup.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when creating or improving a test automation framework, speeding up a CI pipeline, or reducing flaky tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/summarybotng/summarybot-ng/test-automation-strategy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add summarybotng/summarybot-ng --skill test-automation-strategy
Clone the repo
git clone --depth 1 https://github.com/summarybotng/summarybot-ng

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-automation-strategy

README.md
[![agentmods](https://agentmods.dev/badge/skills/summarybotng/summarybot-ng/test-automation-strategy.svg)](https://agentmods.dev/skills/summarybotng/summarybot-ng/test-automation-strategy)
Your own site
<a href="https://agentmods.dev/skills/summarybotng/summarybot-ng/test-automation-strategy"><img src="https://agentmods.dev/badge/skills/summarybotng/summarybot-ng/test-automation-strategy.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,803 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01803
Opus 5 $0.00016 $0.00901
Sonnet 5 $0.00007 $0.00361
Haiku 4.5 $0.00003 $0.00180

Measured 4d ago against content hash 0fd5c0487632, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

test-automation-strategy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/test-automation-strategy/SKILL.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Automation Strategy

<default_to_action> When designing or improving test automation:

  1. FOLLOW test pyramid: 70% unit, 20% integration, 10% E2E
  2. APPLY F.I.R.S.T. principles: Fast, Isolated, Repeatable, Self-validating, Timely
  3. USE patterns: Page Object Model, Builder pattern, Factory pattern
  4. INTEGRATE in CI/CD: Every commit runs tests, fail fast, clear feedback
  5. MANAGE flaky tests: Quarantine, fix, or delete - never ignore

Quick Anti-Pattern Detection:

  • Ice cream cone (many E2E, few unit) → Invert to pyramid
  • Slow tests (> 10 min suite) → Parallelize, mock external deps
  • Flaky tests → Fix timing, isolate data, or quarantine
  • Test duplication → Share fixtures, use page objects
  • Brittle selectors → Use data-testid, semantic locators

Critical Success Factors:

  • Fast feedback is the goal (< 10 min full suite)
  • Automation supports testing, doesn't replace judgment
  • Invest in test infrastructure like production code </default_to_action>

Quick Reference Card

When to Use

  • Building new automation framework
  • Improving existing test efficiency
  • Reducing flaky test burden
  • Optimizing CI/CD pipeline speed

Test Pyramid

Layer % Speed Isolation Examples
Unit 70% < 1ms Complete Pure functions, logic
Integration 20% < 1s Partial API, database
E2E 10% < 30s None User journeys

F.I.R.S.T. Principles

Principle Meaning How
Fast Quick execution Mock external deps
Isolated No shared state Fresh fixtures per test
Repeatable Same result every time No random data
Self-validating Clear pass/fail Assert, don't print
Timely Written with code TDD, not after

Anti-Patterns

Problem Symptom Fix
Ice cream cone 80% E2E, 10% unit Invert pyramid
Slow suite 30+ min CI Parallelize, prune
Flaky tests Random failures Quarantine, fix timing
Coupled tests Order-dependent Isolate data
Brittle selectors Break on CSS change Use data-testid

Read the full file on GitHub · 237 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 237 lines · 33 tokens per session scan A 0fd5c0487632

Subscribe to this mod's changes

test-automation-strategy is a skill published in the GitHub repository summarybotng/summarybot-ng (2 stars, last pushed 3mo ago), licensed MIT. It adds 33 tokens to every session and 1,803 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

accessibility-testing

Skill "accessibility-testing" from vibeeval/vibecosystem, covering accessibility testing, axe-core setup, jest-axe (unit / component tests), playwright-axe (e2e) and cypress-axe.

vibeeval/vibecosystem · 31 tokens

frontend-testing

Scaffold and advise on frontend testing for production readiness, mapped to the Front-End-Checklist Testing category (13 rules). Defines a testing pyramid (unit, integration, E2E, visual, a11y, cross-browser, real-device, perf-budget, mutation, error-monitoring, coverage, mocking, contract) and emits copy-pasteable…

bestdeejay-design/agent-skills · 243 tokens

testing-guide

A testing guide covering common testing levels, including unit, integration, system, and end-to-end testing. It also supports ISTQB and industry testing-pyramid approaches.

ValorVie/custom-skills · 81 tokens

react-testing-workflows

Testing strategy and execution for React applications. Covers Vitest configuration, React Testing Library patterns, custom hook testing, Playwright E2E, Storybook stories and play functions, and coverage reporting. Keywords: test, vitest, testing library, playwright, storybook, coverage, unit test, integration test…

PMDevSolutions/Aurelius · 76 tokens

testing-strategy

Follow the testing pyramid — more unit tests, fewer integration tests, even fewer e2e tests.

halflength-ampleness75/claude-code-recipes · 0 tokens

enterprise-test-suites

Comprehensive testing matrix spanning Unit, Integration, E2E (Playwright), Contract (Pact), Chaos/Fault-Injection, Mutation, Load/Stress (k6), and Security Fuzz testing.

saitarrun/Devforge-ai · 47 tokens