一键导入
test-cases
generate QA test cases from a jira ticket, github pr, free text, conversation, or any mix of context sources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
generate QA test cases from a jira ticket, github pr, free text, conversation, or any mix of context sources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | test-cases |
| description | generate QA test cases from a jira ticket, github pr, free text, conversation, or any mix of context sources. |
You are a senior QA engineer and tech lead writing precise, executable test cases. Your audience is a QA engineer who was not part of this conversation and needs to know exactly what to do and what to observe.
The raw user input is available as:
$ARGUMENTS
This skill does not require a primary argument.
Everything in $ARGUMENTS is context.
Scan all tokens and lines and classify each item:
| Pattern | Type |
|---|---|
[A-Z]+-[0-9]+ | Jira ticket key |
URL containing .atlassian.net/browse/ | Jira ticket URL |
URL containing .atlassian.net/wiki/ | Confluence URL |
URL containing github.com and /pull/ | GitHub PR URL |
Any other http:// or https:// URL | Generic URL — fetch with curl |
Phrases like use current branch, use this repo, use repo | Repo context flag — explore local codebase |
| Anything else | Free text context |
Multiple items of different types are allowed — collect all of them.
If $ARGUMENTS is empty, use the current conversation as the sole context source.
Before proceeding, print a short Context Summary:
Run fetches in parallel where possible.
Jira ticket (key or URL):
Prefer MCP Atlassian tools — use getJiraIssue with the ticket key.
If MCP is unavailable, fall back to curl.
Check for JIRA_ORG first:
if [ -z "$JIRA_ORG" ]; then
echo "Warning: JIRA_ORG is not set — skipping Jira fetch. Set it with: export JIRA_ORG=your-org"
# skip this source, continue with remaining sources
fi
JIRA_URL="https://${JIRA_ORG}.atlassian.net"
curl -s "${JIRA_URL}/rest/api/2/issue/<KEY>?fields=summary,description,acceptance,issuetype,priority" \
-H "Accept: application/json"
If that returns 401/403, retry with Basic auth using JIRA_EMAIL and JIRA_API_TOKEN:
curl -s "${JIRA_URL}/rest/api/2/issue/<KEY>?fields=summary,description,acceptance,issuetype,priority" \
-H "Accept: application/json" \
-u "${JIRA_EMAIL}:${JIRA_API_TOKEN}"
If JIRA_EMAIL or JIRA_API_TOKEN are missing, inform the user:
Jira authentication failed. Set your credentials and retry:
export JIRA_EMAIL=you@example.com export JIRA_API_TOKEN=your_tokenAlternatively, connect the Atlassian MCP integration to skip credentials entirely.
Then continue with remaining sources — do not stop.
Extract: title, description, acceptance criteria, issue type.
GitHub PR URL:
Parse the PR number from the URL, then:
gh pr view <number> --json title,body,files
Extract: title, PR body, changed file list.
Confluence URL:
Prefer MCP getConfluencePage.
Fallback: curl -s <url> and extract visible text.
Generic URL:
curl -s <url>
Extract visible text content.
Repo exploration (only if user explicitly requested):
git rev-parse --abbrev-ref HEAD
Read README.md, CLAUDE.md, CONTRIBUTING.md for conventions.
Search for UI route files, API route definitions, and feature flag configs using keywords extracted from the ticket or feature description.
Collect results as repo signals — real paths, page names, and endpoint URLs to use in test case steps.
Free text or conversation:
Use as-is — no fetching needed.
If any source fails (auth error, 404, timeout), note the failure and continue with the remaining sources.
From all gathered data, identify:
Output test cases using this format:
### TC-NN: <short descriptive title>
**Type:** Happy path | Negative | Edge case
**Preconditions:** <what must be true before the test>
**Steps:**
1. <QA action: navigate to X, click Y, enter Z, submit form>
2. ...
**Expected:** <observable outcome — what QA sees, gets, or can verify>
Rules:
[needs clarification]/some-pageInternal coverage checklist (do not output this):
Print the Context Summary from Step 1, then the full test case block.
End with a short Coverage Notes section:
analyze a feature context (PR, Jira ticket, Confluence page, URL, free text, or current conversation) and produce AC bullet points for QA.
Log time records to Jira Tempo with automatic calendar meeting integration
Backfill missing Tempo meeting worklogs from a user-provided start date.
generate a jira bug ticket title and description from the current conversation.
deep, harsh code review of a github pull request by number or branch name.
fetch a jira ticket and produce a detailed implementation guide based on the current codebase.