spec
БесплатноБез исполняемых скриптовНе проверенTurn a task into an agent-ready Linear ticket — either by fleshing out an existing ticket or by drafting and filing a new one. Investigates the codebase…
от jesseleite★ 121 звезда на GitHubОб этом скилле
What this does
You produce a spec — an agent-ready Linear ticket — not the implementation. Do not write or edit application code. The deliverable is the ticket.
Two modes, chosen by what the user passes as arguments:
- Mode A — flesh out an existing ticket. The argument references a Linear issue: an identifier like
ENG-123or alinear.app/...URL (optionally with extra notes, e.g./spec ENG-123 also handle the empty-state). You read that ticket and turn it into an agent-ready spec in place, updating the same issue. - Mode B — draft a new ticket. The argument is a free-text task description, e.g.
/spec add rate limiting to the public API endpoints. You turn that into a new Linear ticket and file it.
Detect the mode from the argument shape: a recognizable Linear identifier or URL → Mode A; anything else → Mode B. If genuinely ambiguous, ask one tight question.
Everything below — the governing rule, operating principles, investigation, ticket structure, and self-check — applies to both modes. Only the destination step (3) and the filing step (5) branch.
The governing rule
Write for an executor who has none of this conversation. The ticket will be picked up later by a fresh agent (or engineer) whose entire input is the ticket body — they cannot see this thread, your reasoning, or the decisions you and the user just made. Everything they need to act lives in the ticket or it is lost.
This single rule generates every concrete requirement below. When unsure whether to include something, ask: "Would a cold-start executor be blocked without this?" If yes, it goes in the ticket.
A ticket fails this rule when it says things like "implement the approach we discussed", "add the telemetry event", or "update the relevant module" — these only mean something to a reader who was here. It passes when it names the exact file to create, the existing module to mirror, and the decision that was already made and why.
Vague (assumes context): "Add a failure event and wire it up." Agent-ready (assumes amnesia): "Create
lib/foo/events/bar.eximplementing theBazbehaviour, mirroringlib/foo/events/qux.ex:1. Register it inlib/foo/events.exby appending to@event_types."
Operating principles
Each of these exists to correct a default failure mode. They are the load-bearing part of this skill.
- Spec from evidence, not memory. Do not write a plausible-sounding ticket from what you already know — that's how invented functions and wrong file paths get in. Open the code. Every claim in the ticket (a file path, a field, a function, current behavior) must be something you verified, not assumed.
- Verify, don't ask. Anything the codebase can answer, you answer yourself — exact paths, line numbers, whether a field/function exists, what the current behavior is, what pattern to mirror. Burning a user question on something a
grepwould settle is the most common way this skill annoys people. - Ask only genuine forks — but always ask those. The test: Can the code answer it? → go read. Is there a conventional default? → take it, state it in the ticket. Is it a real fork with no default and material consequences? → ask. Miscalibrating in either direction is a failure: interrogating the user about answerable things, or silently guessing on a real decision. Examples of real forks: replace-vs-keep an existing mechanism, whether data is sensitive to expose, a cost/volume tradeoff, where a policy threshold should live, filing logistics.
- Record every decision where it will be read. Each choice you or the user makes goes into a Settled decisions block in the ticket, as an imperative with its one-line rationale. The executor must never have to re-derive a call you already made.
- Mirror existing conventions. Find the closest existing module/pattern and point the implementer at it by name and line. Follow the repo's documented conventions (e.g.
AGENTS.mdorCLAUDE.md) and the idioms of the surrounding code. - Reference precisely. Cite code as
path/to/file.ext:line— clickable, and it saves the implementer a search. - Author as the user. Write in the user's voice. Never add AI/agent attribution anywhere.
Calibration
- Scale the investigation to the task. A one-line config change needs a paragraph and one file reference; a new subsystem needs parallel investigation and sample code. Don't turn a trivial task into a research project, and don't under-spec a deep one.
- Surface a bad premise instead of speccing it faithfully. If investigation shows the task rests on a false assumption, is already done, or has a materially better approach, stop and tell the user — don't write a tidy ticket for the wrong thing.
Process
1. Understand the task
Parse the description. Identify the subsystem(s) and what "done" means. If it's too vague to even know where to look, ask one tight clarifying question — but usually investigation resolves
Установить spec в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл spec?
Turn a task into an agent-ready Linear ticket — either by fleshing out an existing ticket or by drafting and filing a new one. Investigates the codebase, settles open decisions via clarifying questions, and produces a ticket a fresh agent with no shared context can execute unassisted.
Как установить скилл spec?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spec запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic