refining-specifications

Scan specification artifacts for ambiguity and generate prioritized clarification questions.

4|1|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/samjhecht/wrangler --skill refining-specifications
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refining-specifications
Source: https://github.com/samjhecht/wrangler/tree/main/skills/refining-specifications
Command: npx skills add https://github.com/samjhecht/wrangler --skill refining-specifications

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improves clarity in specifications by detecting ambiguity and missing decision points, prompting targeted questions to resolve gaps before planning.

Core Features & Use Cases

  • Ambiguity and coverage scan across taxonomy
  • Generates up to 5 high-impact clarification questions
  • Produces an "Open Questions for Clarification" section appended to the spec

Quick Start

  • Run refinement on an existing spec and review generated questions

Frequently Asked Questions about refining-specifications

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

FAQPage Schema
How do I detect ambiguity in my product specifications before development starts?

Ambiguity detection scans specifications across functional scope, domain model, UX flow, non-functional attributes, and integration points to surface unclear requirements. Running refinement on your spec generates a prioritized list of clarification questions and an ambiguity heatmap, exposing gaps before planning begins.

What kinds of specifications can I check for missing decision points?

Specification refinement applies to product requirements, design documents, API specs, and other specification artifacts. It identifies ambiguity and coverage gaps across any of these formats, generating targeted questions to resolve unclear scope, dependencies, and technical decisions.

How do I know which ambiguities in my spec are most critical to resolve?

The refinement process generates up to 5 high-impact clarification questions ordered by priority, along with an ambiguity heatmap that categorizes open questions by area. This prioritized output helps teams focus clarifications on the most consequential gaps first.

Can specification refinement catch acceptance criteria gaps?

Yes. The refinement process targets acceptance criteria and other specification artifacts to surface missing decision points, incomplete coverage, and unclear requirements. It detects gaps in functional scope, UX flow, and technical requirements that acceptance criteria should address.

What output do I get after running refinement on a spec?

Refinement produces three outputs: an ambiguity heatmap showing problem areas by category, an ordered list of open questions for clarification, and an appended Open Questions section within your spec itself with statuses for downstream planning.

Should I refine specifications early or wait until design is complete?

Running refinement early—on requirements, design docs, or API specs before planning—catches ambiguity while corrections are lowest-cost. Clarifying decisions upfront prevents rework and ensures teams operate from shared understanding of scope and constraints.