analyze_requirement_document

analyze_requirement_document is a command for Claude Code from anhtester/ClaudeCode_Playwright_Demo. It costs 32 tokens per session (2,126 once invoked), scanned A, original, MIT.

A command for analyzing a requirement document such as a Jira ticket, Word document, user story, or design mockup. It breaks the request into scope, acceptance criteria, dependencies, risks, and unclear points, without writing test cases.

In plain words
What is it for?
Reviewing requirements, decomposing tickets, understanding dependencies, examining mockups, and creating a detailed analysis document.
Why use it?
It helps the team understand what a request really requires before implementation or testing begins. It also collects ambiguities that should be clarified with the product or business team.

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/analyze_requirement_document
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 analyze_requirement_document

README.md
[![agentmods](https://agentmods.dev/badge/commands/anhtester/claudecode_playwright_demo/analyze_requirement_document.svg)](https://agentmods.dev/commands/anhtester/claudecode_playwright_demo/analyze_requirement_document)
Your own site
<a href="https://agentmods.dev/commands/anhtester/claudecode_playwright_demo/analyze_requirement_document"><img src="https://agentmods.dev/badge/commands/anhtester/claudecode_playwright_demo/analyze_requirement_document.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,126 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 $0.00032 $0.02126
Opus 5 $0.00016 $0.01063
Sonnet 5 $0.00006 $0.00425
Haiku 4.5 $0.00003 $0.00213

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

Security

Grade A, and why

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

.claude/commands/analyze_requirement_document.md · 176 lines

How it starts

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

BẮT BUỘC (MANDATORY SKILL): Bạn PHẢI nạp và đọc kỹ nội dung của skill requirements_analyzer (tại .agent/skills/requirements_analyzer/SKILL.md) để hiểu cách phân tích yêu cầu chuẩn trước khi bắt đầu.

Workflow: Phân Tích Requirement Document

Workflow này phân tích requirement documents (Jira tickets, .doc files, user stories, design mockups) và sinh ra một tài liệu phân tích chi tiết. KHÔNG sinh test cases — chỉ tập trung vào hiểu, phân rã, và phát hiện rủi ro/mơ hồ trong yêu cầu.

Khi nào sử dụng

  • User cung cấp Jira ticket (.doc) hoặc requirement document và yêu cầu "phân tích"
  • User muốn hiểu rõ scope, acceptance criteria, và dependencies trước khi viết test
  • User cần danh sách các điểm mơ hồ (ambiguities) để clarify với PO/BA
  • User nói: "phân tích requirement", "review yêu cầu", "analyze this ticket"

Đầu vào (Input)

Agent cần thu thập từ user:

# Input Bắt buộc Mô tả
1 Requirement document File .doc, .md, URL Jira, hoặc text mô tả yêu cầu
2 Mockup/Screenshot ⭕ Khuyến khích Hình ảnh UI design, wireframe, hoặc screenshot hiện tại
3 Related tickets ⭕ Tùy chọn Các ticket phụ thuộc hoặc liên quan (dependencies)
4 Context bổ sung ⭕ Tùy chọn Thông tin về hệ thống hiện tại, business domain

[!NOTE] Nếu user chỉ cung cấp file .doc mà không có mockup, agent vẫn phải phân tích đầy đủ dựa trên nội dung document. Nếu có mockup/screenshot, agent phân tích UI chi tiết hơn.

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

Bước 1: Thu thập và đọc hiểu (Information Gathering)

  1. Đọc requirement document được user cung cấp (file .doc, .md, hoặc URL)
    • Nếu file .doc format HTML (export từ Jira): parse HTML để trích xuất nội dung
    • Xác định: Ticket ID, Type, Priority, Status, Reporter, Assignee, Fix Version, Sprint, Labels
  2. Đọc mockup/screenshot nếu có — phân tích UI layout, components, fields
  3. Kiểm tra related tickets nếu có trong cùng thư mục hoặc được user cung cấp
    • Đọc và tóm tắt dependencies
  4. Xác nhận đã nắm được bối cảnh → tiếp tục phân tích

Read the full file on GitHub · 176 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. 5d ago First seen · 176 lines · 32 tokens per session scan A c42454e3f5c3

Subscribe to this mod's changes

analyze_requirement_document is a command published in the GitHub repository anhtester/ClaudeCode_Playwright_Demo (2 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 2,126 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-08-31.