github-issue-model
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when working with GitHub's issue data model — issue types, sub-issues, dependencies, labels, milestones, issue forms and templates…
от TheLobbi★ 22 звезды на GitHubОб этом скилле
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:
validations.requiredonly 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.- Issue forms do not work for pull requests. PR templates are markdown only.
- The
type:key sets the org issue type, andprojects: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
Установить github-issue-model в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл github-issue-model?
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.
Как установить скилл github-issue-model?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл github-issue-model запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic