ambiguity-detection
Detects critical product, scope, data, risk, and success ambiguities in requirements or PRDs and expresses them as structured, decision-forcing clarification questions without proposing solutions or workflow actions.
Best use case
ambiguity-detection is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Detects critical product, scope, data, risk, and success ambiguities in requirements or PRDs and expresses them as structured, decision-forcing clarification questions without proposing solutions or workflow actions.
Teams using ambiguity-detection should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ambiguity-detection/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ambiguity-detection Compares
| Feature / Agent | ambiguity-detection | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Detects critical product, scope, data, risk, and success ambiguities in requirements or PRDs and expresses them as structured, decision-forcing clarification questions without proposing solutions or workflow actions.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Ambiguity Detection & Clarification Generation ## Purpose This skill identifies **critical decision gaps** in product requirements or PRDs that, if left unresolved, would lead to misalignment, rework, or irreversible downstream mistakes. It does **not** resolve ambiguity. It **surfaces it precisely and neutrally** as structured clarification questions. Use this skill as a validation pass before roadmap definition, feature decomposition, or execution planning. --- ## When to Use This Skill Use this skill when you need to: - Validate whether a PRD or requirement set is **decision-complete** - Detect hidden assumptions that affect scope, data ownership, or risk - Prepare structured clarification questions for stakeholders - Ensure irreversible or high-impact decisions are made explicitly Do **not** use this skill to: - answer questions - define defaults - decide priority or severity - pause or resume workflows - rewrite PRDs - plan implementation or UX --- ## Core Principle **If a missing decision could change the shape of the product, it must be surfaced.** This skill favors: - precision over completeness - decision-forcing questions over open-ended discussion - minimal, high-signal outputs --- ## What Counts as Ambiguity Ambiguity is **not** missing detail. Ambiguity **is** unresolved uncertainty that affects: - product boundaries - user trust or responsibility - data authority or mutability - irreversible workflows - compliance or risk posture - success or failure interpretation If different answers would lead to materially different designs, it is ambiguity. --- ## Ambiguity Detection Categories Evaluate the input strictly across the following categories. ### 1. User & Actor Ambiguity Detect uncertainty about: - primary vs secondary users - conflicting incentives between actors - explicitly out-of-scope users or roles --- ### 2. Scope Boundary Ambiguity Detect uncertainty about: - where the product’s responsibility starts and ends - delegated vs owned behavior - edge cases at integration boundaries --- ### 3. Data & State Ambiguity Detect uncertainty about: - authoritative data sources - mutable vs immutable state - derived vs stored data - ownership across systems --- ### 4. Workflow & Control Ambiguity Detect uncertainty about: - irreversible actions - retry or rollback expectations - partial failure handling - required vs optional steps (This is conceptual, not orchestration logic.) --- ### 5. Risk, Trust & Compliance Ambiguity Detect uncertainty about: - regulatory or legal assumptions - auditability requirements - security or privacy expectations - user consent or disclosure boundaries --- ### 6. Success & Failure Ambiguity Detect uncertainty about: - how success is evaluated - acceptable failure modes - trade-offs between competing outcomes --- ## Question Generation Guidelines When ambiguity is detected: - Ask **decision-forcing** questions - Avoid leading language - Avoid implied defaults - Provide structured options only when they clarify the decision space - Prefer fewer, higher-impact questions ### Bad Question > > “Should we handle errors better?” ### Good Question > > “If an external dependency fails mid-operation, should the system automatically roll back, allow partial completion, or require manual intervention?” --- ## Output Format The output should be **Markdown content only**, suitable for direct inclusion in a clarification document. Use the following structure: ```markdown # Project Clarifications > Please review and select options or provide input for each question. ## Q1: [Decision Area] - [ ] Option A: [Description] - [ ] Option B: [Description] - [ ] Other: [Please specify] ## Q2: [Decision Area] ... ``` Only include options when they meaningfully bound the decision space. --- ## Important Boundaries This skill **must not**: - ask the user questions directly - decide whether execution should pause - infer or assume answers - modify or rewrite PRD content - propose implementation approaches - create files or trigger tools - prioritize or rank ambiguities All orchestration and decision flow belongs to the calling agent. --- ## Output Expectations The output of this skill should be: - concise and high-signal - free of speculation - neutral in tone - deterministic for the same input - focused on decisions that materially affect product shape Assume the output will be reviewed by senior product, engineering, and compliance stakeholders.
Related Skills
pentest-outbound-interaction-oob-detection
Security assessment skill for outbound interaction and out-of-band (OOB) validation. Use when prompts include SSRF callback confirmation, blind XSS beacons, webhook abuse, XXE/OOB behavior, DNS/HTTP callback correlation, or asynchronous server-side interaction proof. Do not use when vulnerabilities are fully in-band and require no external callback correlation.
anomaly-detection
Rule-based anomaly detection for production systems with configurable thresholds, cooldown periods to prevent alert storms, and error pattern tracking for repeated failures.
UMR-LMR-PMD-detection
This pipeline performs genome-wide segmentation of CpG methylation profiles to identify Unmethylated Regions (UMRs), Low-Methylated Regions (LMRs), and Partially Methylated Domains (PMDs) using whole-genome bisulfite sequencing (WGBS) methylation calls. The pipeline provides high-resolution enhancer-like LMRs, promoter-associated UMRs, and large-scale PMDs characteristic of reprogramming, aging, or cancer methylomes, enabling integration with chromatin accessibility, TF binding, and genome architecture analyses.
tech-detection
Detects project tech stack including languages, frameworks, package managers, and cloud platforms. Use when analyzing a project, detecting technologies, bootstrapping infrastructure, or setting up permissions. Generates project-context.json with detected stack.
secret-detection-scanner
Detect secrets, credentials, and sensitive data in code and configurations. Scan git history for secrets, detect API keys, tokens, passwords, check environment files, monitor CI/CD logs for exposure, generate remediation steps, and track secret rotation status.
portfolio-risk-drift-detection
Detect and explain risk drift in lending portfolios over time using vintage analysis, migration matrices, and concentration metrics. Use when monitoring portfolio credit quality trends, preparing board risk reports, conducting stress testing, or when risk metrics deviate from appetite thresholds.
platform-detection
Detect project type and recommend deployment platform. Use when deploying projects, choosing hosting platforms, analyzing project structure, or when user mentions deployment, platform selection, MCP servers, APIs, frontend apps, static sites, FastMCP Cloud, DigitalOcean, Vercel, Hostinger, Netlify, or Cloudflare.
pattern-detection
Identify existing codebase patterns (naming conventions, architectural patterns, testing patterns) to maintain consistency. Use when generating code, reviewing changes, or understanding established practices. Ensures new code aligns with project conventions.
nested-TAD-detection
This skill detects hierarchical (nested) TAD structures from Hi-C contact maps (in .cool or mcool format) using OnTAD, starting from multi-resolution .mcool files. It extracts a user-specified chromosome and resolution, converts the data to a dense matrix, runs OnTAD, and organizes TAD calls and logs for downstream 3D genome analysis.
N+1 Query Detection
Detect N+1 query patterns in GORM repository and service code — identify loops that execute queries, missing preloads, and unbounded fetches
context-detection
Automatically detect project tech stack, frameworks, and development context
ai-problems-detection
Protocolo de autodiagnostico contra os 5 problemas mais comuns da IA ao programar. Detecta overengineering, codigo duplicado, reinvencao da roda, falta de documentacao e arquivos monoliticos. Use SEMPRE antes de implementar, ao planejar mudancas, quando criar funcoes novas, ao escrever codigo, para revisar implementacoes. Palavras-chave - simples, duplicado, repetido, existe, separar, modular, documentacao, complexo, refatorar, engenharia demais, roda, reutilizar.