generate_application_test_plan

generate_application_test_plan is a command for Claude Code from anhtester/ClaudeCode_Playwright_Demo. It costs 37 tokens per session (1,514 once invoked), scanned A, a copy of generate_application_test_plan, MIT.

A web-application exploration tool that examines an app's real pages and creates a test plan. A test plan lists important areas, user journeys, scenarios, and their priority.

In plain words
What is it for?
Use it in PLAN mode for test planning, or FULL mode for a plan plus manual cases and an automation skeleton.
Why use it?
It reduces the risk of planning tests around an imagined application structure. It identifies modules and flows from the supplied application instead.

Command for Claude Code

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.

agentmods
npx agentmods add commands/anhtester/claudecode_playwright_demo/generate_application_test_plan
Clone the repo
git clone --depth 1 https://github.com/anhtester/ClaudeCode_Playwright_Demo

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 generate_application_test_plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/anhtester/claudecode_playwright_demo/generate_application_test_plan.svg)](https://agentmods.dev/commands/anhtester/claudecode_playwright_demo/generate_application_test_plan)
Your own site
<a href="https://agentmods.dev/commands/anhtester/claudecode_playwright_demo/generate_application_test_plan"><img src="https://agentmods.dev/badge/commands/anhtester/claudecode_playwright_demo/generate_application_test_plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod 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 $0.00037 $0.01514
Opus 5 $0.00018 $0.00757
Sonnet 5 $0.00007 $0.00303
Haiku 4.5 $0.00004 $0.00151

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

Security

Grade A, and why

generate_application_test_plan 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.

Origin

This is a copy

92% identical to generate_application_test_plan — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/generate_application_test_plan.md · 116 lines

How it starts

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

Workflow: Khám Phá Ứng Dụng & Sinh Test Plan

BẮT BUỘC (MANDATORY SKILL): Bạn PHẢI nạp và đọc kỹ nội dung của skill qa_automation_engineer (tại .agent/skills/qa_automation_engineer/SKILL.md) trước khi bắt đầu. Ngoài ra, tham khảo thêm skill requirements_analyzerui_debug_agent để hỗ trợ phân tích UI.

Workflow này giúp agent tự động khám phá một ứng dụng web, phân tích cấu trúc, xác định các modules/user flows quan trọng, và sinh ra Test Plan hoàn chỉnh.

⚠️ Nguyên tắc thực thi

  • Tất cả output bằng Tiếng Việt
  • KHÔNG đoán cấu trúc app — phải inspect DOM thực tế qua MCP/browser tools
  • Phải chờ user xác nhận scope tại Bước 2 trước khi sinh chi tiết
  • Nếu user chưa cung cấp URL → hỏi trước khi bắt đầu

2 Chế độ (Mode)

Mode Khi nào sử dụng Output
PLAN (mặc định) User cần khám phá app, lập test plan, xác định scenarios Modules, User Flows, Test Scenarios, Priority
FULL User yêu cầu thêm automation skeleton hoặc nói "full automation suite" Như PLAN + Manual Test Cases + Automation Skeleton (POM + Test classes)

Nếu user nói "generate full automation suite", "bootstrap automation", hoặc yêu cầu code → tự động chuyển sang Mode FULL.

Các bước thực hiện

Bước 1: Tiếp nhận & Khám phá ứng dụng (Recon)

  1. Nhận URL ứng dụng từ user
  2. Sử dụng MCP browser tools (Playwright MCP) để mở ứng dụng:
    • browser_navigate → URL
    • browser_resize(1920, 1080) → desktop viewport
    • browser_snapshot → thu thập cấu trúc DOM
  3. Khám phá navigation menus, sidebar, header để xác định các modules chính
  4. Lần lượt truy cập từng module chính, dùng browser_snapshot để ghi nhận:
    • Tên module / trang
    • Các thành phần UI chính (forms, tables, buttons, modals)
    • Các action có thể thực hiện (CRUD, search, filter, export...)
  5. Nếu app yêu cầu đăng nhập → hỏi user cung cấp credentials hoặc dùng fixture sẵn có

Bước 2: Phân tích & Xác nhận scope (Analysis — CHECKPOINT)

Read the full file on GitHub · 116 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. 4d ago First seen · 116 lines · 37 tokens per session scan A 2e6f1880fbec

Subscribe to this mod's changes

generate_application_test_plan is a command published in the GitHub repository anhtester/ClaudeCode_Playwright_Demo (2 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 1,514 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to generate_application_test_plan, differing in 8 lines, and is treated as a copy.