gsd-trae 1.1.1 → 1.36.0
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/CHANGELOG.md +6 -0
- package/README.md +12 -10
- package/install.sh +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -17,15 +17,17 @@ GSD 通过流程约束解决了**上下文衰减(Context Rot)**问题——
|
|
|
17
17
|
|
|
18
18
|
## 本项目
|
|
19
19
|
|
|
20
|
-
这是 GSD 的 **Trae 适配版本**,将 GSD 的强大工作流引入 Trae IDE
|
|
20
|
+
这是 GSD 的 **Trae 适配版本**,将 GSD 的强大工作流引入 Trae IDE。
|
|
21
|
+
|
|
22
|
+
**版本策略**:`gsd-trae` 的版本号与 GSD 上游保持同步。当前版本 `v1.36.0` 对应 GSD `v1.36.0`。
|
|
21
23
|
|
|
22
24
|
| 特性 | 说明 |
|
|
23
25
|
| ------------------------------ | -------------------------------------------------------------- |
|
|
24
26
|
| `.trae/rules/project_rules.md` | Trae 项目级规则,替代 `.claude/` 目录 |
|
|
25
|
-
| 完整工作流支持 | `/gsd
|
|
27
|
+
| 完整工作流支持 | `/gsd-new-project`、`/gsd-plan-phase`、`/gsd-execute-phase` 等 |
|
|
26
28
|
| 中文优化 | 针对中文开发者优化的提示和文档 |
|
|
27
29
|
|
|
28
|
-
注意,GSD 的提示词是为 Claude 优化的,如果在 Trae 中使用,个人推荐使用 Gemini
|
|
30
|
+
注意,GSD 的提示词是为 Claude 优化的,如果在 Trae 中使用,个人推荐使用 Gemini、Kimi、GLM-5,减少使用 GPT
|
|
29
31
|
|
|
30
32
|
## 快速开始
|
|
31
33
|
|
|
@@ -49,7 +51,7 @@ npx -y gsd-trae@latest uninstall
|
|
|
49
51
|
安装完成后,在 Trae 的 AI 对话中输入 GSD 指令即可开始。以下是一个示例:
|
|
50
52
|
|
|
51
53
|
```
|
|
52
|
-
/gsd
|
|
54
|
+
/gsd-new-project
|
|
53
55
|
```
|
|
54
56
|
|
|
55
57
|

|
|
@@ -59,21 +61,21 @@ npx -y gsd-trae@latest uninstall
|
|
|
59
61
|
### 从已有代码开始(Brownfield)
|
|
60
62
|
|
|
61
63
|
```
|
|
62
|
-
/gsd
|
|
64
|
+
/gsd-map-codebase # 先分析现有代码
|
|
63
65
|
↓
|
|
64
|
-
/gsd
|
|
66
|
+
/gsd-new-project # 基于现有上下文规划新功能
|
|
65
67
|
```
|
|
66
68
|
|
|
67
69
|
### 新项目(Greenfield)
|
|
68
70
|
|
|
69
71
|
```
|
|
70
|
-
/gsd
|
|
72
|
+
/gsd-new-project
|
|
71
73
|
↓
|
|
72
74
|
深度提问 → 研究(可选)→ 定义需求 → 创建路线图
|
|
73
75
|
↓
|
|
74
|
-
/gsd
|
|
76
|
+
/gsd-discuss-phase 1 → /gsd-plan-phase 1 → /gsd-execute-phase 1
|
|
75
77
|
↓
|
|
76
|
-
/gsd
|
|
78
|
+
/gsd-verify-work
|
|
77
79
|
↓
|
|
78
80
|
进入 Phase 2...
|
|
79
81
|
```
|
|
@@ -93,7 +95,7 @@ npx -y gsd-trae@latest uninstall
|
|
|
93
95
|
|
|
94
96
|
## Reference
|
|
95
97
|
|
|
96
|
-
- [GSD
|
|
98
|
+
- [GSD V1](https://github.com/glittercowboy/get-shit-done) - 官方仓库
|
|
97
99
|
|
|
98
100
|
## 许可证
|
|
99
101
|
|
package/install.sh
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
set -e
|
|
7
7
|
|
|
8
8
|
GSD_SOURCE="$HOME/.gsd-source"
|
|
9
|
-
GSD_REPO="https://github.com/
|
|
9
|
+
GSD_REPO="https://github.com/gsd-build/get-shit-done.git"
|
|
10
10
|
REPO_URL="https://github.com/Lionad-Morotar/get-shit-done-trae"
|
|
11
11
|
|
|
12
12
|
echo "🔧 安装 GSD for Trae..."
|
|
@@ -18,7 +18,7 @@ if [ ! -d "$GSD_SOURCE/.git" ]; then
|
|
|
18
18
|
git clone --depth 1 "$GSD_REPO" "$GSD_SOURCE" >/dev/null 2>&1
|
|
19
19
|
else
|
|
20
20
|
echo "📥 更新 GSD 源文件..."
|
|
21
|
-
(cd "$GSD_SOURCE" && git pull >/dev/null 2>&1)
|
|
21
|
+
(cd "$GSD_SOURCE" && git remote set-url origin "$GSD_REPO" && git pull >/dev/null 2>&1)
|
|
22
22
|
fi
|
|
23
23
|
|
|
24
24
|
# 2. 创建 ~/.gsdc 符号链接(指向 ~/.gsd-source/commands/gsd)
|
|
@@ -89,4 +89,4 @@ echo " - gsd-agents.md"
|
|
|
89
89
|
echo " - gsd-references.md"
|
|
90
90
|
echo ""
|
|
91
91
|
echo "🚀 开始使用:"
|
|
92
|
-
echo " 在 Trae 中与 SOLO Coder 聊天时输入 /gsd
|
|
92
|
+
echo " 在 Trae 中与 SOLO Coder 聊天时输入 /gsd-new-project"
|