Skip to content

Commit 97944a4

Browse files
author
薛華慶, james.hsueh
committed
feat: rename prompt file
1 parent 91d9c8a commit 97944a4

File tree

12 files changed

+83
-83
lines changed

12 files changed

+83
-83
lines changed

.github/prompts/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
```
88
.github/prompts/
99
├── README.md # 本檔案
10-
├── sdd-auto.prompts.md # 自動工作流程
11-
├── sdd-spec.prompts.md # Phase 1: 規格
12-
├── sdd-arch.prompts.md # Phase 2: 架構
13-
├── sdd-integration-test.prompts.md # Phase 2.5: 整合測試(選用)
14-
├── sdd-impl.prompts.md # Phase 3: 實作
15-
└── sdd-verify.prompts.md # Phase 4: 驗證
10+
├── sdd-auto.prompt.md # 自動工作流程
11+
├── sdd-spec.prompt.md # Phase 1: 規格
12+
├── sdd-arch.prompt.md # Phase 2: 架構
13+
├── sdd-integration-test.prompt.md # Phase 2.5: 整合測試(選用)
14+
├── sdd-impl.prompt.md # Phase 3: 實作
15+
└── sdd-verify.prompt.md # Phase 4: 驗證
1616
```
1717

1818
## 安裝
@@ -22,12 +22,12 @@
2222
```bash
2323
mkdir -p ~/.github/prompts
2424
cd ~/.github/prompts
25-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompts.md -o sdd-auto.prompts.md
26-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompts.md -o sdd-spec.prompts.md
27-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompts.md -o sdd-arch.prompts.md
28-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompts.md -o sdd-integration-test.prompts.md
29-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompts.md -o sdd-impl.prompts.md
30-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompts.md -o sdd-verify.prompts.md
25+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompt.md -o sdd-auto.prompt.md
26+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompt.md -o sdd-spec.prompt.md
27+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompt.md -o sdd-arch.prompt.md
28+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompt.md -o sdd-integration-test.prompt.md
29+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompt.md -o sdd-impl.prompt.md
30+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompt.md -o sdd-verify.prompt.md
3131
```
3232

3333
### 專案安裝
@@ -108,9 +108,9 @@ Phase 4: 驗證(QA)
108108

109109
## 命名規範
110110

111-
GitHub Copilot 的 prompt 檔案使用 `.prompts.md` 副檔名:
112-
-`sdd-auto.prompts.md`
113-
-`sdd-spec.prompts.md`
111+
GitHub Copilot 的 prompt 檔案使用 `.prompt.md` 副檔名:
112+
-`sdd-auto.prompt.md`
113+
-`sdd-spec.prompt.md`
114114
-`sdd-auto.md` (不正確)
115115

116116
## 詳細文檔
@@ -123,4 +123,4 @@ GitHub Copilot 的 prompt 檔案使用 `.prompts.md` 副檔名:
123123
|------|---------|---------|
124124
| Claude Code | `~/.claude/commands/` | `sdd-*.md` |
125125
| Codex (OpenAI) | `~/.codex/prompts/` | `sdd-*.md` |
126-
| GitHub Copilot | `~/.github/prompts/` | `sdd-*.prompts.md` |
126+
| GitHub Copilot | `~/.github/prompts/` | `sdd-*.prompt.md` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.c
100100
```bash
101101
mkdir -p ~/.github/prompts
102102
cd ~/.github/prompts
103-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompts.md -o sdd-auto.prompts.md
104-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompts.md -o sdd-spec.prompts.md
105-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompts.md -o sdd-arch.prompts.md
106-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompts.md -o sdd-integration-test.prompts.md
107-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompts.md -o sdd-impl.prompts.md
108-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompts.md -o sdd-verify.prompts.md
103+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompt.md -o sdd-auto.prompt.md
104+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompt.md -o sdd-spec.prompt.md
105+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompt.md -o sdd-arch.prompt.md
106+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompt.md -o sdd-integration-test.prompt.md
107+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompt.md -o sdd-impl.prompt.md
108+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompt.md -o sdd-verify.prompt.md
109109
```
110110

111111
完成後,可在任何專案中使用 `/sdd-auto``/sdd-spec` 等全域指令(Claude/Codex)或 `@workspace /sdd-auto``@workspace /sdd-spec`(Copilot)。
@@ -420,12 +420,12 @@ GSI-Protocol/
420420
│ └── sdd-verify.md # Phase 4
421421
├── .github/
422422
│ └── prompts/ # GitHub Copilot prompts
423-
│ ├── sdd-auto.prompts.md # 自動工作流程
424-
│ ├── sdd-spec.prompts.md # Phase 1
425-
│ ├── sdd-arch.prompts.md # Phase 2
426-
│ ├── sdd-integration-test.prompts.md # BDD Integration Tests
427-
│ ├── sdd-impl.prompts.md # Phase 3
428-
│ └── sdd-verify.prompts.md # Phase 4
423+
│ ├── sdd-auto.prompt.md # 自動工作流程
424+
│ ├── sdd-spec.prompt.md # Phase 1
425+
│ ├── sdd-arch.prompt.md # Phase 2
426+
│ ├── sdd-integration-test.prompt.md # BDD Integration Tests
427+
│ ├── sdd-impl.prompt.md # Phase 3
428+
│ └── sdd-verify.prompt.md # Phase 4
429429
├── docs/ # 文件
430430
│ ├── QUICKSTART.md # 快速入門指南
431431
│ ├── INSTALL.md # 安裝指南

docs/INSTALL.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ mkdir -p ~/.github/prompts
135135
cd ~/.github/prompts
136136

137137
# 下載所有指令檔案
138-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompts.md
139-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompts.md
140-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompts.md
141-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompts.md
142-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompts.md
143-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompts.md
138+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompt.md
139+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompt.md
140+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompt.md
141+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompt.md
142+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompt.md
143+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompt.md
144144
```
145145

146146
### 手動專案內安裝
@@ -168,12 +168,12 @@ wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.codex/
168168
# GitHub Copilot
169169
mkdir -p .github/prompts
170170
cd .github/prompts
171-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompts.md
172-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompts.md
173-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompts.md
174-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompts.md
175-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompts.md
176-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompts.md
171+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompt.md
172+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompt.md
173+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompt.md
174+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompt.md
175+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompt.md
176+
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompt.md
177177

178178
# 提交到 Git(可選)
179179
git add .claude/commands/ .codex/prompts/ .github/prompts/
@@ -188,26 +188,26 @@ git commit -m "Add GSI-Protocol workflow commands"
188188

189189
**Claude Code (全域安裝):**
190190
```bash
191-
ls ~/.claude/commands/ | grep "sdd.*.prompts.md"
191+
ls ~/.claude/commands/ | grep "sdd.*.prompt.md"
192192
```
193193

194194
**Codex (全域安裝):**
195195
```bash
196-
ls ~/.codex/prompts/ | grep "sdd.*.prompts.md"
196+
ls ~/.codex/prompts/ | grep "sdd.*.prompt.md"
197197
```
198198

199199
**GitHub Copilot (全域安裝):**
200200
```bash
201-
ls ~/.github/prompts/ | grep "sdd.*.prompts.md"
201+
ls ~/.github/prompts/ | grep "sdd.*.prompt.md"
202202
```
203203

204204
**專案內安裝:**
205205
```bash
206-
ls .claude/commands/ | grep "sdd.*.prompts.md"
206+
ls .claude/commands/ | grep "sdd.*.prompt.md"
207207
#
208-
ls .codex/prompts/ | grep "sdd.*.prompts.md"
208+
ls .codex/prompts/ | grep "sdd.*.prompt.md"
209209
#
210-
ls .github/prompts/ | grep "sdd.*.prompts.md"
210+
ls .github/prompts/ | grep "sdd.*.prompt.md"
211211
```
212212

213213
應該看到:
@@ -306,12 +306,12 @@ sdd-verify.md
306306
**GitHub Copilot:**
307307
```
308308
~/.github/prompts/
309-
├── sdd-auto.prompts.md
310-
├── sdd-spec.prompts.md
311-
├── sdd-arch.prompts.md
312-
├── sdd-integration-test.prompts.md
313-
├── sdd-impl.prompts.md
314-
└── sdd-verify.prompts.md
309+
├── sdd-auto.prompt.md
310+
├── sdd-spec.prompt.md
311+
├── sdd-arch.prompt.md
312+
├── sdd-integration-test.prompt.md
313+
├── sdd-impl.prompt.md
314+
└── sdd-verify.prompt.md
315315
```
316316

317317
**您的專案保持乾淨,只有生成的程式碼:**

docs/PLATFORM_SUPPORT.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.c
116116
# 全域安裝
117117
mkdir -p ~/.github/prompts
118118
cd ~/.github/prompts
119-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompts.md -o sdd-auto.prompts.md
120-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompts.md -o sdd-spec.prompts.md
121-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompts.md -o sdd-arch.prompts.md
122-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompts.md -o sdd-integration-test.prompts.md
123-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompts.md -o sdd-impl.prompts.md
124-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompts.md -o sdd-verify.prompts.md
119+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-auto.prompt.md -o sdd-auto.prompt.md
120+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-spec.prompt.md -o sdd-spec.prompt.md
121+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-arch.prompt.md -o sdd-arch.prompt.md
122+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-integration-test.prompt.md -o sdd-integration-test.prompt.md
123+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-impl.prompt.md -o sdd-impl.prompt.md
124+
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.github/prompts/sdd-verify.prompt.md -o sdd-verify.prompt.md
125125
```
126126

127127
### 已安裝 Codex,想加入 Claude Code
@@ -162,12 +162,12 @@ curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.c
162162
└── sdd-verify.md
163163
164164
~/.github/prompts/ # GitHub Copilot 全域 prompts
165-
├── sdd-auto.prompts.md
166-
├── sdd-spec.prompts.md
167-
├── sdd-arch.prompts.md
168-
├── sdd-integration-test.prompts.md
169-
├── sdd-impl.prompts.md
170-
└── sdd-verify.prompts.md
165+
├── sdd-auto.prompt.md
166+
├── sdd-spec.prompt.md
167+
├── sdd-arch.prompt.md
168+
├── sdd-integration-test.prompt.md
169+
├── sdd-impl.prompt.md
170+
└── sdd-verify.prompt.md
171171
172172
# 專案保持乾淨
173173
your-project/

0 commit comments

Comments
 (0)