spec-planner

Produce implementation-ready specs through rigorous dialogue and explicit trade-off analysis.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "spec-planner" with this command: npx skills add ajoslin/dot/ajoslin-dot-spec-planner

Spec Planner

Produce implementation-ready specs through rigorous dialogue and explicit trade-off analysis.

Core Philosophy

  • Dialogue over assumptions

  • Skeptical by default; longer requests still need probing

  • Keep scope bounded; call out non-goals early

  • Prefer smallest demonstrable slice first

Workflow Phases

CLARIFY -> DISCOVER -> DRAFT -> REFINE -> DONE ^ | | | | +------------+----------+ | return when ambiguity or gaps appear

At the end of each planning response, state current phase in one line:

Phase: <CLARIFY|DISCOVER|DRAFT|REFINE|DONE>

Phase 1: CLARIFY (Mandatory)

Hard rules:

  • Do not write the spec until the user answers at least one round of clarifying questions.

  • Ask 3-5 pointed questions that materially affect approach.

  • Use the question tool for clarification prompts.

Probe for:

  • Problem + motivation: what pain, why now, cost of inaction

  • Scope boundaries: in scope vs out of scope

  • Constraints: performance, security, compatibility, timeline

  • Success criteria: measurable outcomes and acceptance signals

  • Risks/unknowns: assumptions that could invalidate the plan

Transition to DISCOVER only when scope is clear enough to explore concrete integration points.

Phase 2: DISCOVER

Understand existing patterns before proposing changes.

  • Search the codebase for related implementations and abstractions

  • Identify key files, integration points, and dependencies

  • Prefer parallel explore subagents for multi-area systems

  • If technology is unfamiliar, invoke librarian to research production patterns and gotchas

Return a brief architecture context before drafting:

  • Touched systems/modules

  • Existing patterns to follow

  • Constraints discovered from code reality

Phase 3: DRAFT

Build a plan with explicit options and recommendation.

Required sections:

  • Problem and why now

  • Summary (1-2 sentences)

  • Goals and measurable success metrics

  • Non-goals

  • Scope and phased rollout

  • Constraints

  • Risks and mitigations

  • Dependencies and integration touchpoints

  • Thinnest end-to-end demo path

  • Decision with trade-offs and rationale

When multiple valid paths exist, compare at least two approaches:

  • Simpler/cheaper path

  • Balanced recommendation

  • Optional robust path (if warranted)

Phase 4: REFINE

Run this completeness gate before finalizing:

  • Scope bounded with explicit non-goals

  • No unresolved ambiguous placeholders

  • Acceptance criteria are testable

  • Dependencies are ordered

  • Risks include mitigation and ownership

  • Each major deliverable has rough effort (S/M/L/XL)

  • Demo path is runnable and observable

If any gate fails, return to CLARIFY or DRAFT and close gaps.

Phase 5: DONE

Final Output Format

=== Spec Complete ===

Type: <feature plan|architecture decision|refactor|strategy> Effort: <S|M|L|XL> Status: Ready for task breakdown

Recommendation: <short decision statement>

Trade-offs:

  • <chosen trade-off 1>
  • <chosen trade-off 2>

Deliverables (ordered):

  1. [D1] <name> (effort) - depends on: -
  2. [D2] <name> (effort) - depends on: D1

Open Questions:

  • <if any remain> -> Owner: <who>

Write Spec to File (Mandatory)

  • Derive kebab-case slug from topic

  • Create directory docs/specs/<slug>/

  • Write docs/specs/<slug>/SPEC.md

  • Confirm path in final response

Use this markdown structure in SPEC.md :

<Feature or Decision Name>

Problem

Why Now?

Summary

Goals & Success Metrics

MetricCurrentTargetHow Measured
............

Non-Goals

Scope & Phasing

Phase 1

Later

Constraints

Risks & Mitigations

RiskLikelihoodImpactMitigation
............

Dependencies

Integration Touchpoints

Demo Path

Decision & Trade-offs

Open Questions

QuestionOwnerStatus
......Open

Context

Patterns to Follow

Key Files

Effort Estimates

  • S: <1 hour, isolated

  • M: 1-3 hours, few files

  • L: 1-2 days, cross-cutting

  • XL: >2 days, major system work

Integration with Overseer

After spec approval, hand off to /overseer-plan docs/specs/<slug>/SPEC.md to convert the spec into executable Overseer tasks.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

index-knowledge

No summary provided by upstream source.

Repository SourceNeeds Review
General

pinescript

No summary provided by upstream source.

Repository SourceNeeds Review
General

session-export

No summary provided by upstream source.

Repository SourceNeeds Review
General

find-skills

No summary provided by upstream source.

Repository SourceNeeds Review