agentleFS
leroyguillaumeleroyguillaume/skills/github-issue-conventions/SKILL.md

github-issue-conventions

Skill7 starsChanged 2 days agoMITView on GitHub

Where remaining work goes: an issue via `gh`, or `glab` on GitLab. TRIGGER when: you spot out-of-scope work (bug, follow-up, cleanup, missing test); the user asks to file or track something; you are about to write remaining work into a file. SKIP when: `origin` is neither GitHub nor GitLab (say it in chat instead), or the user asked for the work in the current change.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If it already exists, add a comment to it rather than opening a twin.

    line 66
  2. Distinctive:

    No essay, no speculative design, no task breakdown invented on the spot.

    line 91
  3. Very specific:

    Read the repo's real labels and use them verbatim — a name that does not exist makes gh fail the whole command:

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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 issue conventions (gh CLI)

Remaining work lives in an issue, never in the repo's files — the one exception being a root ROADMAP.md the project already keeps, for the shape of what is coming, never each ticket.

GitHub or GitLab. The commands below are gh; on GitLab, the same rules run through glab issue create --title … --description … --label …, glab issue list --search … --all and glab label list. Check the origin remote first:

git remote get-url origin

On any other host, there is no issue to open: tell the user what you found, in chat, and stop. Do not fall back to writing it in a file.

Never open an issue unasked

Opening an issue is a public, outward-facing act on the user's account, exactly like a commit or a push. Same rule: propose, then wait for an explicit yes.

Present it ready to run — title, body, labels — and let the user say go:

gh issue create \
  --title "handle a 429 from the credentials API" \
  --body "$(cat <<'BODY'
`sync_secret` in `src/reconcile.rs:88` treats every non-2xx as fatal, so a
rate-limited call burns the retry budget instead of backing off.

Done when a 429 is retried with the `Retry-After` delay and covered by a test.
BODY
)" \
  --label bug --label rust

The permission does not carry forward: the next issue needs its own ask.

An issue on any other repository than origin — an upstream dependency, a tool's bug tracker — falls under the CLAUDE.md rule on repositories that aren't the user's: name the target repo in the proposal, and check its owner first.

Before creating one, look for it

Issues duplicate easily, and a duplicate is worse than none — it splits the discussion in two.

gh issue list --search "429 rate limit" --state all --limit 20

If it already exists, add a comment to it rather than opening a twin.

Title

It is read in a list of fifty:

  • Imperative mood, lowercase, no trailing period, aim for ≤ ~70 chars.
  • An optional area: prefix when it sharpens the scope, matching the repo's existing issues. Read gh issue list --limit 30 first and follow the style that is already there rather than imposing a new one.
  • Say the thing, not the feeling: retry a 429 from the credentials API, not improve error handling.

Body

Three short parts, and nothing else:

  1. What is true today — the behaviour or the gap, with the file and line that show it (src/reconcile.rs:88). Present tense, no narrative of how it got there.
  2. Why it matters — the consequence for a user or an operator, one sentence. If you cannot name one, the issue may not be worth opening.
  3. Done when — the observable condition that closes it, including the test that proves it. This is what stops an issue from living forever.

No essay, no speculative design, no task breakdown invented on the spot. Link the ADR, PR or upstream issue when one exists instead of restating it.

Labels

Read the repo's real labels and use them verbatim — a name that does not exist makes gh fail the whole command:

gh label list --limit 100

Then apply one issue-triage label (bug / enhancement / question / …) plus the area or technology labels that fit. The release-note category labels (fix, feature, …) belong on the pull request that ships the change (see github-repo-settings for the split). Never invent a label to fit the issue; creating one is deliberate github-repo-settings work. If the right label does not exist, use the closest one and say so.

Closing the loop

  • Let the PR close it, and reference follow-ups from it — the body conventions are in pr-conventions.
  • Nothing stays behind in the code — no TODO marker, not even one carrying the issue number. Once the issue exists, the code says nothing about it.

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.