• 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-pre-flight

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

出力SDK(出力の機能拡張ツール)のワークフロー操作を実行する前に、事前チェックを行うスキルです。 ルールが守られているか、必要な情報が集まっているか、品質基準を満たしているかを確認してから、ワークフローを実行することで、問題の発生を防ぎます。

原文を表示

Pre-flight validation checks for Output SDK workflow operations. Ensures conventions are followed, requirements are gathered, and quality gates are passed before workflow execution.

ユースケース
  • ワークフロー操作の前に事前チェックを行う
  • ルール遵守状況を確認する
  • 必要な情報の揃い具合を確認する
  • 品質基準への適合性をチェックする
本文(日本語訳)

Output SDK ワークフローの実行前チェックリスト

実行要件

  • 重要: subagent="" XML属性でサブエージェント(別のAIアシスタント)を指定するステップについては、必ずそのサブエージェントを使用して指示を実行してください
  • すべてのXMLブロックを順序通りに完全に処理してください
  • process_flow内のすべての番号付きステップを、指定通り正確に実行してください

Output SDK の知識確認

Output SDKとその機能について十分に理解していることを確認してください。不明な点がある場合は、Claude Skill「output-meta-project-context」を使用して、内容をよく読んでください。

Output SDK ルール確認

ワークフロー操作を進める前に、以下を確認してください:

  • ESモジュール: すべてのインポートは .js 拡張子を使用してください
  • HTTPクライアント: axiosを直接使わず、常に @outputai/http ラッパーを使用してください
  • HTTPレスポンス本文: HEAD以外のレスポンス本文は .json()/.text() で処理するか、response.body?.cancel() でキャンセルしてください
  • LLMクライアント: LLMを直接呼び出さず、常に @outputai/llm ラッパーを使用してください
  • ワーカーの再起動: npx output dev はファイル変更時に自動的にワーカーを再起動します。ワーカーが独立して実行されている場合は、docker restart <プロジェクト名>-worker-1 で手動再起動してください

要件の確認戦略

スマートなデフォルト値の適用

情報が明示されていない場合は、以下のデフォルトを適用してください:

  • 再試行ポリシー: 3回の試行、指数バックオフ(初回1秒、最大10秒)
  • モデル選択: output-dev-model-selection を実行して、選択したプロバイダーの現在のデフォルトを選んでください。特定のモデルIDは固定しないでください(仕様変更がドキュメントより早く進むため)
  • エラー処理: 適切なエラータイプを持つ ApplicationFailure パターン
  • パフォーマンス: 純粋な速度より、わかりやすさと保守性を優先してください
  • タイムアウト: アクティビティは30秒、ワークフローは5分

確認が必要な重要情報

以下の場合のみ説明を求めてください:

  • 文脈から推測できない曖昧な入出力構造
  • プロジェクトで一般的でない特定のAPIキーやサービス
  • 標準的でないエラーハンドリングや復旧要件
  • 特定の順序付けが必要な複雑なオーケストレーション(調整・統合)パターン
  • プロジェクトにまだ含まれていない外部依存関係

テンプレート処理ルール

各ステップで提供されているテンプレートを正確に使用し、テンプレート変数をすべて実際の値に置き換えてください:

  • {workflow_name} - 計画中のワークフロー名
  • {project_root} - プロジェクトのルートディレクトリパス
  • {requirements} - ユーザーが提供した要件
  • {current_date} - 現在の日付(YYYY-MM-DD形式)
  • {sdk_version} - 現在のOutput SDKバージョン

品質確認ゲート

実行前チェック後に進める前に:

  1. 必要なすべての情報が揃っていることを確認してください
  2. ワークフローの目的を理解していることを確認してください
  3. 参考にできる同様のワークフローが既に存在しないか確認してください
  4. Output SDKのルールを理解していることを確認してください
  5. 必要なサブエージェントが利用可能なことを確認してください

計画作成ルール

  • 複雑なタスクはすべてワークフロー計画ファイルで追跡してください
  • これらのファイルは .outputai/plans ディレクトリに作成してください
  • .outputai/plans ディレクトリが存在しない場合は作成してください
  • 計画フォルダの名前は、日付、ワークフロー名、タスク名の順にしてください。例: 2025_12_16_simple_sum_workflow_creation_plan/PLAN.md
  • 計画フォルダ内のTASKファイルで実装進捗を追跡してください。例: 2025_12_16_simple_sum_workflow_creation_plan/TASK.md
  • マークダウンのチェックリスト形式で計画の進捗を追跡してください
原文(English)を表示

Pre-Flight Rules for Output SDK Workflows

Execution Requirements

  • CRITICAL: For any step that specifies a subagent in the subagent="" XML attribute, you MUST use the specified subagent to perform the instructions for that step
  • Process all XML blocks sequentially and completely
  • Execute every numbered step in the process_flow EXACTLY as specified

Output SDK Knowledge Check

Ensure you have a deep understanding of the Output SDK and its capabilities. If not, use Claude Skill: output-meta-project-context and read it carefully.

Output SDK Conventions Check

Before proceeding with any workflow operation, verify:

  • ES Modules: All imports MUST use .js extension for ESM modules
  • HTTP Client: NEVER use axios directly - always use @outputai/http wrapper
  • HTTP Bodies: Consume non-HEAD response bodies with .json()/.text() or cancel unused bodies with response.body?.cancel()
  • LLM Client: NEVER use a direct llm call - always use @outputai/llm wrapper
  • Worker Restarts: npx output dev auto-restarts the worker on file changes; if the worker runs detached, restart it manually with docker restart <project>-worker-1

Requirements Gathering Strategy

Smart Defaults Application

When information is not explicitly provided, apply these defaults:

  • Retry Policies: 3 attempts with exponential backoff (1s initial, 10s max)
  • Model selection: Run output-dev-model-selection to pick the current default for the chosen provider. Don't pin a specific model ID here — the listing changes faster than the docs.
  • Error Handling: ApplicationFailure patterns with appropriate error types
  • Performance: Optimize for clarity and maintainability over raw speed
  • Timeouts: 30 seconds for activities, 5 minutes for workflows

Critical Information Requirements

Only stop to ask for clarification on:

  • Ambiguous input/output structures that cannot be inferred from context
  • Specific API keys or services not commonly used in the project
  • Non-standard error handling or recovery requirements
  • Complex orchestration patterns requiring specific sequencing
  • External dependencies not already in the project

Template Processing Rules

  • Use exact templates as provided in each step
  • Replace all template variables with actual values:
    • {workflow_name} - The workflow being planned
    • {project_root} - Root project directory path
    • {requirements} - User-provided requirements
    • {current_date} - Current date in YYYY-MM-DD format
    • {sdk_version} - Current Output SDK version

Quality Gates

Before proceeding past pre-flight:

  1. Confirm all required context is available
  2. Verify understanding of the workflow's purpose
  3. Check for existing similar workflows to use as patterns
  4. Ensure Output SDK conventions are understood
  5. Validate that necessary subagents are available

Plan Creation Rules

  • All complex tasks should be tracked in a workflow plan file
  • These files should be created at .outputai/plans directory.
  • If .outputai/plans directory does not exist, create it.
  • Ensure the plan folder is named with the date, then the workflow name, then the task name. e.g. 2025_12_16_simple_sum_workflow_creation_plan/PLAN.md
  • Track the implementation progress of any plan in a TASK file in the plan folder. e.g. 2025_12_16_simple_sum_workflow_creation_plan/TASK.md
  • Use markdown todo list to track the progress of the plan. e.g

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