dapei-featurelisted
Install: claude install-skill ygwa/dapei-skill
# dapei.feature skill
负责 feature 的 create/status/review/report/close 生命周期管理。
## 边界
| dapei 平台 | Agent |
|------------|-------|
| 目录脚手架、feature.yaml schema、状态机校验 | 理解 feature 目标、写 agents.md、做技术决策 |
| 输出结构化 feature.yaml | 理解「这个 feature 要做什么」 |
**禁止**:平台用硬编码模板替 Agent 做架构设计。
**确认点约束**:阶段确认点(solution-design / implementation / acceptance)不能被 Agent 自行跳过。
- 确认点必须由用户明确确认,或用户在请求中明确要求连续推进
- "轻量确认"、"快速过一下"、"用户没时间" 不能替代正式确认与产物记录
## 路由能力
| 意图 | Capability |
|------|------------|
| 创建新 feature | `feature.create` |
| 查看 feature 状态 | `feature.status` |
| 获取/设置当前 stage | `feature.stage` |
| 管理 backlog 任务 | `feature.tasks` |
| 生成每日 review | `feature.review` |
| 报告 feature 进展 | `feature.report` |
| 执行 guardrail 检查 | `feature.guardrail` |
| 关闭 feature | `feature.close` |
---
## 工作流(方法,非实现)
### Create(创建)
1. 验证 feature name 符合命名规范(`[a-z0-9-]+`)
2. 创建 `features/<name>/` 目录结构
3. 初始化 feature.yaml 元数据
4. 初始化 `context/runtime-context.md`
5. 创建 `docs/` 目录骨架
6. 可选:初始化 `agents.md` 协作提示
**feature.yaml 示例**:
```yaml
name: payment-refactor
status: active
owner: alice
repos: [payment-service, billing-core]
objective: "重构支付链路,拆分账务与支付职责"
created: 2025-05-20
stages:
- name: analyze-current-state
status: completed
- name: gap-analysis
status: in_progress
- name: solution-design
status: pending
- name: task-breakdown
status: pending
- name: implementation
status: pending
- name: local-validation
status: pending
- name: architecture-review
status: pending
- na