Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

github-issue-model

FreeNo executable scriptsNot checked

This skill should be used when working with GitHub's issue data model — issue types, sub-issues, dependencies, labels, milestones, issue forms and templates…

TheLobbiby TheLobbi★ 22 GitHub stars

About this skill

GitHub Issue Model

Four ways to classify an issue — they are not interchangeable

Mechanism Scope Cardinality Best for
Issue type Organization Exactly one per issue What kind of work — Bug, Feature, Task
Label Repository Many per issue Everything else — component, status, priority
Milestone Repository One per issue A dated or versioned target
Project field Project One value per field Planning attributes — sprint, points, owner

Issue types are organization-level (up to 25) and give one shared vocabulary across every repository — the thing labels cannot do, because bug in one repo and Bug in another are different labels forever.

# REST — org issue types
gh api /orgs/ORG/issue-types

Creating or editing types requires org admin. Applying one does not.

Do not encode a type as a label and a type. Pick the mechanism per axis: type for the kind of work, labels for everything else.

Hierarchy: sub-issues

Sub-issues give real parent/child structure — not a task-list checkbox that looks like structure.

Epic #200
├── #201  schema + migration
├── #202  repository
└── #203  cutover

Projects surfaces this as parent issue and sub-issue progress fields, so a board can show rollup completion without anyone maintaining a checklist. In project filters:

parent-issue:"OWNER/REPO#200"

Manage via mcp__github__sub_issue_write (add / remove / reprioritize).

Use sub-issues for decomposition; use a task list only for ephemeral checklists that are not worth tracking as work.

Dependencies: blocked by / blocks

Distinct from hierarchy. A sub-issue is part of its parent; a dependency says one issue cannot start until another finishes. A sub-issue can be blocked by an issue in a completely different epic.

Get this right when decomposing — modelling a dependency as a parent relationship creates a fake hierarchy that misleads every rollup built on it.

Issue templates: two formats

Markdown templates (.github/ISSUE_TEMPLATE/*.md)

YAML frontmatter with name: and about:, then free-form markdown. Simple, and users can delete every prompt before submitting.

Issue forms (.github/ISSUE_TEMPLATE/*.yml)

Structured fields with validation. Strongly preferred — a form produces consistently parseable reports, which is what makes automated triage viable.

name: Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug", "triage"]
type: bug                          # org issue type, applied automatically
projects: ["octo-org/1"]           # drops onto boards with no automation
assignees: [octocat]
body:
  - type: markdown
    attributes: { value: "Thanks for taking the time to file this." }
  - type: textarea
    id: what-happened
    attributes:
      label: What happened?
      description: And what did you expect instead?
    validations: { required: true }
  - type: dropdown
    id: version
    attributes:
      label: Version
      options: ["1.0.2", "1.0.3"]
      default: 0
    validations: { required: true }
  - type: textarea
    id: logs
    attributes:
      label: Relevant log output
      render: shell                # auto-formats as code, no backticks needed
  - type: checkboxes
    id: terms
    attributes:
      label: Code of Conduct
      options:
        - label: I agree to follow this project's Code of Conduct
          required: true

Field types: markdown · input · textarea · dropdown · checkboxes · upload.

Three details that bite:

  1. validations.required only works in public repositories. A private repo form will happily accept an empty "required" field, so triage must still check for missing information rather than trusting the form.
  2. Issue forms do not work for pull requests. PR templates are markdown only.
  3. The type: key sets the org issue type, and projects: adds to boards — both without a line of automation. Prefer these over an Actions workflow doing the same thing.

The template chooser (.github/ISSUE_TEMPLATE/config.yml)

blank_issues_enabled: false
contact_links:
  - name: Community Support
    url: https://github.com/orgs/community/discussions
    about: Questions belong here, not in the issue tracker.
  - name: Report a security vulnerability
    url: https://github.com/OWNER/REPO/security/advisories/new
    about: Never file security reports as public issues.

blank_issues_enabled: false is what actually enforces the templates. A security contact_link is the mechanism that keeps vulnerability reports out of the public tracker — worth having in every repo.

Pull request templates

  • Single: .github/pull_request_template.md
  • Multiple: .github/PULL_REQUEST_TEMPLATE/<name>.md, selected with ?template=<name>.md — the chooser is a URL parameter, not a picker UI, so multiple templates only get used if something links the
Full SKILL.md on GitHub

Install github-issue-model in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the github-issue-model skill do?

This skill should be used when working with GitHub's issue data model — issue types, sub-issues, dependencies, labels, milestones, issue forms and templates, and the community health files that configure them.

How do I install the github-issue-model skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the github-issue-model skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare github-issue-model with