create-issue — скилл для GitHub: готовит issue и метки
Скилл, который оформляет GitHub issue по шагам: собирает данные, изучает код, пишет описание на английском и ставит метки. Пригодится, когда лень вручную разбираться с шаблоном и gh label list.
npx skills add dyoshikawa/rulesync --skill create-issue -a claude-codeЧто делает create-issue
Скилл ведёт по шести шагам. Сначала выясняет, что нужно сделать и зачем: если данных мало, задаёт два вопроса — про задачу и её цель. Потом смотрит в кодовую базу: какие файлы затронуты, какие паттерны уже есть, какой у изменения охват.
Дальше черновик. Весь текст issue — заголовок, тело, метки — пишется на английском, даже если вы общаетесь с агентом по-русски. Структура фиксированная: Summary, Motivation / Purpose, Details, Additional Context. Потом скилл берёт список меток через gh label list и выбирает подходящие. Если задача простая и понятная новичку, добавит good first issue, когда такая метка есть в репозитории.
Для работы нужен GitHub CLI. Создание идёт командой gh issue create --title "<concise title>" --body "<drafted body>" --label "<label1>,<label2>,...". В конце скилл выводит URL задачи и отчёт: заголовок, метки и объяснение, почему good first issue применили или нет. Если gh не установлен, скилл не сможет выполнить шаги 4 и 5.
Какие задачи решает
- оформить issue по шаблону без ручной возни
- выбрать метки из реально существующих в репозитории
- понять, какие файлы затронет задача, до её создания
- пометить простую задачу меткой good first issue
Примеры запросов агенту
- создай issue: надо поправить обработку ошибок в api, потому что сейчас сервер падает на пустом ответе
- заведи задачу на рефакторинг модуля payments, разберись, что там трогать
- оформи issue про обновление зависимостей
Как установить create-issue
1Через Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill create-issue -a claude-code2Вручную: положить файлы
~/.claude/skills/create-issue/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/create-issue/
1Через Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill create-issue -a codex2Вручную: положить файлы
.agents/skills/create-issue/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill create-issue -a cursor2Вручную: положить файлы
.cursor/skills/create-issue/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dyoshikawa/rulesync create-issue2Вручную: положить файлы
.github/skills/create-issue/SKILL.md1Через Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill create-issue -a gemini-cli2Командой платформы
gemini skills install https://github.com/dyoshikawa/rulesync --path .rulesync/skills/create-issueВручную: положить файлы
.devin/skills/create-issue/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill create-issue -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о create-issue
Как установить create-issue в Claude Code?
Выполните npx skills add dyoshikawa/rulesync --skill create-issue -a claude-code. Скилл появится в ~/.claude/skills/create-issue/SKILL.md.
Что делает create-issue?
Создаёт GitHub issue с описанием, целью и подходящими метками. Сам изучает кодовую базу, пишет текст на английском и вызывает gh issue create.
Нужен ли GitHub CLI для работы?
Да. Скилл получает список меток через gh label list и создаёт issue через gh issue create. Без gh эти шаги не выполнятся.
Исходный текст
SKILL.md · MIT
--- name: create-issue description: >- Create a GitHub issue with detailed description, purpose, and appropriate labels targets: - "*" --- # Create GitHub Issue ## Step 1: Gather Information Receive the issue topic from $ARGUMENTS or the user's description. If the information is insufficient, ask the user to clarify the following: - What needs to be done (the task or problem) - Why it needs to be done (the purpose or motivation) ## Step 2: Research Context Before writing the issue, investigate the relevant parts of the codebase to understand: - Which files and modules are affected - Existing related code patterns - Potential impact and scope of the change ## Step 3: Draft the Issue **Important: All issue content (title, body, labels) must be written in English**, regardless of the language used in the conversation with the user. Create a well-structured issue with the following sections: ```markdown ## Summary A concise one-liner describing what this issue is about. ## Motivation / Purpose Why this change is needed. Explain the problem, user impact, or improvement opportunity. ## Details Detailed description of what needs to be done: - Specific changes required - Files or modules likely affected - Acceptance criteria or expected behavior ## Additional Context Any relevant links, screenshots, or references (if applicable). ``` ## Step 4: Assign Labels First, get the available labels from the repository: ```bash gh label list ``` Then choose appropriate labels from the existing repository labels based on the issue content. Also evaluate whether the issue is suitable for newcomers. If the contribution is straightforward (e.g., small scope, well-defined, minimal domain knowledge required), also assign the `good first issue` label if it exists in the repository. ## Step 5: Create the Issue ```bash gh issue create --title "<concise title>" --body "<drafted body>" --label "<label1>,<label2>,..." ``` ## Step 6: Report Result Output the created issue URL and a summary of: - Issue title - Assigned labels - Whether `good first issue` was applied and why (or why not)
© dyoshikawa · MIT · dyoshikawa/rulesync