Logo di Analyze Requirement Document

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.

Panoramica

Autoreanhtester
Repositorycodex-testing-kit
Nome della skillanalyze-requirement-document
Stelle
34
Fork
14
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 1 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da anhtester su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Analyze Requirement Document in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/anhtester/codex-testing-kit/tree/main/.agents/skills/analyze-requirement-document
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Analyze Requirement Document in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Analyze Requirement Document non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Analyze Requirement Document non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Analyze Requirement Document su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Analyze Requirement Document è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Analyze Requirement Document in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/anhtester/codex-testing-kit/tree/main/.agents/skills/analyze-requirement-document. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Analyze Requirement Document?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Analyze Requirement Document?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Analyze Requirement Document: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Analyze Requirement Document è gratuita?

Sì. È pubblicata su GitHub da anhtester con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇