jira-ticket-git
Skill0 starsChanged 9 months agoMITView on GitHub
Turn the current git changes into a well-formed Jira/Linear-style ticket with acceptance criteria.
In this repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- action-itemsSkill
- add-spikeSkill
- changelogSkill
- commitSkill
- create-branchSkill
- create-issue-branch-githubSkill
- create-issue-githubSkill
- create-mr-gitlab-gitSkill
- create-pr-github-gitSkill
- create-pr-githubSkill
- decisionSkill
- emailSkill
- fix-issue-github-autoSkill
- fix-issue-githubSkill
- hldSkill
- implement-lldSkill
- jira-ticketSkill
- lldSkill
- prSkill
- reconcileSkill
- resolve-conflictsSkill
- resolve-open-questionsSkill
- reviewSkill
- spikeSkill
- standup-gitSkill
- standupSkill
- syncSkill
- tag-release-ansibleSkill
- tag-release-npmSkill
- tag-releaseSkill
- tldrSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Run gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null to get the default branch.
- Very specific: line 9
Run git remote show origin 2>/dev/null | grep 'HEAD branch' to detect it from the remote config.
- Very specific: line 10
Check which of main, master, or develop exist on the remote with git branch -r.
- Distinctive: line 11
If none work, ask the user to specify the base branch and stop until they do.
- Very specific: line 13
Run git log --oneline <base>..HEAD to list commits on this branch.
- Distinctive: line 37
Do not pad with obvious criteria like "code is reviewed" or "tests pass" unless testing behaviour is genuinely part of the scope
- Distinctive: line 38
If the diff is ambiguous about intent, make a reasonable assumption and note it in the Description
- Distinctive: line 39
Keep the total output focused and scannable — this is a ticket, not a design doc
≈ “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
Turn the current git changes into a well-formed Jira/Linear-style ticket with acceptance criteria.
Determine the base branch using the first method that succeeds:
- Run
gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/nullto get the default branch. - Run
git remote show origin 2>/dev/null | grep 'HEAD branch'to detect it from the remote config. - Check which of
main,master, ordevelopexist on the remote withgit branch -r. - If none work, ask the user to specify the base branch and stop until they do.
Run git log --oneline <base>..HEAD to list commits on this branch. Run git diff <base>...HEAD to see all changes introduced by the branch. If there are no commits ahead of the base branch, tell the user there is nothing to generate a ticket from and stop.
Using the diff and commit context, output the ticket in this format:
Title A short, imperative-tense summary of what the change does (under 72 characters). Suitable for a ticket title or story card.
Type Infer one of: Story, Bug, Task, Spike. Use Story for user-facing features, Bug for defects, Task for internal/non-feature work, Spike for research or investigation.
Description 2-4 sentences explaining what needs to be done and why, written as if the work has not yet been done. Describe the intent and value, not the implementation. If the diff reveals implementation details, use them only to infer the purpose.
Acceptance Criteria A checklist of specific, testable conditions that must be true for the ticket to be considered done. Derive these from what the diff actually changes — each criterion should correspond to observable behaviour.
- ...
- ...
Out of Scope (optional) List anything that might seem related but is explicitly not included. Omit this section if nothing needs clarifying.
Rules:
- Be specific — vague criteria like "it works correctly" are not acceptable
- Do not pad with obvious criteria like "code is reviewed" or "tests pass" unless testing behaviour is genuinely part of the scope
- If the diff is ambiguous about intent, make a reasonable assumption and note it in the Description
- Keep the total output focused and scannable — this is a ticket, not a design doc
$ARGUMENTS
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.

