Use when user asks "why did devpace decide X", "追溯", "为什么这样做", "决策记录", "决策原因", "架构决策", "ADR", "技术选型", wants to see AI decision trail or manage architecture decisions, or says /pace-trace [CR] [gate/decision/arch]. NOT for concept explanations or methodology questions (use /pace-theory). NOT for metrics or retrospective analysis (use /pace-retro).
Scanned 5/27/2026
Install via CLI
openskills install arch-team/devpace---
description: Use when user asks "why did devpace decide X", "追溯", "为什么这样做", "决策记录", "决策原因", "架构决策", "ADR", "技术选型", wants to see AI decision trail or manage architecture decisions, or says /pace-trace [CR] [gate/decision/arch]. NOT for concept explanations or methodology questions (use /pace-theory). NOT for metrics or retrospective analysis (use /pace-retro).
allowed-tools: AskUserQuestion, Read, Write, Edit, Glob, Grep
argument-hint: "[CR 名称或编号] [gate1|gate2|gate3|intent|change|risk|autonomy|timeline|arch]"
model: haiku
---
# /pace-trace — 决策轨迹查询
> 三层渐进透明的深入层。提供完整的 AI 决策轨迹,让用户可审计 Claude 的每个系统判断。
## 与相关功能的区别
| 功能 | 回答的问题 | 数据维度 |
|------|-----------|---------|
| `/pace-trace [CR] [type]` | "Claude 为什么这样判断?" | 单个决策的审计轨迹 |
| `/pace-trace [CR] timeline` | "这个 CR 经历了什么?" | CR 全生命周期决策时间线 |
| `/pace-status trace <name>` | "这个目标完成到哪了?" | 价值链完成度(OBJ→Epic→BR→PF→CR→OPP) |
| `/pace-theory why` | "devpace 为什么这样设计?" | 系统方法论解释 |
## 输入
- `$ARGUMENTS`:可选——CR 名称/编号 + 决策类型
- 无参数时:展示当前/最近 CR 的最新决策轨迹
## 流程
### 执行路由表
#### 固定加载
| 文件 | 说明 |
|------|------|
| `skills/pace-trace/trace-procedures-common.md` | 通用规则:§0 路由索引 · 输出格式框架 · confidence 表 · 降级处理 · 执行步骤 · 规则 |
#### 按子命令加载
| 决策类型 | 额外加载文件 | 说明 |
|---------|------------|------|
| `gate1` / `gate2` / `gate3` | `skills/pace-trace/trace-procedures-gates.md` | Gate 类型输出要点 + 导航建议 |
| `intent` / `change` / `risk` / `autonomy` | `skills/pace-trace/trace-procedures-analysis.md` | 分析类输出调整 + 导航建议 |
| `timeline` | `skills/pace-trace/trace-procedures-timeline.md`(自包含,不加载 common) | CR 全生命周期决策时间线 |
| `arch` | `skills/pace-trace/trace-procedures-arch.md`(自包含,不加载 common) | 架构决策记录(ADR)管理 |
| 无指定 | 查 CR 事件表最新 checkpoint 类型,匹配上述路由 | 先确定类型再加载对应文件 |
**路由规则**:只读取路由表映射的 procedures 文件,不加载其他文件。timeline 自包含,不加载 common。
## 输出
格式化的决策轨迹(含判定结论、confidence 评估、评估过程、决策上下文、溯源信息、上下文导航)。
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.