Example Mapping Skill

Convert ambiguous requirements into executable acceptance criteria with Gherkin scripts.

Updated Nov 8, 2025
One-click install
npx skills add https://github.com/yodakeisuke/BDD-promps-with-eval --skill example-mapping-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Example Mapping Skill
Source: https://github.com/yodakeisuke/BDD-promps-with-eval/tree/main/.claude/skills/bdd/example-mapping
Command: npx skills add https://github.com/yodakeisuke/BDD-promps-with-eval --skill example-mapping-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

このスキルは、抽象的なユーザーストーリーから具体的なビジネスルールと振る舞いを導き出す際の認識齟齬や不明確さを解消します。開発者、テスター、プロダクトオーナー間の共通理解を促進し、手戻りを劇的に削減します。

Core Features & Use Cases

  • 3 Amigos視点分析: 開発者、テスター、プロダクトオーナーの視点からルールと具体例を多角的に検証し、網羅性を高めます。
  • ルールと具体例の構造化: ユーザーストーリーを「ルール」「具体例」「質問」に整理し、JSON形式で出力することで、次のステップへの移行をスムーズにします。
  • スプリントプランニング支援: スプリントプランニングやバックログ詳細化の場で、開発チームがユーザーストーリーを実装可能なレベルまで具体化し、テストケースの基盤を構築する際に活用します。

Quick Start

Example Mappingスキルを使って、以下のユーザーストーリーを分析してください: "As a 登録済みユーザー, I want to メールアドレスとパスワードでログインする, So that 個人の情報にアクセスできる"

Frequently Asked Questions about Example Mapping Skill

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

FAQPage Schema
How do I clarify ambiguous user stories with concrete examples?

Example Mapping converts abstract user stories into precise acceptance criteria by structuring them into rules, concrete examples, and questions. This technique reduces misunderstandings between developers, testers, and product owners, producing executable test cases and BDD artifacts like Gherkin scripts that guide implementation.

What is Example Mapping and when should I use it in agile workflows?

Example Mapping is a collaborative discovery technique that analyzes user stories from multiple perspectives—developer, tester, and product owner—to uncover hidden business rules and edge cases. Use it during backlog refinement, sprint planning, and requirements elicitation to build shared understanding and prevent rework.

How do I structure user stories into rules and examples for BDD?

Example Mapping organizes user stories into three components: rules (business constraints), concrete examples (specific scenarios), and questions (gaps to resolve). The output is formatted as JSON with request, description, and toxicity_check fields, creating a foundation for Gherkin scripts and formal acceptance criteria.

Can I use Example Mapping to reduce handoff delays between teams?

Yes. By making implicit business rules and edge cases explicit during a single session, Example Mapping establishes a shared reference model across development, QA, and product teams. This eliminates rework cycles caused by misaligned assumptions and produces actionable test case specifications.

What output does Example Mapping produce that I can use downstream?

Example Mapping generates structured JSON containing the refined user story, derived business rules, concrete examples, and decision logs. These artifacts feed directly into BDD tooling for Gherkin script generation and serve as vector-searchable requirements documentation for future sprints.

Does Example Mapping work for all types of user stories?

Example Mapping is most effective for stories with ambiguous acceptance criteria, complex business logic, or multiple conditional rules. It is less critical for straightforward technical tasks but remains valuable during backlog refinement to expose hidden requirements early and prevent discovery delays in sprint execution.