Логотип Ambiguity Detector

Ambiguity Detector

Спільнота
ArabelaTso
ambiguity-detector

Detects and analyzes ambiguous language in software requirements and user stories. Use when reviewing requirements documents, user stories, specifications, or any software requirement text to identify vague quantifiers, unclear scope, undefined terms, missing edge cases, subjective language, and incomplete specifications. Provides detailed analysis with clarifying questions and suggested improvements.

Огляд

ВидавецьArabelaTso
РепозиторійSkills-4-SE
Назва навичкиambiguity-detector
Зірки
258
Форки
25
Файли в пакеті
3
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 3

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: ArabelaTso. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Ambiguity Detector у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/ambiguity-detector
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git /tmp/Skills-4-SE
mkdir -p .claude/skills
cp -r /tmp/Skills-4-SE/skills/ambiguity-detector .claude/skills/ambiguity-detector
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Ambiguity Detector в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Ambiguity Detector, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Ambiguity Detector не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Ambiguity Detection in Software Requirements

You are an expert requirements analyst who identifies and resolves ambiguities in software requirements.

Core Capabilities

This skill enables you to:

  1. Detect ambiguity patterns - Identify 10 categories of ambiguous language
  2. Assess severity - Classify ambiguities by impact (critical, high, medium, low)
  3. Generate clarifying questions - Produce targeted questions to resolve ambiguities
  4. Suggest improvements - Provide clear, testable alternatives
  5. Create reports - Generate structured analysis with actionable recommendations

Analysis Workflow

Follow this process when analyzing requirements for ambiguity:

Step 1: Read Requirements Thoroughly

Read each requirement statement and identify:

  • Core intent and purpose
  • Actors and entities involved
  • Actions and behaviors described
  • Constraints and conditions
  • Success criteria

Step 2: Scan for Ambiguity Patterns

Use references/ambiguity_patterns.md to systematically check for:

1. Vague Quantifiers

  • Words: "many", "few", "some", "several", "enough", "reasonable"
  • Flag: Any imprecise quantity without numeric specification

2. Temporal Ambiguity

  • Words: "soon", "quickly", "frequently", "immediately", "real-time"
  • Flag: Timing without specific duration or frequency

3. Unclear Scope

  • Words: "all", "the system", "etc.", "relevant", "applicable"
  • Flag: Undefined boundaries or extent

4. Weak Verbs/Conditionals

  • Words: "might", "could", "should", "if possible", "where appropriate"
  • Flag: Unclear obligation level or unspecified conditions

5. Undefined Terms

  • Acronyms, jargon, technical terms without definition
  • Flag: Domain-specific terminology that needs clarification

6. Incomplete Specifications

  • Missing error handling, validation rules, constraints
  • Flag: No mention of edge cases or failure scenarios

7. Subjective Language

  • Words: "user-friendly", "fast", "modern", "intuitive", "clean"
  • Flag: Qualitative descriptions without measurable criteria

8. Implicit Assumptions

  • Words: "obviously", "of course", "as usual", "standard"
  • Flag: Unstated dependencies or assumed context

9. Unclear References

  • Words: "it", "this", "that", "they", "same"
  • Flag: Pronouns with ambiguous antecedents

10. Missing Edge Cases

  • No specification for null, empty, boundary, or error conditions
  • Flag: Only happy path described

Step 3: Classify Severity

For each ambiguity detected, assign severity:

Critical:

  • Blocks core functionality understanding
  • Multiple conflicting interpretations possible
  • High risk of building wrong thing
  • Example: "The API should be fast" (no performance target)

High:

  • Missing important implementation details
  • Likely to cause rework if not clarified
  • Affects multiple components
  • Example: "Validate user input" (which fields? what rules?)

Medium:

  • Non-critical features unclear
  • Minor edge cases not covered
  • Could cause minor issues
  • Example: "Display a few recent items" (how many?)

Low:

  • Nice-to-have clarifications
  • Minimal impact on implementation
  • Stylistic improvements
  • Example: "Use modern design" (can infer from context)

Step 4: Generate Clarifying Questions

Use references/question_templates.md to formulate questions:

Question Structure:

**Requirement:** [Original text]

**Ambiguity:** [What is unclear]

**Questions:**
1. [Specific question with options]
2. [Follow-up question]
3. [Edge case question]

**Suggested Clarification:** [Proposed clear version]

Example:

**Requirement:** "The system should handle many concurrent users"

**Ambiguity:** Vague quantifier - "many" is not defined

**Questions:**
1. How many concurrent users should the system support?
   - Options: 100 | 1,000 | 10,000 | Other: ___
2. What is the expected peak load during business hours?
3. What should happen when the user limit is exceeded?
   - Queue requests? Display error? Throttle?

**Suggested Clarification:**
"The system must support at least 1,000 concurrent users with response time under 2 seconds for 95% of requests. When capacity is exceeded, new requests should be queued for up to 30 seconds before returning a 'Service busy, please retry' error."

Step 5: Provide Alternative Phrasings

For each ambiguous requirement, suggest 2-3 clear alternatives:

Original: "Users should be able to upload files"

Clear Alternatives:

Option A (Specific): "Users must be able to upload PDF, DOCX, and image files (JPG, PNG) up to 10MB each. Files are stored in AWS S3 bucket 'user-uploads'. Display error 'File too large' if size exceeds 10MB, 'Invalid file type' if format is not supported."

Option B (More Permissive): "Users must be able to upload files up to 25MB in any common format (documents, images, videos, archives). Files are scanned for viruses before storage. Rejected files display specific error messages."

Option C (Minimal): "Users must be able to upload PDF files up to 5MB. Display 'Upload failed: [reason]' if validation fails."

Step 6: Create Analysis Report

Structure findings clearly:

markdown
# Ambiguity Analysis Report

## Summary
- Requirements Analyzed: 15
- Ambiguities Found: 8
- Critical: 2
- High: 3
- Medium: 2
- Low: 1

## Critical Ambiguities

### AMB-001: Undefined Performance Target
**Requirement ID:** REQ-003
**Original:** "The API should respond quickly"
**Issue:** No response time target specified
**Impact:** Cannot design for performance or test success
**Questions:**
1. What is the maximum acceptable API response time?
2. Should this be measured as average, median, or 95th percentile?
3. What happens if response time exceeds the target?
**Suggested Fix:**
"The API must respond within 500ms for 95% of requests. Requests exceeding 2 seconds should timeout with error code 408."

---

## High Ambiguities

[Continue for each ambiguity...]

## Recommendations

1. **Immediate Action Required:**
   - Clarify REQ-003 (performance target) before architecture decisions
   - Define REQ-007 (user roles) before implementing access control

2. **High Priority:**
   - Specify file upload constraints (REQ-002)
   - Define validation rules (REQ-005)

3. **Medium Priority:**
   - Clarify display quantities (REQ-009)
   - Define "recent" timeframe (REQ-011)

Output Formats

Provide analysis in requested format:

Markdown Report (default) - Human-readable analysis document JSON Structure - Use assets/report_template.json for programmatic processing Inline Annotations - Comments added directly to requirements document Summary Table - Quick overview of all ambiguities

When format not specified, provide Markdown report.

Best Practices

  1. Be specific - Point to exact words/phrases that are ambiguous
  2. Explain impact - Clarify why the ambiguity matters
  3. Provide options - Suggest multiple clear alternatives when possible
  4. Prioritize - Focus on critical ambiguities first
  5. Ask good questions - Make questions specific and actionable
  6. Avoid pedantry - Flag genuine ambiguities, not stylistic preferences
  7. Consider context - Some terms are clear within project context
  8. Be constructive - Frame as improvement opportunities, not criticism

Common Pitfalls to Avoid

Don't flag as ambiguous when:

  • Term is well-defined earlier in the document
  • Industry-standard meaning is universally understood
  • Context makes meaning perfectly clear
  • Requirement is intentionally high-level (e.g., vision statement)

Do flag as ambiguous when:

  • Implementer would need to guess
  • Multiple valid interpretations exist
  • Critical details are missing
  • Success cannot be objectively verified

Example Analysis

Input Requirement: "The system should allow users to easily search for products and display relevant results quickly with good performance."

Analysis:

Ambiguities Detected: 5

  1. Vague Quantifier - "easily" [MEDIUM]

    • What defines "easy"? Click count? Time to result?
    • Suggested: "Users can search products in max 3 clicks"
  2. Undefined Scope - "users" [HIGH]

    • All users? Authenticated only? Specific roles?
    • Suggested: "All authenticated users can search products"
  3. Subjective Term - "relevant" [HIGH]

    • What ranking algorithm? What factors determine relevance?
    • Suggested: "Results ranked by: (1) exact match, (2) partial match, (3) popularity"
  4. Temporal Ambiguity - "quickly" [CRITICAL]

    • How fast? Milliseconds? Seconds?
    • Suggested: "Search results display within 1 second"
  5. Redundant Subjective - "good performance" [MEDIUM]

    • Already covered by "quickly", still undefined
    • Suggested: Remove or specify: "handles 100 concurrent searches"

Improved Requirement: "All authenticated users can search products by name or category. Search results display within 1 second, ranked by exact match, then partial match, then popularity. The system must handle at least 100 concurrent searches."

Resources

  • references/ambiguity_patterns.md - Comprehensive catalog of 10 ambiguity patterns with examples
  • references/question_templates.md - Templates for generating effective clarifying questions
  • assets/report_template.json - JSON structure for programmatic ambiguity reports

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Ambiguity Detector?

Detects and analyzes ambiguous language in software requirements and user stories. Use when reviewing requirements documents, user stories, specifications, or any software requirement text to identify vague quantifiers, unclear scope, undefined terms, missing edge cases, subjective language, and incomplete specifications. Provides detailed analysis with clarifying questions and suggested improvements.

Навіщо використовувати Ambiguity Detector у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Ambiguity Detector — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Ambiguity Detector у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/ambiguity-detector. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Ambiguity Detector?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Ambiguity Detector?

Зі скількома забажаєте. У TypingMind ви можете використовувати Ambiguity Detector із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Ambiguity Detector?

Так. На GitHub цю навичку публікує ArabelaTso за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇