@gong-ym/ai-spec-auto 0.2.12 → 0.2.13
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/.qoder/README.md +114 -114
- package/LICENSE +21 -21
- package/README.md +433 -433
- package/bin/install-workflow.js +2983 -2983
- package/package.json +72 -72
package/.qoder/README.md
CHANGED
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
# Qoder IDE 适配说明
|
|
2
|
-
|
|
3
|
-
## 概述
|
|
4
|
-
|
|
5
|
-
`ai-spec-auto` 现已支持 **Qoder IDE**。Qoder 是一款面向 AI 辅助开发的智能 IDE,提供强大的代码理解和生成能力。
|
|
6
|
-
|
|
7
|
-
## 安装 Qoder 适配
|
|
8
|
-
|
|
9
|
-
### 方式 1: 默认安装(包含 Qoder)
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npx @engineered/ai-spec-auto@latest init . --ide all
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### 方式 2: 仅安装 Qoder
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
npx @engineered/ai-spec-auto@latest init . --ide qoder
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### 方式 3: 组合安装
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# Qoder + Cursor
|
|
25
|
-
npx @engineered/ai-spec-auto@latest init . --ide qoder,cursor
|
|
26
|
-
|
|
27
|
-
# Qoder + Claude Code
|
|
28
|
-
npx @engineered/ai-spec-auto@latest init . --ide qoder,claude
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## 安装后的目录结构
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
.your-project/
|
|
35
|
-
├── .qoder/
|
|
36
|
-
│ ├── rules/ → 链接到 .agents/rules/
|
|
37
|
-
│ ├── skills/ → 链接到 .agents/skills/
|
|
38
|
-
│ └── commands/ → 协议命令模板
|
|
39
|
-
│ ├── spec-start.md
|
|
40
|
-
│ ├── spec-continue.md
|
|
41
|
-
│ ├── spec-update.md
|
|
42
|
-
│ ├── spec-status.md
|
|
43
|
-
│ └── spec-stop.md
|
|
44
|
-
├── .agents/ # 规范源
|
|
45
|
-
│ ├── rules/
|
|
46
|
-
│ └── skills/
|
|
47
|
-
└── .ai-spec/ # 运行态数据
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## 可用命令
|
|
51
|
-
|
|
52
|
-
安装完成后,在 Qoder 中可以使用以下协议命令:
|
|
53
|
-
|
|
54
|
-
| 命令 | 用途 |
|
|
55
|
-
|------|------|
|
|
56
|
-
| `/spec-start` | 新建一个需求交付 run |
|
|
57
|
-
| `/spec-continue` | 继续或恢复当前 run |
|
|
58
|
-
| `/spec-update` | 增量补充需求、修正方向 |
|
|
59
|
-
| `/spec-status` | 查看当前阶段、门禁和下一步 |
|
|
60
|
-
| `/spec-stop` | 暂停当前 run |
|
|
61
|
-
|
|
62
|
-
## 配置示例
|
|
63
|
-
|
|
64
|
-
### MCP 配置(可选)
|
|
65
|
-
|
|
66
|
-
如果 Qoder 支持 MCP(Model Context Protocol),可以创建 `.qoder/mcp.json`:
|
|
67
|
-
|
|
68
|
-
```json
|
|
69
|
-
{
|
|
70
|
-
"mcpServers": {
|
|
71
|
-
"ai-spec-auto": {
|
|
72
|
-
"command": "npx",
|
|
73
|
-
"args": ["@engineered/ai-spec-auto@latest"]
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
## 更新 Qoder 适配
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
# 更新所有 IDE 适配
|
|
83
|
-
npx @engineered/ai-spec-auto@latest update .
|
|
84
|
-
|
|
85
|
-
# 仅更新 Qoder
|
|
86
|
-
npx @engineered/ai-spec-auto@latest update . --ide qoder
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## 检查安装
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
npx @engineered/ai-spec-auto@latest check .
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
检查输出中应该包含:
|
|
96
|
-
```
|
|
97
|
-
✅ .qoder/rules 链接有效
|
|
98
|
-
✅ .qoder/skills (N 个链接)
|
|
99
|
-
✅ 协议命令可用
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
## 卸载 Qoder 适配
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
npx @engineered/ai-spec-auto@latest uninstall .
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
这将移除 `.qoder/` 目录及其中的所有链接和命令模板。
|
|
109
|
-
|
|
110
|
-
## 技术支持
|
|
111
|
-
|
|
112
|
-
- 项目仓库: https://github.com/
|
|
113
|
-
- 问题反馈: https://github.com/
|
|
114
|
-
- 文档索引: docs/README.md
|
|
1
|
+
# Qoder IDE 适配说明
|
|
2
|
+
|
|
3
|
+
## 概述
|
|
4
|
+
|
|
5
|
+
`ai-spec-auto` 现已支持 **Qoder IDE**。Qoder 是一款面向 AI 辅助开发的智能 IDE,提供强大的代码理解和生成能力。
|
|
6
|
+
|
|
7
|
+
## 安装 Qoder 适配
|
|
8
|
+
|
|
9
|
+
### 方式 1: 默认安装(包含 Qoder)
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx @engineered/ai-spec-auto@latest init . --ide all
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### 方式 2: 仅安装 Qoder
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx @engineered/ai-spec-auto@latest init . --ide qoder
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### 方式 3: 组合安装
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# Qoder + Cursor
|
|
25
|
+
npx @engineered/ai-spec-auto@latest init . --ide qoder,cursor
|
|
26
|
+
|
|
27
|
+
# Qoder + Claude Code
|
|
28
|
+
npx @engineered/ai-spec-auto@latest init . --ide qoder,claude
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## 安装后的目录结构
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
.your-project/
|
|
35
|
+
├── .qoder/
|
|
36
|
+
│ ├── rules/ → 链接到 .agents/rules/
|
|
37
|
+
│ ├── skills/ → 链接到 .agents/skills/
|
|
38
|
+
│ └── commands/ → 协议命令模板
|
|
39
|
+
│ ├── spec-start.md
|
|
40
|
+
│ ├── spec-continue.md
|
|
41
|
+
│ ├── spec-update.md
|
|
42
|
+
│ ├── spec-status.md
|
|
43
|
+
│ └── spec-stop.md
|
|
44
|
+
├── .agents/ # 规范源
|
|
45
|
+
│ ├── rules/
|
|
46
|
+
│ └── skills/
|
|
47
|
+
└── .ai-spec/ # 运行态数据
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## 可用命令
|
|
51
|
+
|
|
52
|
+
安装完成后,在 Qoder 中可以使用以下协议命令:
|
|
53
|
+
|
|
54
|
+
| 命令 | 用途 |
|
|
55
|
+
|------|------|
|
|
56
|
+
| `/spec-start` | 新建一个需求交付 run |
|
|
57
|
+
| `/spec-continue` | 继续或恢复当前 run |
|
|
58
|
+
| `/spec-update` | 增量补充需求、修正方向 |
|
|
59
|
+
| `/spec-status` | 查看当前阶段、门禁和下一步 |
|
|
60
|
+
| `/spec-stop` | 暂停当前 run |
|
|
61
|
+
|
|
62
|
+
## 配置示例
|
|
63
|
+
|
|
64
|
+
### MCP 配置(可选)
|
|
65
|
+
|
|
66
|
+
如果 Qoder 支持 MCP(Model Context Protocol),可以创建 `.qoder/mcp.json`:
|
|
67
|
+
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"mcpServers": {
|
|
71
|
+
"ai-spec-auto": {
|
|
72
|
+
"command": "npx",
|
|
73
|
+
"args": ["@engineered/ai-spec-auto@latest"]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## 更新 Qoder 适配
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# 更新所有 IDE 适配
|
|
83
|
+
npx @engineered/ai-spec-auto@latest update .
|
|
84
|
+
|
|
85
|
+
# 仅更新 Qoder
|
|
86
|
+
npx @engineered/ai-spec-auto@latest update . --ide qoder
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## 检查安装
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
npx @engineered/ai-spec-auto@latest check .
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
检查输出中应该包含:
|
|
96
|
+
```
|
|
97
|
+
✅ .qoder/rules 链接有效
|
|
98
|
+
✅ .qoder/skills (N 个链接)
|
|
99
|
+
✅ 协议命令可用
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## 卸载 Qoder 适配
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
npx @engineered/ai-spec-auto@latest uninstall .
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
这将移除 `.qoder/` 目录及其中的所有链接和命令模板。
|
|
109
|
+
|
|
110
|
+
## 技术支持
|
|
111
|
+
|
|
112
|
+
- 项目仓库: https://github.com/gong-chick/engineered-spec
|
|
113
|
+
- 问题反馈: https://github.com/gong-chick/engineered-spec/issues
|
|
114
|
+
- 文档索引: docs/README.md
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 gong-chick
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|