generate
Skill1 starsChanged 6 months agoMITView on GitHub
Generates structured test cases from a Jira Cloud Story. Use when the user provides a Jira issue key or URL and wants test cases generated.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- jwjackw/somnei-studiotheir own version, first seen Sep 26, 2026
- andrevictor23-tech/claude-skillstheir own version, first seen Aug 11, 2026
- Wofet/go-get-a-jobtheir own version, first seen Aug 5, 2026
- AntonioCardenas/generate-nanobananatheir own version, first seen Aug 4, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- anombyte93/prd-taskmaster★ 604same name
- timkoda/koda-stack★ 114same name
- ayrshare/ayrshare-social-media-api-claude-plugin★ 19same name
- Hassaan146/claude-skills★ 18same name
- jdonohoo/vern-bot★ 15same name
- lisovet/claude-skills★ 8same name
- AntonioCardenas/generate-nanobanana★ 5same name
- Roentek/Claude_Code_Boilerplate_Framework★ 4same name
- raven-sourav/pmm-content-engine★ 3same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- setupSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 7 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
If the input matches an issue key pattern (e.g.
- Distinctive: line 16
If the input is a URL, extract the issue key from either of these formats:
- Distinctive: line 19
If the input is neither a valid issue key nor a recognised Jira Cloud URL, stop immediately:
- Distinctive: line 30
Read these environment variables using a shell tool:
- Very specific: line 40
If JIRA_URL is empty, stop:
- Very specific: line 44
If the issue key's project prefix does not match JIRA_PROJECT_KEY when it is set, warn but do not stop.
- Very specific: line 48
Use the atlassian MCP server.
- Very specific: line 59
If anything other than Story, stop:
- Distinctive: line 80
Treat Description as the primary test source.
- Very specific: line 89
Read JIRA_AC_FIELD if set.
- Distinctive: line 90
Search custom fields named Acceptance Criteria / AC.
- Distinctive: line 109
If Description was sparse (warned above), add at top of output:
- Distinctive: line 113
If separate AC was found via custom field, optionally note:
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate Test Cases from Jira Story
Instructions
The user will provide a Jira issue key (e.g. PROJ-123) or a full Jira Cloud URL.
Step 0 — Pre-flight checks (before any MCP call)
Validate input format first.
- If the input matches an issue key pattern (e.g.
PROJ-123,MYTEAM-4567), use it directly as the issue key. Keys are typically{PROJECT_KEY}-{number}. - If the input is a URL, extract the issue key from either of these formats:
https://{site}.atlassian.net/browse/{KEY}-{number}https://{site}.atlassian.net/jira/software/projects/{project}/boards/{id}?selectedIssue={KEY}-{number}
- If the input is neither a valid issue key nor a recognised Jira Cloud URL, stop immediately:
"That doesn't look like a valid Jira issue key or URL. Please provide an issue key (e.g.
PROJ-123) or a full Jira Cloud issue URL."
Validate MCP availability.
Confirm the atlassian MCP server is connected. If it is not available, stop:
"The Atlassian MCP server is not connected. Restart Claude Code — on first start a browser opens for Atlassian OAuth sign-in. If the browser did not open, run
/jira-testcraft:setupand follow the prompts. Requires Node.js v18+."
Resolve configuration from the environment.
Read these environment variables using a shell tool:
JIRA_URL— Jira Cloud site URL, used ascloudId(e.g.https://mycompany.atlassian.net)JIRA_PROJECT_KEY— default project key for validation (e.g.PROJ)JIRA_AC_FIELD— optional; only used when the team has a separate Acceptance Criteria custom fieldJIRA_DESCRIPTION_ONLY— iftrue(default), treat Description as the primary requirements source- Windows (PowerShell):
$env:JIRA_URL,$env:JIRA_PROJECT_KEY, etc. - macOS / Linux (Bash):
echo $JIRA_URL,echo $JIRA_PROJECT_KEY, etc.
If JIRA_URL is empty, stop:
"JIRA_URL is not set. Run
/jira-testcraft:setupto configure it."
If the issue key's project prefix does not match JIRA_PROJECT_KEY when it is set, warn but do not stop.
Step 1 — Fetch and validate the issue
Use the atlassian MCP server. Call getJiraIssue with:
cloudId: value ofJIRA_URL— pass the site URL directly. Do not callgetAccessibleAtlassianResources.issueIdOrKey: the issue key from Step 0
Always fetch fresh data — never reuse issue data from a previous invocation.
If the fetch fails, stop with a clear message including permission and admin hints. See docs/TROUBLESHOOTING.md patterns.
Check the issue type (fields.issuetype.name).
If anything other than Story, stop:
"Issue [KEY] is a [type] — not a Story. /jira-testcraft:generate only supports Stories in v1."
Check the issue status (fields.status.name).
- Deleted / not found: stop.
Done,Closed, orResolved: warn and ask before continuing.
Extract field content.
| Field | Source |
| Summary | fields.summary |
| Description | fields.description — extract plain text from ADF if needed |
| Supplementary AC | Optional; see below |
Description-first content model (Jira default).
Most Jira teams put all requirements in Description — steps, expected results, and acceptance criteria together. This is normal and expected.
Treat Description as the primary test source. Look for:
- Step / Expected pairs (e.g.
Step:…Expected:) - Numbered or bulleted flows
- Gherkin (
Given/When/Then) - User story format ("As a … I want … so that …")
Optional separate Acceptance Criteria — only when JIRA_AC_FIELD is set OR JIRA_DESCRIPTION_ONLY is not true:
- Read
JIRA_AC_FIELDif set. - Search custom fields named Acceptance Criteria / AC.
- Parse an explicit "Acceptance Criteria" section from Description (do not duplicate content already used as Description body).
Assess content richness.
| Situation | Action |
| Summary and Description both empty | Stop: "Story [KEY] appears empty. Add a Description with steps or requirements." |
| Summary only — Description empty | Warn and ask: "Story [KEY] has only a title. Test cases will be very generic. Proceed?" |
| Description has substantive content (steps, Expected, Gherkin, flows) | Proceed normally — no warning |
| Description is a vague one-liner (< ~20 words, no structure) | Warn: "Description is sparse. Test cases may lack coverage. Proceed?" |
| Separate AC field populated | Proceed; optionally note AC source |
Do not show "No Acceptance Criteria found" when Description contains clear steps, expected results, or Given/When/Then blocks.
Step 2 — Additional context
Review comments and linked issues for context only — not as primary test source.
If Description was sparse (warned above), add at top of output:
"⚠️ Story [KEY] has limited Description content. Recommend enriching with steps and expected results before finalising test cases."
If separate AC was found via custom field, optionally note:
"ℹ️ Supplementary Acceptance Criteria from field: [name or ID]"
Step 3 — Analyze for testable scenarios
Apply QE heuristics:
- Boundary Value Analysis — min, max, just-below, just-above
- Equivalence Partitioning — valid/invalid input classes
- SFDIPOT — Structure, Function, Data, Interfaces, Platform, Operations, Time
Derive scenarios from Description content first. Use supplementary AC only if present and non-duplicative.
Step 4 — Generate Test Cases
Output a markdown table:
| # | Test Case Title | Type | Preconditions | Test Steps | Expected Result | Priority |
Types to cover:
- ✅ Positive — happy path, valid inputs
- ❌ Negative — invalid inputs, error conditions
- 🔲 Edge Case — boundaries, nulls, empty states, max length
- 📐 Boundary Value — exact min/max thresholds
Step 5 — Summary
After the table:
- Total test cases count by type
- Areas where Description was unclear (flag for QE to verify with dev/PM)
- Suggested automation priority
Arguments
$ARGUMENTS should be the Jira issue key or full Jira Cloud URL.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

