• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLOfficialdevelopment

output-meta-post-flight

プラグイン
outputai
ソース
GitHub で見る ↗
説明

出力SDKワークフロー操作の事後検証。ステップ完了、規約遵守、品質確認、成果物検証を体系的に確認します。

原文を表示

Post-flight validation for Output SDK workflow operations. Systematic verification of step completion, convention compliance, quality validation, and deliverable verification.

ユースケース
  • ステップ完了の確認
  • 規約遵守の検証
  • 品質の確認
  • 成果物の検証
本文(日本語訳)

Output SDK ワークフロー実行後の検証ルール

実行内容の確認

プロセスフロー内のすべてのステップを完了した後、体系的に検証してください:

ステップ完了の監査

  • [ ] すべての番号が付いたステップが読まれ、実行され、その指示に従って成果物が提供されている
  • [ ] サブエージェント(特定のタスク専門の処理役)の使用が指定されたステップはすべて、正しいサブエージェントに委譲されている
  • [ ] 指定されたサブエージェントが使用されなかった場合、理由を記録してユーザーに報告している
  • [ ] 指示に従って実行されなかったステップがある場合、どの部分が誤読または飛ばされたかを説明している

Output SDK 規約への適合確認

以下の規約が守られているか検証してください:

インポート規約

  • [ ] TypeScript/JavaScript のインポートすべてが ES モジュール用の .js 拡張子を使用している
  • [ ] axios を直接使用していない。HttpClient ラッパーを全体で使用している
  • [ ] Output SDK パッケージの正しいインポートパス(@outputai/core, @outputai/llm など)を使用している

ワークフロー構造

  • [ ] entrypoint.ts でワークフローがexport * from './path/to/workflow.js';の形式でエクスポートされている
  • [ ] すべての外部操作が Temporal アクティビティ(ステップ処理)でラップされている
  • [ ] ApplicationFailure パターンで適切なエラー処理がされている
  • [ ] リトライポリシー(失敗時の自動再試行設定)が適切に設定されている

スキーマの配置

  • [ ] aiSdk.Output.object() 用のスキーマがすべて types.ts で定義され、ステップ関数内でインライン定義されていない
  • [ ] LLM 出力スキーマは .describe() のみを使用し、数値や配列に対して .min()/.max()/.length() を使用していない
  • [ ] aiSdk.Output.object() が使用されている場合、プロンプトファイルに JSON 出力形式の指示を含めていない

LLM プロバイダーと変数

  • [ ] すべてのプロンプトファイルが同じプロバイダーを使用している(明示的に要求されない限り混在していない)
  • [ ] 構造化された generateText/Agent 変数が Liquid ループ、条件分岐、またはドット記法を適切に使用している

コードスタイル(output-dev-code-style 参照)

  • [ ] 生成されたコードに末尾のカンマがない
  • [ ] let 宣言がない。すべての変数が const を使用している
  • [ ] アロー関数は必要な場合のみ括弧を使用している(複数のパラメーターまたは分割代入の場合)
  • [ ] 演算子での改行は演算子の後に配置され、前に配置されていない
  • [ ] 括弧内にスペースがある: fn( x ) という形式で fn(x) ではない

ドキュメントとテスト

  • [ ] 必要なすべてのセクションを含む包括的な計画書が作成されている
  • [ ] テスト戦略が定義され、具体的なテストシナリオが記述されている
  • [ ] 開発者向けの実装チェックリストが提供されている
  • [ ] すべてのコード例が完全で、コンパイル可能である

品質検証

計画書の完成度確認

ワークフロー計画に以下が含まれていることを確認してください:

  • [ ] 概要: 目的とユースケース定義が明確である
  • [ ] 技術仕様: Zod バリデーション(入力値の検証)を含む完全な入出力スキーマ
  • [ ] アクティビティ定義: 各アクティビティが目的、入出力、エラー処理とともに完全に指定されている
  • [ ] プロンプト設計: LLM プロンプト(該当する場合)がテンプレート変数とともに設計されている
  • [ ] オーケストレーションロジック(処理の流れ): ステップバイステップのワークフロー実行フロー
  • [ ] リトライポリシー: 各アクティビティに適切なタイムアウトとともに設定されている
  • [ ] テスト要件: 包括的なテストシナリオとコマンドが記述されている

実装準備完了の確認

計画が実装に向けて準備完了であることを確認してください:

  • [ ] すべてのスキーマが正確なフィールド型と説明とともに定義されている
  • [ ] すべてのアクティビティが入出力と処理ロジックとともに指定されている
  • [ ] 外部サービスが特定の SDK クライアント参照とともに特定されている
  • [ ] すべての失敗シナリオに対してエラー処理が完成している
  • [ ] テストシナリオが期待される結果とともに文書化されている
  • [ ] パフォーマンス要件が測定可能な基準とともに明確である

成果物の確認

必須の成果物

以下の成果物が作成または更新されたことを確認してください:

  • [ ] 完全な仕様を含むワークフロー計画書
  • [ ] Zod バリデーション付きアクティビティスキーマ
  • [ ] プロンプトテンプレート(LLM 統合が必要な場合)
  • [ ] 具体的なコマンドを含むテスト戦略
  • [ ] 開発者向けの実装チェックリスト

次のステップの説明

以下のガイダンスが提供されていることを確認してください:

  • [ ] 実装フェーズへの明確なハンドオフ
  • [ ] 実行する具体的な Output SDK CLI コマンド
  • [ ] インストール対象の依存関係(ある場合)
  • [ ] 設定要件が文書化されている
  • [ ] 成功基準が明確に定義されている

エラー報告

問題が発生した場合:

  1. 具体的な問題と発生したステップを記録する
  2. 計画されたプロセスからの逸脱を説明する
  3. 解決に向けた提言を提供する
  4. 完了を妨げた欠落情報を記録する

最終確認

ワークフロー計画の完了をマークする前に:

  • [ ] 開発者が追加の説明なしに実装できる
  • [ ] すべての Output SDK パターンと規約が守られている
  • [ ] テストアプローチが包括的で実行可能である
  • [ ] ドキュメントが明確で完全である
  • [ ] 計画がプロジェクトの既存ワークフローパターンと一致している
原文(English)を表示

Post-Flight Rules for Output SDK Workflows

Execution Verification

After completing all steps in the process_flow, systematically verify:

Step Completion Audit

  • [ ] Every numbered step has been read, executed, and delivered according to its instructions
  • [ ] All steps that specified a subagent were delegated to the correct subagent
  • [ ] If any subagent was not used as specified, document why and report to the user
  • [ ] If any step was not executed according to instructions, explain which part was misread or skipped

Output SDK Convention Compliance

Verify the following conventions were followed:

Import Conventions

  • [ ] All TypeScript/JavaScript imports use .js extension for ES modules
  • [ ] No direct axios usage - HttpClient wrapper used throughout
  • [ ] Proper import paths for Output SDK packages (@outputai/core, @outputai/llm, etc.)

Workflow Structure

  • [ ] Workflow exported in entrypoint.ts: export * from './path/to/workflow.js';
  • [ ] All external operations wrapped in Temporal activities (steps)
  • [ ] Proper error handling with ApplicationFailure patterns
  • [ ] Retry policies configured appropriately

Schema Placement

  • [ ] All schemas for aiSdk.Output.object() defined in types.ts, not inline in step functions
  • [ ] LLM output schemas use .describe() only -- no .min()/.max()/.length() on numbers or arrays
  • [ ] Prompt files do not contain JSON output format instructions when aiSdk.Output.object() is used

LLM Provider & Variables

  • [ ] All prompt files use the same provider (no mixing unless explicitly requested)
  • [ ] Structured generateText/Agent variables use Liquid loops, conditions, or dot notation appropriately

Code Style (see output-dev-code-style)

  • [ ] No trailing commas in any generated code
  • [ ] No let declarations -- all variables use const
  • [ ] Arrow functions use parens only when needed (multi-param or destructured)
  • [ ] Operator linebreaks placed after the operator, not before
  • [ ] Space in parens: fn( x ) not fn(x)

Documentation & Testing

  • [ ] Comprehensive plan document created with all required sections
  • [ ] Testing strategy defined with specific test scenarios
  • [ ] Implementation checklist provided for developers
  • [ ] All code examples are complete and would compile

Quality Validation

Plan Completeness Check

Ensure the workflow plan includes:

  • [ ] Overview: Clear purpose and use case definition
  • [ ] Technical Specifications: Complete input/output schemas with Zod validation
  • [ ] Activity Definitions: Each activity fully specified with purpose, I/O, and error handling
  • [ ] Prompt Engineering: LLM prompts designed (if applicable) with template variables
  • [ ] Orchestration Logic: Step-by-step workflow execution flow
  • [ ] Retry Policies: Configured for each activity with appropriate timeouts
  • [ ] Testing Requirements: Comprehensive test scenarios and commands

Implementation Readiness

Confirm the plan is ready for implementation:

  • [ ] All schemas defined with exact field types and descriptions
  • [ ] Every activity specified with input/output/processing logic
  • [ ] External services identified with specific SDK client references
  • [ ] Error handling complete for all failure scenarios
  • [ ] Testing scenarios documented with expected outcomes
  • [ ] Performance requirements clear with measurable criteria

Deliverable Verification

Required Outputs

Verify these deliverables were created or updated:

  • [ ] Workflow plan document with full specifications
  • [ ] Activity schemas with Zod validation
  • [ ] Prompt templates (if LLM integration required)
  • [ ] Testing strategy with specific commands
  • [ ] Implementation checklist for developers

Next Steps Documentation

Ensure the following guidance is provided:

  • [ ] Clear handoff to implementation phase
  • [ ] Specific Output SDK CLI commands to execute
  • [ ] Dependencies to install (if any)
  • [ ] Configuration requirements documented
  • [ ] Success criteria clearly defined

Error Reporting

If any issues were encountered:

  1. Document the specific issue and step where it occurred
  2. Explain any deviations from the planned process
  3. Provide recommendations for resolution
  4. Note any missing information that prevented completion

Final Validation

Before marking the workflow planning complete:

  • [ ] Developer can implement without additional clarification
  • [ ] All Output SDK patterns and conventions are followed
  • [ ] Testing approach is comprehensive and executable
  • [ ] Documentation is clear and complete
  • [ ] Plan aligns with project's existing workflow patterns

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。