quality-engineering-zephyr-test-generation
/quality-engineering-zephyr-test-generation
Generuje przypadki testowe Zephyr z historyjek Jira: analiza kryteriów akceptacji i reguł biznesowych, wpływ na istniejące przypadki (aktualizacja czy nowy) i szkice poprawnie nazwanych testów.
- Autor
- HoangNguyen0403 ↗
- Repozytorium
- agent-skills-standard ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 22.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 6
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Generuje przypadki testowe Zephyr z historyjek Jira: analiza kryteriów akceptacji i reguł biznesowych, wpływ na istniejące przypadki (aktualizacja czy nowy) i szkice poprawnie nazwanych testów.
Oryginalny opis (EN)
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.
Jak działa
- Priority: P1 (HIGH)
- Workflow: Jira → Zephyr
- Platform Rules
- Naming & Filing
- Anti-Patterns
- Coverage wording
- Canonical response anchors
Podgląd SKILL.md
---
name: quality-engineering-zephyr-test-generation
description: '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.'
metadata:
triggers:
files:
- '**/user_story.md'
keywords:
- generate test cases
- zephyr
- impact analysis
- create test case
---
# Zephyr Test Generation Standards
## **Priority: P1 (HIGH)**
## Workflow: Jira → Zephyr
1. **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](../quality-engineering-business-analysis/references/analysis_patterns.md) for role/market logic.
- HALT on ambiguous AC per `quality-engineering-test-plan-authoring` scenario expansion: ultra-short AC, no expected behavior, bundled ACs, contradiction. Ask before drafting.
2. **Impact Analysis** (run before any TC creation)
- **Step — Direct Lookup**: Call `Get Issue Link Test Cases` with 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](references/impact_analysis.md) 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.
3. **Draft Artifact**:
- Delete any existing `zephyr_test_plan.md` before writing.
- Follow 4-section format in [TC Format Reference](references/tc_format.md) 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.
4. **Create in Zephyr** (after explicit user approval)
- `Create Test Case` (with `customFields` included — 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, then `Update Test Case`.
- Param contract per [SmartBear API Notes](references/smartbear-api.md).
## 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 to `Client user`.
## Anti-Patterns
- **No prefix omission**: TC name sent to Zephyr API must include `Web_` or `Mobile_` 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.md` before 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 `ASSUMED` and 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.
## Canonical response anchors
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
- duplicate
- impact analysis
- no platform prefix
- separate
- Additional task-grounded exact anchors: Issue Link
Pliki w paczce (6)
- LICENSE 1 KB
- SKILL.md 5 KB
- references/impact_analysis.md 3 KB
- references/smartbear-api.md 1 KB
- references/tc_format.md 2 KB
- references/zephyr_schema.json 2 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · HoangNguyen0403/agent-skills-standard | 100 | MIT |
| HoangNguyen0403/agent-skills-standard | 100 | MIT |
Identyczna treść występuje jeszcze w 4 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki d12133a88367 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100quality-engineering-jira-integration
Pobiera na żądanie dane z Jira i Zephyr, sprawdza istniejące powiązania, łączy napisane przypadki testowe, aktualizuje etykiety i audytuje nieaktualne linki. - 90quality-engineering-jira-integration
Obsługuje Jira i Zephyr na wyraźną prośbę: pobiera dane, łączy przypadki testowe, aktualizuje etykiety i szuka nieaktualnych powiązań. - 92test-cases
Pisze przypadki testowe zgodnie z dobrymi praktykami QA i eksportuje je do CSV do importu w Zephyr Scale. - 100qa-test-case-generation
Generuje ręczne przypadki testowe z wymagań, BRD, historyjek, kryteriów akceptacji, arkuszy, makiet i zrzutów ekranu, dbając o pokrycie, deduplikację, śledzalność, walidacje i przypadki brzegowe. - 100test-case-management
Pisze i utrzymuje ręczne przypadki testowe i zestawy w TestRail, Xray, Zephyr Scale i Qase, z przeglądem i śledzeniem wymagań. - 100test-design
Projektuje przypadki testowe dla historyjek w Azure DevOps lub Jira Cloud: warunki z kryteriów, kroki i powiązanie z historyjką po jednym zatwierdzeniu.