smart-question-generator

Solid

Takes aggregated ambiguity insights from the LLM synthesis stage and produces ≤5 ranked questions to surface to the user. Applies a two-layer anti-fabrication filter (pre-LLM exclusion of score<3 insights + post-LLM structural strip) so that Q&A surfaces only genuine ambiguities. Used as Stage 4 of the /gaai:bootstrap pipeline.

AI & Automation 155 stars 28 forks Updated 2 days ago NOASSERTION

Install

View on GitHub

Quality Score: 83/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Smart Question Generator ## Purpose / When to Activate Activate: - As Stage 4 of the `/gaai:bootstrap` pipeline, after `bootstrap-llm-synthesis` produces entries with `clarity: open-question` - The bootstrap orchestrator transforms `open-question` entries from `synthesis_result.entries[]` into the `ambiguity_feed` input (mapping `content` → `topic`, assigning `ambiguity_score` from its own confidence heuristic, populating `evidence_pro[]`/`evidence_against[]` from `source[]` fields) - When `ambiguity_feed` is empty or all scores are <3, this skill returns `{questions: [], error: null, fallback: false}` — not an error, a legitimate empty result - Re-run is NOT expected: one call per bootstrap session (Q&A is one-shot per Stage 4 invocation) --- ## Input Schema ```yaml ambiguity_feed: Array of insight objects, each: topic: string — short label for the ambiguity (e.g. "project_type") ambiguity_score: number (1–10) — raw confidence gap; higher = more ambiguous evidence_pro: Array<{ source: string, — file:path:line or descriptor snippet: string, — relevant excerpt from the source weight: number — 0.0–1.0 relative weight of this piece of evidence }> evidence_against: Array<{ source: string, snippet: string, weight: number }> ``` **Input constraint:** insights are provided as-is from the synthesis stage; the skill does NOT validate `ambiguity_score` range beyond the ≥3 threshold ...

Details

Author
Fr-e-d
Repository
Fr-e-d/GAAI-framework
Created
5 months ago
Last Updated
2 days ago
Language
Shell
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category