generate-testcases-from-requirements
Skill28 starsChanged 4 months agoMITView on GitHub
Sinh manual test cases nhanh từ requirements (QUICK mode — không qua quy trình 6 bước).
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyze-flaky-testsSkill
- analyze-requirement-documentSkill
- fetch-jira-requirementsSkill
- flaky-test-analyzerSkill
- framework-architectSkill
- generate-api-tests-from-swaggerSkill
- generate-application-test-planSkill
- generate-automation-frameworkSkill
- generate-automation-from-testcasesSkill
- generate-automation-from-ui-flowSkill
- generate-combinatorial-test-dataSkill
- generate-cross-module-test-planSkill
- generate-locatorSkill
- generate-manual-testcases-rbtSkill
- generate-requirements-from-websiteSkill
- generate-test-dataSkill
- import-test-results-xraySkill
- jira-integrationSkill
- locator-healer-agentSkill
- qa-automation-engineerSkill
- rbt-manual-testingSkill
- requirements-analyzerSkill
- smart-locator-agentSkill
- test-data-generatorSkill
- ui-debug-agentSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
Test Data phải cụ thể: test_login_01@domain.com, không phải "email hợp lệ"
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
BẮT BUỘC (MANDATORY SKILL): Bạn PHẢI nạp và đọc kỹ nội dung của skill
$rbt-manual-testing(tại.agents/skills/rbt-manual-testing/SKILL.md) trước khi bắt đầu thực hiện tác vụ này. Sử dụng Mode QUICK của skill.
Workflow: Sinh Manual Test Cases Nhanh từ Requirements
Workflow này sử dụng Mode QUICK của skill $rbt-manual-testing để sinh test cases nhanh từ requirements đã sẵn có.
⚠️ Nguyên tắc
- Mode: QUICK (1 lượt duy nhất, không chờ user giữa chừng)
- Phù hợp cho module đơn giản, requirements đã rõ ràng
- Nếu phát hiện requirements quá phức tạp hoặc mơ hồ → tự động chuyển sang FULL RBT và thông báo user
- Tất cả output bằng Tiếng Việt
Các bước thực hiện
- Đọc và hiểu requirements được user cung cấp
- Xác định các luồng chính: Happy Path, Negative Path, Boundary Cases, Edge Cases
- Áp dụng kỹ thuật thiết kế test case tự động:
- Equivalence Partitioning (EP)
- Boundary Value Analysis (BVA)
- Decision Table (nếu có nhiều rules)
- State Transition (nếu có workflow)
- Validation chuyên biệt từng trường (Field-Level Validation - 15 Field Types):
- Liệt kê tất cả input fields trên form/UI
- Sinh validation TCs riêng cho TỪNG trường theo đặc tính riêng (Text, Email, Phone, Date, Number, Dropdown, Checkbox/Radio, File Upload, Password, Textarea, OTP/MFA, Date Range, Rich Text, Multi-Select, Range Slider)
- Áp dụng Bảng Field-Level Validation Checklist trong skill
$rbt-manual-testingđể chọn validation phù hợp - KHÔNG gộp validation nhiều trường vào 1 test case
- Bao phủ Scenarios Chuyên Sâu & Non-Functional:
- Race Condition / Double Submit (double click nút submit, concurrent edit)
- Session & Network Resilience (session timeout mid-form, loss of network, slow 3G)
- Localization & UTF-8 / Emoji (tiếng Việt có dấu, emoji, ký tự đa ngôn ngữ)
- Keyboard Accessibility (Tab navigation, Enter/Space key, Focus state)
- Sinh test cases đầy đủ fields & Metadata Automation:
- TC ID (format:
[DỰ_ÁN]_[MODULE]_TC_[SỐ]) - Module, Test Scenario, Pre-conditions, Test Steps, Expected Results, Test Data (cụ thể), Priority
- Gắn đầy đủ metadata:
Automatable,Auto Type, và@Tags
- TC ID (format:
- Chạy Self-Quality Gate (5 tiêu chí): Rà soát lại 100% test cases trước khi xuất kết quả.
Bảng Output Standard (chuẩn hóa đầy đủ Metadata)
| TC ID | Module | Test Scenario | Pre-Condition | Test Steps | Expected Result | Test Data | Priority | Automatable | Auto Type | Tags |Giải thích Metadata Automation:
- Automatable:
Yes/No/Partial(Độ khả thi để viết script tự động)- Auto Type:
UI/API/Unit/N/A(Loại automation phù hợp)- Tags:
@Smoke,@Regression,@CriticalPath,@Security,@Boundary
Quy tắc quan trọng
- Test Data phải cụ thể:
test_login_01@domain.com, không phải "email hợp lệ" - Phải bao gồm cả Positive, Negative, Boundary, và Edge cases
- Mỗi trường input phải có validation TCs riêng (không gộp nhiều trường vào 1 TC)
- TC ID theo format thống nhất do user quy ước hoặc mặc định
[DỰ_ÁN]_[MODULE]_TC_[SỐ] - Chạy Self-Quality Gate rà soát chất lượng trước khi bàn giao
- Nếu quá nhiều TCs → chia thành Part 1, Part 2 và hỏi user
Khi nào chuyển sang FULL RBT
Agent tự động đề xuất chuyển mode nếu phát hiện:
- Requirements mơ hồ, cần hỏi Q&A
- Scope lớn (>3 modules)
- Logic nghiệp vụ phức tạp, nhiều điều kiện chồng chéo
- User yêu cầu Traceability Matrix hoặc Risk Assessment
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

