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.
npx agentmods add commands/anhtester/claudecode_playwright_demo/generate_cross_module_test_plangit clone --depth 1 https://github.com/anhtester/ClaudeCode_Playwright_DemoWrote 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.
[](https://agentmods.dev/commands/anhtester/claudecode_playwright_demo/generate_cross_module_test_plan)<a href="https://agentmods.dev/commands/anhtester/claudecode_playwright_demo/generate_cross_module_test_plan"><img src="https://agentmods.dev/badge/commands/anhtester/claudecode_playwright_demo/generate_cross_module_test_plan.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.03587 |
| Opus 5 | $0.00030 | $0.01793 |
| Sonnet 5 | $0.00012 | $0.00717 |
| Haiku 4.5 | $0.00006 | $0.00359 |
Grade A, and why
generate_cross_module_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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/generate_cross_module_test_plan — Phân Tích Cross-Module & Sinh Ma Trận Kết Hợp
Dùng khi: Tính năng cần test đi qua nhiều modules nối tiếp nhau, mỗi module có nhiều lựa chọn (dimensions), và bộ kết hợp các lựa chọn quyết định output cuối cùng.
BẮT BUỘC (MANDATORY): Trước khi bắt đầu, PHẢI nạp và đọc kỹ:
- Skill:
.agent/skills/qa_automation_engineer/SKILL.md— Workflow routing + automation rules- Skill:
.agent/skills/requirements_analyzer/SKILL.md— Phân tích requirements
Khi nào dùng workflow này?
| Tình huống | Dùng? |
|---|---|
| Tính năng đi qua 1 module/form | ❌ Dùng /generate_manual_testcases_rbt |
| Tính năng đi qua nhiều modules, mỗi module độc lập | ⚠️ Dùng /generate_application_test_plan |
| Tính năng đi qua nhiều modules NỐI TIẾP, output phụ thuộc bộ kết hợp điều kiện | ✅ Đúng workflow này |
| Cần ma trận kết hợp (Pairwise / Decision Table đa chiều) | ✅ Đúng workflow này |
2 Modes
| Mode | Khi nào dùng | Input chính |
|---|---|---|
| DOCUMENT (mặc định) | User cung cấp tài liệu/spec mô tả modules + business rules | File .md, .doc, Jira ticket, hoặc mô tả text |
| BROWSER | User cung cấp URL và muốn agent inspect DOM thực tế | URL ứng dụng + credentials (nếu cần) |
Agent tự chọn mode:
- User cung cấp file/text mô tả → DOCUMENT
- User cung cấp URL hoặc nói "inspect", "mở app", "xem trên browser" → BROWSER
- User cung cấp cả hai → Ưu tiên BROWSER, dùng document để cross-reference
- Nếu không rõ → hỏi user
Input cần từ User
| Input | Bắt buộc | Mô tả |
|---|---|---|
| Tên tính năng / luồng | ✅ | VD: "Biên bản thanh toán cho đối tác" |
| Tài liệu yêu cầu (DOCUMENT mode) | ✅ | File .md, Jira ticket, user story, hoặc text mô tả |
| URL ứng dụng (BROWSER mode) | ✅ | Để agent inspect DOM thực tế |
| Danh sách modules tham gia | ⚠️ Nên có | Nếu không → agent tự extract từ document/browser |
| Danh sách dimensions | ⚠️ Nên có | VD: loại đối tác, loại thuế... Nếu không → agent tự extract |
| Business rules / công thức | ❌ Optional | Nếu có → agent map vào ma trận |
| Credentials (BROWSER mode) | ❌ | Nếu app cần đăng nhập |
| Chiến lược ma trận | ❌ | pairwise (mặc định), business-critical, hoặc full-cartesian |
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.
- 5d ago First seen · 327 lines · 59 tokens per session scan A a93e4789f06e
generate_cross_module_test_plan is a command published in the GitHub repository anhtester/ClaudeCode_Playwright_Demo (2 stars, last pushed 3mo ago), licensed MIT. It adds 59 tokens to every session and 3,587 once invoked, about $0.0003 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.
Other commands, from other repositories
analyze_requirement_document
Phân tích requirement document (Jira ticket, .docx/.pdf/.xlsx/.csv/.xml, user story) — sinh tài liệu phân tích chi tiết, KHÔNG sinh test cases.
generate_cross_module_test_plan
Phân tích tính năng đi qua nhiều modules nối tiếp, xây dựng Module Map + Dimension Catalog, và sinh ma trận kết hợp (Output-Class Coverage/Pairwise/Full Cartesian). Hỗ trợ 2 modes — DOCUMENT (từ tài liệu) và BROWSER (inspect DOM thực tế).
generate_automation_framework
Thiết kế và scaffold automation framework hoàn chỉnh. Hỗ trợ Playwright, Selenium, Appium — Web, Mobile, API.
generate_automation_from_testcases
Convert manual test cases into automation scripts autonomously using the 6-step AI-RBT Framework via Claude Code Capabilities.
generate_combinatorial_test_data
Sinh test data cho ma trận kết hợp đa chiều bằng pipeline chạy thật qua nhiều modules. Input từ /generatecrossmoduletestplan.
analyze_flaky_tests
Phân tích automation tests không ổn định (flaky), xác định root cause và tự động khắc phục. Hỗ trợ 2 mode — ANALYZE (chỉ báo cáo) và FIX (báo cáo + tự sửa code).