@localsummer/incspec 0.2.1 → 0.2.2
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/README.md +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<
|
|
1
|
+
<H1 align="center">
|
|
2
2
|
<strong>IncSpec</strong>
|
|
3
3
|
</p>
|
|
4
4
|
<p align="center">面向 AI 编程助手的增量规范驱动开发工具</p>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<a href="https://www.npmjs.com/package/@localsummer/incspec"><img alt="npm" src="https://img.shields.io/npm/v/@localsummer/incspec?style=flat-square&logo=npm" /></a>
|
|
8
8
|
<a href="https://nodejs.org/"><img alt="node version" src="https://img.shields.io/node/v/@localsummer/incspec?style=flat-square" /></a>
|
|
9
9
|
<a href="./LICENSE"><img alt="License: ISC" src="https://img.shields.io/badge/License-ISC-blue.svg?style=flat-square" /></a>
|
|
10
|
-
</
|
|
10
|
+
</H1>
|
|
11
11
|
|
|
12
12
|
# IncSpec
|
|
13
13
|
|
|
@@ -19,6 +19,14 @@ IncSpec 通过**增量规范驱动开发**让人类与 AI 编程助手保持一
|
|
|
19
19
|
|
|
20
20
|
AI 编程助手在处理复杂前端代码库时常常力不从心,因为 API 调用、状态管理和组件依赖深度交织。incspec 添加了一个结构化分析工作流,在提出变更前先捕获当前状态,让你获得可预测、可审查的输出。
|
|
21
21
|
|
|
22
|
+
| 痛点 | 传统规范驱动 | IncSpec 增量规范驱动 |
|
|
23
|
+
|------|-------------|-------------------|
|
|
24
|
+
| AI 不理解现有代码上下文 | 用户手动描述 | **自动捕获代码基线** |
|
|
25
|
+
| 变更破坏现有功能 | 事后发现 | **变更前风险评估** |
|
|
26
|
+
| 依赖关系不清晰 | 人工追踪 | **6 维度依赖追踪** |
|
|
27
|
+
| 增量变更难以管理 | 全量重写 | **基于基线的增量设计** |
|
|
28
|
+
| 历史变更不可追溯 | 依赖 Git 记录 | **规范化归档与版本管理** |
|
|
29
|
+
|
|
22
30
|
核心价值:
|
|
23
31
|
- **基线优先**:在修改代码前先理解现有代码流程。
|
|
24
32
|
- **结构化需求**:5 列表格精确捕获需求。
|