Output Meta Post Flight

作者 growthxaia4f6bd40ab0e無授權條款440 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

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

僅含說明AI & Agents
AI 產生的概覽

用於 Output SDK 工作流程執行後的驗證清單,涵蓋步驟完成、規範遵循、品質與交付項目驗證。

功能
為 Output SDK 工作流程規劃工作提供執行後驗證清單。它會審查每個編號步驟是否依指示執行並按要求委派子代理,檢查 Output SDK 規範(例如匯入副檔名、Temporal 活動封裝、schema 放置位置與程式碼風格),並驗證計畫完整性、實作就緒度與必要交付項目。它也說明如何回報錯誤與偏差,並列出標記規劃完成前的最終驗證標準。
適用情境
在完成 Output SDK 工作流程規劃或產生任務後使用,以確認所有步驟均已執行、規範已遵循且計畫可供開發人員實作。當某個步驟或子代理被略過、需要記錄偏差時也適用。
執行需求
僅為說明文件,不含指令碼。需要讀取所產出的工作流程成品,以及所引用的規範文件(例如 output-dev-code-style)。

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

來源與署名

來源:growthxai/output位於coding_assistants/claude/plugins/outputai/skills/output-meta-post-flight提交a4f6bd4

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架