AGENT SKILL

to-spec

Turn the current conversation into a spec issue, without re-interviewing.

License 许可
Apache-2.0
最近更新
2026-10-19
Stars
★ 0
Forks
1

01 前言 Front Matter

name
to-spec
description
Turn the current conversation into a spec issue, without re-interviewing.
allowed-tools
Read, Grep, Glob, Bash(gh issue *), Bash(git log *)
argument-hint
[parent issue]

02 资源文件 1

03 SKILL.md 正文

To Spec

Turn the conversation and your understanding of the codebase into a spec, and file it as an issue. Synthesize what you already know; the interview already happened (usually through the grilling skill). Ask only when a gap would make the spec wrong.

1. Ground it in the code

Explore the parts of the codebase the spec touches, if you haven't already. Use the project's terms from GLOSSARY.md throughout, and respect ADRs in the area. Done when you can name the modules the change touches.

2. Agree the test seams

Sketch where the feature will be tested. Prefer existing seams to new ones, and the highest seam that reaches the behaviour: the fewer seams across the codebase, the better, and one is ideal. Call the Skill tool with "codebase-design" if the shape of a module is in question. Done when the user has confirmed the seams match their expectations.

3. Write and file it

Fill the template below, then call the Skill tool with "issue-create" to file it (duplicate search, labels, preview). If the user named a parent issue, attach the new spec to it afterwards with gh issue edit <parent> --add-sub-issue <spec>. Done when the issue exists, is attached to any parent, and its URL is reported.

## Problem

The problem, from the user's point of view.

## Solution

The solution, from the user's point of view.

## User stories

A long, numbered list covering every aspect of the feature:

1. As a <actor>, I want <capability>, so that <benefit>.

## Implementation decisions

- The modules built or changed, and the interfaces that change
- Architectural decisions, schema changes, and API contracts
- Technical clarifications from the conversation

Leave out file paths and code: they go stale. The exception is a snippet a
prototype produced that states a decision more precisely than prose (a state
machine, a type shape, a schema); trim it to the decision and note where it
came from.

## Testing decisions

- The agreed seams, and which modules are tested at each
- What makes a good test here (external behaviour, not implementation)
- Prior art: similar tests already in the codebase

## Out of scope

What this spec deliberately leaves out.

## Further notes

Anything else the implementer needs.

Next step: suggest the user run the to-tickets skill to split the spec into tickets.

04 同仓库更多 Skills

dougborg
dougborg/harness-kit

teach

Teach yourself a topic over several sessions, with lessons, references, and a record of what you've learned.

教师与教育
★ 0
dougborg
dougborg/harness-kit

svg-logo-designer

Generate SVG logos with multiple concepts, layouts, and color variations.

图像与多媒体
★ 0
dougborg
dougborg/harness-kit

documentation-writer

Writes and revises human-facing documentation — READMEs, contributor and setup guides, reference pages, architecture notes, CLAUDE.md, and changelog entries. Covers picking the right document type for the question being asked, structuring for skimming, writing examples that actually run, and keeping docs from going stale. Use when creating or rewriting docs, when a README has drifted from the code, or when deciding where a piece of information belongs. For SKILL.md and agent files, use /skill-writer instead.

内容创作者写作与文案
★ 0
dougborg
dougborg/harness-kit

adhd-mode

Shapes every response for a reader with ADHD: the next action first, numbered steps, progress restated each turn, tangents held back, concrete time estimates, wins made visible. Stays on for the rest of the session until the reader says "stop adhd mode". On Claude Code, the harness-kit:adhd output style does the same without invoking this skill.

★ 0
dougborg
dougborg/harness-kit

wait-what

That last message didn't land: re-explain it with the missing context.

★ 0
dougborg
dougborg/harness-kit

to-questionnaire

Turn a decision you can't make alone into a questionnaire for the one person who can answer it, filled in async or together in a meeting.

★ 0