Skip to main content

ship-spec planning

Spec-driven feature planning with AI-guided clarification, PRD, Tech Spec, and agent-ready task prompts.

ship-spec planning --cloud-ok
ship-spec planning "Add user authentication" --cloud-ok
ship-spec planning --track <track-id> --cloud-ok # resume
ship-spec planning --reindex --cloud-ok # re-index codebase first

Options:

FlagDescriptionDefault
--track <id>Resume an existing planning sessionCreates new
--reindexForce full code re-indexfalse
--no-savePrint outputs onlyfalse
--cloud-okConsent to cloud LLM usageRequired
--local-onlyUse only local models (Ollama)false

Workflow phases:

  1. Clarification — AI asks follow-ups
  2. PRD generation & review
  3. Tech Spec generation & review
  4. Task generation — agent-ready prompts

Outputs: .ship-spec/planning/<track-id>/

  • prd.md
  • tech-spec.md
  • tasks.md (agent-ready prompts)
  • context.md (clarification Q&A)
  • track.json

Key benefits:

  • Human-in-the-loop approvals at every stage
  • Session persistence (--track) for long-running work
  • Hybrid RAG over your codebase for context-aware specs