agentleFS
MithunWijayasiriMithunWijayasiri/dotclaude/skills/github-issue-creator/SKILL.md

github-issue-creator

Skill4 starsChanged 17 days agoMITView on GitHub

Create or edit GitHub issues from raw notes, error logs, voice dictation or screenshots, following the repo's issue templates and labels. Use when the user wants an issue drafted, created or updated.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-creator.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    pr-creator

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Before any gh write: gh auth status.

    line 13
  2. Distinctive:

    No template → fallback below.

    line 23
  3. Distinctive:

    Never reference local paths in the body.

    line 58
  4. Very specific:

    Only when user asks. Read local checkout.

    line 62

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “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 Creator

Turn messy input into a clean issue, draft in chat, create with gh on approval.

Repo

Resolve from git remote get-url origin (repo name can differ from folder name). Never guess owner/repo. Before any gh write: gh auth status; active account must match the one project instructions require.

Create flow

  1. Find templates: .github/ISSUE_TEMPLATE/* (.yml forms or .md). Read config.yml too (blank_issues_enabled: false → must use a template).
  2. Pick the template that fits. Several fit → ask.
  3. Missing required template fields (version, device, steps…) → ask all in one batch. Never guess. Unknown → write Not provided.
  4. Build body:
    • .yml form → one ### <field label> section per field, same order as the form. gh issue create --template cannot fill forms, so mirror them. Include every required field.
    • .md template → gh issue create --template or copy its structure.
    • No template → fallback below.
  5. Labels: gh label list --repo <repo>. Apply template labels: plus existing labels that clearly fit (e.g. accessibility). Never create labels. State which were applied.
  6. Title: match style of gh issue list --repo <repo> --limit 10.
  7. Show draft (title, labels, body) in chat. Create only after user OK: gh issue create --repo <repo> --title ... --label ... --body-file - (heredoc).
  8. Reply with issue URL.

Fallback template (no repo template)

Drop sections with nothing to say.

## Summary
## Reproduction Steps
## Expected Behavior
## Actual Behavior
## Error Details
## Additional Context

Edit flow

Issue body may hold images or text the user added after creation. Rewriting from memory destroys them.

  1. gh issue view <n> --repo <repo> --json title,body,labels first, every time.
  2. Edit only the parts requested. Keep everything else verbatim: <img>, ![](...), user-attachments URLs, user's manual edits.
  3. Labels untouched unless asked.
  4. Placeholder <!-- drag the screenshot here --> → remove once body has media; else leave.
  5. Show what changed (before/after of edited parts) before gh issue edit <n> --body-file -.

Images

Image or video exists as a local file → --attach on gh issue create / edit / comment uploads it and appends it to the body. Repeat the flag per file (max 50). Alt text after #: --attach './login.png#Login error state'; video takes none. Needs write access to the repo.

File not available to the shell, or --attach unsupported or failing → add <!-- drag the screenshot here --> where the image goes; user attaches it on GitHub.

Never reference local paths in the body.

Code analysis

Only when user asks. Read local checkout; add Cause and Suggested fix per problem, citing file and symbol. Otherwise report observed behavior only.

Content rules

  • Crisp; every word adds value. Facts pulled out of casual language.
  • Placeholder sensitive data ([USER_ID]).
  • Multiple unrelated problems → one issue only if user asked for one; each problem gets its own section.

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.