create-harness-vibe-coding 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/common/CLAUDE.md +19 -1
package/package.json
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
# CLAUDE.md
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 📖 文档导航(每次任务前必读)
|
|
4
|
+
|
|
5
|
+
`@docs/README.md` 是项目事实源入口。收到任务后,按角色走:
|
|
6
|
+
|
|
7
|
+
| 你的角色 | 必读文档 |
|
|
8
|
+
|---------|---------|
|
|
9
|
+
| 写代码 / 实现功能 | `docs/harness/agent-workflow.md` → `docs/features/_template.md` |
|
|
10
|
+
| 设计架构 / 新增模块 | `docs/harness/architecture.md` → `docs/domain/ports.md` |
|
|
11
|
+
| 审查代码 | `docs/harness/state-machines.md` → tests |
|
|
12
|
+
| 修 bug / 排查问题 | `docs/harness/data-flow.md` → `docs/harness/state-machines.md` |
|
|
13
|
+
| 不熟悉项目 | `docs/research/PRD.md` → `docs/harness/architecture.md` |
|
|
14
|
+
|
|
15
|
+
**硬规则**:
|
|
16
|
+
- 碰跨层边界之前,必须读过 `docs/domain/ports.md`
|
|
17
|
+
- 新增失败路径之前,必须读过 `docs/harness/data-flow.md`
|
|
18
|
+
- 修改有状态组件之前,必须读过 `docs/harness/state-machines.md`
|
|
19
|
+
- 不确定该不该开 feature doc?读 `docs/harness/agent-workflow.md` §1
|
|
20
|
+
|
|
21
|
+
---
|
|
4
22
|
|
|
5
23
|
Behavioral guidelines to reduce common LLM coding mistakes. Merge with project-specific instructions as needed.
|
|
6
24
|
|