Logo Uat Story Writer

Uat Story Writer

Tổ chức
addxai
uat-story-writer

Discover missing UAT test scenarios from the user's perspective, confirm requirements through guided interviews, and output user story files in story-craftsman template + Gherkin Given/When/Then format. Use when the user mentions "add test cases", "missing tests for XX scenario", "write UAT cases", "write test scenarios", "brainstorm test cases", or discovers test coverage gaps. Should also trigger even if the user just mentions a feature "hasn't been tested for XX situation".

Tổng quan

Nhà phát hànhaddxai
Kho mãenterprise-harness-engineering
Tên kỹ nănguat-story-writer
Sao
47
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được addxai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Uat Story Writer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/addxai/enterprise-harness-engineering/tree/main/skills/uat-story-writer
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering.git /tmp/enterprise-harness-engineering
mkdir -p .claude/skills
cp -r /tmp/enterprise-harness-engineering/skills/uat-story-writer .claude/skills/uat-story-writer
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Uat Story Writer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Uat Story Writer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Uat Story Writer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

UAT Story Writer

Discover missing UAT test scenarios from real user usage contexts and output structured user story documents.

Core philosophy: UAT tests start from user stories, not from technical implementation. "Checking order status while on the go" reveals real needs better than "HTTP API test."

Rules

  1. User perspective first: Each scenario must correspond to a real user behavior or usage context, not a technical condition. Technical conditions are the scenario's background, not the scenario itself
  2. Do not fabricate when information is lacking: Key constraints like test environment capabilities and actual topology must be obtained through interviews, not assumed
  3. Acceptance criteria must be executable: Each AC uses Gherkin Given/When/Then format, ensuring automation tools can directly consume them
  4. Output to cases/ directory: User stories go in the project's cases/ directory; features/ directory is reserved for AI-generated executable automation cases
  5. Follow story-craftsman template: File structure strictly follows the story-craftsman template format (background, goals, roles, user stories, progress, update log)

Execution Flow

Step 1: Explore Existing Test Coverage

First understand the project's existing test cases and find coverage gaps:

  • Read related .feature files under features/scenarios/ to understand existing scenarios
  • Read existing user story files under cases/ to avoid duplication
  • List the currently covered scenario inventory and clearly indicate the missing dimensions

Step 2: Guided Interview (one question at a time, multiple-choice preferred)

Confirm key constraints through questioning — ask only one question at a time, preferring multiple-choice options:

DimensionPurposeExample Question
Test environment capabilityDetermine scenario granularity"Can your test environment simulate network conditions? A) Router/firewall control B) Physical switching only C) Both"
Actual usage topologyDetermine coverage scope"Which of the following do you actually encounter? A) Local network B) Mobile remote C) Cross-network D) All of the above"
Focus dimensionDetermine acceptance depth"Are you focused on functionality only or also on experience metrics? A) Functionality only B) Also experience C) Both"
Variable controlDetermine what is under test"Which end is the variable you can control? Phone side? Device side? Or both?"

Interview principles:

  • One question at a time: Do not ask multiple questions simultaneously — avoid information overload
  • Multiple-choice preferred: Provide options whenever possible to reduce the user's answering cost
  • Stop promptly: Stop asking when sufficient information is gathered — do not over-interview. Usually 2-4 questions suffice
  • UAT course correction: If the user's description leans toward technical perspective (e.g., "test mobile network"), guide back to user perspective (e.g., "user operating remotely while away from home")

Step 3: Scenario Brainstorming (User Story Perspective)

Based on interview results, brainstorm scenarios starting from the user's real daily usage contexts.

Key thinking framework — imagine a user's daily usage journey:

  • Where is the user? (home, office, on the go, at a friend's house...)
  • What is the user doing? (actively checking, checking after receiving a notification, glancing while doing something else...)
  • What changed in the environment? (went outside, entered an elevator, switched networks...)
  • What went wrong unexpectedly? (lost connectivity, poor signal, service unavailable...)

Present brainstorming results in table form, including: scenario number, user scenario description, corresponding environment/technical conditions.

After presenting, ask the user: "Is this coverage sufficient? Anything to add or remove?"

Step 4: Generate User Story Files

After confirmation, generate files following the story-craftsman template and save to the cases/ directory.

File naming: {feature}-{dimension}.md (lowercase kebab-case), e.g., live-view-network-environments.md

File structure:

markdown
# <Topic> - User Stories

> Reference document: [related feature file](../features/scenarios/xxx.feature)

(mermaid flow diagram: core flow + variable dimensions)

## 1. Background (Why)
## 2. Goals (What)
## 3. Roles (Who)
## 4. User Stories

### 4.1 US-<MODULE>-<DIM>-01: <User Scenario Title> [P0/P1/P2]

**As** <role>, **I want** <capability/need>, **so that** <value/purpose>.

**Acceptance Criteria (AC):**
- [ ] Given <precondition>, When <user action>, Then <expected result>
- [ ] Given <precondition>, When <user action>, Then <expected result>

## 5. Progress
## 6. Update Log

Key points for writing acceptance criteria:

  • Given describes the user's situational context and environment state, not technical configuration
  • When describes the user's actual action
  • Then describes the user-observable result (UI feedback, status change)
  • Each User Story includes 2-4 ACs covering the core path and key exceptions

Priority criteria:

  • P0: The most common core scenarios users encounter (e.g., placing an order online, remotely checking status while away)
  • P1: Scenarios users encounter fairly often but not every time (e.g., network switching, connectivity restoration)
  • P2: Extreme or low-frequency scenarios

Examples

Bad — Writing UAT cases from a technical perspective

Scenario: Order submission test under mobile network
  Given phone connected to mobile network
  When order submission request is initiated
  Then request successfully reaches backend service through CDN gateway

Good — Writing UAT cases from a user perspective

### US-ORDER-NET-02: Placing an order while away from home using mobile data [P0]

**As** a MyApp user, **I want** to complete an order while away from home using mobile data,
**so that** I can purchase what I need anytime, anywhere.

**Acceptance Criteria (AC):**
- [ ] Given the phone has WiFi turned off and is using mobile cellular network,
      When the user taps the "Submit Order" button,
      Then the order is submitted successfully and the confirmation page is displayed
- [ ] Given an order has already been submitted on mobile network,
      When the user views order details, cancels the order, and performs other actions,
      Then all functions respond normally

Good — Resource sharing permission scenario

### US-SHARE-PERM-01: Invited team member viewing a shared project [P0]

**As** an invited team member, **I want** to view shared project content after joining via share link/invitation,
**so that** team members can stay updated on project progress at any time.

**Acceptance Criteria (AC):**
- [ ] Given the project owner has shared the project with a team member's account,
      When the team member logs into the App and enters the project list,
      Then they can see the shared project and successfully view its details
- [ ] Given a team member is viewing the content of a shared project,
      When the owner revokes sharing permissions for that project,
      Then the team member's access is interrupted with a no-permission prompt

Relationship with Other Skills

  • story-craftsman: This skill uses its template format but focuses on UAT scenario brainstorming and Gherkin AC writing
  • testing-strategy: This skill's outputs are L4 (UAT) layer user stories, aligned with the overall layered testing strategy
  • Test automation tools: This skill's outputs (user stories under cases/) serve as input for test automation tools to generate executable automation cases (.feature files under features/)

Câu hỏi thường gặp

Kỹ năng AI Uat Story Writer làm được gì?

Discover missing UAT test scenarios from the user's perspective, confirm requirements through guided interviews, and output user story files in story-craftsman template + Gherkin Given/When/Then format. Use when the user mentions "add test cases", "missing tests for XX scenario", "write UAT cases", "write test scenarios", "brainstorm test cases", or discovers test coverage gaps. Should also trigger even if the user just mentions a feature "hasn't been tested for XX situation".

Vì sao nên dùng Uat Story Writer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Uat Story Writer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Uat Story Writer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/addxai/enterprise-harness-engineering/tree/main/skills/uat-story-writer. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Uat Story Writer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Uat Story Writer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Uat Story Writer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Uat Story Writer có miễn phí không?

Có. Kỹ năng này được addxai phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇