Generate Testcases From Requirements logo

Generate Testcases From Requirements

Community
anhtester
generate-testcases-from-requirements

Sinh manual test cases nhanh từ requirements (QUICK mode — không qua quy trình 6 bước).

Overview

Publisheranhtester
Repositorycodex-testing-kit
Skill namegenerate-testcases-from-requirements
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 Generate Testcases From Requirements 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/generate-testcases-from-requirements
  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/generate-testcases-from-requirements .claude/skills/generate-testcases-from-requirements
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Generate Testcases From Requirements 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 Generate Testcases From Requirements 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 Generate Testcases From Requirements 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 $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

  1. Đọc và hiểu requirements được user cung cấp
  2. Xác định các luồng chính: Happy Path, Negative Path, Boundary Cases, Edge Cases
  3. Á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)
  4. 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
  5. 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)
  6. 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
  7. 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)

markdown
| 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

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 Generate Testcases From Requirements AI skill do?

Sinh manual test cases nhanh từ requirements (QUICK mode — không qua quy trình 6 bước).

Why use Generate Testcases From Requirements on TypingMind?

Because you install it once and use it with any model. Generate Testcases From Requirements 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 Generate Testcases From Requirements in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/anhtester/codex-testing-kit/tree/main/.agents/skills/generate-testcases-from-requirements. 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 Generate Testcases From Requirements?

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 Generate Testcases From Requirements?

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

Is the Generate Testcases From Requirements 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 👇