gsd-spec-phase

Generate a gated SPEC.md after Socratic questioning with ambiguity scoring.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BeiBei-Clic/ai-skills --skill gsd-spec-phase-beibei-clic
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsd-spec-phase
Source: https://github.com/BeiBei-Clic/ai-skills/tree/main/gsd-spec-phase
Command: npx skills add https://github.com/BeiBei-Clic/ai-skills --skill gsd-spec-phase-beibei-clic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It clarifies what a project phase must deliver when requirements are vague, reducing misalignment before execution begins.

Core Features & Use Cases

  • Socratic phase scoping with ambiguity scoring: Runs a structured interview loop (up to 6 rounds) that evaluates ambiguity across weighted dimensions.
  • Read-before-question codebase scouting: Loads phase context from PROJECT.md, REQUIREMENTS.md, ROADMAP.md, and STATE.md and scouts the codebase before interviewing.
  • SPEC.md gating and generation: Writes a falsifiable SPEC.md only when ambiguity and minimum dimension thresholds are satisfied, then commits it so downstream phases can pick it up.

Quick Start

Run /gsd:spec-phase <phase> --auto to generate and commit a gated SPEC.md for the given phase.

Frequently Asked Questions about gsd-spec-phase

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

FAQPage Schema
How do I turn ambiguous project phase requirements into a SPEC?▼

This Skill clarifies ambiguous project phase requirements by running a Socratic interview loop with quantitative ambiguity scoring, loading existing context like PROJECT.md and REQUIREMENTS.md, and then writing a falsifiable SPEC.md gated by ambiguity thresholds.

What is Socratic ambiguity scoring for requirements clarification?▼

Socratic ambiguity scoring is a structured interview mechanism that evaluates requirements vagueness across weighted dimensions through up to six rounds, enforcing minimum dimension gates before allowing a falsifiable SPEC.md to be written for a project phase.

How do I generate a SPEC.md for a project workflow phase automatically?▼

You can generate and commit a gated SPEC.md automatically by running the spec-phase command with the target phase name, which triggers codebase scouting, context loading, and the Socratic interview loop to produce the final specification document.

Do I need existing project context files before starting phase specification?▼

Yes, the process requires loading existing project context from PROJECT.md, REQUIREMENTS.md, ROADMAP.md, and STATE.md to scout the codebase and inform the Socratic question rounds before writing the phase SPEC.

When should I not use automated SPEC generation for requirements clarification?▼

You should avoid automated SPEC generation when your project phase lacks fundamental context files like PROJECT.md or ROADMAP.md, as the Socratic interview relies on scouting existing codebase state to evaluate ambiguity and enforce dimension gates.