No slash command · from jira-integration
Implements code to make committed tests pass following an approved plan. Records plan deviations, moves lasting knowledge to shared docs, and updates the draft PR.
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 코멘트 제목은 영어).
구현 세션(역할 implementer)이 test-write가 커밋한 테스트를 통과시키는 운영 코드를 쓴다. 테스트 파일은 고칠 수 없다(guard-test-files.js, TA-COM-AGT-005).
completedSteps에 test-write가 없으면 멈추고 /jira-task test-write <TASK-ID>를 안내한다.planApproval이 있어야 한다. 없으면 멈춘다(승인 확인은 test-write가 한다).JIRA_CTX_UPDATE_PY는 prompt에 경로가 없을 때만 skills/_shared/script-lookup.md로 찾는다):
python3 "$JIRA_CTX_UPDATE_PY" <TASK-ID> - - "<worktree>/.jira-context.json" --patch '{"activeRole":"implementer"}'
work/<TASK-ID>/plan.md의 작업 순서·바뀌는 파일·위험, spec.md의 수용 조건. 이슈 본문은 cachedIssue로 충분하다(없을 때만 jira-cli.py get).AGENTS.md(와 그것이 이 변경에 대해 가리키는 표준)까지로 한다 — 유사 파일 탐색·메타 확인은 하지 않는다.testWrite.tests(test-write가 쓴 테스트 파일), testWrite.stubs(인터페이스 껍데기 — 이 작업에서 채울 대상)와 testWriteSkipped.skills/_shared/conventions.md "프로젝트 표준"). 표준이 정하지 않은 부분은 기존 코드의 컨벤션과 패턴을 따른다. 기존 코드가 표준과 다르면 그 방식을 새 코드에 옮기지 않는다 — 프로젝트가 정한 예외일 때만 따르고, 판단이 서지 않으면 멈추고 묻는다.eslint-disable, @SuppressWarnings, # noqa, # type: ignore, NOSONAR 등)과 분석 제외 설정 추가(CQ-COM-AGT-001). 꼭 필요하면 멈추고 사유를 보고한다. 프로젝트 규칙이 억제를 허용하면(예: 한 줄 억제에 사유를 달고 PR 본문에 적기) 그 규칙대로 쓰고 PR 본문에 적는다.skills/_shared/ledger.md "바꾸기와 채우기"). plan에 적힌 선택을 바꾸는 것이면 바꾸기 전에 멈추고 묻는다. 사람이 정한 뒤, 그리고 채우기 중 기록할 만한 것은 같은 PR에서 plan.md의 "결정 기록"에 날짜·바뀐 내용·이유를 항목당 3줄 이내로 적는다(SD-COM-ART-007). 조사 경위와 측정 기록은 evidence/에 두고 링크한다. 수용 조건을 바꿔야 하면 구현을 멈추고 알린다 — spec 재승인 대상이다(SD-COM-GAT-006).skills/_shared/sdlc-level.md "등급을 바꿀 때").바꾼 파일만 명시적으로 add한다(git add -A 금지). 커밋은 의미 단위로 나눠도 된다.
git add <운영 코드 파일...> [work/<TASK-ID>/plan.md]
git commit -m "feat(<TASK-ID>): <요약>" # 버그 수정은 fix(<TASK-ID>)
이 작업에서 정해진 것 중 계속 유지할 내용을 공통 문서로 옮긴다(SD-COM-ART-008). L2·L3는 plan 작업 순서의 마지막 항목을 따른다. L1은 해당하는 것이 있을 때만.
| 내용 | 위치 |
|---|---|
| 업무 정책 | docs/policies/ (제품 책임자 승인 필요 — PR 본문에 표시) |
| 새 용어 | docs/glossary.md (제품 책임자 승인 필요) |
| 상태·불변식 | docs/domain/ |
| 구조 변화 | docs/architecture/ |
| 설계 결정 | docs/decisions/ (ADR) |
프로젝트 AGENTS.md가 이 문서들의 위치를 정했으면(예: ADR 폴더 docs/adr/) 표 대신 그 위치를 쓴다.
옮긴 것이 있으면 git add <문서...> → git commit -m "docs(<TASK-ID>): 지속 지식 옮기기". 없으면 "없음"으로 기록한다. 프로젝트가 위치를 정하지 않았고 해당 폴더도 없으면 만들지 말고 PR 본문에 "옮길 문서 없음(폴더 미도입)"으로 남긴다.
testWrite.stubs에 미구현 예외가 남아 있으면 마저 구현한다.ledger의 open 항목을 하나씩 대조해 상태를 기록한다(skills/_shared/ledger.md "대조"). 장부가 없으면 건너뛴다.skills/_shared/conventions.md "Lint"로 정한다. 변경 파일 전체와 context testWrite.tests에 한 번에 실행하고, 운영 코드의 오류는 고친 뒤 1회만 재실행한다. 테스트 파일에 오류가 남으면 고치지 말고 파일·규칙을 보고한다. NONE이면 "lint":{"tool":"none"}으로 기록한다. 구현 중에는 lint를 돌리지 않는다. verify는 이 기록을 인용하지 않고 검사 명령을 따로 실행한다.Read skills/_shared/pr-body.md 후:
testWriteSkipped가 있으면 "검증"에 그 사유.testExpectationChanges), "공통 문서에 옮긴 내용"을 갱신한다.## Implementation Complete
- 커밋: <SHA...> (feat/fix), <SHA> (docs, 지식 옮기기 — 없으면 "없음")
- PR: <URL> (draft)
- 계획과 달라진 점: 없음 | <요약>
- 이 작업의 테스트: <n>/<n> 통과
python3 "$JIRA_CTX_UPDATE_PY" <TASK-ID> impl "-" \
"<worktree>/.jira-context.json" "<repoRoot>/.jira-context.json" \
--patch '{"activeRole":null,"implSelfCheck":{"planMatched":"<n>/<m>","tests":"<통과>/<전체>","lint":{"tool":"<도구명|none>","files":<N>,"errors":<N>,"warnings":<N>}},"knowledgeTransfer":"<옮긴 문서 목록 | 없음>"}'
출력의 completedSteps=[...]가 갱신 결과다 — 파일을 다시 Read하지 않는다.
---
✅ **Implementation Complete** — <TASK-ID>
- 커밋: <목록>
- 이 작업의 테스트: <n>/<n> 통과 / lint <errors> errors (<도구명> | 스킵 사유)
- 지속 지식: <옮긴 문서 | 없음>
- PR: #<번호> <URL> (draft)
**Progress**: init → start → approach(L2·L3) → test-write → **impl ✓** → verify → pr → done
**Next**: `/jira-task verify <TASK-ID>` — 새 세션에서 수용 조건별로 검증합니다
---
What SKILL.md sets; muted values are Claude Code's defaults
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 and stop for human approval. Triggers: jira-task approach, approach task; 명세, 계획, 승인 요청./jira-task-autoAuto-run a Jira task up to the next human gate — L2/L3 stop at plan approval, then test-write → impl → verify stops at 'ready for review'. Triggers: jira-task auto, auto run; 자동 실행, 전체 워크플로 자동./jira-task-cleanClean up git worktrees and branches for completed Jira tasks. Triggers: jira-task clean, remove worktree; 워크트리 정리, 브랜치 정리./jira-task-createInteractively create a new Jira issue (and optional sub-tasks) from conversation context — gathers details via dialog and creates in Jira. Triggers: jira-task create, create task, new task; Jira 이슈 만들어, 태스크 등록, 이슈 생성.Other plugins' skills for the same job