Generate Chinese product behavior and QA cases from commits, then sync them to a Jira issue while preserving existing context and Slack links.
62
72%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.skillshare/skills/1k-jira-qa-handoff/SKILL.mdConvert recent git commits on the current branch into a Chinese product-behavior summary + test cases, then sync them to the PM's task-type Jira issue. Designed for product managers who have shipped code changes themselves.
The team's flow: the PR title carries the PM's task-type Jira key → after PR merge, Jira automatically generates a downstream test-type issue for QA → QA reads the PM's task description to get context. So the description written here is what QA will end up reading.
Copy this checklist into your reply at the start and tick items off as you go:
- [ ] Step 1: Determine commit range
- [ ] Step 2: Read commits and extract user-visible changes
- [ ] Step 3: Draft Chinese title + description (preview to user)
- [ ] Step 4: Sync to Jira (update existing OR create new)
- [ ] Step 5: Confirm result + return Jira URLDefault: commits unique to the current branch vs origin/x. Same scope as /1k-code-review-pr — if it just ran in this session, reuse its diff output.
git fetch origin x
git log origin/x..HEAD --pretty=format:"%h %s" --no-merges
git diff origin/x...HEAD --statOther cases:
x directly with uncommitted changes → use git diff --staged and git diff to capture the in-flight change; warn that nothing is committed yet.packages/kit/...").For each commit, read the diff itself (not just the message — messages lie or omit):
git show <hash> --stat
git show <hash> -- '<files of interest>'For each change ask: what does the user see or do differently? Skip everything else.
| Code-level change | Becomes (in handoff) |
|---|---|
| Added new UI entry / button / page | New entry point + how to reach it |
| Changed copy / icon / layout | Visible change + before/after if known |
| Added analytics / logger call | "新增埋点" line in QA notes (no event-name code) |
| New i18n key | Confirm it renders in target locales |
| Refactor with same behavior | Skip — not QA-visible |
| Type / lint / build fix | Skip |
| Hidden flag / dev-only path | Skip unless PM says otherwise |
If you only find skip-category items, halt and report "no QA-visible behavior" instead of inventing test cases.
Use the Output Template below. Show it to the user as a preview block in chat. Wait for approval or edits before any Jira write.
Branch on whether the user gave a Jira issue URL.
https://onekeyhq.atlassian.net/browse/OK-53398 → OK-53398).## 更新 YYYY-MM-DD — <brief>. Do not ask the user to re-confirm preservation, do not list "Title 不动 / Type 不动" decisions — these are the silent default.
OK-XXXXX key (/1k-create-pr injects one). If found → switch to Path A with that key, do not create a duplicate.OK (verify against recent commits like (OK-53398) in messages). If unsure, ask.Reply with the Jira URL + one-sentence summary (e.g., "已在 OK-53398 追加 1 个产品行为变更 + 2 个测试用例"); flag anything skipped.
Title format:
[模块] 一句话功能描述Examples (real OneKey style):
[接收] 新增「其他交易所」入口和点击埋点[发送] ERC-1155 NFT 信息卡新增 Max 按钮[硬件] 切换系统主题时底部导航栏颜色未跟随Description format:
## 产品行为变更
1. **<功能点 1>** — 从用户视角的一句话描述(看到什么、能做什么、与之前的差异)
2. **<功能点 2>** — 同上
3. ...
## 测试用例
### 用例 1:<场景名>
**前置条件**:<账户类型 / 网络 / 数据状态等,没有就写「无」>
**测试步骤**:
1. ...
2. ...
3. ...
**预期结果**:
- ...
- ...
**涉及平台**:☐ Desktop ☐ iOS ☐ Android ☐ Web ☐ Extension(勾选适用项)
### 用例 2:<场景名>
(同上结构)
## 关联 PR / Commit
- PR: <URL,如有>
- Commits: <短 hash 列表,如 `a3394702d5`、`daf8d7551d`>
## 备注(可选)
- 已知限制 / 后续待办 / 与其他模块的依赖等。没有就删掉这一节。Test case rules: 2–4 cases per change. Cover (1) golden path, (2) per-platform branches if behavior differs, (3) visible negative path (precondition unmet). Skip internal-only checks — QA can't observe analytics fields or state machines; if 埋点 verification is required, add a 备注 directing the PM to the data team for Mixpanel event xxx.
If unauthenticated, call mcp__atlassian__authenticate and follow its returned OAuth flow. After auth, the real Jira tools become deferred — load their schemas first:
ToolSearch(query="+atlassian jira", max_results=10)Then call by fully-qualified names (mcp__atlassian__<tool_name>). Look for: get-issue-by-key, create-issue, update-issue, JQL-search.
Cloud ID gotcha: some Atlassian tools require a cloudId. If a call fails for that reason, find a getAccessibleAtlassianResources-like tool to fetch your sites and pick the matching one.
/1k-create-pr — create the PR before / after this handoff (also injects OK-XXXXX into the PR title)./1k-commit — produce the underlying commits this skill summarizes./1k-dev-commands — branch / commit conventions this skill assumes./1k-code-review-pr — independent diff review; useful before handoff to catch behavior changes you might have missed.d71e6b7
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.