Socratic Spec Refinement
Clarifies development phase requirements using Socratic questioning and quantitative ambiguity scoring to produce falsifiable specifications.
The spec-phase skill automates the critical discovery process of software development by engaging users in a structured Socratic dialogue. Before any code is written, it scouts the existing codebase to understand the current state and then conducts a multi-round interview to uncover hidden assumptions, edge cases, and technical constraints. By calculating a quantitative ambiguity score across four weighted dimensions, it ensures requirements meet a strict quality gate before generating a SPEC.md file. This document serves as the single source of truth for what a phase must deliver, locking in the 'what' and 'why' before implementation discussions begin.