スキル一覧に戻る

deliver-acceptance-criteria

product-on-purpose
更新日 2 days ago
5 閲覧
238
33
238
GitHubで表示
メタtestingdesign

について

このスキルは、製品要件から構造化されたGiven/When/Then形式の受け入れ基準を生成し、エンジニアリングおよびQA向けのテスト可能なシナリオを作成します。正常系、エッジケース、エラー状態、非機能要件を網羅します。ユーザーストーリーや機能スライスを明確で検証可能な仕様に変換する際にご利用ください。

クイックインストール

Claude Code

推奨
メイン
npx skills add product-on-purpose/pm-skills -a claude-code
プラグインコマンド代替
/plugin add https://github.com/product-on-purpose/pm-skills
Git クローン代替
git clone https://github.com/product-on-purpose/pm-skills.git ~/.claude/skills/deliver-acceptance-criteria

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->

Acceptance Criteria

Acceptance criteria define the observable behavior that must be true for a story or feature to be considered done. This skill turns feature context into concise, testable Given/When/Then scenarios that engineers and QA can verify without guessing intent.

When to Use

  • After a user story, PRD section, or feature slice is defined
  • When a team needs clear pass/fail conditions for implementation
  • When writing QA-ready criteria for sprint planning or handoff
  • When a story has edge cases, error paths, or non-functional expectations that should be explicit

Instructions

When asked to create acceptance criteria, follow these steps:

  1. Confirm the story or feature scope Identify the exact slice of work. If the scope is unclear, ask for the user story, PRD section, or feature description before drafting criteria.

  2. Separate the happy path from exceptions Start with the primary success flow, then add edge cases and error states that are likely or costly if missed.

  3. Write each criterion as an observable scenario Use Given/When/Then language only. Keep each criterion independently testable and avoid implementation details.

  4. Cover recovery and failure behavior Describe what the user sees or can do when validation fails, a dependency is unavailable, or a save action cannot complete.

  5. Include non-functional expectations Add criteria for performance, accessibility, security, reliability, or auditability when they matter to the story.

  6. Avoid duplication and overlap Each criterion should test one outcome. If two criteria describe the same behavior, merge or split them until the intent is clear.

  7. Review for testability Ensure a reviewer can pass or fail each criterion without interpretation. If a statement is subjective, rewrite it into a measurable outcome.

Output Contract

Use references/TEMPLATE.md as the output format. A complete response should:

  • Restate the feature or story context
  • Group criteria into happy path, edge cases, error states, and non-functional criteria
  • Use explicit Given/When/Then statements for each criterion
  • Note assumptions or open questions when context is incomplete

Quality Checklist

Before finalizing, verify:

  • The criteria map to a specific story or feature slice
  • The happy path is covered first
  • Edge cases are explicit, not implied
  • Error states include user-visible recovery behavior
  • Non-functional criteria are included when relevant
  • Each criterion is testable and has one clear outcome
  • No implementation details leak into the acceptance criteria

Examples

See references/EXAMPLE.md for a completed example based on a realistic e-commerce checkout flow.

GitHub リポジトリ

product-on-purpose/pm-skills
パス: skills/deliver-acceptance-criteria
0
agent-skillsai-skillsclaude-codeclaude-desktopdesign-sprintfoundation-sprint

関連スキル

content-collections

メタ

このスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。

スキルを見る

polymarket

メタ

このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。

スキルを見る

creating-opencode-plugins

メタ

このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。

スキルを見る

sglang

メタ

SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。

スキルを見る