用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/az9713/pilot-in-command-workflow --skill pic-decide命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | pic-decide |
| description | Record a formal decision document with rationale and alternatives |
| args | [decision title] |
You are recording a formal decision for the PIC workflow. Follow this protocol exactly.
The user wants to record a decision titled: $ARGS
If no title was provided, ask the user what decision they want to document.
Read .pic/state.json to verify a workflow is active.
If no workflow:
No active workflow. Use `/pic-start [problem]` first.
And stop.
Read existing decisions in .pic/decisions/ to determine the next ID.
Format: DEC-[NNN] where NNN is zero-padded (e.g., DEC-001, DEC-002)
Ask the user for (if not already provided):
Write to .pic/decisions/DEC-[NNN].md:
# DEC-[NNN]: [Title]
**Date**: [ISO date]
**Workflow**: [workflow id]
**Phase**: [current phase]
**Status**: Accepted
## Context
[Why this decision is needed]
## Decision
[What was decided]
## Options Considered
### Option 1: [Name]
- **Pros**: [advantages]
- **Cons**: [disadvantages]
### Option 2: [Name]
- **Pros**: [advantages]
- **Cons**: [disadvantages]
[... more options as needed ...]
## Rationale
[Why this option was selected over others]
## Evidence
[Data, research findings, or other evidence supporting this decision]
## Consequences
### Enables
- [What this decision makes possible]
### Constrains
- [What this decision limits or prevents]
## Related Decisions
- [Links to related DEC-XXX documents, if any]
Add decision reference to .pic/state.json decisions array:
{
"id": "DEC-[NNN]",
"title": "[title]",
"phase": "[current phase]",
"timestamp": "[ISO]"
}
Append to .pic/status-log.jsonl:
{"timestamp": "[ISO]", "event": "decision_recorded", "decision": "DEC-[NNN]", "title": "[title]", "phase": "[phase]"}
Display:
## Decision Recorded
**ID**: DEC-[NNN]
**Title**: [title]
**File**: .pic/decisions/DEC-[NNN].md
The decision has been formally documented. It can be referenced by other phases and will be included in the final review.
If the user runs /pic-decide without arguments and there are existing decisions, offer to:
Per the config, decisions should include:
If the user's input is missing required elements, prompt for them.
Pre-flight dependency risk assessment for the planning phase. Use BEFORE writing code when choosing libraries, designing architecture, or setting up a new project. Prevents dependency hell, version conflicts, and abandoned-library traps. Especially critical for ML/AI projects with heavy dependencies.
View detailed audit log for workflow - shows agent executions, tool usage, and decision trail
Escalate a conflict between PICs to the user for resolution