start-ticket
Skill9 starsChanged 4 months agoMITView on GitHub
Initialize work on a Jira ticket. Creates a new branch with conventional commit prefix based on the ticket type. Use when starting work on a new ticket.
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- hetalkumawat-bs/claude-skillstheir own version, first seen Aug 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- hetalkumawat-bs/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository74 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architectSkill
- artifact-hygieneSkill
- backlog-groomSkill
- beads-check-dolt-migrationSkill
- beads-migrate-to-doltSkill
- beads-setupSkill
- beadsSkill
- breakdownSkill
- browser-screenshotSkill
- circleci-statusSkill
- clean-codeSkill
- complete-taskSkill
- confluenceSkill
- contract-checkSkill
- contract-testSkill
- create-prSkill
- delegate-workSkill
- developSkill
- diagnose-bugSkill
- do-i-need-thisSkill
- eas-build-errorSkill
- handoffsSkill
- handoffs-tidySkill
- image-studioSkill
- implement-solutionSkill
- jira-commentSkill
- jira-ticketSkill
- landscapeSkill
- model-update-checkSkill
- name-sessionSkill
- nextSkill
- outstanding-workSkill
- pedantic-reviewSkill
- peer-sessionSkill
- pickupSkill
- pi-spendSkill
- plan-daySkill
- plan-to-backlogSkill
- project-briefSkill
- pr-statusSkill
- ready-to-mergeSkill
- ready-to-releaseSkill
- rebaseSkill
- release-maintenanceSkill
- release-managerSkill
- release-statusSkill
- reply-commentsSkill
- review-commentsSkill
- review-prSkill
- sanity-checkSkill
- second-opinionSkill
- setup-multirepo-gitSkill
- skills-reviewSkill
- stack-branchSkill
- thoughtboxSkill
- tidy-settingsSkill
- todaySkill
- token-dashboardSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Use jira-ticket for the key, summary and issue type.
- Distinctive: line 61
Remove special characters except hyphens
- Distinctive: line 63
Keep the ticket number uppercase
- Very specific: line 80
Read ---MATCHED-HANDOFFS--- (current-repo, supersede-filtered, newest first).
- Very specific: line 87
When a live handoff remains, ask with AskUserQuestion:
- Very specific: line 94
If list.sh errors or there's no handoffs dir, proceed to step 4 silently — this is a courtesy, never a blocker.
- Distinctive: line 98
Run the shared read-only branch preflight before changing checkout state:
- Very specific: line 106
If tracked_changes=true or untracked_changes=true, stop before switching or creating a branch.
- Very specific: line 107
Use AskUserQuestion to offer Commit first, Stash and continue, or Abort.
- Very specific: line 152
After successful branch creation or an explicitly chosen existing-branch resume, suggest breakdown for a lightweight, read-only overview …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Start Ticket
Initialize work on a Jira ticket by looking up the ticket details and creating an appropriately named branch.
Usage
/start-ticket AB-123Requirements
The shared scripts/git-branch-preflight.sh helper requires Bash, Git (with git switch), and awk.
It reports working-tree and branch facts without changing refs or files, and queries origin for
exact destination publication. A missing helper, failed status read, or unknown remote state is a
stop condition, not permission to assume a clean tree or absent branch. current_worktree is the
canonical root from git rev-parse --show-toplevel; invoke from any repository subdirectory.
Instructions
1. Look Up the Jira Ticket
Use jira-ticket for the key, summary and issue type. It owns tool availability, deferred discovery and unavailable-context handoffs. If skill invocation is absent, read that installed skill and follow it; do not reconstruct the lookup. If context remains unavailable, stop branch creation or obtain the user-provided fields through that handoff.
2. Determine the Branch Prefix
Map the Jira issue type to a conventional commit prefix:
| Issue Type | Branch Prefix |
| Story | feat |
| Task | feat |
| Bug | fix |
| Spike | chore |
| Sub-task | inherit from parent, or feat |
| Improvement | feat |
| Technical Debt | refactor |
| Documentation | docs |
| Default | feat |
3. Generate Branch Name
Format: {prefix}/{TICKET-NUMBER}-{kebab-case-summary}
Rules:
- Convert summary to kebab-case (lowercase, hyphens instead of spaces)
- Remove special characters except hyphens
- Truncate to reasonable length (max ~50 chars for the summary portion)
- Keep the ticket number uppercase
Example: For ticket AB-123 with summary "Sanitize Input":
feat/AB-123-sanitize-input3b. Resume awareness — check for a prior handoff
Before creating a fresh branch, check whether a previous session already worked this ticket and left a /wrap-up handoff. "Start ticket" is the new-work entry point, but the same ticket sometimes comes back — and a handoff means there's likely an existing branch plus open threads you'd otherwise re-create from scratch.
Two-step so the usual case (a genuinely new ticket) stays network-free:
- Cheap pass (no network):
Read~/.agents/skills/handoffs/scripts/list.sh --ticket {TICKET-NUMBER}---MATCHED-HANDOFFS---(current-repo, supersede-filtered, newest first). Empty → skip to step 4 and create the branch normally. This is the usual path. - Confirm live (only if step 1 matched):
Still empty → the earlier work shipped; create a fresh branch (step 4). Otherwise take the newest matched line:~/.agents/skills/handoffs/scripts/list.sh --check-branches --ticket {TICKET-NUMBER}{filename}|{date}|{time}|{slug}|{branch}|{exists}|{pr-state}|{pr-number}|{pr-url}.
When a live handoff remains, ask with AskUserQuestion:
📥 You have a handoff
{slug}({date} {time}) for{TICKET-NUMBER}on branch{branch}. Resume it instead of creating a new branch?
- Resume handoff (recommended) —
Read~/.claude/handoffs/{filename}and render it verbatim in a fenced block as resume context. Hand to/handoffsfor its worktree-aware resume flow rather than switching blindly. Skip the fresh-branch path in step 4 — don't create over an existing branch. If{exists}=Yand the recorded cwd differs from pwd, add**Switch directory:** cd {cwd}. - Start fresh — ignore the handoff and continue to step 4 with a new branch.
If list.sh errors or there's no handoffs dir, proceed to step 4 silently — this is a courtesy, never a blocker.
4. Preflight and create the branch
Run the shared read-only branch preflight before changing checkout state:
~/.agents/skills/start-ticket/scripts/git-branch-preflight.sh {new-branch-name}Working tree gate
If tracked_changes=true or untracked_changes=true, stop before switching or creating a branch.
Use AskUserQuestion to offer Commit first, Stash and continue, or Abort. Never stash,
discard, or carry changes to another branch without that choice. If HEAD is detached, stop and ask
the user to preserve it on a branch before switching away.
Existing branch gate
- A non-empty
worktree_paththat differs fromcurrent_worktreemeans another worktree owns the target: do not switch or create; report the path and offer to continue there. Compare canonical worktree roots, not the invocation directory (which may be a subdirectory). local_branch_exists=true: offer Resume existing branch or Abort. Resume withgit switch {new-branch-name}and skip creation.- Remote-only (
remote_branch_exists=true): offer Track remote branch or Abort. If chosen, fetch it and rungit switch --track -c {new-branch-name} origin/{new-branch-name}. - With no local branch and
remote_branch_exists=unknown, report that collision safety could not be established and stop before creating or pushing.
For a genuinely new branch, resolve the default branch from origin/HEAD (falling back to local
main, then master), fetch it, and branch directly from its remote-tracking ref. Do not check out
or pull the base branch:
git fetch origin {default-branch}
git switch --no-track -c {new-branch-name} origin/{default-branch}5. Confirm branch push
Rerun the preflight for {new-branch-name} after creating or resuming it. Skip this phase only when
target_published=true: HEAD matches the exact origin/{new-branch-name} destination, not a parent
upstream. On unknown or a preflight error, stop; on false, offer to publish the branch.
Show the exact branch and remote, then use AskUserQuestion
immediately before the command. If approved, the command must be the next tool call, standalone
and unchained:
git push -u origin {new-branch-name}Approval applies only to that one command. A retry or any later remote mutation requires fresh confirmation. If declined, keep the branch local.
6. Confirm to User
Output the active branch, ticket summary, and whether it remains local or now tracks origin.
After successful branch creation or an explicitly chosen existing-branch resume, suggest
breakdown for a lightweight, read-only overview before implementation:
/breakdown {TICKET-NUMBER} (Pi: /skill:breakdown {TICKET-NUMBER}). Do not invoke it automatically.
Skip this suggestion on a handoff-resume path, an abort, or any stop/error path.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

