agentleFS
gregwebsgregwebs/skills-sdlc/skills/github-tickets/SKILL.md

github-tickets

Skill20 starsChanged 43 days agoMITView on GitHub

Break a plan, spec, or conversation into tracer-bullet GitHub issues for this repo, creating a parent tracking issue with sub-issues when publishing multiple tickets.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 4 are distinctive, and 8 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.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the /tickets and /to-tickets skill and follow its full process.

    line 18
  2. Very specific:

    If the /tickets skill is unavailable, just use /to-tickets.

    line 19
  3. Very specific:

    If /to-tickets skill does not exist on this machine, stop and tell the user the to-tickets skill is missing.

    line 21
  4. Very specific:

    Create all issues with ${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.sh issue create.

    line 28
  5. Very specific:

    After each create command, extract the issue number strictly from the printed URL.

    line 32
  6. Very specific:

    If the approved breakdown has exactly one ticket, keep the base behavior: create one ready-for-agent issue and do not create a parent issue.

    line 37
  7. Distinctive:

    If the approved breakdown has two or more tickets:

    line 40
  8. Distinctive:

    Create a parent epic tracking issue first.

    line 42
  9. Distinctive:

    Create child issues in dependency order.

    line 48
  10. Distinctive:

    Use the base issue template.

    line 50
  11. Very specific:

    After each child issue is created, attempt: ${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app-issue-sub-issue.sh add --parent N --child M

    line 52
  12. Very specific:

    After all children are created, update the parent with ${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.sh issue edit N --body-file FILE, …

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/github-tickets

This project builds on top of the tickets/to-tickets skill so multi-ticket breakdowns are published with a parent tracking issue (epic) and native GitHub sub-issue links.

It also asks for more detail in the ticket.

Delegate first

Read the /tickets and /to-tickets skill and follow its full process. This skill just modifies the publishing portion. If the /tickets skill is unavailable, just use /to-tickets.

If /to-tickets skill does not exist on this machine, stop and tell the user the to-tickets skill is missing.

Publishing override for this repo

This section provides specific details for how to publish to "A real issue tracker"

Create all issues with ${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.sh issue create. Write issue bodies to temp files and pass them with --body-file; never pass Markdown with --body.

After each create command, extract the issue number strictly from the printed URL. It must match https://github.com/<owner>/<repo>/issues/<digits> for this repo's origin. If extraction fails, stop and report the URL instead of passing a garbage number to another script.

If the approved breakdown has exactly one ticket, keep the base behavior: create one ready-for-agent issue and do not create a parent issue.

If the approved breakdown has two or more tickets:

  1. Create a parent epic tracking issue first.
    • Title: the short name of the work.
    • Body: the source spec verbatim, or a synthesized spec if working only from conversation, prefixed with one line saying this is a tracking issue whose sub-issues are the implementation tickets.
    • Labels: none.
  2. Create child issues in dependency order.
    • Apply the ready-for-agent label.
    • Use the base issue template.
    • Include ## Parent with a reference to the parent issue number.
  3. After each child issue is created, attempt: ${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app-issue-sub-issue.sh add --parent N --child M
  4. Sub-issue linking is failure-tolerant. If linking fails because of a 403, 422, rate limit, or similar API issue, record the failure, keep creating the remaining children, and report all link outcomes at the end.
  5. Once every child issue exists, record the approved breakdown's blocking edges as native dependencies. For each ticket with declared blockers, run: ${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app-issue-dependency.sh add --blocked M --blocker K (M is the blocked child's issue number, K is each blocker's). Do this as a final pass after all children exist — a blocker's issue number isn't necessarily known yet when its dependents are created. Same failure-tolerant contract as sub-issue linking: on 403, 422, rate limit, or similar, record the failure, keep going, and report all outcomes at the end.
  6. After all children are created, update the parent with ${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.sh issue edit N --body-file FILE, re-sending the full body plus an appended ## Implementation tickets section. List every child URL in dependency order, note its blockers in prose (e.g. blocked by #12, #13) so the graph survives even where a link attempt failed, and note any native sub-issue or blocked-by links that failed.

Relay all created issue URLs back to the user, parent first, including any sub-issue or blocked-by link failures.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.