gsd-spec-phase

Clarify project phase requirements via Socratic questioning and ambiguity scoring.

Updated May 21, 2026
One-click install
npx skills add https://github.com/jedmamosto/m-and-ms --skill gsd-spec-phase-jedmamosto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-spec-phase
Source: https://github.com/jedmamosto/m-and-ms/tree/main/.agents/skills/gsd-spec-phase
Command: npx skills add https://github.com/jedmamosto/m-and-ms --skill gsd-spec-phase-jedmamosto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It clarifies what a workflow phase must deliver by running structured Socratic questioning and quantifying ambiguity before any planning or implementation starts.

Core Features & Use Cases

  • Socratic interview loop: Uses rotating perspectives to uncover missing requirements and reduce uncertainty.
  • Quantitative ambiguity scoring: Scores ambiguity across four weighted dimensions after each round to decide whether requirements are “good enough” to proceed.
  • SPEC.md generation gate: Writes a falsifiable SPEC.md only when ambiguity is low enough, then commits it so later phases can use it as a contract.
  • Codebase scouting + context loading: Loads phase context (PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md) and scouts the repository state before questioning.

Quick Start

Run gsd-spec-phase with the target phase number to produce a padded SPEC.md after the ambiguity-scoring gate passes.

Frequently Asked Questions about gsd-spec-phase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce requirements ambiguity before starting a software project phase?

Structured Socratic questioning reduces requirements ambiguity by running up to six interview rounds that uncover missing project phase details. It scores uncertainty across four weighted dimensions, ensuring requirements are clear enough to proceed before planning or implementation starts.

What is a falsifiable SPEC.md and when do I need one for phase-based planning?

A falsifiable SPEC.md is a committed contract generated only when ambiguity scoring drops to 0.20 or below. You need it during phase-based planning to ensure later development phases rely on locked, testable specifications rather than vague assumptions.

How do I generate a locked project specification from an existing codebase?

To generate a locked project specification, load phase context files like PROJECT.md and ROADMAP.md, scout the current repository state, and run Socratic questioning. The system commits a falsifiable SPEC.md once the computed ambiguity score reaches the passing threshold.

Does ambiguity scoring work with automated workflow automation pipelines?

Ambiguity scoring works with automated workflow pipelines by supporting both interactive and auto modes. It quantifies requirements uncertainty across four weighted dimensions after each interview round, allowing automated systems to gate specification generation without manual intervention.

What context files are required to run Socratic questioning for project specifications?

Socratic questioning requires loading phase context files including PROJECT.md, REQUIREMENTS.md, ROADMAP.md, and STATE.md. These files provide the necessary project baseline and current codebase state before the interview loop and ambiguity scoring begin.