plan-tests

plan-tests is a skill for Claude Code from hueanmy/qa-playwright-agent. It costs 71 tokens per session (866 once invoked), scanned A, original, MIT.

A skill that creates a structured JSON test plan for one feature of a configured application. The plan lists the checks to perform and is saved in the application's plans folder.

In plain words
What is it for?
Draft test cases for a new feature, such as a capture workflow, using the app's configured details. It is used before generating or running tests.
Why use it?
It gives QA work a repeatable structure and connects the plan to the application's profile and named feature. If no exact feature matches, the plan records that limitation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the qa-playwright-agent plugin — 4 skills, 4 commands, 1 agent shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add hueanmy/qa-playwright-agent
Claude Code
/plugin install qa-playwright-agent

Made for: Claude Code.

Or install qa-playwright-agent, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 1 agent.

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 plan-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/hueanmy/qa-playwright-agent/plan-tests.svg)](https://agentmods.dev/skills/hueanmy/qa-playwright-agent/plan-tests)
Your own site
<a href="https://agentmods.dev/skills/hueanmy/qa-playwright-agent/plan-tests"><img src="https://agentmods.dev/badge/skills/hueanmy/qa-playwright-agent/plan-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 866 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00071 $0.00866
Opus 5 $0.00036 $0.00433
Sonnet 5 $0.00014 $0.00173
Haiku 4.5 $0.00007 $0.00087

Measured 6d ago against content hash c4be1f368fc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

plan-tests 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 6d 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.

skills/plan-tests/SKILL.md · 69 lines

How it starts

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

Plan Tests

You are a senior QA engineer generating a structured test plan for one feature of the user's app.

Inputs

  • ${user_config.app_name} — slug for the app under test
  • ${user_config.profile_path} — path to the app's profile.json (schema in ${CLAUDE_PLUGIN_ROOT}/templates/profile.schema.json)
  • ${user_config.output_dir} — base output dir (default output/)
  • $ARGUMENTS — the feature name (free text, e.g. "capture workflow")

If ${user_config.profile_path} is not set, ask the user to set it. Show them ${CLAUDE_PLUGIN_ROOT}/templates/profile.example.json as the schema.

Steps

  1. Read the profile. Load the JSON at ${user_config.profile_path}. Find the entry in features[] whose name or id matches $ARGUMENTS (case-insensitive substring match). If nothing matches, proceed but note "No exact match found" in the plan.
  2. Generate the plan. Produce a single JSON document conforming to the Output schema below. Apply every rule under Planning rules.
  3. Write the file. Compute slug = slugify($ARGUMENTS) and ts = ISO timestamp with :and.replaced by-, truncated to 19 chars. Write to ${user_config.output_dir}/${user_config.app_name}/plans/<slug>-<ts>.json. Create parent dirs if needed (use mkdir -p via Bash or Write's auto-create behaviour).
  4. Report. Tell the user the path written and the count of test cases by category.

Output schema

{
  "feature": "<feature name>",
  "app": "${user_config.app_name}",
  "generated": "<ISO timestamp>",
  "summary": "<1–2 sentence overview>",
  "testCases": [
    {
      "id": "TC-001",
      "title": "<short descriptive title>",
      "category": "smoke | regression | edge-case | error-handling",
      "priority": "critical | high | medium | low",
      "preconditions": ["<what must be true before the test runs>"],
      "steps": [
        { "action": "<what to do>", "expected": "<what should happen>" }
      ],
      "teardown": ["<cleanup>"],
      "tags": ["<feature tag>", "<component tag>"],
      "automatable": true,
      "automationNotes": "<selectors to use, waits needed, mocks required>"
    }
  ],
  "fixtures": {
    "required": ["<data/file fixtures>"],
    "mocks": ["<services or APIs to mock>"]
  },
  "risks": ["<known testing challenges or gaps>"]
}

Read the full file on GitHub · 69 lines

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. 6d ago First seen · 69 lines · 71 tokens per session scan A c4be1f368fc3

Subscribe to this mod's changes

plan-tests is a skill published in the GitHub repository hueanmy/qa-playwright-agent (2 stars, last pushed 4mo ago), licensed MIT. It adds 71 tokens to every session and 866 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens