agentleFS
Diego-RomeroDiego-Romero/claude-skills/create-issue/SKILL.md

create-issue

Skill0 starsChanged 9 months agoMITView on GitHub

Create a GitHub issue enriched with codebase-derived technical context so anyone picking it up knows exactly what files to touch and how. Check for a project instruction file (stop at first match): Store as $INSTRUCTION_FILE. Read it to understand the repo's architecture, file layout, and conventions. If $INSTRUCTION_FILE exists, read it to understand the repo's architecture. This informs codebase exploration in step 5. If $ARGUMENTS is non-empty, use it as the starting description. Otherwise, ask the user: What issue do…

63 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use native-nostalgia-stack, software-engineering-excellence and 10 more.

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.
  • frostneySkill

    native-nostalgia-stack

    Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.

    Also in 3 projects that use this

  • frostneySkill

    software-engineering-excellence

    Applies the user's engineering standards during substantial technical work: preserve scope, use current evidence, delegate independent parts, and complete authorized outcomes. Use during substantial implementation, debugging, refactoring, or multi-part delivery work.

    Also in 3 projects that use this

  • withpiperSkill

    roadmap-review

    Audit roadmap health — issues, dependency order, spec coverage, doc freshness. Use when speccing a new initiative. Use when /phase-plan output looks suspicious. Use before /roadmap-create reruns.

    Also in 3 projects that use this

  • GoogleSkill

    implement-issue

    Implement a Site Kit GitHub issue end-to-end from its implementation brief. Use when the user asks to implement, build, or work on a GitHub issue / feature by number (e.g. "implement issue #12345", "build the feature in issue 12345", "follow the implementation brief for #12345") in the google/site-kit-wp repo.

    Also in 6 projects that use this

  • Microsoft AzureSkill

    create-release

    Use when creating a new ASO release, including pre-checks, release notes generation, draft GitHub release creation, documentation updates, and ROADMAP changes.

    Also in 4 projects that use this

  • MicrosoftSkill

    update-pr

    Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 53 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a GitHub issue enriched with codebase-derived technical context so anyone picking it up knows exactly what files to touch and how.

    line 9
  2. Distinctive:

    Check for a project instruction file (stop at first match):

    line 16
  3. Very specific:

    If $INSTRUCTION_FILE exists, read it to understand the repo's architecture.

    line 30
  4. Very specific:

    If $ARGUMENTS is non-empty, use it as the starting description.

    line 35
  5. Distinctive:

    If the initial description is detailed enough, skip follow-ups entirely.

    line 66
  6. Distinctive:

    Read 3-8 files to produce specific, actionable technical context.

    line 77
  7. Very specific:

    Match existing conventions: Look at recent issues in the repo (gh issue list) to match the team's style if there are existing patterns.

    line 189

“Common” is measured: kept by at least 6 in 10 of the 53 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

Create a GitHub issue enriched with codebase-derived technical context so anyone picking it up knows exactly what files to touch and how.

Pre-flight: Auto-detect Environment

Step 0.1: Find Instruction File

Check for a project instruction file (stop at first match):

  1. CLAUDE.md
  2. AGENTS.md
  3. CONVENTIONS.md
  4. CONTRIBUTING.md

Store as $INSTRUCTION_FILE. Read it to understand the repo's architecture, file layout, and conventions.

Steps

1. Read Context

If $INSTRUCTION_FILE exists, read it to understand the repo's architecture. This informs codebase exploration in step 5.

2. Get Description

If $ARGUMENTS is non-empty, use it as the starting description.

Otherwise, ask the user:

What issue do you want to create? Describe the problem, feature, or task.

Let them explain in their own words.

3. Classify Type

Auto-detect the issue type from the description. Do not ask the user — infer it:

TypeLabelSignal
Bugbug"broken", "wrong", "crash", "error", regression
Featureenhancement"add", "new", "support", "implement", "improve"
Documentationdocumentation"docs", "readme", "document", "guide"
Task(no label)Chore, refactor, config, cleanup, infrastructure

4. Ask Follow-ups

Based on the type, ask 1-2 targeted follow-up questions (one round max) using direct questions. Skip questions the user already answered. Examples:

  • Bug: "What's the expected vs actual behavior?" / "Can you describe the steps to reproduce?"
  • Feature: "What's the user-facing goal?" / "Any constraints or scope boundaries?"
  • Docs: "Which part of the system needs documenting?"
  • Task: "Any deadline or priority context?"

If the initial description is detailed enough, skip follow-ups entirely.

5. Explore Codebase

This is the core value of the skill. Use Glob, Grep, and Read to find:

  • Affected files — What files need to change and why
  • Related patterns/utilities — Existing code to reuse or extend
  • Entry points — Where the feature/fix integrates into the app
  • Root cause (bugs) — The specific code path causing the issue

Read 3-8 files to produce specific, actionable technical context. Don't just list file names — explain what each file does and what needs to change.

6. Generate Issue

Compose the issue body using the template below, adapted by type.

Title: Short, imperative summary (e.g., "Fix progress ring resetting on pause", "Add push notification sound settings").

Body template:

## Problem / Motivation

[2-3 sentences explaining why this issue exists]

## Steps to Reproduce ← bugs only

1. [Step]
2. [Step]
3. [Observe: ...]

## User Flow ← features only

1. [User does X]
2. [App responds with Y]
3. [Result: Z]

## Technical Context

**Affected files:**

- `path/to/file.ts` — [role and what needs to change]
- `path/to/other.ts` — [role and what needs to change]

**Related code:**

- [Existing patterns, utilities, or modules to reuse]

## Proposed Solution

[High-level approach in 2-4 sentences]

### Implementation Steps

1. [Specific step with file path]
2. [Specific step with file path]
3. ...

## Acceptance Criteria

- [ ] [Testable condition]
- [ ] [Testable condition]

Type-specific adjustments:

  • Bugs: Include "Steps to Reproduce", omit "User Flow"
  • Features: Include "User Flow", omit "Steps to Reproduce"
  • Tasks: Omit both — use simplified template with Problem/Motivation, Technical Context, Implementation Steps, and Acceptance Criteria
  • Docs: Omit Technical Context if it's a pure documentation task

7. Present for Review

Display the full issue (title, labels, body) to the user. Ask if they want to adjust anything. Make edits as requested.

8. Create Issue

Once the user is happy:

  1. Ask who to assign the issue to. Fetch org members dynamically:

    ORG=$(gh repo view --json owner --jq '.owner.login')
    gh api "orgs/$ORG/members" --jq '.[].login' 2>/dev/null || echo ""

    Present members as options (include "No assignee" as an option). If the org API fails (e.g., personal repo), ask for a GitHub username directly.

  2. Create the issue with gh:

    gh issue create \
      --title "<title>" \
      --body "<body>" \
      --label "<label>" \
      --assignee "<assignee>"

    Omit --label if type is Task (no label). Omit --assignee if user chose "No assignee".

9. Confirm

Display the issue number and URL:

Created issue #<number>: <url>

Guidelines

  • Specificity over generality. The whole point is that the agent explores the codebase to give actionable file paths and implementation guidance — not vague descriptions anyone could write.
  • Don't over-scope. Issues should be completable in a single PR. If the description implies a multi-PR effort, suggest breaking it into multiple issues.
  • Match existing conventions. Look at recent issues in the repo (gh issue list) to match the team's style if there are existing patterns.
  • Keep it concise. Implementation steps should be specific but not exhaustive — leave room for the implementer's judgment.

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.