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 从公开仓库中收录这些内容。

举报或申请下架