From enterprise-harness-engineering
Discovers missing UAT test scenarios from user perspective via guided interviews and outputs user stories in story-craftsman template with Gherkin Given/When/Then criteria. Use for test coverage gaps.
npx claudepluginhub addxai/enterprise-harness-engineering --plugin enterprise-harness-engineeringThis skill uses the workspace's default tool permissions.
Discover missing UAT test scenarios from real user usage contexts and output structured user story documents.
Generates test scenarios from user stories with goals, preconditions, user roles, step-by-step actions, and expected results. For QA test cases, test plans, acceptance tests, functional verification.
Generates test scenarios from user stories with objectives, starting conditions, user roles, steps, and expected outcomes. Use for QA test cases, test plans, acceptance tests, feature validation.
Generates user stories with Given/When/Then acceptance criteria following INVEST principles from PRDs, feature-persona-goal inputs, narratives, Jira epics, or screenshots.
Share bugs, ideas, or general feedback.
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."
cases/ directory; features/ directory is reserved for AI-generated executable automation casesFirst understand the project's existing test cases and find coverage gaps:
.feature files under features/scenarios/ to understand existing scenarioscases/ to avoid duplicationConfirm key constraints through questioning — ask only one question at a time, preferring multiple-choice options:
| Dimension | Purpose | Example Question |
|---|---|---|
| Test environment capability | Determine scenario granularity | "Can your test environment simulate network conditions? A) Router/firewall control B) Physical switching only C) Both" |
| Actual usage topology | Determine 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 dimension | Determine acceptance depth | "Are you focused on functionality only or also on experience metrics? A) Functionality only B) Also experience C) Both" |
| Variable control | Determine what is under test | "Which end is the variable you can control? Phone side? Device side? Or both?" |
Interview principles:
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:
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?"
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:
# <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:
Priority criteria:
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
### 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
### 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
cases/) serve as input for test automation tools to generate executable automation cases (.feature files under features/)