Communitygithub.com

验收编排器

用于将编码任务从问题导入到实施、审查、部署及验收确认全流程端到端驱动,最大程度减少人工干预。

验收编排器 是什么?

验收编排器是一个将编码工作编排为状态机的AI技能,其核心原则是优化“完成的定义(DoD)得到验证”,而非仅优化“代码已变更”。它需要一个已有问题或明确验收标准的任务,并通过结构化流程在实施、审查、部署和最终验证阶段进行无缝交接。该技能支持在Claude Code等AI代理平台上运行,自动处理状态转换,包括问题筛选、实施循环、PR审查轮询、部署验证及最终验收。其关键机制包括明确的停止条件(如达到最大迭代轮次、依赖缺失)和人工确认点(如生产部署、破坏性操作),从而避免无声的部分完成。输出报告包含状态、验收标准清单、证据及未解决问题,确保结果可追溯且可信。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SamuelChien/mega-skills-collection/tree/HEAD/acceptance-orchestrator

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

验收编排器 是做什么的?

概述

将编码工作编排为一个状态机,仅在验收标准有证据验证或任务被明确升级时才结束。

核心规则:不优化“代码已变更”,而优化“DoD已证明”。

何时使用

  • 任务已有问题或明确的验收标准,需以最少人工干预端到端执行。
  • 需要在实施、审查、部署和最终验证之间进行结构化交接。
  • 需要明确的停止条件和升级机制,而不是无声的部分完成。

所需子技能

  • create-issue-gate
  • closed-loop-delivery
  • verification-before-completion

可选支持技能:

  • deploy-dev
  • pr-watch
  • pr-review-autopilot
  • git-ship

输入

需要以下输入:

  • 问题 ID 或问题正文
  • 问题状态
  • 验收标准(DoD)
  • 目标环境(默认dev)

固定默认值:

  • 最大迭代轮次 = 2
  • PR 审查轮询间隔 = 3m -> 6m -> 10m

状态机

  • intake(接收)
  • issue-gated(问题筛选)
  • executing(执行中)
  • review-loop(审查循环)
  • deploy-verify(部署验证)
  • accepted(已接受)
  • escalated(已升级)

工作流

  1. 接收

    • 读取问题,提取任务目标及 DoD。
  2. 问题筛选

    • 使用 create-issue-gate 逻辑。
    • 如果问题状态不是 ready 或执行门控未 allowed,立即停止。
    • 问题仍为 draft 时,不执行任何实现。
  3. 执行

    • 移交给 closed-loop-delivery 进行实现和本地验证。
  4. 审查循环

    • 如果 PR 反馈相关,按以下窗口批量轮询:
      • 等待 3m
      • 然后 6m
      • 然后 10m
    • 经过 10m 轮次后,停止等待并一起处理所有可见评论。
  5. 部署与运行时验证

    • 如果 DoD 依赖于运行时行为,默认仅部署到 dev。
    • 使用真实的日志/API/Lambda 行为进行验证,而非假设。
  6. 完成门控

    • 在心智声明完成之前,要求执行 verification-before-completion。
    • 没有新鲜证据,不得声称成功。

停止条件

只有当每个验收标准都有相应的证据时,才转入 accepted 状态。

当出现以下任一情况时,转入 escalated 状态:

  • 经过 2 个完整轮次后 DoD 仍未通过
  • 缺少密钥/权限/外部依赖导致进度受阻
  • 任务需要生产操作或破坏性操作批准
  • 审查指令冲突且无法同时满足

人工门控

在以下情况必须停止并等待人工确认:

  • 生产/预发布部署超出了约定范围
  • 破坏性 git/数据操作
  • 计费或安全策略变更
  • 缺少用户提供的验收标准

输出契约

报告状态时,必须包含以下内容:

  • Status:intake / executing / accepted / escalated
  • Acceptance Criteria:通过/未通过检查清单
  • Evidence:命令、日志、API 结果或运行时证明
  • Open Risks:仍不确定的事项
  • Need Human Input:如果受阻,给出所需的最小下一步决策

除非状态为 accepted,否则不要报告“完成”。

限制

  • 仅当任务明确符合上述范围时使用本技能。
  • 不要将输出视为环境特定验证、测试或专家审查的替代品。
  • 如果缺少必要的输入、权限、安全边界或成功标准,请停止并请求澄清。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

SamuelChien/mega-skills-collection

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

SamuelChien/mega-skills-collection

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

SamuelChien/mega-skills-collection

Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.

SamuelChien/mega-skills-collection

Estratega de Inteligencia de Dominio de Andru.ia. Analiza el nicho específico de un proyecto para inyectar conocimientos, regulaciones y estándares únicos del sector. Actívalo tras definir el nicho.

SamuelChien/mega-skills-collection

2D game development principles. Sprites, tilemaps, physics, camera.

SamuelChien/mega-skills-collection

3D game development principles. Rendering, shaders, physics, cameras.

SamuelChien/mega-skills-collection

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

SamuelChien/mega-skills-collection

Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.

SamuelChien/mega-skills-collection

Ab Test Analyzer - Auto-activating skill for Data Analytics. Triggers on: ab test analyzer, ab test analyzer Part of the Data Analytics skill category.

SamuelChien/mega-skills-collection

A B Test Config Creator - Auto-activating skill for ML Deployment. Triggers on: a b test config creator, a b test config creator Part of the ML Deployment skill category.

SamuelChien/mega-skills-collection

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.

SamuelChien/mega-skills-collection

Acceptance Criteria Creator - Auto-activating skill for Enterprise Workflows. Triggers on: acceptance criteria creator, acceptance criteria creator Part of the Enterprise Workflows skill category.

SamuelChien/mega-skills-collection

Accessibility Audit Runner - Auto-activating skill for Frontend Development. Triggers on: accessibility audit runner, accessibility audit runner Part of the Frontend Development skill category.

SamuelChien/mega-skills-collection

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

SamuelChien/mega-skills-collection

Web accessibility patterns for WCAG 2.2 compliance including ARIA, keyboard navigation, screen readers, and testing

SamuelChien/mega-skills-collection

Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.

SamuelChien/mega-skills-collection

Create unified specification packages across Business, Development, and Design teams. Staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria) to build shared understanding. Does not write code.

SamuelChien/mega-skills-collection

Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM. Trigger with "research [company]", "look up [person]", "intel on [prospect]", "who is [name] at [company]", or "tell me about [company]".

SamuelChien/mega-skills-collection

Create forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through hash verification.

SamuelChien/mega-skills-collection

Validate messaging consistency across website, GitHub repos, and local documentation generating read-only discrepancy reports. Use when checking content alignment or finding mixed messaging. Trigger with phrases like "check consistency", "validate documentation", or "audit messaging".

相关技能