Agent skill

Test Automation Strategy

by proffesor-for-testing in proffesor-for-testing/agentic-qe

Design and implement effective test automation with proper pyramid, patterns, and CI/CD integration.

MITAuto-check passedTesting & QA

Install Test Automation Strategy

skills CLI
$ npx skills add proffesor-for-testing/agentic-qe --skill test-automation-strategy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install proffesor-for-testing/agentic-qe test-automation-strategy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/proffesor-for-testing/agentic-qe.git skills-src && mkdir -p .claude/skills && cp -r skills-src/assets/skills/test-automation-strategy .claude/skills/test-automation-strategy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
test-automation-strategy
GitHub stars
495
Token cost
~1.4k tokens
SKILL.md length
281 words
Files
4 (incl. scripts)
Skills in repo
93
Repo updated
First seen
Licence
MIT

At a glance

Design and implement effective test automation with proper pyramid, patterns, and CI/CD integration.

  • Works in 4 steps: DETECT anti-patterns: Ice cream cone?… → USE patterns: Page Object Model, Builder… → INTEGRATE in CI/CD: Every commit runs… → …
  • Building automation frameworks
  • SKILL.md covers Quick Reference Card, CI/CD Integration, Flaky Test Management and Agent-Assisted Automation, plus 4 more sections
  • Improving test efficiency

What it does

Test Automation Strategy is an agent skill from proffesor-for-testing/agentic-qe. Design and implement effective test automation with proper pyramid, patterns, and CI/CD integration. Use when building automation frameworks or improving test efficiency.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `evals/test-automation-strategy.yaml`, `schemas/output.json` and `scripts/validate-config.json`).

It sits in Testing & QA, covering CI/CD and Failing and flaky tests. The repository describes itself as: Agentic QE Fleet is an open-source AI-powered QA/QE platform designed for use with Coding Agents (works best with Claude Code) featuring specialized agents and skills to support… The licence is MIT.

When your agent uses it

  • Building automation frameworks
  • Improving test efficiency

Example prompts

  • “/test-automation-strategy”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. DETECT anti-patterns: Ice cream cone? Slow suite? Flaky tests?
  2. USE patterns: Page Object Model, Builder pattern, Factory pattern
  3. INTEGRATE in CI/CD: Every commit runs tests, fail fast
  4. MANAGE flaky tests: Quarantine, fix, or delete - never ignore

What it can do on your machine

Read from SKILL.md and the folder at commit 829d030. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Test Automation Strategy loads about 1.4k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 281 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from proffesor-for-testing/agentic-qe at commit 829d030, republished under its MIT licence (© proffesor-for-testing). 281 words, ~1,385 tokens.

Download SKILL.mdSave it as .claude/skills/test-automation-strategy/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
test-automation-strategy
description
Design and implement effective test automation with proper pyramid, patterns, and CI/CD integration. Use when building automation frameworks or improving test efficiency.
category
testing-methodologies
priority
high
tokenEstimate
1000
agents
qe-test-generator, qe-test-executor, qe-coverage-analyzer, qe-flaky-test-hunter, qe-regression-risk-analyzer
implementation_status
optimized
optimization_version
1
last_optimized
2025-12-02
quick_reference_card
true
tags
automation, test-pyramid, page-object, first-principles, ci-cd, flaky-tests
trust_tier
3

Test Automation Strategy

<default_to_action> When designing or improving test automation:

  1. DETECT anti-patterns: Ice cream cone? Slow suite? Flaky tests?
  2. USE patterns: Page Object Model, Builder pattern, Factory pattern
  3. INTEGRATE in CI/CD: Every commit runs tests, fail fast
  4. 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
  • Brittle selectors → Use data-testid, semantic locators </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
Anti-Patterns to Detect
ProblemSymptomFix
Ice cream cone80% E2E, 10% unitInvert pyramid
Slow suite30+ min CIParallelize, prune
Flaky testsRandom failuresQuarantine, fix timing
Coupled testsOrder-dependentIsolate data
Brittle selectorsBreak on CSS changeUse data-testid

CI/CD Integration

yaml
name: Test Pipeline
on: [push, pull_request]

jobs:
  unit-tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npm ci
      - run: npm run test:unit -- --coverage
        timeout-minutes: 5
      - uses: codecov/codecov-action@v3

  integration-tests:
    needs: unit-tests
    runs-on: ubuntu-latest
    services:
      postgres:
        image: postgres:15
    steps:
      - run: npm run test:integration
        timeout-minutes: 10

  e2e-tests:
    needs: integration-tests
    runs-on: ubuntu-latest
    steps:
      - run: npx playwright test
        timeout-minutes: 15

Flaky Test Management

typescript
// Quarantine flaky tests
describe.skip('Quarantined - INC-123', () => {
  test('flaky test awaiting fix', () => { /* ... */ });
});

// Agent-assisted stabilization
await Task("Fix Flaky Tests", {
  tests: quarantinedTests,
  analysis: ['timing-issues', 'data-isolation', 'race-conditions'],
  strategies: ['add-waits', 'isolate-fixtures', 'mock-externals']
}, "qe-flaky-test-hunter");

Agent-Assisted Automation

typescript
// Generate tests following pyramid
await Task("Generate Test Suite", {
  sourceCode: 'src/',
  pyramid: { unit: 70, integration: 20, e2e: 10 },
  patterns: ['page-object', 'builder', 'factory'],
  framework: 'jest'
}, "qe-test-generator");

// Optimize test execution
await Task("Optimize Suite", {
  algorithm: 'johnson-lindenstrauss',
  targetReduction: 0.3,
  maintainCoverage: 0.95
}, "qe-regression-risk-analyzer");

// Analyze flaky patterns
await Task("Flaky Analysis", {
  testHistory: 'last-30-days',
  detectPatterns: ['timing', 'data', 'environment'],
  recommend: 'stabilization-strategy'
}, "qe-flaky-test-hunter");

Agent Coordination Hints

Memory Namespace
aqe/automation/
├── test-pyramid/*        - Coverage by layer
├── page-objects/*        - Shared page objects
├── flaky-registry/*      - Quarantined tests
└── execution-metrics/*   - Suite performance data
Fleet Coordination
typescript
const automationFleet = await FleetManager.coordinate({
  strategy: 'test-automation',
  agents: [
    'qe-test-generator',         // Generate pyramid-compliant tests
    'qe-test-executor',          // Parallel execution
    'qe-coverage-analyzer',      // Coverage gaps
    'qe-flaky-test-hunter',      // Flaky detection
    'qe-regression-risk-analyzer' // Smart selection
  ],
  topology: 'hierarchical'
});


Remember

With Agents: Agents generate pyramid-compliant tests, detect flaky patterns, optimize execution time, and maintain test infrastructure. Use agents to scale automation quality.

Gotchas

  • Agent generates 80% E2E tests and 20% unit tests (inverted pyramid) — explicitly enforce 70/20/10 ratio
  • Page Object Model tests become brittle when selectors change — prefer data-testid attributes over CSS selectors
  • Flaky tests quarantined but never fixed is technical debt — set a 2-week SLA to fix or delete
  • Agent treats test code as second-class — test code needs the same review standards as production code
  • Parallel test execution requires test isolation — shared state between tests causes non-deterministic failures

© proffesor-for-testing, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in assets/skills/test-automation-strategy of proffesor-for-testing/agentic-qe.

  • SKILL.md
  • evals/test-automation-strategy.yaml
  • schemas/output.json
  • scripts/validate-config.json

Open the folder on GitHubat commit 829d030

Compare with similar skills

Test Automation Strategy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Test Automation Strategy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Test Automation Strategy this skillproffesor-for-testing/agentic-qe495—~1.4kAutomated safety check: PassMIT
Dd Unblock PRDataDog/pup1k—~1.7kAutomated safety check: PassApache-2.0
QA Metricspetrkindlmann/qa-skills168—~5.3kAutomated safety check: PassMIT
Azure Pipelines Log Downloaderansible/ansible71k—~825Automated safety check: PassGPL-3.0
CI Failure Triage and RepairChachamaru127/claude-code-harness3.2k1 repos~1.1kAutomated safety check: NotesMIT
GreptimeDB Fuzz CI Failure InvestigationGreptimeTeam/greptimedb6.7k—~4.4kAutomated safety check: PassApache-2.0

Similar skills

  • Dd Unblock PR

    DataDog/pup

    Official

    Load when investigating a failing PR CI pipeline or checking PR health.

    1k GitHub stars~1.7k tokensUpdated today
    Testing & QAAuto-check passed
  • QA Metrics

    petrkindlmann/qa-skills

    Define, track, and act on QA metrics: test coverage percentage, flakiness rate, defect escape rate, MTTR, test execution time trends, automation ROI, quality gates, and SLAs for test suites.

    168 GitHub stars~5.3k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Downloads Azure Pipelines CI logs for an Ansible pull request or build so the agent can analyze test failures, after asking you first.

    71k GitHub stars~825 tokensUpdated today
    DevOps & CloudAuto-check passed
  • CI Failure Triage and Repair

    Chachamaru127/claude-code-harness

    Diagnoses failing CI pipelines and tests, deciding first whether the test or the implementation is at fault, and hands hard cases to a dedicated fixer subagent.

    3.2k GitHub starsUsed in 1 repo~1.1k tokens
    DevOps & CloudAuto-check: notes
  • Diagnoses a failed GreptimeDB fuzz CI job by pulling its GitHub Actions logs and fuzz artifacts, then matching the evidence to the local source code.

    6.7k GitHub stars~4.4k tokensUpdated today
    Testing & QAAuto-check passed
  • CI Watchdog

    latitude-dev/latitude-llm

    Continuously monitor GitHub PR CI checks and automatically fix failures until all checks pass.

    4.7k GitHub stars~1.6k tokensUpdated today
    DevOps & CloudAuto-check passed

More from proffesor-for-testing/agentic-qe

All 93 skills in this repo
  • Contract Testing

    proffesor-for-testing/agentic-qe

    Consumer-driven contract testing for microservices using Pact, schema validation, API versioning, and backward compatibility testing.

    495 GitHub stars~1.8k tokensUpdated 4 days ago
    Auto-check passed
  • Mutation Testing

    proffesor-for-testing/agentic-qe

    Test quality validation through mutation testing, assessing test suite effectiveness by introducing code mutations and measuring kill rate.

    495 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • Performance Testing

    proffesor-for-testing/agentic-qe

    Profiles application performance under load using k6, Artillery, or JMeter to measure latency, throughput, and error rates.

    495 GitHub stars~2.4k tokensUpdated 4 days ago
    Auto-check passed
  • Code Review Quality

    proffesor-for-testing/agentic-qe

    Conduct context-driven code reviews focusing on quality, testability, and maintainability.

    495 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Security Testing

    proffesor-for-testing/agentic-qe

    Scans for security vulnerabilities including XSS, SQL injection, CSRF, and auth flaws using OWASP Top 10 methodology.

    495 GitHub stars~2.7k tokensUpdated 4 days ago
    Auto-check: notes
  • Database Testing

    proffesor-for-testing/agentic-qe

    Database schema validation, data integrity testing, migration testing, transaction isolation, and query performance.

    495 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed

Questions about Test Automation Strategy

What does Test Automation Strategy do?

Design and implement effective test automation with proper pyramid, patterns, and CI/CD integration. Test Automation Strategy is an agent skill from proffesor-for-testing/agentic-qe. Design and implement effective test automation with proper pyramid, patterns, and CI/CD integration.

When should I use Test Automation Strategy?

Test Automation Strategy fits situations like: building automation frameworks; improving test efficiency.

How do I install Test Automation Strategy in Claude Code?

Run `npx skills add proffesor-for-testing/agentic-qe --skill test-automation-strategy -a claude-code`. Or copy the skill folder (assets/skills/test-automation-strategy in proffesor-for-testing/agentic-qe) into .claude/skills/test-automation-strategy in your project. Claude Code loads it when a task matches its description.

How do I install Test Automation Strategy in Codex?

Run `npx skills add proffesor-for-testing/agentic-qe --skill test-automation-strategy -a codex`. Or copy the skill folder (assets/skills/test-automation-strategy in proffesor-for-testing/agentic-qe) into .agents/skills/test-automation-strategy in your project. Codex loads it when a task matches its description.

Can I use Test Automation Strategy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add proffesor-for-testing/agentic-qe --skill test-automation-strategy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-automation-strategy, .gemini/skills/test-automation-strategy, .github/skills/test-automation-strategy and .opencode/skills/test-automation-strategy in your project.

What does Test Automation Strategy need to run?

SKILL.md names no scripts, command-line tools or credentials: Test Automation Strategy is instructions for the agent only. Our summary lists: Node.js.

Does Test Automation Strategy access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Test Automation Strategy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Test Automation Strategy use?

Test Automation Strategy is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Test Automation Strategy use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Test Automation Strategy?

Skills that share tags, products or a category with Test Automation Strategy: Dd Unblock PR (DataDog/pup, 1k stars), QA Metrics (petrkindlmann/qa-skills, 168 stars), Azure Pipelines Log Downloader (ansible/ansible, 71k stars) and CI Failure Triage and Repair (Chachamaru127/claude-code-harness, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Test Automation Strategy?

proffesor-for-testing (a GitHub user) maintains it in proffesor-for-testing/agentic-qe, which has 495 GitHub stars. The repository holds 93 skills in this directory. The repository was last updated on October 4, 2026.

Source: proffesor-for-testing/agentic-qe on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.