utility-pm-release-conductor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->
<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->
PM Release Conductor (Dispatch Skill)
PM Release Conductor(调度技能)
Cross-client dispatch wrapper for the sub-agent. Detects runtime; dispatches to the native sub-agent on Claude Code; reads and inlines chain composition on non-Claude clients via "reference + execute inline" pattern.
pm-release-conductorsubagents/pm-release-conductor.mdStatus summary (v2.16.0): PRODUCTION on Claude Code (native sub-agent path). DRY-RUN VALIDATED on Codex CLI 2026-05-17 per; LIVE release on Codex CLI is NOT independently exercised, so use with caution and rungate-test-results_2026-05-17_codex.mdfirst as a rehearsal. EXPERIMENTAL on Cursor / Windsurf / Copilot CLI / Gemini CLI (UNTESTED at v2.16.0 ship).--dry-runSee Sub-Agent Compatibility Matrix for the canonical safe-usage matrix + what-was-validated detail + v2.17 expansion plan. For live release on a non-Claude client, ideally re-run the harness aton that specific client first.maintainer-gate-testing-codex.md
pm-release-conductor子代理的跨客户端调度包装器。可检测运行时环境;在Claude Code上调度至原生子代理;在非Claude客户端上通过“引用+内联执行”模式读取并内联链式组合逻辑。
subagents/pm-release-conductor.md状态摘要(v2.16.0): 在Claude Code上已投入生产(原生子代理路径)。2026年5月17日在Codex CLI上完成试运行验证,详见;Codex CLI上的正式发布未经过独立测试,因此请谨慎使用,先执行gate-test-results_2026-05-17_codex.md进行预演。在Cursor/Windsurf/Copilot CLI/Gemini CLI上处于实验阶段(v2.16.0发布时未测试)。--dry-run如需查看标准安全使用矩阵、验证细节及v2.17扩展计划,请参阅子代理兼容性矩阵。若要在非Claude客户端上正式发布,理想情况下应先在该特定客户端上重新运行中的测试工具。maintainer-gate-testing-codex.md
When to Use
使用场景
- You are running a pm-skills release on a non-Claude client (Codex CLI, Cursor, Windsurf, Copilot, Gemini CLI)
- You want the same 6-gate discipline that pm-release-conductor enforces on Claude Code, with auditor + curator behaviors inlined at the relevant gates
- You explicitly want skill-invocation semantics over sub-agent semantics on Claude Code (rare; the native sub-agent is preferred on Claude Code)
- 你需要在非Claude客户端(Codex CLI、Cursor、Windsurf、Copilot、Gemini CLI)上执行pm-skills发布
- 你希望获得与Claude Code上pm-release-conductor相同的6阶段管控流程,并在对应阶段内联审计器与变更日志整理器的行为
- 你明确希望在Claude Code上使用技能调用语义而非子代理语义(这种情况很少见;Claude Code上优先使用原生子代理)
When NOT to Use
不适用场景
- You only need to review a PM artifact -> use
utility-pm-critic - You only need a governance audit (not a release) -> use
utility-pm-skill-auditor - You only need a CHANGELOG draft (not a release) -> use
utility-pm-changelog-curator - You want to perform release operations WITHOUT explicit gate confirmation -> the conductor refuses bypass; manual release outside the conductor is the right path
- 你仅需评审PM工件 -> 使用
utility-pm-critic - 你仅需进行治理审计(非发布) -> 使用
utility-pm-skill-auditor - 你仅需生成CHANGELOG草稿(非发布) -> 使用
utility-pm-changelog-curator - 你希望在无明确阶段确认的情况下执行发布操作 -> 本调度器拒绝跳过;正确方式是在调度器外手动执行发布
Instructions
操作说明
Runtime detection step. Determine which AI client is invoking this skill.
运行时检测步骤:确定调用此技能的AI客户端类型。
If you are running in Claude Code with the pm-skills plugin installed
若在已安装pm-skills插件的Claude Code中运行
Invoke with the user's target version + optional flags from . The native sub-agent walks the 6 gates and natively chains to (G0, G2.5) and (G2) via the Agent tool. Return the conductor's gate-by-gate output to the user.
@agent-pm-release-conductor$ARGUMENTSpm-skill-auditorpm-changelog-curator使用用户指定的目标版本及中的可选参数调用。原生子代理会执行6个阶段的流程,并通过Agent工具在G0、G2.5阶段原生链式调用,在G2阶段调用。将调度器的逐阶段输出返回给用户。
$ARGUMENTS@agent-pm-release-conductorpm-skill-auditorpm-changelog-curatorIf you are running in any other AI client
若在其他任何AI客户端中运行
Codex CLI, Cursor, Windsurf, Copilot, Gemini CLI, or any other client without native pm-skills plugin sub-agent support:
- Read the canonical sub-agent definition at
subagents/pm-release-conductor.md - Read the canonical runbook at (the conductor's referential source for gate definitions)
docs/contributing/release-runbook.md - Execute the system prompt body as your operating instructions
- Walk the 6 gates inline. At gates that require chain composition:
- G0 (Pre-tag readiness): instead of chaining to pm-skill-auditor, read and execute the auditor's 4-step audit flow inline. Capture the layered output (full findings + Status Summary + Status YAML). Treat the Status YAML as your G0 sub-check 5 input.
subagents/pm-skill-auditor.md - G2 (Version bump + CHANGELOG prep): instead of chaining to pm-changelog-curator, read and execute the curator's 8-step drafting flow inline. Capture the layered output. Treat the Status YAML as your G2 sub-check 3 input.
subagents/pm-changelog-curator.md - G2.5 (Re-verify): re-execute the inlined auditor at sub-check 5 against the new HEAD.
- G0 (Pre-tag readiness): instead of chaining to pm-skill-auditor, read
- Pause at each gate boundary for explicit maintainer confirmation
- Refuse bypass attempts; respect refusal protocols
- Tag only the G2.5-captured SHA at G3 per D22
- Return gate-by-gate output throughout the flow
The "reference + execute inline" pattern is what enables cross-client compatibility for chain composition. Phase 2 GATE C sub-spike validates that this pattern is reliable.
Codex CLI、Cursor、Windsurf、Copilot、Gemini CLI或其他不支持pm-skills插件原生子代理的客户端:
- 读取标准子代理定义文件
subagents/pm-release-conductor.md - 读取标准发布手册(调度器阶段定义的参考来源)
docs/contributing/release-runbook.md - 将系统提示内容作为操作指令执行
- 内联执行6个阶段流程。在需要链式组合的阶段:
- G0(预标记就绪检查):无需链式调用pm-skill-auditor,直接读取并内联执行审计器的4步审计流程。捕获分层输出(完整检查结果+状态摘要+状态YAML)。将状态YAML作为G0子检查5的输入。
subagents/pm-skill-auditor.md - G2(版本升级+CHANGELOG准备):无需链式调用pm-changelog-curator,直接读取并内联执行整理器的8步草稿生成流程。捕获分层输出。将状态YAML作为G2子检查3的输入。
subagents/pm-changelog-curator.md - G2.5(重新验证):针对新的HEAD重新执行内联审计器的子检查5
- G0(预标记就绪检查):无需链式调用pm-skill-auditor,直接读取
- 在每个阶段边界暂停,等待维护人员明确确认
- 拒绝跳过尝试;遵守拒绝协议
- 根据D22主计划,仅在G3阶段标记G2.5捕获的SHA
- 在流程全程返回逐阶段输出
“引用+内联执行”模式是实现链式组合跨客户端兼容的核心。第二阶段GATE C子测试已验证此模式的可靠性。
Critical Caveats for Non-Claude Inline Execution
非Claude内联执行的关键注意事项
Because non-Claude clients cannot natively chain, the auditor and curator behaviors run in the SAME context window as the conductor on non-Claude clients. This has implications:
- Context budget. The combined token budget (conductor + inlined auditor + inlined curator + their child reads) may approach context limits on long releases. Plan accordingly.
- Tool authorization. The conductor's tool list includes Bash, Read, Edit, Grep, Glob, Agent. The auditor needs Bash + Read + Grep + Glob. The curator needs Bash + Read + Grep. Inline execution on non-Claude clients should have access to ALL of these (i.e., not be running in a Read-only mode).
- Refusal cascade. If the inlined auditor refuses (e.g., validators not invocable), the conductor's G0 sub-check 5 fails and the gate pauses. Same for the curator at G2.
由于非Claude客户端无法原生链式调用,审计器和整理器的行为会与调度器在同一上下文窗口中运行。这会带来以下影响:
- 上下文预算:在长周期发布中,调度器+内联审计器+内联整理器+其子读取操作的总令牌消耗可能接近上下文限制。请提前规划。
- 工具权限:调度器的工具列表包含Bash、Read、Edit、Grep、Glob、Agent。审计器需要Bash+Read+Grep+Glob权限。整理器需要Bash+Read+Grep权限。非Claude客户端上的内联执行应具备所有这些权限(即不能运行在只读模式)。
- 拒绝连锁:如果内联审计器拒绝执行(例如无法调用验证器),调度器的G0子检查5会失败并暂停阶段。G2阶段的整理器也是如此。
Reference Files
参考文件
- Canonical sub-agent definition:
subagents/pm-release-conductor.md - Canonical runbook:
docs/contributing/release-runbook.md - Behavioral spec:
docs/internal/release-plans/v2.16.0/spec_pm-release-conductor.md - Chain child (inlined at G0 + G2.5):
subagents/pm-skill-auditor.md - Chain child (inlined at G2):
subagents/pm-changelog-curator.md - Pre-tag validator bundle:
scripts/pre-tag-validate.{sh,ps1} - Runtime components catalog:
docs/reference/runtime-components.md - Output template:
references/TEMPLATE.md - Worked example:
references/EXAMPLE.md
- 标准子代理定义:
subagents/pm-release-conductor.md - 标准发布手册:
docs/contributing/release-runbook.md - 行为规范:
docs/internal/release-plans/v2.16.0/spec_pm-release-conductor.md - 链式子组件(在G0+G2.5内联):
subagents/pm-skill-auditor.md - 链式子组件(在G2内联):
subagents/pm-changelog-curator.md - 预标记验证器包:
scripts/pre-tag-validate.{sh,ps1} - 运行时组件目录:
docs/reference/runtime-components.md - 输出模板:
references/TEMPLATE.md - 示例:
references/EXAMPLE.md