agentsclimarketplace

Create github ticket

Skill emaarco/hogwarts/plugins/felix-felicis/skills/create-github-ticket

A magical place where my skills, rules, and plugins for AI agents are defined, which magically boost productivity 🏰πŸͺ„

Install
npx -y skills add emaarco/hogwarts --skill create-github-ticket

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Create or update GitHub issues for bug reports, feature requests, and refactor tasks using the gh CLI. Use when the user wants to file a ticket, create an issue, report a bug, request a feature, plan a refactor, or update an existing GitHub issue. Also triggers for new issue, open a ticket, file a bug, feature request, create task, or mentions wanting to track work in GitHub Issues.

SKILL.md

4.1 KB, as published. Nobody here has run it

Skill: create-ticket

Create or update a GitHub issue (feature request, bug report, or refactor task).

IMPORTANT

  • Always use gh CLI to create or update tickets. Never call the GitHub API directly.
  • If gh CLI is not available, abort and ask the user to install it. The user must restart the skill then.
  • When any gh call fails, use AskUserQuestion to ask the user what to do (repeat, stop, do something else).

Instructions

Step 1 – Determine mode

Inspect $ARGUMENTS:

  • If context contains update and/or an issue number or GitHub issue URL β†’ update mode.
  • Otherwise β†’ create mode.
  • If create mode does not make sense based on context, use AskUserQuestion.

Step 2 – Gather information

Create mode:

  • Extract issue type (feature, bug, refactor) from $ARGUMENTS; if missing, ask the user.
  • For feature: understand the desired behaviour and why it is needed.
  • For bug: understand current vs. expected behaviour and reproduction steps.
  • For refactor: understand scope, motivation, and target state.

Update mode:

  • Fetch the issue: gh issue view <number-or-url>.

Step 3 – Research (optional)

If the issue involves a specific library, framework version, API, or configuration that you are not fully certain about, use AskUserQuestion to ask: "Should I search online for [topic] to get accurate details before drafting?" If yes, use WebSearch / WebFetch to collect relevant facts and incorporate them into the draft. Skip this step if you already have sufficient knowledge.

Step 4 – Discover issue templates

Locate the issue templates to use for structuring the issue body:

  1. Check the current repo β€” look for .github/ISSUE_TEMPLATE/ in the git repo root.
  2. Check a referenced repo β€” if not inside a repo but a repo is referenced (via URL or gh context), attempt:
    gh api repos/{owner}/{repo}/contents/.github/ISSUE_TEMPLATE --jq '.[].name'
    
    Then fetch individual templates as needed.
  3. Fallback β€” if no templates are found by either method, use AskUserQuestion to ask the user:
    • "I couldn't find issue templates in the repository. You can either: a) Provide a link to your issue templates, or b) Use the built-in defaults."
    • If the user provides a link, fetch and parse those templates.
    • If the user chooses defaults, read the matching template from references/:
      • feature β†’ references/feature-template.md
      • bug β†’ references/bug-template.md
      • refactor β†’ references/refactor-template.md

When repo templates are found (YAML format), extract the title prefix, labels, and every textarea/input/dropdown field (label + description) to compose the issue body.

Step 5 – Draft

Compose the issue title and body following the discovered or default template structure. Apply appropriate labels based on issue type.

Step 6 – Show and confirm

Present the full draft (create) or the current state + proposed changes (update) and use AskUserQuestion: "Proceed? (yes / edit / cancel)". Apply edits and re-show if requested.

Step 7 – Create or update

Using the GitHub CLI:

  • Create: gh issue create --title "<title>" --body "<body>" --label "<label>"
  • Update (use whichever commands apply):
    gh issue edit <number> --title "<title>" --body "<body>"
    gh issue edit <number> --add-label "<label>" --remove-label "<label>"
    gh issue comment <number> --body "<comment>"
    gh issue close <number>
    gh issue reopen <number>
    

Step 8 – Report

Run gh issue view <number> and show the final issue state with its URL.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.