No slash command · from jira-integration
Regenerates a standard PR body from Jira task context and syncs PR state to Jira (draft → review requested → In Review).
Ships in jira-integration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
공용 규약: skills/_shared/conventions.md를 먼저 Read한다 — 언어, TASK-ID 감지, harness 차이 (한국어 출력, Jira 코멘트 제목은 영어).
v0.70.0부터 PR은 흐름 안에서 열린다(L2·L3는 approach, L1은 impl). 이 명령은 두 가지를 한다.
pr을 기록한다.에이전트는 draft를 풀지 않는다(SD-COM-ROL-005). 로컬 병합은 없다(SD-COM-AUT-005).
Jira 호출은 python3 "<scripts>/jira-cli.py" … (skills/_shared/jira-cli.md). 경로가 prompt에 없으면 skills/_shared/script-lookup.md로 해석한다.
context(level, riskSignals, planApproval, testExpectationChanges, knowledgeTransfer, verifyResult, stackedOn)와 work/<TASK-ID>/를 읽고 Read skills/_shared/pr-body.md대로 PR을 만들거나 본문을 갱신한다.
python3 "<scripts>/sdlc-gate.py" pr-state <TASK-ID> # {"state": draft|ready|merged|closed|none, "number", "url", "mergeCommit"}
| state | 할 일 |
|---|---|
| draft | 검증 통과(context verifyResult.result)면 gh pr ready <번호>를 사람이 실행하도록 안내. 아니면 다음 단계(verify 등) 안내 |
| ready | Step 3 |
| merged | /jira-task done <TASK-ID> 안내 |
| closed | 머지 없이 닫힘 — 사용자에게 알리고 멈춘다 |
mergeable이 CONFLICTING이면 state와 별개로 알린다: "base와 충돌해 머지할 수 없습니다 — skills/_shared/base-conflict.md 절차로 해결 후 재검증이 필요합니다."
completedSteps에 pr이 이미 있으면 건너뛴다.
python3 "<scripts>/jira-cli.py" transitions <TASK-ID>
python3 "<scripts>/jira-cli.py" transition <TASK-ID> "<In Review|검토 중 류 id>" # 출력 status = 실제 상태
python3 "<scripts>/jira-cli.py" comment <TASK-ID> "## Review Requested
- PR: <URL>
- base: <base> ← feature/<TASK-ID>"
python3 "$JIRA_CTX_UPDATE_PY" <TASK-ID> pr "<전이 후 status>" \
"<worktree>/.jira-context.json" "<repoRoot>/.jira-context.json"
전이 실패는 경고 후 계속한다(skills/_shared/transition-verify.md).
---
🔗 **PR** — <TASK-ID>
- PR: <URL> (<draft | 리뷰 요청됨 | 머지됨>)
- 본문 갱신됨
- Jira: <변화 없음 | 검토 중으로 전이>
**Progress**: init → start → approach(L2·L3) → test-write → impl → verify → **pr** → done
**Next**: <draft: 확인 후 `gh pr ready <번호>` | 리뷰 요청됨: 코드 오너 머지 대기 | 머지됨: `/jira-task done <TASK-ID>`>
---
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
jira, pull-request, pr-body, state-sync, workflow-automation
npx claudepluginhub mzd-hseokkim/jira-claude-code-integration --plugin jira-integration17 skills in this plugin
/jira-dashboardManage the Jira dashboard server — setup, start, stop, or check status. Triggers: jira dashboard, dashboard status; 대시보드 시작, 대시보드 상태./jira-setupInteractive setup wizard — Jira credentials for this workspace (jira-cli) and optional MCP registration. Triggers: jira setup, setup jira; Jira 설정, 자격증명 설정./jira-task-approachWrite the standard L2/L3 artifacts (intent·spec·plan in work/<KEY>/), open a draft PR, ask the questions only a human can answer, and request approval when the approver is someone else. Triggers: jira-task approach, approach task; 명세, 계획, 승인 요청.Other plugins' skills for the same job