Analyze Requirement Document logo

Analyze Requirement Document

Community
anhtester
analyze-requirement-document

Phân tích requirement document (Jira ticket, .doc, user story) — sinh tài liệu phân tích chi tiết, KHÔNG sinh test cases.

Overview

Publisheranhtester
Repositorycodex-testing-kit
Skill nameanalyze-requirement-document
Stars
34
Forks
14
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by anhtester on GitHub. Read the source before you install it.

Installation

Install the Analyze Requirement Document AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/anhtester/codex-testing-kit/tree/main/.agents/skills/analyze-requirement-document
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anhtester/codex-testing-kit.git /tmp/codex-testing-kit
mkdir -p .claude/skills
cp -r /tmp/codex-testing-kit/.agents/skills/analyze-requirement-document .claude/skills/analyze-requirement-document
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Analyze Requirement Document in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Analyze Requirement Document on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Analyze Requirement Document is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 .agents/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:

#InputBắt buộcMô tả
1Requirement document✅File .doc, .md, URL Jira, hoặc text mô tả yêu cầu
2Mockup/Screenshot⭕ Khuyến khíchHình ảnh UI design, wireframe, hoặc screenshot hiện tại
3Related tickets⭕ Tùy chọnCác ticket phụ thuộc hoặc liên quan (dependencies)
4Context bổ sung⭕ Tùy chọnThô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

Bước 2: Trích xuất thông tin cốt lõi (Core Analysis)

  1. Tổng quan Ticket — Bảng metadata (ID, Type, Priority, Status, Sprint, Assignee...)
  2. User Story — Trích xuất format "As a... I want... So that..."
  3. Phạm vi áp dụng (Scope) — Xác định rõ các module/page/component bị ảnh hưởng
  4. Acceptance Criteria — Phân rã từng AC thành các nhóm logic, bao gồm:
    • Mô tả chi tiết từng AC
    • Bảng so sánh (nếu có cột mới, field mới, rule mới)
    • Phân biệt rõ mặc định vs tùy chọn (nếu applicable)

Bước 3: Phân tích UI từ Mockup (nếu có)

Nếu user cung cấp mockup/screenshot:

  1. Mô tả layout — Breadcrumb, header, sidebar, main content, footer
  2. Liệt kê components — Tables, forms, modals, buttons, dropdowns, tabs
  3. Chi tiết fields — Tên field, loại (input/dropdown/date picker), label, placeholder
  4. So sánh mockup với document — phát hiện inconsistency
  5. Chụp quan sát vào carousel trong artifact (nếu hình có sẵn)

Bước 4: Phân tích Dependencies (Phụ thuộc)

  1. Xác định các ticket/feature liên quan (referenced trong AC hoặc comments)
  2. Đọc và tóm tắt nội dung ticket phụ thuộc
  3. Nếu có mockup riêng cho dependency → phân tích UI chi tiết (fields, modals, interactions)
  4. Tổng hợp Business Rules từ tất cả requirements + mockups
  5. Đánh dấu rõ quy tắc nào từ ticket chính vs ticket phụ thuộc

Bước 5: Phát hiện Ambiguities & Risks (Trọng tâm)

[!IMPORTANT] Đây là phần giá trị cao nhất của workflow — phát hiện những gì requirement KHÔNG nói rõ.

5.1. Điểm mơ hồ (Ambiguities):

Với mỗi ambiguity, ghi rõ:

  • Mã: AMB-XX (đánh số tuần tự)
  • Câu hỏi: Mô tả rõ ràng điều gì chưa rõ
  • Nguy cơ: Impact nếu không được giải quyết
  • Mức độ: 🔴 High / 🟡 Medium / 🟢 Low

Các hướng phát hiện ambiguity:

  • Từ khóa mơ hồ: "where applicable", "as needed", "similar to", "etc."
  • Validation rules thiếu: min/max, format, required/optional
  • Hành vi edge case: lỗi mạng, concurrent access, trống data
  • Inconsistency giữa document và mockup (tên cột, format, layout)
  • Threshold/config chưa xác định (ví dụ: bao nhiêu ngày = "approaching deadline"?)
  • Conflict giữa requirements cũ và mới

5.2. Rủi ro kiểm thử (Testing Risks):

Với mỗi risk, ghi rõ:

  • Mã: RISK-XX
  • Tên rủi ro
  • Mô tả
  • Mitigation (cách giảm thiểu)

Bước 6: Tổng hợp và trình bày (Synthesis & Delivery)

  1. Ma trận trạng thái (nếu có state transitions) — bảng mapping trạng thái → hành vi
  2. Checklist AC — Tóm tắt tất cả AC dạng checkbox, nhóm theo chức năng
  3. Khuyến nghị kiểm thử — Gợi ý top 10 điều cần quan tâm nhất khi test
  4. Xuất Artifact — Lưu toàn bộ phân tích vào file .md

Cấu trúc Output (Template Artifact)

Agent PHẢI xuất artifact theo cấu trúc sau:

markdown
# 📋 Phân Tích Requirement: [TICKET-ID]
## [Ticket Title]

## 1. Tổng Quan Ticket
(Bảng metadata)

## 2. User Story
(As a... I want... So that...)

## 3. Phạm Vi Áp Dụng (Scope)
(Bảng liệt kê modules/pages bị ảnh hưởng)

## 4. Acceptance Criteria — Phân Tích Chi Tiết
### 4.1. [Nhóm AC 1]
### 4.2. [Nhóm AC 2]
### 4.N. [Nhóm AC N]

## 5. Phụ Thuộc (Dependencies)
### 5.1. [Ticket phụ thuộc]
#### 5.1.1. [Chi tiết UI nếu có mockup]
#### 5.1.N. Business Rules tổng hợp

## 6. Phân Tích Mockup/Screenshot
### 6.1. [Mockup 1]
### 6.N. [Mockup N]

## 7. Các Điểm Mơ Hồ & Rủi Ro
### 7.1. Điểm Mơ Hồ (Ambiguities)
(Bảng: #, Câu hỏi, Nguy cơ, Mức độ)
### 7.2. Rủi Ro Kiểm Thử
(Bảng: #, Rủi ro, Mô tả, Mitigation)

## 8. Ma Trận Trạng Thái (nếu applicable)
(Bảng state → behavior)

## 9. Tóm Tắt Acceptance Criteria (Checklist)
(Checkbox nhóm theo chức năng)

## 10. Khuyến Nghị Cho Kiểm Thử
(Danh sách gợi ý, KHÔNG phải test cases)

Quy tắc quan trọng

  • ❌ KHÔNG sinh test cases — workflow này chỉ phân tích, không tạo TC
  • ❌ KHÔNG tự đoán business logic nếu document không nói rõ → đưa vào Ambiguities
  • ❌ KHÔNG bỏ qua comments trong Jira ticket — comments thường chứa thông tin quan trọng bổ sung
  • ✅ PHẢI đọc related tickets nếu được reference trong AC
  • ✅ PHẢI phân tích mockup chi tiết nếu được cung cấp (fields, layout, interactions)
  • ✅ PHẢI ghi rõ inconsistency giữa document và mockup
  • ✅ PHẢI viết bằng Tiếng Việt, format Markdown, xuất Artifact
  • ✅ PHẢI copy hình ảnh vào thư mục artifacts nếu cần embed trong artifact

Mối quan hệ với workflows khác

Sau khi phân tích xongWorkflow tiếp theo
Cần sinh test cases nhanh$generate-testcases-from-requirements
Cần sinh test cases bài bản (RBT 6 bước)$generate-manual-testcases-rbt
Cần sinh automation scripts$generate-automation-from-testcases
Cần phân tích cross-module$generate-cross-module-test-plan

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Analyze Requirement Document AI skill do?

Phân tích requirement document (Jira ticket, .doc, user story) — sinh tài liệu phân tích chi tiết, KHÔNG sinh test cases.

Why use Analyze Requirement Document on TypingMind?

Because you install it once and use it with any model. Analyze Requirement Document is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Analyze Requirement Document in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/anhtester/codex-testing-kit/tree/main/.agents/skills/analyze-requirement-document. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Analyze Requirement Document?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Analyze Requirement Document?

As many as you like. As long as a model supports skills, you can use Analyze Requirement Document with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Analyze Requirement Document AI skill free?

Yes. It is published on GitHub by anhtester under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇