@culeo/specx 0.1.2 → 0.1.3
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/skills/specx-fix/SKILL.md +32 -14
package/package.json
CHANGED
|
@@ -58,32 +58,50 @@ ELSE:
|
|
|
58
58
|
|
|
59
59
|
1. 根据根因回退到对应环节修复
|
|
60
60
|
2. 更新下游文档(如果上游改了,下游必须同步)
|
|
61
|
-
3.
|
|
61
|
+
3. 在子需求目录下创建 bug 修复记录文件:
|
|
62
62
|
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
```
|
|
64
|
+
t-xxx/
|
|
65
|
+
├── 00-子需求.md
|
|
66
|
+
├── ...
|
|
67
|
+
├── 04-tasks.md
|
|
68
|
+
└── fix-001-{简短描述}.md ← 新建
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
#### Step A3️⃣ 更新文档状态
|
|
71
|
+
如果已有 `fix-001`,编号递增为 `fix-002`。
|
|
74
72
|
|
|
75
|
-
|
|
73
|
+
##### fix-{编号}-{描述}.md 模板
|
|
76
74
|
|
|
77
|
-
```
|
|
75
|
+
```markdown
|
|
78
76
|
---
|
|
79
77
|
status: draft
|
|
80
78
|
updated: {YYYY-MM-DD}
|
|
81
79
|
history:
|
|
82
|
-
- "
|
|
80
|
+
- "v1: 初始创建"
|
|
83
81
|
---
|
|
82
|
+
|
|
83
|
+
# {Bug 描述}
|
|
84
|
+
|
|
85
|
+
## 发现场景
|
|
86
|
+
{验收时发现的问题}
|
|
87
|
+
|
|
88
|
+
## 根因分析
|
|
89
|
+
{定位过程}
|
|
90
|
+
|
|
91
|
+
### 根因环节
|
|
92
|
+
- [ ] spec 遗漏
|
|
93
|
+
- [ ] design 遗漏
|
|
94
|
+
- [ ] 代码实现错
|
|
95
|
+
|
|
96
|
+
## 修复内容
|
|
97
|
+
{描述改了哪些代码或文档}
|
|
98
|
+
|
|
99
|
+
## 验证
|
|
100
|
+
- [ ] 复现步骤不再触发
|
|
101
|
+
- [ ] 相关功能正常
|
|
84
102
|
```
|
|
85
103
|
|
|
86
|
-
#### Step
|
|
104
|
+
#### Step A3️⃣ 回到执行
|
|
87
105
|
|
|
88
106
|
修复完成后,回到 `specx-executing-plans` 继续执行修改后的任务。
|
|
89
107
|
|