К основному содержанию
скилл CX Codex

github-issues · tartinerlabs — скилл для Claude Code: заводит и ведёт issues

Скилл для работы с issues на GitHub и GitLab: создаёт, обновляет, ищет и комментирует через gh и glab, подставляет шаблоны и назначает исполнителя.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add tartinerlabs/skills --skill github-issues -a claude-code
Открыть на GitHub

Что делает github-issues

Скилл берёт на себя весь цикл работы с issue: создать, обновить, найти, прокомментировать. Хост определяется по git remote get-url origin — github.com уходит на gh, gitlab.com на glab. Шаблон ищется в .github/ISSUE_TEMPLATE/ или .gitlab/issue_templates/, заголовок собирается по правилам из rules/issue-title.md.

Внутри три правила: заголовок, следование шаблону и запрет на чек-листы в теле. При создании скилл подставляет текущего пользователя в assignees, а связанные задачи советует оформлять как родительскую issue с подзадачами. Метки и поля берёт только те, что уже есть в репозитории или организации, — несуществующие не придумывает.

Для полей issue (приоритет, трудозатраты, даты) нативного подкоманды в CLI нет. Если подключён GitHub MCP-сервер, скилл пойдёт через него; иначе через gh api с заголовком X-GitHub-Api-Version: 2026-03-10. Без сервера и без прав read:org поля просто не выставятся, остальная операция пройдёт. Типы issue, подзадачи и поля существуют только на GitHub: на GitLab эти шаги пропускаются, вместо них — шаблоны и чек-листы в описании. Нужен remote на GitHub или GitLab, иначе скиллу не с чем работать.

Какие задачи решает

  • завести баг-репорт по шаблону репозитория
  • оформить фичу как родительскую issue с подзадачами
  • проставить приоритет и трудозатраты на issue
  • найти issues по фильтрам и ключевым словам в нескольких репозиториях
  • добавить комментарий к существующей issue

Примеры запросов агенту

  • Заведи баг: на странице оплаты падает валидация карты
  • Разбей эту задачу на родительскую issue и три подзадачи
  • Найди открытые issues с меткой bug в этом репозитории

Как установить github-issues

1Через Skills CLI (Vercel)

npx skills add tartinerlabs/skills --skill github-issues -a claude-code

2Вручную: положить файлы

~/.claude/skills/github-issues/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/github-issues/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о github-issues

Как установить github-issues в Claude Code?

Выполните npx skills add tartinerlabs/skills --skill github-issues -a claude-code. Скилл встанет в ~/.claude/skills/github-issues/SKILL.md.

Что делает github-issues?

Создаёт, обновляет, ищет и комментирует issues на GitHub через gh и на GitLab через glab. Подставляет шаблон репозитория, формирует заголовок и назначает исполнителя.

Что нужно, чтобы выставлять приоритет и даты на issue?

Нативной подкоманды для полей issue в CLI нет. Скилл использует подключённый GitHub MCP-сервер, а без него — gh api с заголовком X-GitHub-Api-Version: 2026-03-10 и правом read:org.

Исходный текст

SKILL.md · MIT
---
name: github-issues
description: Use when filing a bug, requesting a feature, creating an issue, or updating issue details. Manages issues on GitHub (and GitLab via glab) with templates, formatting, and auto-assignment.
license: MIT
allowed-tools: Read Bash(gh:*) Bash(glab:*)
model: haiku
effort: medium
compatibility: Requires a GitHub (gh) or GitLab (glab) remote; GitHub is best-supported (issue types, sub-issues, templates); a GitHub MCP server is optional and unlocks typed issue-field support
metadata:
  short-description: Create and manage issues.
---

You create, update, query, and comment on GitHub (or GitLab) issues.

## Rules Overview

| Rule | Impact | File |
|------|--------|------|
| Issue title | HIGH | `rules/issue-title.md` |
| Template adherence | MEDIUM | `rules/template-adherence.md` |
| No checklists | MEDIUM | `rules/no-checklists.md` |

## CLI vs MCP Precedence

Use the CLI (`gh`/`glab`) for every operation it natively supports — it is the default interface throughout this skill. For operations with **no native CLI subcommand** (currently: issue fields — structured priority/effort/date/custom metadata on issues), fall back in this order:

1. **GitHub MCP server tools**, if such a server is connected. In Claude Code its tools are typically named `mcp__github__*` (`list_issue_fields`, `issue_read`, `issue_write`), but the name depends on how the server was registered — detect by capability, not exact ID. Never assume the server is available. This skill does not pre-approve any MCP tools — the host prompts for permission, so the user decides whether to allow them.
2. **`gh api`** against the REST API, sending `-H "X-GitHub-Api-Version: 2026-03-10"`:
   - List fields: `gh api orgs/{org}/issue-fields` (needs `read:org`) — returns each field's numeric `id`, `name`, `data_type` (`text`, `number`, `date`, `single_select`, `multi_select`), and `options[].name`
   - Read an issue's values: `gh api repos/{owner}/{repo}/issues/{number}/issue-field-values`
   - Add or update values without touching others: `POST` to the same path with `--input -` and a body of `{"issue_field_values":[{"field_id":1,"value":"High"}]}`. Single-select takes the option **name**, multi-select an array of names, number a number, date `YYYY-MM-DD`
   - `PUT` to the same path replaces **all** field values on the issue — avoid it unless that is the intent
   - Clear one field: `DELETE repos/{owner}/{repo}/issues/{number}/issue-field-values/{field_id}` (404 if the field has no value)
3. **Graceful skip**: complete the rest of the operation, report which fields could not be set, and note that connecting the GitHub MCP server unlocks typed issue-field support.

## Workflow

1. Determine action: create, update, query, or comment
2. Detect the remote host from `git remote get-url origin` (github.com → gh, gitlab.com → glab; default GitHub) and use that CLI throughout. Get owner/repo (or group/project) info. **GitHub-only features** — organisation issue types, issue fields, sub-issues, and `.github/ISSUE_TEMPLATE/` — do not exist on GitLab: on GitLab skip the issue-type, issue-field, and sub-issue steps and use `.gitlab/issue_templates/` plus description checklists instead
3. Check for issue templates in the host's conventional location: on GitHub `.github/ISSUE_TEMPLATE/` or `.github/`; on GitLab `.gitlab/issue_templates/`
4. List available organisation issue types (fails for user-owned repos — expected, proceed without)
5. List available issue fields (organisation-level, inherited by repositories) via the CLI vs MCP precedence above — no native CLI subcommand exists, so use the MCP server or `gh api` (fails for user-owned repos — expected, proceed without). Organisations get four defaults: **Priority** (single-select: Urgent, High, Medium, Low), **Effort** (single-select: High, Medium, Low), **Start date**, and **Target date**. Treat them as likely-present but still discover them at runtime — an organisation may have renamed, removed, or added options
6. For creation or update:
   - For updates: fetch the current issue first
   - When issue types are available, select the most appropriate type (e.g. Bug for defects, Feature for new functionality, Task for general work)
   - When the user specifies field values (priority, effort, dates, custom), set them via the CLI vs MCP precedence above — values must match the field's declared type (single-select option name, text, number, `YYYY-MM-DD` date)
   - When Priority and Effort exist but the user did not specify them, propose a value for each from the issue's content — severity and blast radius for Priority, expected scope of the change for Effort — and say what you picked. Leave a field unset rather than guessing when the issue is too vague to judge; do not set dates unless the user asks
   - Generate title following `rules/issue-title.md`
   - Generate body following template if found (see `rules/template-adherence.md`), otherwise use clear structured format
   - For creation: get the current authenticated user and include in assignees
   - If the user specifies a parent issue, link the created/updated issue as a sub-issue (use the issue's **node ID**, not its number)
7. For parent/sub-issue management:
   - To list sub-issues: get the parent issue's sub-issues
   - To add a sub-issue: pass the parent issue number and the child's node ID
   - To remove a sub-issue: unlink the child from the parent
   - To reorder sub-issues: reprioritise with `after_id` or `before_id`
   - When creating multiple related issues, prefer structuring them as a parent with sub-issues rather than flat independent issues
8. For queries:
   - Fetch a specific issue by number
   - Inspect sub-issue hierarchy on a parent issue
   - Search issues for filters, keywords, and cross-repo lookups
   - Filter by issue-field values (MCP `field_filters` or the API; no native CLI equivalent — degrade gracefully per the precedence above)
   - List repository issues
9. For comments:
   - Fetch issue context first when needed
   - Add the comment to the issue
10. Display a summary with issue links and what changed

## Validation

- For titles: follow `rules/issue-title.md`
- For body with template: follow `rules/template-adherence.md`
- For labels: only use labels that already exist in the repository
- For fields: only set fields that already exist in the organisation or repository; never invent field names or single-select options
- For assignees: only assign valid repository collaborators

© tartinerlabs · MIT · tartinerlabs/skills

Похожие скиллы

Все скиллы по теме «Git и GitHub» →

Сначала — github-issues от других авторов.

github-issues официальный github Управляет GitHub issues через MCP-инструменты и gh api: создаёт баг-репорты, задачи и feature requests, меняет поля и связи между задачами. 17 431установок triage Matt Pocock Скилл проводит issue и внешние PR через роли триажа, проверку и подготовку брифа для агента. Подойдёт мейнтейнеру, который разбирает очередь задач. 990 453установок code-review Matt Pocock Проверяет изменения от выбранной точки по стандартам репозитория и требованиям задачи. Нужен для ревью ветки, PR или незавершённой работы. 789 521установок implement Matt Pocock Выполняет задачу по спецификации или тикетам, ведёт работу через тесты и завершает её ревью с коммитом. Подходит для задач, где нужен дисциплинированный цикл разработки. 774 700установок git-guardrails-claude-code Matt Pocock Скилл ставит хук Claude Code, который останавливает опасные Git-команды до их запуска. Нужен, если агент не должен делать push или удалять изменения. 499 069установок setup-pre-commit Matt Pocock Скилл настраивает pre-commit для JavaScript-репозитория: Husky запускает форматирование, проверку типов и тесты перед коммитом. 489 289установок scaffold-exercises Matt Pocock Скилл создаёт структуру учебных упражнений с секциями, задачами, решениями и пояснениями. Пригодится при запуске нового раздела курса. 480 196установок

Из того же набора9

security Проверяет зависимости на CVE, ищет секреты в git-истории и в рабочем дереве, ставит сканер в pre-commit и проходит репозиторий по OWASP Top 10. CX Codex +1 531установок github-actions Создаёт и проверяет воркфлоу GitHub Actions: пинит экшены по SHA, чинит permissions и находит устаревшие версии Node. CX Codex +1 401установок testing Скилл определяет язык проекта и тестовый раннер, затем помогает писать, запускать и проверять unit- и component-тесты. CX Codex +1 391установок commit Скилл подготавливает и создаёт git-коммиты по правилам репозитория, проверяя staged-изменения на секреты. Нужен для аккуратного сохранения работы. CX Codex +1 388установок naming-format Скилл проверяет имена файлов, суффиксы и названия экспортов в проекте и предлагает исправления. Полезен при рефакторинге и разборе чужих репозиториев. CX Codex +1 382установок refactor Скилл для рефакторинга: находит мёртвый код, лишнюю вложенность и слабые места, а потом чинит их по запросу. CX Codex +1 376установок setup Определяет язык проекта и доставляет недостающий тулинг: линтер, форматтер, git-хуки, проверку типов и сканер секретов. CX Codex +1 375установок update-project Скилл сверяет AGENTS.md, CLAUDE.md и README.md с последними коммитами и правит устаревшие места. Запускают после крупных изменений или перед релизом. CX Codex +1 372установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой