Prompt file imported from antoniomangoni/tsp_rl_kg (
.github/prompts/spec.prompt.md). Copyright stays with the author.
Generate a technical specification following docs/meta-spec.md. Save it to docs/specs/<slug>.md where <slug> is a kebab-case name derived from the task.
Process
- Explore the relevant code in read-only mode to understand current state, callers, and dependencies.
- Draft the spec with all required sections from the meta-spec:
- Goals & Non-Goals
- Technical Decisions & Stack
- Project Structure & Git Workflow
- Testing & Conformance
- Sequence & Workstreams (numbered execution phases)
- Target Files (concrete list of files/directories that will change)
- Commands & Code Style
- Three-Tier Actions (Always Do / Ask First / Never Do)
- Rejection Criteria
- Present the spec for review. Do NOT implement any code changes.
Constraints
- This prompt is planning only — produce the spec document, not the implementation.
- Be specific in Target Files — list exact file paths, not broad directories.
- Each Sequence step should be small enough to implement and validate independently.
- Reference existing docs rather than duplicating their content.