-
[OPIK-5316] [INFRA] feat: add opt-in worktree support to work-on-jira-ticket skill (#5940)
发布于
2026-04-20 13:16:52 +00:00 - [OPIK-5316] [INFRA] feat: add worktree prompt to work-on-jira-ticket skill
Add optional worktree isolation to the Jira ticket workflow. Users can pass
worktreeorno-worktreeas arguments to skip the prompt, or omit it to
be prompted when uncommitted changes are detected.Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: slugify ticket summary in worktree name
Replace any non-alphanumeric character (not just / and +) with dashes
to prevent EnterWorktree validation failures.Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: improve worktree prompt with plain-English explanation and docs link
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: always prompt for worktree when no argument passed
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: use AskUserQuestion with clickable options for worktree prompt
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: shorten worktree prompt, move explanation to option descriptions
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: correct worktree docs URL to docs.anthropic.com
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: use correct worktree docs URL from code.claude.com
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: gracefully skip worktree when EnterWorktree tool is unavailable
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix: slugify ticket summary in normal branch path (step 6c)
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- fix(work-on-jira-ticket): default to no worktree, drop AskUserQuestion prompt
Worktree is now strictly opt-in via the
worktreeargument. Omitting the
argument (and passingno-worktree) both take the normal-path branch flow
without prompting, removing the friction of asking the user every time.Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
下载附件