To Spec

pandoscope/skills/derived/to-spec

by pandoscope925fe390437fNo license1 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Turn the current conversation into a spec published to the project tracker — no interview, just synthesis of what was already discussed.

Instructions onlyAI & Agents
AI-generated overview

Turns the current conversation into a self-contained spec or PRD and publishes it to the project tracker.

What it does
Synthesizes an existing conversation and codebase understanding into a specification document rather than interviewing the user. It explores the repository, sketches testing seams, and writes the spec using a fixed template covering problem statement, solution, user stories, implementation decisions, testing decisions, out of scope, and further notes. It applies a self-containedness litmus test, records hard-to-reverse decisions as ADRs, and publishes the result to the consumer repo's tracker with a ready-for-agent label.
When to use it
Use when a discussion has already happened and needs to be captured as a written specification or PRD. It fits engineering workflows where the spec must be reproducible by any implementer and where a grilling session or explicit confirmation to skip one is available.
Requirements
Instructions only, no scripts. Relies on repository access and the consumer repo's AGENTS.md tracker conventions, plus optional supporting skills and docs such as writing-prose, writing-adrs, docs/glossary, and the uvx disambiguate command.

To Spec

Produce spec (aka PRD) from current conversation + codebase understanding. Do NOT interview user — synthesize what you already know.

Reproducibility invariant

Spec — and tickets later derived from it — must be self-contained: replayed by any implementer, human or agent, builds roughly same application. Every outcome-shaping decision lives in spec itself, or durable docs it references — ADRs (writing-adrs), glossary terms (docs/glossary/). Never conversation context, tribal knowledge, implementer discretion.

Litmus test: two independent implementers could build meaningfully different things → spec underspecified. Add decision to spec, or record as ADR/glossary term + reference.

Grilling gate

Spec is load-bearing. No grilling session (docs/glossary/grilling-session.md) in context → stop, ask user: "No grilling session found — really skip?" Proceed only on explicit confirmation; note skip in Further Notes.

Process

  1. Explore repo if not already done. Use glossary vocabulary (uvx disambiguate <term>) throughout; respect ADRs in touched area.

  2. Sketch seams for testing the feature. Prefer existing seams; new seams at highest point possible. Fewer seams better — ideal is one.

    Check seams with user.

  3. Write spec per template — written and checked with the writing-prose skill if available, surface ticket; precision and understandability must not suffer. Apply litmus test to every section, publish per consumer repo's tracker conventions (AGENTS.md). Apply ready-for-agent label — no further triage.

Spec template:

markdown
## Problem Statement
Problem, from user's perspective.
## Solution
Solution, from user's perspective.
## User Stories
LONG numbered list: "As an <actor>, I want <feature>, so that <benefit>".Example: "As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending."Extremely extensive — cover all aspects.
## Implementation Decisions
Decisions made: modules built/modified, interfaces, technical clarifications, architecture, schema changes, API contracts, specific interactions.
Hard-to-reverse or surprising decisions → also record as ADR (`writing-adrs`) + reference. Decision only in conversation, not listed here → fails litmus test — write it down.
No file paths/code snippets — stale fast. Exception: prototype snippet encoding a decision more precisely than prose (state machine, reducer, schema, type shape) → inline within relevant decision, note prototype origin, trim to decision-rich parts.
## Testing Decisions
What makes a good test (external behavior only, not implementation details), which modules tested, prior art in codebase.
## Out of Scope
What this spec excludes.
## Further Notes
Anything else.

Source and attribution

Source:pandoscope/skillsinderived/to-specat commit925fe39

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal