Skip to content

Commit 91d9c8a

Browse files
author
薛華慶, james.hsueh
committed
chore: update to v1.0.9
1 parent 5e5d348 commit 91d9c8a

14 files changed

+130
-118
lines changed

.copilot/settings.local.json

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
11
# GSI-Protocol for GitHub Copilot
22

3-
本目錄包含 GitHub Copilot CLI 的 SDD (Specification-Driven Development) 工作流程指令。
3+
本目錄包含 GitHub Copilot CLI 的 SDD (Specification-Driven Development) 工作流程 prompts。
4+
5+
## 目錄結構
6+
7+
```
8+
.github/prompts/
9+
├── 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: 驗證
16+
```
417

518
## 安裝
619

720
### 全域安裝(推薦)
821

922
```bash
10-
mkdir -p ~/.copilot/commands
11-
cd ~/.copilot/commands
12-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-auto.md -o sdd-auto.md
13-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-spec.md -o sdd-spec.md
14-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-arch.md -o sdd-arch.md
15-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-integration-test.md -o sdd-integration-test.md
16-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-impl.md -o sdd-impl.md
17-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-verify.md -o sdd-verify.md
23+
mkdir -p ~/.github/prompts
24+
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
1831
```
1932

2033
### 專案安裝
2134

22-
`.copilot` 目錄複製到您的專案根目錄。
35+
`.github/prompts/` 目錄複製到您的專案根目錄。
2336

2437
## 使用方式
2538

@@ -93,4 +106,21 @@ Phase 4: 驗證(QA)
93106
- C#
94107
- 更多...
95108

96-
詳見:https://github.com/CodeMachine0121/GSI-Protocol
109+
## 命名規範
110+
111+
GitHub Copilot 的 prompt 檔案使用 `.prompts.md` 副檔名:
112+
-`sdd-auto.prompts.md`
113+
-`sdd-spec.prompts.md`
114+
-`sdd-auto.md` (不正確)
115+
116+
## 詳細文檔
117+
118+
完整說明請參閱:https://github.com/CodeMachine0121/GSI-Protocol
119+
120+
## 平台比較
121+
122+
| 平台 | 檔案位置 | 檔案命名 |
123+
|------|---------|---------|
124+
| Claude Code | `~/.claude/commands/` | `sdd-*.md` |
125+
| Codex (OpenAI) | `~/.codex/prompts/` | `sdd-*.md` |
126+
| GitHub Copilot | `~/.github/prompts/` | `sdd-*.prompts.md` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.c
9898
**GitHub Copilot:**
9999

100100
```bash
101-
mkdir -p ~/.copilot/commands
102-
cd ~/.copilot/commands
103-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-auto.md -o sdd-auto.md
104-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-spec.md -o sdd-spec.md
105-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-arch.md -o sdd-arch.md
106-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-integration-test.md -o sdd-integration-test.md
107-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-impl.md -o sdd-impl.md
108-
curl -sSL https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-verify.md -o sdd-verify.md
101+
mkdir -p ~/.github/prompts
102+
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
109109
```
110110

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

docs/INSTALL.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,16 @@ wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.codex/
131131

132132
**GitHub Copilot:**
133133
```bash
134-
mkdir -p ~/.copilot/commands
135-
cd ~/.copilot/commands
134+
mkdir -p ~/.github/prompts
135+
cd ~/.github/prompts
136136

137137
# 下載所有指令檔案
138-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-auto.md
139-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-spec.md
140-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-arch.md
141-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-integration-test.md
142-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-impl.md
143-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-verify.md
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
144144
```
145145

146146
### 手動專案內安裝
@@ -166,17 +166,17 @@ wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.codex/
166166
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.codex/prompts/sdd-verify.md
167167

168168
# GitHub Copilot
169-
mkdir -p .copilot/commands
170-
cd .copilot/commands
171-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-auto.md
172-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-spec.md
173-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-arch.md
174-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-integration-test.md
175-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-impl.md
176-
wget https://raw.githubusercontent.com/CodeMachine0121/GSI-Protocol/main/.copilot/commands/sdd-verify.md
169+
mkdir -p .github/prompts
170+
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
177177

178178
# 提交到 Git(可選)
179-
git add .claude/commands/ .codex/prompts/ .copilot/commands/
179+
git add .claude/commands/ .codex/prompts/ .github/prompts/
180180
git commit -m "Add GSI-Protocol workflow commands"
181181
```
182182

@@ -188,26 +188,26 @@ git commit -m "Add GSI-Protocol workflow commands"
188188

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

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

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

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

213213
應該看到:
@@ -305,13 +305,13 @@ sdd-verify.md
305305

306306
**GitHub Copilot:**
307307
```
308-
~/.copilot/commands/
309-
├── sdd-auto.md
310-
├── sdd-spec.md
311-
├── sdd-arch.md
312-
├── sdd-integration-test.md
313-
├── sdd-impl.md
314-
└── sdd-verify.md
308+
~/.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
315315
```
316316

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

0 commit comments

Comments
 (0)