direction-gate
Evaluate strategic direction changes before execution. Triggers on: 'direction change', 'strategic decision', 'pivot'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Evaluate strategic direction changes before execution. Triggers on: 'direction change', 'strategic decision', 'pivot'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Evaluate architectural decisions, propose ADRs. Triggers on: 'architecture review', 'ADR', 'design review'.
Perform structured code reviews. Triggers on: 'code review', 'review code', 'review PR'.
Create GitHub pull requests. Triggers on: 'create PR', 'pull request', 'submit PR'.
Triage and organize GitHub issues. Triggers on: 'triage', 'triage issues', 'organize backlog'.
Create new custom agent definition. Triggers on: 'create agent', 'new agent'.
Create new instructions file. Triggers on: 'create instructions', 'new instructions'.
| name | direction-gate |
| description | Evaluate strategic direction changes before execution. Triggers on: 'direction change', 'strategic decision', 'pivot'. |
MANDATORY before any strategic direction change. This gate prevents costly pivots without proper analysis and stakeholder alignment.
Create a proposal document with:
## Direction Change Proposal — [Date]
### What
[Describe the proposed change in 2-3 sentences]
### Why
[What problem does this solve? What evidence triggered this?]
### Evidence
- [Data point 1]
- [Data point 2]
- [Metric or observation that supports the change]
### What We're Giving Up
[What existing work, direction, or investment does this replace?]
### Reversibility
- Can this be reversed? [Yes / Partially / No]
- Cost of reversal: [Low / Medium / High]
### Alternatives Considered
1. [Alternative 1 — why rejected]
2. [Alternative 2 — why rejected]
Invoke the @challenger agent to adversarially review the proposal:
This is a MUST escalate item per docs/constitution/PROCESS.md. Present the proposal and challenger review to the stakeholder and wait for explicit approval.
scripts/copilot-notify.sh "🚦 Direction Gate" "Strategic change proposed: [summary]. Review needed."
If approved, document the decision:
# If it involves an ADR change
# Update docs/architecture/ADR.md with the new decision
# Comment on the relevant issue
gh issue comment <NUMBER> --body "Direction gate passed: [summary of decision]"
If rejected, document why and what alternative was chosen.