Skip to content
Skills Library
AI & agents · Planning

draft-prompt

/draft-prompt

Convert an approved design or Linear issue into a numbered, lifecycle-tracked implementation prompt under docs/prompts/. Use when work is understood well enough to specify for a local agent, or when the user asks to write an implementation prompt.

Repository
agent-stuff ↗
Licence
MIT
Last repository change
10.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Convert an approved design or Linear issue into a numbered, lifecycle-tracked implementation prompt under docs/prompts/. Use when work is understood well enough to specify for a local agent, or when the user asks to write an implementation prompt.

Original author description

Convert an approved design or Linear issue into a numbered, lifecycle-tracked implementation prompt under docs/prompts/. Use when work is understood well enough to specify for a local agent, or when the user asks to write an implementation prompt.

How it works

  1. Steps
  2. Guardrails
Original SKILL.md headings · 66 lines, 404 words
SKILL.md preview
---
name: draft-prompt
description: Convert an approved design or Linear issue into a numbered, lifecycle-tracked implementation prompt under docs/prompts/. Use when work is understood well enough to specify for a local agent, or when the user asks to write an implementation prompt.
---

# Draft Prompt

Write one `docs/prompts/NNNN-slug.md` implementation specification. The prompt schedules authority
documents and acceptance criteria. It does not replace them.

## Steps

1. **Ground the work.** Read the linked Linear issue when present, `README.md`, relevant
   specifications, governing ADRs, existing prompts, and affected code.

2. **Resolve blocking decisions.** Ask one batched round of questions about product direction, scope
   boundaries, and significant architecture choices. Decide sensible defaults and record them in the
   prompt. Invoke `new-adr` before the prompt when a decision needs durable trade-off history.

3. **Use one Linear issue.** When `.agents/linear-runner/config.json` exists, create or select one
   issue in the configured project. Do not create a second task record for the prompt.

4. **Assign the ID and slug.** Use the next free integer ID from existing prompt files and
   `docs/prompts/INDEX.md`. Use a zero-padded four-digit filename and a matching kebab-case slug.

5. **Set frontmatter from `docs/prompts/template.md`:**
   - `status: draft`
   - honest `depends_on` prompt IDs
   - one-sentence `gate`
   - authority documents with section anchors where useful
   - the linked `linear_issue` identifier, or `null` for a legacy direct workflow
   - `model: null` unless a legacy direct harness needs a concrete model; Linear model selection
     belongs in the configured `model:*` issue label
   - `isolation: worktree`
   - today's creation date
   - null implementation provenance fields

6. **Write a launch-ready body:**
   - prerequisite and failure behavior
   - context and authority documents
   - one bounded goal and explicit exclusions
   - numbered components and contracts
   - interfaces and data shapes
   - required tests and regression gates
   - definition of done
   - repository conventions from `AGENTS.md`

7. **Put the prompt in Linear.** Replace the issue description with the complete prompt Markdown,
   including its frontmatter and body. Do not require the user or worker to open a repository path.
   The Linear description is the editable worker-facing specification. The repository prompt is
   its versioned snapshot and merge record. When the user edits the issue description, synchronize
   the accepted text back to the prompt file before merge. Keep the issue out of `agent-ready` until
   the specification is reviewed and its dependencies are complete.

8. **Generate and validate the index:**

   ```sh
   python3 scripts/tools/prompts_index.py
   python3 scripts/tools/prompts_index.py --check
   ```

9. **Report the draft.** Give its path, ID, dependencies, Linear issue, and remaining readiness work.

## Guardrails

- Do not implement feature code.
- Do not create a repository inbox or duplicate Linear backlog item.
- Do not mark a new prompt ready automatically.
- Do not edit `docs/prompts/INDEX.md` by hand.

Versions

The database has no other skills named draft-prompt.

Database snapshot: 13.11.2026 · package version 16c79ca95ad8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90handoff
    Launch a ready implementation prompt through the configured local Linear runner or a direct isolated subagent, while enforcing the depends_on gate. Use when a docs/prompts/ prompt is cleared to build and the user wants to hand it off, build it, launch an agent, monitor it, review it, or merge it.
  • 100prompt-generator
    Generate implementation prompts for phase-based project execution using an orchestration pattern. Use when users request prompts for implementing project phases, need orchestration prompts for multi-step implementations, ask for "/prompt", "generate prompt", "create…
  • 100v1-prompt-engineering
    Use when writing, reviewing, or migrating prompts, system prompts, hooks, skills, or agent instructions. Triggers on "optimize prompt", "system prompt", or "prompt migration".
  • 100skill-prompt-convert
    在 Skill(SKILL.md)与 Prompt(聊天框指令)两种格式之间相互转换。支持 Skill→Prompt 与 Prompt→Skill 双向转换,保持核心信息零丢失。当用户提到 Skill 转 Prompt、Prompt 转 Skill、格式互转、SKILL.md 转换时使用。
  • 90prompt-lookup
    Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
  • 100prompts-chat
    Use when searching, installing, or improving AI skills and prompts via prompts.chat or skills.sh. Triggers on skill search, prompt lookup, install skill, improve prompt, prompts.chat.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.