quality-engineering-zephyr-test-generation
Generate Zephyr test cases from Jira stories: parse acceptance criteria and business rules, impact-analyze existing TCs (update vs. create new), and draft correctly named test cases. Use for AC-to-test generation; defer post-generation Jira linking and manual test-case quality review.
- 01GitHub stars
- 583
- 02Installs
- New
- 03Files scanned
- 6
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 8c3f609619ebe143… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Zephyr Test Generation Standards
Priority: P1 (HIGH)
Workflow: Jira → Zephyr
- Analyze Requirements:
- Extract: Summary, ACs, Platform per AC row, Market, Components.
- Fetch Jira with
?expand=renderedFields— HTML authoritative for platform colors:#00B8D9= Web ·#36B37E= Mobile ·#FF991F= Web+Mobile - See Actor/Permission Matrix for role/market logic.
- HALT on ambiguous AC per
quality-engineering-test-plan-authoringscenario expansion: ultra-short AC, no expected behavior, bundled ACs, contradiction. Ask before drafting.
- Impact Analysis (run before any TC creation)
- Step — Direct Lookup: Call
Get Issue Link Test Caseswith Jira issue key (e.g.,{PROJECT}-{ID}). - Step B — Supplemental: If Step 0, search by
[Module]and[Screen]keywords + check sibling issue links. - See Discovery Protocol for full chain.
- Map each AC to coverage status:
- Covered → ask user: skip or update to current format?
- Partial → always propose NEW TC.
- Not Covered → always create NEW TC.
- Draft Artifact:
- Delete any existing
zephyr_test_plan.mdbefore writing. - Follow 4-section format in TC Format Reference exactly.
- After writing: read back file and print full content in chat so user can review without opening it.
- Ask for: review approval, handling of Covered ACs, and Zephyr Folder ID.
- Create in Zephyr (after explicit user approval)
Create Test Case(withcustomFieldsincluded — no separate Update needed) →Create Test Case Steps→Create Test Case Issue Link- For updates to existing TCs: fetch current steps via
Get Test Case Steps, show before/after diff, wait for explicit approval, thenUpdate Test Case. - Param contract per SmartBear API Notes.
Platform Rules
| AC row | Action |
|---|---|
Single row [ WEB + MOBILE ] | ONE TC, Platform = "Web and Mobile", no platform prefix in name |
| Two rows same behavior, different platforms | TWO TCs with Web_ / Mobile_ prefix — never merge |
Naming & Filing
- Name: Prefix
Web_/Mobile_only when platform-exclusive; omit prefix for Web and Mobile. - Folder: Use exact Folder ID provided by user or specified in Technical Impact.
Role Mapping Rule
- CRITICAL: If Acceptance Criteria uses generic terms like "user", "buyer", or "customer" in ordering/checkout context, it MUST mapped to ALL purchasing roles:
["Client user", "Client admin", "Internal sales rep", "External sales rep"]. not default toClient user.
Anti-Patterns
- No prefix omission: TC name sent to Zephyr API must include
Web_orMobile_prefix for platform-exclusive TCs — copy verbatim from artifact draft; omit prefix only when Platform = "Web and Mobile". - No Draft skip: Always set status = Draft; never automatically approve.
- No flat folderId: Use
"folder": {"id": X}in all PUT payloads. - No WEB+MOBILE split: One AC row = one TC with Platform "Web and Mobile".
- No platform merge: Two AC rows, different platforms = two separate TCs.
- No silent update: Show before/after diff; wait for explicit approval.
- No lookup skip: Always run Step direct link lookup before supplemental search.
- No stale artifact: Delete existing
zephyr_test_plan.mdbefore each run. - No coverage skip: Coverage Analysis table must open every artifact.
- No ghost update: Update Zephyr TC whenever matching code changes.
- No vague steps: Use specific observable outcomes — e.g.,
"System works"→"Banner 'Success' is visible". - No invented expected result: cite the AC or business rule, or tag
ASSUMEDand surface it for review. - No rephrased negatives: N and E scenarios must change a precondition or input, not the wording.
- No generation on ambiguous AC: HALT and ask; a convincing TC must not hide a missing requirement.
Coverage wording
- During impact analysis, map each AC to Covered, Partial, or Not Covered and check for duplicate test cases before drafting new ones.
Files
6- SKILL.md
59e5ad7d194.8 KB - evals/evals.json
e9464382173.6 KB - references/impact_analysis.md
164b641f3c4.9 KB - references/smartbear-api.md
fab7799f72655 B - references/tc_format.md
5ea4fdee292.0 KB - references/zephyr_schema.json
48e3b663a32.5 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from HoangNguyen0403/agent-skills-standard8
Enforce universal mobile UX principles for touch-first interfaces including touch targets, safe areas, and mobile-specific interaction patterns. Use when building mobile screens, handling touch interactions, or validating safe area compliance.
Optimize React Native rendering for smooth 60fps mobile experiences. Use when optimizing React Native app performance, reducing re-renders, or fixing frame drops.
Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their spec
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test reci
Related methodology skillsscan passed
Use when writing E2E tests with Playwright, setting up test infrastructure, or debugging flaky browser tests. Invoke to write test scripts, create page objects, configure test fixtures, set up reporters, add CI integration, implement API mocking, or perform visual regression testing. Trigger terms:
Master ES6+ features including async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators, and functional programming patterns for writing clean, efficient JavaScript code. Use when refactoring legacy code, implementing modern patterns, or optimizing Java
Weekly engineering retrospective. Analyzes commit history, work patterns, and code quality metrics with persistent history and trend tracking. Team-aware with per-person contributions, praise, and growth areas. Use when asked for weekly retro, what shipped this week, or engineering retrospective.
Fine-tune a manifest-backed GR00T or openpi remote Task on compatible LeRobot data. Use for training; do not use for inference-only Tasks or checkpoint rollout.