← スキル一覧に戻る

start-ticket
by UCEAP
Claude marketplace for UCEAP software engineering
⭐ 0🍴 0📅 2026年1月21日
SKILL.md
name: start-ticket description: Start work on a Jira ticket by fetching details, creating a branch, and entering planning mode.
Start Ticket
Instructions
When this skill is invoked with a Jira ticket ID (e.g., /start-ticket UP-1600), help the user start work on that ticket.
Steps
-
Parse Arguments:
- Extract the Jira ticket ID from the command arguments
- The ticket ID should match the pattern
{JIRA_PROJECT_KEY}-[0-9]+(e.g.,UP-1600) - If no ticket ID is provided, ask the user to provide one
-
Validate Environment:
- Check that the following environment variables are set:
JIRA_EMAIL- User's Jira email for authenticationJIRA_API_TOKEN- API token for Jira authenticationJIRA_BASE_URL- Base URL of the Jira instance
- If any are missing, inform the user which variables need to be configured
- Check that the following environment variables are set:
-
Fetch Ticket Details:
- Use curl to fetch the issue from the Jira REST API:
curl -s -X GET \ -H "Accept: application/json" \ -u "${JIRA_EMAIL}:${JIRA_API_TOKEN}" \ "${JIRA_BASE_URL}/rest/api/3/issue/{TICKET_ID}" - Parse the JSON response to extract:
- Summary (title)
- Description
- Status
- Priority
- Assignee
- Any acceptance criteria or subtasks
- If the API call fails, display the error and stop
- Use curl to fetch the issue from the Jira REST API:
-
Check for Existing Branches:
- Search for branches that already contain this ticket ID:
git branch -a | grep -i {TICKET_ID} - If existing branch(es) are found:
- Use the AskUserQuestion tool to ask the user whether to:
- Switch to one of the existing branches (list them as options)
- Create a new branch
- If user chooses an existing branch, skip to step 6 (switch to that branch)
- Use the AskUserQuestion tool to ask the user whether to:
- Search for branches that already contain this ticket ID:
-
Generate Branch Name (only if creating a new branch):
- Extract the ticket summary from the fetched ticket data
- Convert the summary to a kebab-case slug:
- Convert to lowercase
- Replace spaces and special characters with hyphens
- Remove consecutive hyphens
- Truncate to a reasonable length (max ~50 characters for the description part)
- Format:
{TICKET_ID}-{slug}(e.g.,UP-1600-create-jira-skill)
-
Create or Switch Branch:
- If switching to an existing branch:
git checkout {existing-branch} - If creating a new branch:
git checkout -b {branch-name}
- If switching to an existing branch:
-
Enter Planning Mode:
- Enter planning mode by running
/plan
- Enter planning mode by running
-
Present Context:
- Display the ticket details in a clear format:
- Ticket ID and Summary as heading
- Status, Priority, Assignee
- Full description
- Acceptance criteria (if any)
- Check with user
- Ask if there is any specific guidance that should be considered while planning
- Then begin creating an implementation plan based on:
- The ticket requirements
- The project's Documentation Driven Development workflow (see CLAUDE.md)
- Relevant code patterns in the codebase
- Display the ticket details in a clear format:
-
Update Ticket Status (After Plan Accepted):
- Once the user has approved the plan and you're ready to begin implementation:
- Check the ticket's current status from the fetched data (step 3)
- If the status is "Open", transition it to "In Progress":
- First, get available transitions for the issue:
curl -s -X GET \ -H "Accept: application/json" \ -u "${JIRA_EMAIL}:${JIRA_API_TOKEN}" \ "${JIRA_BASE_URL}/rest/api/3/issue/{TICKET_ID}/transitions" - Find the transition ID for "In Progress" from the response
- Execute the transition:
curl -s -X POST \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -u "${JIRA_EMAIL}:${JIRA_API_TOKEN}" \ -d '{"transition": {"id": "{TRANSITION_ID}"}}' \ "${JIRA_BASE_URL}/rest/api/3/issue/{TICKET_ID}/transitions"
- First, get available transitions for the issue:
- If the status is not "Open", skip this step (do not change the status)
- Inform the user of the status update (or that it was skipped)
-
Begin Implementation:
- Proceed with implementing the plan
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です