liuyun 32401ac2f8 chore: init workspace from DDD template
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-10 11:46:28 +08:00

34 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: openspec-superpowers-bridge
description: Use when starting feature or change work to route the request through the right Superpowers process skill and decide whether an openspec change is warranted before implementation.
---
# openspec ↔ superpowers 桥接
本项目用 openspec 追踪需求与变更,用 superpowers 过程技能驱动开发。此技能说明两者
如何衔接,避免「该走 change 还是直接写」的失序。openspec 的具体命令与步骤,交由
`.claude/skills/openspec-*`(propose/apply-change/archive-change/…)与 `/opsx:*` 命令
负责;本技能只负责过程编排。
## 何时开 change(而非直接写)
1. 任何功能/变更请求,先用 `superpowers:brainstorming` 分类为 spike / bounded / architectural。
2. **architectural**(新子系统、跨接口重构、多文件新功能)→ 开 openspec change,
走 `/opsx:propose`:proposal → specs → design → tasks。
3. **bounded** → 走了 in-chat 短设计即可,不强开 change。
4. **spike** → 只出答案,不开 change。
## openspec 阶段 → superpowers 技能
| openspec 阶段 | superpowers 技能 |
|---|---|
| proposal / specs / design | `superpowers:brainstorming`(先)→ `superpowers:writing-plans` |
| tasks 编排与执行 | `superpowers:writing-plans` 产物 → `superpowers:executing-plans` 或 `superpowers:subagent-driven-development` |
| 实现 | `superpowers:test-driven-development`、`superpowers:systematic-debugging` |
| 收尾 | `superpowers:requesting-code-review`、`superpowers:verification-before-completion`、`superpowers:finishing-a-development-branch` |
## 归档
change 实现、评审、验证完成后:`/opsx:archive`(或 `openspec archive <change>`)把增量
spec 合并回主 spec。未归档的 change 属于进行中工作。