From yodogawa
ユーザーストーリーから Gherkin 形式のシナリオを生成し、BDD で振る舞いを定義する。要件定義後、ドメインモデル設計前の振る舞い明確化に使用。
How this skill is triggered — by the user, by Claude, or both
Slash command
/yodogawa:a-003-create-scenariosThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- ユーザーストーリーから具体的なシナリオ(振る舞い)を抽出し、Gherkin 形式で記述する。
docs/project/01-requirements/05-user-stories.md が作成されていること(/a-002-initialize-project 実行済み)。docs/project/02-behavior/ ディレクトリが存在すること(未作成なら /a-001-setup-doc-structure)。ls -la docs/project/02-behavior/ 2>/dev/null || echo "ディレクトリが存在しません"
docs/project/01-requirements/05-user-stories.md を読み込み、シナリオ化対象を把握する。
SCRIPT_DIR=$(for d in .claude .agents; do [ -d "$d" ] && echo "$d" && break; done)
cp "$SCRIPT_DIR/templates/project/02-behavior/01-scenarios.md" "docs/project/02-behavior/01-scenarios.md"
ユーザーストーリーを機能(Feature)単位にグルーピングし、ハッピーパスと代表的なエラーケースの案を提示。
機能ごとに以下を詰めて docs/project/02-behavior/01-scenarios.md を更新する。Gherkin 記述例は examples/gherkin-templates.md を参照。
@SC-XXX ID 採番、@smoke @happy-path @error-handling 等UI 操作の詳細ではなく、ユーザーの意図を記述するよう注意する。
ドキュメント冒頭の一覧テーブルに、全シナリオの ID・機能・シナリオ名・優先度を記載する。テーブル例は examples/gherkin-templates.md を参照。
ユーザーに提示し、実際の動作の正確性、抜け漏れ、非技術者への理解可能性を確認する。質問例は reference/structure-check.md を参照。
grep "Feature:" docs/project/02-behavior/01-scenarios.md \
&& grep "Scenario:" docs/project/02-behavior/01-scenarios.md \
&& echo "OK" || echo "MISSING SECTION"
詳細なチェックリストは reference/structure-check.md を参照。
git add docs/project/02-behavior/
git commit -m "docs: 振る舞い仕様(シナリオ)の作成"
詳細は reference/structure-check.md を参照。
docs/project/02-behavior/01-scenarios.md が作成されている。/a-002-initialize-project に戻って要件を明確にしましょう。」Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub tkysi-mi/yodogawa --plugin yodogawa