Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

issue:refine

БесплатноБез исполняемых скриптовНе проверен

Refining issues with technical context and structured details. Use when asked to refine, draft, or write up an issue, including expanding a brief bug…

bendruckerот bendrucker★ 18 звёзд на GitHub

Об этом скилле

Issue Refinement

Arguments

Parse $ARGUMENTS:

  • --type bug|feature|refactor|spike: use that type's guide. Default: infer the type per Issue Types.
  • --compact: write the trivial body per Section Selection, still with frontmatter. Default: size the body to the issue.

Issue Types

Type When to Use Guide
Bug Something is broken bug.md
Feature New capability feature.md
Refactor Internal improvement, no behavior change refactor.md
Spike Timeboxed investigation; output is a recommendation, not a shipped change spike.md

Workflow

Read the type guide, gather context from code and related issues, and draft the refinement. Write it to tmp/issue-<slug>.md and output it for approval. After approval, hand the file to the platform skill (for Linear, linear:linear), which owns all save mechanics, including mapping frontmatter to tracker fields. On GitHub, a screenshot the body references by local path goes on gh issue create --attach, per github:attach.

Output Structure

YAML frontmatter for the metadata a tracker stores as fields, then the body below the closing ---. The body leads with the summary prose directly, under no heading.

---
title: fix connection pool exhaustion under load   # sentence case, one line, no long parentheticals
type: bug                                           # bug | feature | refactor | spike
labels: [performance, database]                     # optional; neutral tags
priority: high                                      # optional; urgent | high | medium | low
relations:                                          # optional; tracker links per relation
  blocks: []
  blocked-by: []
  related:
    - https://linear.app/acme/issue/ENG-1970
  duplicate-of: []
---

The nightly export marks its run successful even when per-object retrievals
time out, so downstream jobs read a partial snapshot as if it were complete.

[Type-specific sections from guide (select, don't fill)]

## 🤖 Agent Context

Populate only the keys you can infer, and drop empty relation lists. The platform skill fills routing and workspace fields (team, assignee, state, estimate) at save time.

A related issue you found belongs under relations as a tracker link, kept out of the body. Mention another issue in the body only when it tells the reader something the relation can't: what a prior attempt tried, why upstream work matters. The body has no Related Issues section. Link a source the body relies on (an RFC, a status page, an API reference) inline in the sentence that relies on it.

Section Selection

Keep a section only when it tells the reader something they couldn't have guessed. Cut sections whose content is tautological ("tests must pass"), template residue ("no behavior change"), or obvious given the issue's size.

For a substantial issue, the opening summary plus one type section is the floor. Grow only when content demands. A trivial issue needs none of that frame: a sentence or two that names the problem and points at the code is enough.

Agent Context

What you learned exploring the codebase, so the implementing agent doesn't explore it again. Last in the body, under a ## 🤖 Agent Context heading, which the platform skill turns into a collapsible. Where no platform skill covers the tracker, wrap it in GFM <details> at save time.

Write lists of paths, symbols, and commands for an agent. Style does not apply: line numbers, ranges, and bare enumeration are fine when they save a search.

Emit only what exploration produced. Drop subsections you can't fill, and the whole section when exploration came up empty or you're filing in another project's tracker, whose maintainers know their own code. An issue in your own tracker about another project's bug keeps it.

Open the block with one line, Gathered at <commit> on <date>. (git rev-parse --short HEAD), or Gathered on <date>. without a commit, and go straight to the first subsection. The implementer checks every pointer against their own checkout. That check already covers where a finding came from and what you couldn't confirm. State each finding as fact about the code. Pair every line number with its symbol, which survives drift.

## 🤖 Agent Context

Gathered at `a1b2c3d` on 1970-01-01.

### Related Code

- `acquire` at `src/pool.ts:88` blocks on an exhausted pool with no deadline
- `release` at `src/pool.ts:140` early-returns on a closed connection, leaking the slot

### Prior Art

- `f0e9d8c` added the same deadline to the write pool. Mirror its test setup.

Subsections, in order:

Section Content
Related Code Files to change or read, with the symbol and why it matters
Prior Art Commits, PRs, or issues that solved a similar problem, and what to take
Verification Test file to extend, suite to run, gate covering this area
Полный SKILL.md на GitHub

Установить issue:refine в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

bug.mdfeature.mdrefactor.mdspike.md

FAQ

Что делает скилл issue:refine?

Refining issues with technical context and structured details. Use when asked to refine, draft, or write up an issue, including expanding a brief bug, feature, refactor, or spike (timeboxed investigation) description into a detailed issue suitable for developers and AI agents.

Как установить скилл issue:refine?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл issue:refine запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить issue:refine с