一键导入
pr-stack-manager
Analyze and manage PR stack topology, dependency order, and base alignment for ADL issue workflows in a bounded, reviewable way.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze and manage PR stack topology, dependency order, and base alignment for ADL issue workflows in a bounded, reviewable way.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Construct all six C-SDLC v2 cards and canonical issue state from typed input.
Record terminal truth and safely close out a green integrated issue.
Assign and record exact-revision pre-publication review truth.
Lightweight sprint orchestrator for ADL. Use when one sprint issue should drive an explicit child issue wave through existing lifecycle and editor skills with a Sprint Execution Packet that records sequential, parallel, or hybrid intent, robust sprint-end review, and truthful sprint closeout.
Lightweight conductor for the ADL workflow skills. Use when the operator wants one bounded entrypoint that detects the current issue/workflow state, selects the correct next lifecycle or editor skill, enforces skill/subagent policy, and either stops after routing or dispatches one bounded downstream skill subtask without reimplementing the underlying work.
Bind a prepared C-SDLC v2 issue to a claim, branch, and worktree.
| name | pr-stack-manager |
| description | Analyze and manage PR stack topology, dependency order, and base alignment for ADL issue workflows in a bounded, reviewable way. |
This skill helps operators and automation reason about stacked PR execution safely.
Its job is to:
It is not a replacement for other lifecycle skills. It supports stack governance
and truth recording around pr-init, pr-run, pr-ready, pr-janitor,
and pr-finish.
Use this skill when all of the following are true:
Use pr-stack-manager when:
Do not use this skill for:
At minimum, gather:
repo_rootissue_numbertask_bundle_pathbranchworktree_pathUseful additional inputs:
slugversionsource_prompt_path, stp_path, sip_path, sor_path)policy (mode, base_alignment, allow_mutation, dry_run, max_stack_depth)Use one primary target mode and bound metadata:
issue/task bundle/branch/worktreesource_prompt, stp, sip, sor)Surface:
Use four risk levels:
info: low-risk visibility gapswarning: non-blocking stack frictionblocking: incorrect execution/finish dependency trutherror: analysis or safety precondition failureClassify each action by:
Mutation is allowed only if requested and bounded:
Write structured findings and next-step recommendations to a bounded artifact.
python3 adl/tools/skills/pr-stack-manager/scripts/analyze_pr_stack.py <stack-packet>.blocking stack risks first.allow_mutation is enabled and risks are unambiguous, apply bounded actions.Allowed writes are mechanical and bounded to the addressed issue surface.
Stop before:
Use references/output-contract.md and emit deterministic structured records that are
machine-readable and reviewable before any merge-facing publication.