clarify-loop

Validate and route planner clarifying questions to available tooling.

77|15|Updated May 12, 2026
One-click install
npx skills add https://github.com/Waterball-Software-Academy/aixbdd --skill clarify-loop-waterball-software-academy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clarify-loop
Source: https://github.com/Waterball-Software-Academy/aixbdd/tree/main/.agents/skills/clarify-loop
Command: npx skills add https://github.com/Waterball-Software-Academy/aixbdd --skill clarify-loop-waterball-software-academy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It turns a planner’s batch of boundary-aware clarifying questions into a validated, routing-to-tools workflow that consistently asks users only the delegated skill can handle, preventing missing fields, bad anchors, and unsupported interaction paths.

Core Features & Use Cases

  • Schema-first intake & validation: checks the shared questions payload contract and route-specific payload requirements before dispatching any tool calls.
  • Prioritized normalization for better UX: sorts questions by planner-provided priority_score and translates recommendation rationales into simplified, user-friendly wording.
  • Capability-based routing: detects available runtime tooling and routes to either the specformula-fork flow (when fork is available) or the ask-user-question flow (when ask-question tools are available), failing fast on unsupported tooling.
  • Sub-skill delegation: delegates interaction and updates to dedicated sub-skills (SpecFormula-Fork for fork, AskUserQuestion for interactive rounds with async/sync update modes).
  • Failure contract with clear outcomes: returns structured statuses like incomplete, unsupported_tooling, or route_failed so callers can recover reliably.

Quick Start

Ask the system to run clarify-loop on a planner payload containing questions[] with per-question options, priorities, and (for the chosen route) required fields like location or specformula anchors.

Frequently Asked Questions about clarify-loop

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

FAQPage Schema
How do I route clarifying questions to user-facing tools and validate the payload?

Clarifying question routing validates batch payloads against core and route-specific schemas, then dispatches prioritized questions to available interactive tools, ensuring missing fields or unsupported interaction paths fail fast.

What is the best way to handle boundary clarification workflows with async updates?

Boundary clarification workflows process planner-provided prioritized questions, routing them to interactive tools that support async or sync update modes, while normalizing recommendation rationales into simplified user-friendly wording.

Does schema validation for user questions support SpecFormula fork tooling?

Schema validation for user questions supports SpecFormula fork tooling by detecting runtime capabilities, routing payloads with required location or specformula anchors to the fork flow, and delegating interaction updates.

How do I normalize planner question priorities for better user experience?

To normalize planner question priorities for better user experience, questions are sorted using the planner-provided priority score and recommendation rationales are translated into simplified, user-friendly wording before dispatch.

What happens when capability-based routing detects unsupported tooling for interactive rounds?

When capability-based routing detects unsupported tooling for interactive rounds, it enforces a fail-fast failure contract that returns structured statuses like unsupported_tooling or route_failed, allowing callers to recover reliably.

Can I use acceptance-driven planning questions with ask-user-question tools?

Acceptance-driven planning questions can be routed to ask-user-question tools when the runtime detects ask-question capabilities available, delegating interactive rounds and updates to the dedicated sub-skill.