superpowers-mcp 6.3.6 → 6.3.7
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.ja.md +35 -56
- package/README.ko.md +35 -56
- package/README.md +35 -56
- package/README.zh-TW.md +35 -56
- package/out/server.js +23 -23
- package/package.json +10 -5
- package/scripts/upstream-drift.js +346 -0
- package/skills/brainstorming/SKILL.md +125 -25
- package/skills/brainstorming/scripts/start-server.ps1 +20 -1
- package/skills/brainstorming/scripts/start-server.sh +2 -2
- package/skills/executing-plans/SKILL.md +7 -1
- package/skills/finishing-a-development-branch/SKILL.md +15 -0
- package/skills/subagent-driven-development/SKILL.md +121 -36
- package/skills/subagent-driven-development/implementer-prompt.md +19 -0
- package/skills/subagent-driven-development/re-review-prompt.md +10 -4
- package/skills/subagent-driven-development/scripts/review-package +6 -0
- package/skills/subagent-driven-development/scripts/review-package.ps1 +7 -0
- package/skills/subagent-driven-development/scripts/sdd-workspace +8 -1
- package/skills/subagent-driven-development/scripts/sdd-workspace.ps1 +23 -2
- package/skills/subagent-driven-development/task-reviewer-prompt.md +28 -10
- package/skills/systematic-debugging/SKILL.md +1 -1
- package/skills/test-driven-development/SKILL.md +27 -3
- package/skills/test-driven-development/writing-good-tests.md +7 -0
- package/skills/using-git-worktrees/SKILL.md +12 -0
- package/skills/verification-before-completion/SKILL.md +54 -1
- package/skills/writing-plans/SKILL.md +20 -5
- package/skills/writing-skills/SKILL.md +30 -0
package/README.ja.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
このドキュメントは、Superpowers スキルライブラリと自律型ワークフローを、独立した高パフォーマンスかつ安全な **Model Context Protocol (MCP)** サーバーにパッケージ化した使用説明書です。
|
|
@@ -173,9 +173,42 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
173
173
|
|
|
174
174
|
---
|
|
175
175
|
|
|
176
|
+
## 🔧 アップストリームへの追従
|
|
177
|
+
|
|
178
|
+
この fork は上流 [`obra/superpowers`](https://github.com/obra/superpowers) のスキル内容をレビュー済みバッチで取り込みます。最後の同期時点の上流 blob SHA は [`tests/upstream-sync-baseline.json`](tests/upstream-sync-baseline.json) に記録されています。
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
npm run drift # ベースラインと上流を比較し、変更点を一覧表示
|
|
182
|
+
npm run drift:record # レビュー済み同期の後にベースラインを更新
|
|
183
|
+
node scripts/upstream-drift.js # オフライン:ベースライン整合性 + ローカル網羅率
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
レポートは、上流で変更されたファイル、上流の追加・削除、追跡対象だがローカルに無いファイル、fork 独自の追加を分けて表示します。意図的に採用しない上流スキルは drift ではなく「判断待ち」として報告され、`npm run drift:record -- --ignore <skill>` で記録します。取り込み済みの上流ファイルが削除されたり、スキルの上流系譜が失われると `npm test` が失敗します。GitHub tree が途中で切れた場合、レポートモードは結果を部分的と明示して `--fail-on-drift` を抑止し、record モードは書き込み自体を拒否して最後の完全なベースラインを保護します。
|
|
187
|
+
|
|
176
188
|
## 🆕 最近の更新
|
|
177
189
|
|
|
178
|
-
### v6.3.
|
|
190
|
+
### v6.3.7(最新)
|
|
191
|
+
|
|
192
|
+
- **上流同期 — バッチ 1〜3(obra/superpowers)**:
|
|
193
|
+
- **スキルの自動ルーティング**:`systematic-debugging` と `test-driven-development` の description にトリガーフレーズ(`"tdd"`、`"systematic debug"` など)と相互クロスルートを追加し、MCP クライアントでのスキル選択精度を向上。
|
|
194
|
+
- **テストコマンドがない場合のエビデンス律**:`verification-before-completion` に「When There Is No Test Command」を追加。レポート、調査、監査、書簡では成果物を再度開き、証明できる事項を証明し、未完了項目を明示。主張できるのは「完全」であり「正しい」ではない。
|
|
195
|
+
- **ブレインストーミングの意図ゲート**:「Establish Shared Understanding」(意図の探索 → 理解の書き戻し → 設計への引き継ぎ)を新設し、HARD-GATE をパスごとの前提条件を列挙する形に書き直し。一度の承認を残り工程の省略許可と見なすことを禁止。
|
|
196
|
+
- **プランニング・ハンドオフ・レビュー**:brainstorming の仕様セルフレビューを 0.0–9.9 の評価 + burden ledger + 単一の有界改善パス + 読み取り専用の再評価に昇格。失敗時は初稿へ復元する安全則付き。
|
|
197
|
+
- **保存済みプランのレビューと文脈的ハンドオフ**:`writing-plans` は実行前に人間が保存プランをレビューすることを必須化。実行方法が未指定の場合は、固定の既定値ではなくこのプラン固有の推奨を提示。
|
|
198
|
+
- **プランのチェックボックス簿記**:`executing-plans` と `subagent-driven-development` が完了メッセージと同時にプランファイルの手順をチェック。
|
|
199
|
+
- **リモート安全境界**:`using-git-worktrees` は共有 ref から分岐する際に `--no-track` を必須化し、`git branch -vv` による追跡確認(初回 commit 前に `--unset-upstream`)を求める。`executing-plans` は commit をローカルに留め、共有ブランチの書き換えを禁止。implementer はタスク中の push 要求を BLOCKED として controller に報告する。
|
|
200
|
+
- **Discoveries 台帳**:SDD の進捗台帳に `## Discoveries` セクションを追加し、タスク横断の知見が compaction を越えて次のディスパッチのインターフェース条項に引き継がれる。
|
|
201
|
+
- **保留所見のエクスポート**:プランワークスペース削除前に、`Ruling:`/`minor (deferred)`/`parked` 行を PR の「Deferred items」チェックリスト、またはコミット済み `docs/superpowers/follow-ups/<plan>.md` へ退避する。
|
|
202
|
+
- **Greenfield SDD スクリプト**:リポジトリ未作成時は `sdd-workspace` がカレントディレクトリへフォールバック(`.ps1` も同様)。`review-package` は非リポジトリ環境で実行可能なエラーを返す。
|
|
203
|
+
- **TDD 特性化ガード**:振る舞いを保つリファクタリング向けの 5 ステップ手順(変異→失敗確認→VCS 復元→グリーン維持)。境界とミューテーション検査の各節から参照。
|
|
204
|
+
- **上流コンテンツ同期 — バッチ 4**:brainstorm の起動スクリプトは `BRAINSTORM_HOST`/`BRAINSTORM_URL_HOST` からホスト既定値を取得(`--host`/`--url-host` が優先)。`writing-skills` にコンテンツ移動時のリンク再解決手順を追加し、SDD レビュアは完全なレポートを `…/task-N-review.md` に書いて 15 行未満の要約のみを返すようになり、MCP 側に `review_file` 引数(指定パスが正規化後にレポート/brief ファイルと一致する場合は導出した `-review.md` に置換)と、`[FIX_BASE_SHA]` を実際に展開する `fix_base_sha` 別名を追加。
|
|
205
|
+
- **上流ドリフトレポート**:`npm run drift` がコミット済みベースラインと `obra/superpowers` を比較し、採用済みファイルの変更・ローカルに無い取り込み・fork 独自追加を一覧表示。`npm run drift:record -- --ignore <skill>` でレビュー済み同期後に更新し、書き込み前に途中で切れた API tree を拒否。
|
|
206
|
+
- **MCP サーフェス網羅テスト**:ディスク上の各スキルは自身のコンテンツを返す MCP リソースとして公開され、プロンプト一覧は 4 つの README と完全一致すること。
|
|
207
|
+
- **MCP 説明文の忠実性**:上流のエスケープ引用形式を非引用の YAML plain scalar に適応し、`SkillsManager` が MCP 経由で余分なバックスラッシュを出力しないようにした。
|
|
208
|
+
- **回帰ガード**:`tests/upstream_sync_test.js` をバッチ 1〜4 を覆う 22 個のラベル付きチェックに拡張。全スイート合格(npm 8 スイート 139 チェック、PowerShell 90 アサーション、SDD 16 + ホスト既定 11 + render-graph 8 の bash アサーション)。
|
|
209
|
+
- **リリース準備の強化**:Bash/PowerShell の brainstorm host テストは background モードを明示的に強制し、264 アサーションの全マトリクスが `CODEX_CI=1` でも完了。`package-lock.json` を v6.3.7 と Node `>=18` に同期し、npm repository と CLI `bin` メタデータを正規化。`npm publish --dry-run` とパッケージのインストール smoke test で検証済み。
|
|
210
|
+
|
|
211
|
+
### v6.3.6
|
|
179
212
|
|
|
180
213
|
- **極限のパフォーマンス最適化(2倍〜8.1倍の高速化)**:
|
|
181
214
|
- **スキルの並行インデックスと事前キャッシュ**:`SkillsManager.listSkills` を非同期並行ディレクトリ走査(`Promise.all`)とルートパス事前解決キャッシュにアップグレードし、コールドスタート時のインデックス遅延を 4.79ms から 2.35ms に短縮(**2.04倍の高速化**)。
|
|
@@ -195,60 +228,6 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
195
228
|
- **多言語ドキュメントの同期**:
|
|
196
229
|
- 4 言語すべての README([`README.md`](README.md)、[`README.zh-TW.md`](README.zh-TW.md)、[`README.ja.md`](README.ja.md)、[`README.ko.md`](README.ko.md))でサポート環境一覧、パフォーマンス指標、ワンクリックコマンド表を同期。
|
|
197
230
|
|
|
198
|
-
### v6.3.5
|
|
199
|
-
|
|
200
|
-
- **7 つの新しい AI エージェント・エディタ環境のワンクリックインストール対応 (`src/setup-runner.ts`, `scripts/install.sh`)**:
|
|
201
|
-
- 構成エンジンを拡張し、合計 15 種類の AI 開発環境に対応:
|
|
202
|
-
- **GitHub Copilot (VS Code Insiders)**:`Code - Insiders/User/mcp.json`(安定版 VS Code との競合を防ぐ物理パス完全分離、エイリアス: `copilot-insiders`, `vscode-insiders`, `code-insiders`, `insiders`, `insider`)
|
|
203
|
-
- **QwenPaw (パーソナル AI アシスタントワークステーション)**:`~/.qwenpaw/config.json`(`copaw` 互換、エイリアス: `qwenpaw`, `copaw`)
|
|
204
|
-
- **Cline (VS Code / CLI)**:`.../saoudrizwan.claude-dev/settings/cline_mcp_settings.json`(エイリアス: `cline`, `claude-dev`)
|
|
205
|
-
- **Kilo Code**:`~/.config/kilo/kilo.jsonc`(自適応 `"mcp"` ルート仕様、エイリアス: `kilo`, `kilocode`)
|
|
206
|
-
- **Qoder**:`~/.qoder/settings.json`(エイリアス: `qoder`)
|
|
207
|
-
- **Kiro**:`~/.kiro/settings/mcp.json`(エイリアス: `kiro`, `kiro-code`)
|
|
208
|
-
- **Trae**:`.../Trae/User/mcp.json`(macOS、Windows、Linux、Trae CN をクロスプラットフォームでサポート)
|
|
209
|
-
- Kilo Code 固有の辞書形式を適応する `"json-mcp"` フォーマットタイプを追加。
|
|
210
|
-
- `runSetup` を介して `harness.defaultConfig` からテンプレートを注入し、Single Source of Truth (SSOT) を確立。
|
|
211
|
-
- **デュアル Subagent によるアーキテクチャおよびコード品質レビュー**:
|
|
212
|
-
- 「アーキテクチャ・セキュリティレビュアー」と「品質・エッジケースレビュアー」の 2 人のエージェントによるレビューを実施。
|
|
213
|
-
- アトミック書き込み(`crypto.randomBytes(8)` + `flag: "wx"`)、シンボリックリンク防御、最小権限(`0o700`/`0o600`)、デフォルトのゼロディスク汚染を完全検証。
|
|
214
|
-
- プロジェクト全体のセキュリティ監査を完了し、[`SECURITY.md`](SECURITY.md) を更新(173 件の自動化アサーション 100% 合格)。
|
|
215
|
-
- **テストスイートの大幅拡充 (`tests/setup_test.js`)**:
|
|
216
|
-
- 単元テストを 21 件から 32 件に拡充(100% 合格)。Claude Desktop、Kimi Work、Hermes Desktop のエンドツーエンドサンドボックステストを追加。
|
|
217
|
-
|
|
218
|
-
### v6.3.4
|
|
219
|
-
|
|
220
|
-
- **Universal One-Click グローバルセットアップエンジン (`src/setup-runner.ts`, `scripts/`)**:
|
|
221
|
-
- 8 大主要 AI 環境(Antigravity、Pi Desktop / Pi Agent、Cursor、GitHub Copilot (VS Code)、Hermes Desktop / Agent、Kimi Work / Kimi Code、Claude Desktop、Devin Desktop)向けの依存関係ゼロのワンクリック自動構成。
|
|
222
|
-
- CLI コマンド `superpowers-setup` および `superpowers-mcp setup` を提供し、クロスプラットフォームのインストーラスクリプト([`install.sh`](scripts/install.sh) および [`install.ps1`](scripts/install.ps1))を開発。
|
|
223
|
-
- **明示的同意とアンチウイルス設計 (Explicit Consent & Anti-Virus Design)**:`--target <client>` を必須とし、未承認のディスク自動スキャンや全環境の一括変更を根絶(`--all` を削除)。
|
|
224
|
-
- **アトミック書き込み防御 (`safeWriteConfig`)**:ランダム 8 バイト nonce 一時ファイル、`flag: "wx"`、`renameSync` によるアトミック操作で、ファイル競合や破損を防止。
|
|
225
|
-
- **シンボリックリンク保護と最小特権権限**:`realpathSync` でリンク先を安全に解決。新規ディレクトリは `0o700`、設定ファイルは `0o600` に制限し、バックアップは元のパーミッションを継承。
|
|
226
|
-
- **パラメータインジェクション防御と JSONC 解析**:`JSON.stringify` で安全にエスケープ。コメントや末尾カンマを許容し、`isPlainObject` でプロトタイプ汚染を防御。
|
|
227
|
-
- **CLI Stdio 分離**:`src/server.ts` で setup 引数を事前インターセプトし、MCP プロトコルの stdio 汚染を防止。
|
|
228
|
-
- **自動化テストスイート**:[`tests/setup_test.js`](tests/setup_test.js) を追加(21 テスト 100% 合格)。
|
|
229
|
-
- **Skill Compositions スキル合成とエンドツーエンドパイプライン (`src/server.ts`, `docs/`)**:
|
|
230
|
-
- 3 つの新しい MCP ワークフロープロンプトを追加:`feature-pipeline`、`structured-debug`、`skill-composition`。
|
|
231
|
-
- 4 言語による包括的なドキュメント([`docs/skill-compositions.ja.md`](docs/skill-compositions.ja.md))と横型 Mermaid フローチャート、ASCII 図を追加。
|
|
232
|
-
- [`skills/using-superpowers/SKILL.md`](skills/using-superpowers/SKILL.md) および [`skills/writing-plans/SKILL.md`](skills/writing-plans/SKILL.md) に `Recommended Skill` メタデータ標準とコントローラー・サブエージェント間プロトコルを追加。
|
|
233
|
-
- [`tests/prompts_compositions_test.js`](tests/prompts_compositions_test.js) を追加(7 テスト 100% 合格)。
|
|
234
|
-
- **プロンプトセキュリティ強化とライフサイクルの完結 (`src/server.ts`)**:
|
|
235
|
-
- `interpolateTemplate` を 1 パス正規表現置換にアップグレードし、連鎖的なプレースホルダー展開攻撃を根絶。
|
|
236
|
-
- 全 9 プロンプトに 32 KB 長さクランプと `hasOwnProperty` 検証を適用。
|
|
237
|
-
- `structured-debug` に Stage 6(レビュー修正)と Stage 7(ブランチ整理・完了)を追加。
|
|
238
|
-
- **包括的なセキュリティ監査と検証**:
|
|
239
|
-
- `npm audit` で脆弱性 0 を確認。全 5 テストスイート(100+ アサーション)が 100% 合格。[`SECURITY.md`](SECURITY.md) を更新。
|
|
240
|
-
|
|
241
|
-
### v6.3.3
|
|
242
|
-
|
|
243
|
-
- **MCP 標準プロンプトサポート (`src/server.ts`)**:
|
|
244
|
-
- 標準プロンプトハンドラーを実装し、IDE プロンプトピッカーで利用可能な 6 つのプロンプト(`session-start`、`sdd-implementer`、`sdd-task-reviewer`、`sdd-re-review`、`spec-reviewer`、`plan-reviewer`)を登録。
|
|
245
|
-
- **マルチハーネスリファレンスマッピング**:
|
|
246
|
-
- Devin CLI([`references/devin-tools.md`](skills/using-superpowers/references/devin-tools.md))および OpenCode([`references/opencode-tools.md`](skills/using-superpowers/references/opencode-tools.md))向けのネイティブツールマッピングを追加。
|
|
247
|
-
- **多言語ドキュメントの同期**:
|
|
248
|
-
- 全言語の README で MCP 機能対応表(Tools / Prompts / Resources)およびマルチハーネス対応マトリックスを統一。
|
|
249
|
-
- **テストスイートの拡張**:
|
|
250
|
-
- `prompts/list` および `prompts/get` パラメータ注入の自動化テストアサーションを追加。
|
|
251
|
-
|
|
252
231
|
👉 *これまでの詳細なリリース履歴については、完全な [CHANGELOG.md](CHANGELOG.md) を参照してください。*
|
|
253
232
|
|
|
254
233
|
---
|
package/README.ko.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
이 문서는 Superpowers 스킬 라이브러리와 자율 에이전트 워크플로우를 독립적이고 고성능이며 안전한 **Model Context Protocol (MCP)** 서버로 패키징한 사용 지침을 요약한 것입니다.
|
|
@@ -173,9 +173,42 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
173
173
|
|
|
174
174
|
---
|
|
175
175
|
|
|
176
|
+
## 🔧 업스트림 따라잡기
|
|
177
|
+
|
|
178
|
+
이 포크는 업스트림 [`obra/superpowers`](https://github.com/obra/superpowers) 의 스킬 콘텐츠를 검토된 배치로 가져옵니다. 마지막 동기화 시점의 업스트림 blob SHA는 [`tests/upstream-sync-baseline.json`](tests/upstream-sync-baseline.json) 에 기록됩니다.
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
npm run drift # 베이스라인과 업스트림을 비교해 변경 목록 출력
|
|
182
|
+
npm run drift:record # 검토된 동기화 후 베이스라인 갱신
|
|
183
|
+
node scripts/upstream-drift.js # 오프라인: 베이스라인 무결성 + 로컬 커버리지
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
보고서는 업스트림 변경, 업스트림 추가/삭제, 추적 대상이지만 로컬에 없는 파일, 포크 전용 추가를 구분해 보여줍니다. 의도적으로 채택하지 않는 업스트림 스킬은 drift가 아니라 결정 사항으로 보고되며, `npm run drift:record -- --ignore <skill>`로 기록합니다. 가져온 업스트림 파일이 삭제되거나 스킬의 업스트림 계보가 끊기면 `npm test`가 실패합니다. GitHub tree 응답이 잘린 경우 보고 모드는 결과를 부분적이라고 표시하고 `--fail-on-drift`를 억제하며, record 모드는 쓰기 자체를 거부하여 마지막 완전한 베이스라인을 보호합니다.
|
|
187
|
+
|
|
176
188
|
## 🆕 최근 업데이트
|
|
177
189
|
|
|
178
|
-
### v6.3.
|
|
190
|
+
### v6.3.7 (최신)
|
|
191
|
+
|
|
192
|
+
- **업스트림 동기화 — 배치 1~3 (obra/superpowers)**:
|
|
193
|
+
- **스킬 자동 라우팅**: `systematic-debugging`과 `test-driven-development` 설명에 트리거 문구(`"tdd"`, `"systematic debug"` 등)와 상호 크로스 라우트를 추가하여 MCP 클라이언트의 스킬 선택 정확도를 향상.
|
|
194
|
+
- **테스트 명령이 없을 때의 증거 규율**: `verification-before-completion`에 "When There Is No Test Command" 섹션 추가. 보고서, 연구, 감사, 서신 작업은 산출물을 다시 열어 증명 가능한 것을 증명하고 미완료 항목을 명시해야 하며, "완전함"만 주장할 수 있고 "정확함"은 주장할 수 없음.
|
|
195
|
+
- **브레인스토밍 의도 게이트**: "Establish Shared Understanding"(의도 탐색 → 이해 되쓰기 → 설계 반영) 신설 및 HARD-GATE를 경로별 전제 조건 목록으로 재작성. 한 번의 승인을 나머지 단계 생략 허가로 해석하는 것을 금지.
|
|
196
|
+
- **플래닝 핸드오프 리뷰**: brainstorming의 스펙 셀프 리뷰를 0.0–9.9 평가 + burden ledger + 단일 유계 개선 패스 + 읽기 전용 재평가로 승격. 실패 시 초안을 복원하는 안전 규칙 포함.
|
|
197
|
+
- **저장된 계획 검토 및 상황별 핸드오프**: `writing-plans`는 실행 전에 사람이 저장된 계획을 검토하도록 요구하며, 실행 방식이 지정되지 않은 경우 고정 기본값 대신 이 계획에 맞는 추천을 제시.
|
|
198
|
+
- **계획 체크박스 기록**: `executing-plans`와 `subagent-driven-development`가 완료 메시지와 동시에 계획 파일의 단계를 체크.
|
|
199
|
+
- **원격 안전 경계**: `using-git-worktrees`는 공유 ref에서 분기할 때 `--no-track`을 필수로 요구하고 `git branch -vv` 추적 점검(첫 커밋 전 `--unset-upstream`)을 수행한다. `executing-plans`는 커밋을 로컬로 유지하고 공유 브랜치 재작성을 금지하며, implementer는 작업 중 push 요구를 BLOCKED로 컨트롤러에 보고한다.
|
|
200
|
+
- **Discoveries 원장**: SDD 진행 원장에 `## Discoveries` 섹션을 추가하여 태스크 간 발견이 compaction을 넘어 다음 디스패치의 인터페이스 조항으로 이어진다.
|
|
201
|
+
- **보류 발견 내보내기**: 플랜 워크스페이스 삭제 전에 `Ruling:`/`minor (deferred)`/`parked` 줄을 PR의 "Deferred items" 체크리스트 또는 커밋된 `docs/superpowers/follow-ups/<plan>.md`로 내보낸다.
|
|
202
|
+
- **Greenfield SDD 스크립트**: 리포지토리가 아직 없으면 `sdd-workspace`가 현재 디렉터리로 폴백하고(`.ps1` 동일), `review-package`는 비리포지토리 환경에서 실행 가능한 오류를 반환한다.
|
|
203
|
+
- **TDD 특성화 가드**: 동작 보존 리팩터링을 위한 5단계 절차(변이 → 실패 확인 → VCS 복원 → 그린 유지)를 추가하고 경계·변이 점검 섹션에서 상호 참조한다.
|
|
204
|
+
- **업스트림 콘텐츠 동기화 — 배치 4**: brainstorm 시작 스크립트가 `BRAINSTORM_HOST`/`BRAINSTORM_URL_HOST`에서 호스트 기본값을 가져오고(`--host`/`--url-host` 우선), `writing-skills`에 콘텐츠 이동 시 링크 재해석 절차를 추가했으며, SDD 리뷰어가 전체 보고서를 `…/task-N-review.md`에 쓰고 15줄 미만 요약만 반환합니다 — MCP에 `review_file` 인자(요청 경로가 정규화 후 보고서나 brief 파일과 일치하면 파생된 `-review.md`로 대체)와 `[FIX_BASE_SHA]`를 실제로 치환하는 `fix_base_sha` 별칭을 추가.
|
|
205
|
+
- **업스트림 드리프트 리포트**: `npm run drift`가 커밋된 베이스라인과 `obra/superpowers`를 비교해 채택된 파일 변경, 로컬에 없는 가져오기, 포크 전용 추가를 나열합니다. `npm run drift:record -- --ignore <skill>`로 검토된 동기화 후 갱신하며, 쓰기 전에 잘린 API tree를 거부합니다.
|
|
206
|
+
- **MCP 표면 커버리지 테스트**: 디스크의 모든 스킬은 자신의 콘텐츠를 제공하는 MCP 리소스로 노출되어야 하며, 프롬프트 목록은 4개 README와 정확히 일치해야 합니다.
|
|
207
|
+
- **MCP 설명 정합성**: 업스트림의 이스케이프 따옴표 형식을 인용 없는 YAML plain scalar로 적응하여 `SkillsManager`가 MCP로 리터럴 백슬래시를 내보내지 않도록 함.
|
|
208
|
+
- **회귀 가드**: `tests/upstream_sync_test.js`를 배치 1~4를 포괄하는 22개 라벨 체크로 확장. 전체 스위트 통과(npm 8개 스위트 139개 체크, PowerShell 90개 어서션, SDD 16 + 호스트 기본 11 + render-graph 8개 bash 어서션).
|
|
209
|
+
- **릴리스 준비 강화**: Bash와 PowerShell brainstorm host 테스트가 background 모드를 명시적으로 강제하여 전체 264개 검증이 `CODEX_CI=1`에서도 완료됩니다. `package-lock.json`을 v6.3.7 및 Node `>=18`과 동기화하고 npm repository와 CLI `bin` 메타데이터를 정규화했으며, `npm publish --dry-run`과 패키지 설치 smoke test로 검증했습니다.
|
|
210
|
+
|
|
211
|
+
### v6.3.6
|
|
179
212
|
|
|
180
213
|
- **극한의 성능 최적화 (2배~8.1배 가속)**:
|
|
181
214
|
- **스킬 병렬 인덱싱 및 사전 캐싱**: `SkillsManager.listSkills`를 비동기 병렬 디렉토리 탐색(`Promise.all`)과 루트 경로 사전 확인 캐싱으로 업그레이드하여 콜드 스타트 인덱싱 지연 시간을 4.79ms에서 2.35ms로 단축(**2.04배 속도 향상**).
|
|
@@ -195,60 +228,6 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
195
228
|
- **다국어 문서 동기화**:
|
|
196
229
|
- 모든 언어의 README([`README.md`](README.md), [`README.zh-TW.md`](README.zh-TW.md), [`README.ja.md`](README.ja.md), [`README.ko.md`](README.ko.md))에서 지원 환경 목록, 성능 지표, 원클릭 명령 표 동기화.
|
|
197
230
|
|
|
198
|
-
### v6.3.5
|
|
199
|
-
|
|
200
|
-
- **7개 신규 AI 에이전트 및 편집기 환경 원클릭 설치 지원 (`src/setup-runner.ts`, `scripts/install.sh`)**:
|
|
201
|
-
- 구성 엔진을 확장하여 총 15개 AI 개발 환경 지원:
|
|
202
|
-
- **GitHub Copilot (VS Code Insiders)**: `Code - Insiders/User/mcp.json` (안정 버전 VS Code와의 충돌을 원천 방지하는 독립 물리 경로 격리, 별칭: `copilot-insiders`, `vscode-insiders`, `code-insiders`, `insiders`, `insider`)
|
|
203
|
-
- **QwenPaw (개인 AI 어시스턴트 워크스테이션)**: `~/.qwenpaw/config.json` (`copaw` 호환, 별칭: `qwenpaw`, `copaw`)
|
|
204
|
-
- **Cline (VS Code / CLI)**: `.../saoudrizwan.claude-dev/settings/cline_mcp_settings.json` (별칭: `cline`, `claude-dev`)
|
|
205
|
-
- **Kilo Code**: `~/.config/kilo/kilo.jsonc` (적응형 `"mcp"` 루트 사양, 별칭: `kilo`, `kilocode`)
|
|
206
|
-
- **Qoder**: `~/.qoder/settings.json` (별칭: `qoder`)
|
|
207
|
-
- **Kiro**: `~/.kiro/settings/mcp.json` (별칭: `kiro`, `kiro-code`)
|
|
208
|
-
- **Trae**: `.../Trae/User/mcp.json` (macOS, Windows, Linux 및 Trae CN 크로스 플랫폼 지원)
|
|
209
|
-
- Kilo Code 고유의 딕셔너리 구조를 수용하는 `"json-mcp"` 형식 유형 추가.
|
|
210
|
-
- `runSetup`을 통해 `harness.defaultConfig`로부터 템플릿을 주입하여 Single Source of Truth (SSOT) 확립.
|
|
211
|
-
- **듀얼 Subagent 아키텍처 및 품질 코드 리뷰 (Code Review)**:
|
|
212
|
-
- '아키텍처 및 보안 검토자'와 '품질 및 엣지 케이스 검토자' 2개의 전문 에이전트로 리뷰 수행.
|
|
213
|
-
- 원자적 쓰기(`crypto.randomBytes(8)` + `flag: "wx"`), 심볼릭 링크 방어, 최소 권한(`0o700`/`0o600`), 기본 디스크 무오염 원칙 검증 완료.
|
|
214
|
-
- 프로젝트 전반의 보안 감사를 완료하고 [`SECURITY.md`](SECURITY.md) 갱신(173개 자동화 어서션 100% 통과).
|
|
215
|
-
- **테스트 스위트 대폭 확장 (`tests/setup_test.js`)**:
|
|
216
|
-
- 단위 테스트를 21개에서 32개로 확장(100% 통과). Claude Desktop, Kimi Work, Hermes Desktop에 대한 엔드투엔드 샌드박스 테스트 및 별칭 검증 완료.
|
|
217
|
-
|
|
218
|
-
### v6.3.4
|
|
219
|
-
|
|
220
|
-
- **Universal One-Click 글로벌 설정 엔진 (`src/setup-runner.ts`, `scripts/`)**:
|
|
221
|
-
- 8대 주요 AI 개발 환경(Antigravity, Pi Desktop / Pi Agent, Cursor, GitHub Copilot (VS Code), Hermes Desktop / Agent, Kimi Work / Kimi Code, Claude Desktop, Devin Desktop)에 대한 무의존성 원클릭 자동 구성 지원.
|
|
222
|
-
- CLI 명령어 `superpowers-setup` 및 `superpowers-mcp setup`을 제공하며, 크로스 플랫폼 설치 스크립트([`install.sh`](scripts/install.sh) 및 [`install.ps1`](scripts/install.ps1)) 개발.
|
|
223
|
-
- **명시적 동의 및 안티바이러스 설계 (Explicit Consent & Anti-Virus Design)**: `--target <client>`를 필수로 요구하여 무단 디스크 스캔 및 전체 환경 임의 수정을 원천 차단(`--all` 제거).
|
|
224
|
-
- **원자적 쓰기 방어 (`safeWriteConfig`)**: 무작위 8바이트 nonce 임시 파일, `flag: "wx"`, `renameSync`를 통한 원자적 조작으로 파일 충돌 및 손상 방지.
|
|
225
|
-
- **심볼릭 링크 보호 및 최소 권한**: `realpathSync`로 링크 대상을 안전하게 확인하며, 새 디렉토리는 `0o700`, 설정 파일은 `0o600`으로 제한하고 백업 파일은 원본 권한을 보존.
|
|
226
|
-
- **매개변수 인젝션 방어 및 JSONC 파싱**: `JSON.stringify`를 통한 안전한 이스케이프, 주석/후행 쉼표 허용 및 `isPlainObject` 프로토타입 오염 방어.
|
|
227
|
-
- **CLI Stdio 격리**: `src/server.ts`에서 setup 인자를 사전 분기하여 MCP Stdio 프로토콜 오염 방지.
|
|
228
|
-
- **자동화 테스트 스위트**: [`tests/setup_test.js`](tests/setup_test.js) 추가(21개 테스트 100% 통과).
|
|
229
|
-
- **Skill Compositions 스킬 구성 및 엔드투엔드 파이프라인 (`src/server.ts`, `docs/`)**:
|
|
230
|
-
- 3개의 새로운 MCP 워크플로우 프롬프트 추가: `feature-pipeline`, `structured-debug`, `skill-composition`.
|
|
231
|
-
- 4개 국어 현지화 가이드([`docs/skill-compositions.ko.md`](docs/skill-compositions.ko.md)), 가로형 Mermaid 플로우차트 및 ASCII 워크플로우 다이어그램 추가.
|
|
232
|
-
- [`skills/using-superpowers/SKILL.md`](skills/using-superpowers/SKILL.md) 및 [`skills/writing-plans/SKILL.md`](skills/writing-plans/SKILL.md)에 `Recommended Skill` 메타데이터 표준 및 컨트롤러-서브에이전트 간 프로토콜 추가.
|
|
233
|
-
- [`tests/prompts_compositions_test.js`](tests/prompts_compositions_test.js) 추가(7개 테스트 100% 통과).
|
|
234
|
-
- **프롬프트 보안 강화 및 라이프사이클 완성 (`src/server.ts`)**:
|
|
235
|
-
- `interpolateTemplate`을 단일 패스 정규식 치환으로 업그레이드하여 연쇄적 플레이스홀더 인젝션 위험 제거.
|
|
236
|
-
- 전체 9개 프롬프트에 32 KB 길이 제한 및 `hasOwnProperty` 검증 적용.
|
|
237
|
-
- `structured-debug`에 Stage 6(리뷰 조치) 및 Stage 7(브랜치 정리/마무리) 추가.
|
|
238
|
-
- **포괄적 보안 감사 및 검증**:
|
|
239
|
-
- `npm audit` 취약점 0건 확인, 전체 5대 테스트 스위트(100+ 어서션) 100% 통과, [`SECURITY.md`](SECURITY.md) 갱신.
|
|
240
|
-
|
|
241
|
-
### v6.3.3
|
|
242
|
-
|
|
243
|
-
- **MCP 표준 프롬프트 지원 (`src/server.ts`)**:
|
|
244
|
-
- 표준 프롬프트 핸들러를 구현하여 IDE 프롬프트 선택기에서 사용할 수 있는 6개의 프롬프트(`session-start`, `sdd-implementer`, `sdd-task-reviewer`, `sdd-re-review`, `spec-reviewer`, `plan-reviewer`) 등록.
|
|
245
|
-
- **멀티 하네스 참조 매핑**:
|
|
246
|
-
- Devin CLI([`references/devin-tools.md`](skills/using-superpowers/references/devin-tools.md)) 및 OpenCode([`references/opencode-tools.md`](skills/using-superpowers/references/opencode-tools.md))용 네이티브 도구 매핑 추가.
|
|
247
|
-
- **다국어 문서 동기화**:
|
|
248
|
-
- 모든 언어의 README에서 MCP 기능 지원 표(Tools / Prompts / Resources) 및 멀티 하네스 지원 매트릭스 통일.
|
|
249
|
-
- **테스트 스위트 확장**:
|
|
250
|
-
- `prompts/list` 및 `prompts/get` 매개변수 주입에 대한 자동화 테스트 어서션 추가.
|
|
251
|
-
|
|
252
231
|
👉 *이전 버전의 전체 릴리스 내역은 [CHANGELOG.md](CHANGELOG.md)를 참조하세요.*
|
|
253
232
|
|
|
254
233
|
---
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
This document summarizes the information and usage instructions for packaging the Superpowers skills and autonomous workflow system into an independent, high-performance, and secure **Model Context Protocol (MCP)** server.
|
|
@@ -173,9 +173,42 @@ To help you choose the right skill, we have structured all 14 skills across the
|
|
|
173
173
|
|
|
174
174
|
---
|
|
175
175
|
|
|
176
|
+
## 🔧 Keeping Up with Upstream
|
|
177
|
+
|
|
178
|
+
This fork imports the upstream [`obra/superpowers`](https://github.com/obra/superpowers) skill content through reviewed batches. The upstream blob SHAs captured at the last sync live in [`tests/upstream-sync-baseline.json`](tests/upstream-sync-baseline.json).
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
npm run drift # compare the baseline against upstream and list what moved
|
|
182
|
+
npm run drift:record # refresh the baseline after a reviewed sync
|
|
183
|
+
node scripts/upstream-drift.js # offline: baseline integrity + local coverage
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
The report separates files that changed upstream, upstream additions and removals, tracked files missing from this fork, and fork-only additions. An upstream skill this fork deliberately does not adopt is reported as a decision rather than drift, and is recorded with `npm run drift:record -- --ignore <skill>`. `npm test` fails when an imported upstream file is deleted or when a shipped skill loses its upstream lineage. Report mode marks a truncated GitHub tree as partial and suppresses `--fail-on-drift`; record mode refuses that response entirely so an incomplete listing cannot overwrite the last complete baseline.
|
|
187
|
+
|
|
176
188
|
## 🆕 Recent Updates
|
|
177
189
|
|
|
178
|
-
### v6.3.
|
|
190
|
+
### v6.3.7 (Latest)
|
|
191
|
+
|
|
192
|
+
- **Upstream Sync — Batches 1–3 (obra/superpowers)**:
|
|
193
|
+
- **Automatic Skill Routing**: `systematic-debugging` and `test-driven-development` descriptions now name their typed trigger phrases (`"tdd"`, `"systematic debug"`, …) and cross-route to the sibling skill, improving skill selection inside MCP clients.
|
|
194
|
+
- **Evidence Without a Test Command**: `verification-before-completion` gains the "When There Is No Test Command" section — for reports, research, audits, and correspondence, re-open the artifact, prove what can be proven, and account for every part of the request while claiming *complete*, never *right*.
|
|
195
|
+
- **Brainstorming Intent Gates**: new "Establish Shared Understanding" step (discover intent, write back your understanding, carry it into the design) plus a rewritten HARD-GATE that lists each path's prerequisites and refuses to treat one approval as permission to skip the rest.
|
|
196
|
+
- **Planning-Handoff Review**: brainstorming's spec self-review becomes a scored handoff review (0.0–9.9 readiness, burden ledger, one bounded improvement pass, read-only reassessment) with a fail-safe restore rule.
|
|
197
|
+
- **Saved-Plan Review & Contextual Handoff**: `writing-plans` now requires the human to review the saved plan before execution and, when no method was supplied, a plan-specific execution recommendation instead of a hardcoded default.
|
|
198
|
+
- **Plan Checkbox Bookkeeping**: `executing-plans` and `subagent-driven-development` tick the plan file's steps in the same message as the completion bookkeeping.
|
|
199
|
+
- **Remote-Safety Boundary**: `using-git-worktrees` requires `--no-track` plus a `git branch -vv` tracking check (`--unset-upstream` before the first commit); `executing-plans` keeps commits local and forbids rewriting shared branches; implementers report any mid-task push demand as BLOCKED instead of pushing.
|
|
200
|
+
- **Discoveries Ledger**: SDD's progress ledger gains a `## Discoveries` section so cross-task findings survive compaction and feed the next dispatch's interface clauses.
|
|
201
|
+
- **Deferred Findings Export**: before a plan workspace is deleted, `Ruling:` / `minor (deferred)` / `parked` lines are exported to a PR "Deferred items" checklist or a committed `docs/superpowers/follow-ups/<plan>.md`.
|
|
202
|
+
- **Greenfield SDD Scripts**: `sdd-workspace` falls back to the current directory before a repo exists (matching `.ps1` behavior), while `review-package` refuses actionably outside a repo.
|
|
203
|
+
- **TDD Characterization Guard**: a five-step procedure for behavior-preserving refactors — mutate, verify failure, restore via VCS, stay green — referenced from the boundary and mutation-check sections.
|
|
204
|
+
- **Upstream Content Sync — Batch 4**: the brainstorm start script takes its hosts from `BRAINSTORM_HOST`/`BRAINSTORM_URL_HOST` (`--host`/`--url-host` still win), `writing-skills` gained moved-content link re-resolution, and SDD reviewers now write their full report to `…/task-N-review.md` and return under 15 lines — exposed over MCP as the new `review_file` argument (replaced by the derived `-review.md` sibling when the requested path normalises to the report or brief file), plus the `fix_base_sha` alias that finally feeds `[FIX_BASE_SHA]`.
|
|
205
|
+
- **Upstream Drift Report**: `npm run drift` compares the committed upstream baseline against `obra/superpowers` and lists adopted files that moved, imports missing locally, and fork-only additions; `npm run drift:record -- --ignore <skill>` refreshes it after a reviewed sync and refuses truncated API trees before writing.
|
|
206
|
+
- **MCP Surface Coverage Test**: every skill on disk must be an exposed MCP resource serving its own content, and the prompt inventory must match all four READMEs exactly.
|
|
207
|
+
- **MCP Description Fidelity**: upstream's escaped-quote descriptions were adapted to unquoted YAML plain scalars so the `SkillsManager` parser never emits literal backslashes over MCP.
|
|
208
|
+
- **Regression Guards**: `tests/upstream_sync_test.js` now carries 22 labeled checks covering Batches 1–4; full suite green (139 npm checkmarks across 8 suites, 90 PowerShell assertions, 16 SDD + 11 host-default + 8 render-graph bash assertions).
|
|
209
|
+
- **Release-Readiness Hardening**: Bash and PowerShell brainstorm host tests explicitly force background mode, so the full 264-assertion matrix also completes under `CODEX_CI=1`; `package-lock.json` now matches v6.3.7 and Node `>=18`; npm repository and CLI `bin` metadata are normalized and verified through `npm publish --dry-run` plus a packed-install smoke test.
|
|
210
|
+
|
|
211
|
+
### v6.3.6
|
|
179
212
|
|
|
180
213
|
- **Extreme Performance Optimization (2x~8.1x Speedup)**:
|
|
181
214
|
- **Parallel Skill Discovery**: Upgraded `SkillsManager.listSkills` to concurrent asynchronous directory traversal (`Promise.all`) combined with pre-resolved root path caching, cutting cold-start skill indexing latency from 4.79ms to 2.35ms (**2.04x speedup**).
|
|
@@ -195,60 +228,6 @@ To help you choose the right skill, we have structured all 14 skills across the
|
|
|
195
228
|
- **Multilingual Documentation Alignment**:
|
|
196
229
|
- Synchronized supported harness directories, performance metrics, and one-click commands across all 4 localized READMEs ([`README.md`](README.md), [`README.zh-TW.md`](README.zh-TW.md), [`README.ja.md`](README.ja.md), [`README.ko.md`](README.ko.md)).
|
|
197
230
|
|
|
198
|
-
### v6.3.5
|
|
199
|
-
|
|
200
|
-
- **7 New AI Agent & Editor Harnesses Support (`src/setup-runner.ts`, `scripts/install.sh`)**:
|
|
201
|
-
- Expanded universal one-click setup engine to support 7 additional AI developer platforms, bringing total coverage to 15 major AI environments:
|
|
202
|
-
- **GitHub Copilot (VS Code Insiders)** (`Code - Insiders/User/mcp.json`, strictly isolated physical configuration path preventing collisions with Stable VS Code, aliases: `copilot-insiders`, `vscode-insiders`, `code-insiders`, `insiders`, `insider`)
|
|
203
|
-
- **QwenPaw** (`~/.qwenpaw/config.json`, backward-compatible with `copaw`)
|
|
204
|
-
- **Cline** (`.../saoudrizwan.claude-dev/settings/cline_mcp_settings.json`, aliases: `cline`, `claude-dev`)
|
|
205
|
-
- **Kilo Code** (`~/.config/kilo/kilo.jsonc` with adaptive `"mcp"` root and array-based command schema, aliases: `kilo`, `kilocode`, `kilo-code`)
|
|
206
|
-
- **Qoder** (`~/.qoder/settings.json`, alias: `qoder`)
|
|
207
|
-
- **Kiro** (`~/.kiro/settings/mcp.json`, aliases: `kiro`, `kiro-code`)
|
|
208
|
-
- **Trae** (`.../Trae/User/mcp.json`, cross-platform support for macOS, Windows, Linux, and Trae CN)
|
|
209
|
-
- Added `"json-mcp"` schema format type to dynamically handle Kilo Code's unique dictionary structure.
|
|
210
|
-
- Enforced Single Source of Truth (SSOT) by wiring `harness.defaultConfig(cmd, args)` directly through `runSetup` into `updateJsonConfig`.
|
|
211
|
-
- **Dual-Subagent Architectural & Code Quality Review**:
|
|
212
|
-
- Dispatched specialized Architectural & Security Reviewer and Quality & Edge-Case Reviewer subagents.
|
|
213
|
-
- Verified atomic writes (`crypto.randomBytes(8)` + `flag: "wx"`), symlink containment, least-privilege permissions (`0o700`/`0o600`), and zero-pollution disk defaults across all 15 harnesses.
|
|
214
|
-
- Completed comprehensive project-wide security review with 173 automated regression test assertions.
|
|
215
|
-
- **Automated Test Suite Expansion (`tests/setup_test.js`)**:
|
|
216
|
-
- Expanded setup regression tests from 21 to 32 tests (100% pass rate), adding end-to-end sandbox creation, aliases, and update assertions for Claude Desktop, Kimi Work, and Hermes Desktop.
|
|
217
|
-
|
|
218
|
-
### v6.3.4
|
|
219
|
-
|
|
220
|
-
- **Universal One-Click Global Setup Engine (`src/setup-runner.ts`, `scripts/`)**:
|
|
221
|
-
- One-click zero-dependency configuration for 8 major AI environments: Antigravity, Pi Desktop / Pi Agent, Cursor, GitHub Copilot (VS Code), Hermes Desktop / Agent, Kimi Work / Kimi Code, Claude Desktop, and Devin Desktop.
|
|
222
|
-
- Added CLI executables `superpowers-setup` and `superpowers-mcp setup` with cross-platform installers ([`install.sh`](scripts/install.sh) and [`install.ps1`](scripts/install.ps1)).
|
|
223
|
-
- **Explicit Consent & Anti-Virus Design**: Mandated explicit `--target <client>` requirement, completely eliminating unprompted bulk disk scanning or blind crawling (`--all` removed).
|
|
224
|
-
- **Atomic File Operations & Race Defense (`safeWriteConfig`)**: Implemented non-destructive atomic writes via temporary files with process IDs and cryptographically random 8-byte nonces (`crypto.randomBytes(8)`), exclusive creation (`wx`), and atomic `renameSync`.
|
|
225
|
-
- **Symlink Preservation & Permissions**: Preserves symlink destinations with `realpathSync`, restricts created directories to `0o700` and config files to `0o600`.
|
|
226
|
-
- **Injection Defense & JSONC Parsing**: Parameter escaping via `JSON.stringify`, JSONC comment tolerance, and `isPlainObject` prototype pollution defense.
|
|
227
|
-
- **CLI Transport Stdio Isolation**: Front-intercepts setup CLI commands in `src/server.ts` before MCP Stdio transport initialization.
|
|
228
|
-
- **Comprehensive Test Suite**: Added [`tests/setup_test.js`](tests/setup_test.js) with 21 unit assertions (100% PASS).
|
|
229
|
-
- **Skill Compositions & End-to-End Orchestration Pipelines (`src/server.ts`, `docs/`)**:
|
|
230
|
-
- Added 3 new MCP workflow prompts: `feature-pipeline`, `structured-debug`, and `skill-composition`.
|
|
231
|
-
- Comprehensive localized documentation in [`docs/skill-compositions.md`](docs/skill-compositions.md) (EN), [`docs/skill-compositions.zh-TW.md`](docs/skill-compositions.zh-TW.md) (ZH-TW), [`docs/skill-compositions.ja.md`](docs/skill-compositions.ja.md) (JA), and [`docs/skill-compositions.ko.md`](docs/skill-compositions.ko.md) (KO) with horizontal Mermaid flowcharts and ASCII workflow diagrams.
|
|
232
|
-
- Enhanced [`skills/using-superpowers/SKILL.md`](skills/using-superpowers/SKILL.md) and [`skills/writing-plans/SKILL.md`](skills/writing-plans/SKILL.md) with `Recommended Skill` task metadata standards and controller-to-subagent dispatch protocols.
|
|
233
|
-
- Added [`tests/prompts_compositions_test.js`](tests/prompts_compositions_test.js) with 7 comprehensive assertions (100% PASS).
|
|
234
|
-
- **Prompts Security Hardening & Lifecycle Fixes (`src/server.ts`)**:
|
|
235
|
-
- Upgraded `interpolateTemplate` to single-pass regex replacement, eliminating cascading placeholder injection risks.
|
|
236
|
-
- Enforced universal `getStringArg` with a 32 KB clamp and `hasOwnProperty` validation across all 9 prompts.
|
|
237
|
-
- Augmented `structured-debug` with Stage 6 (findings resolution via `receiving-code-review`) and Stage 7 (branch finishing and cleanup via `finishing-a-development-branch`).
|
|
238
|
-
- **Full Security Audit & Verification**:
|
|
239
|
-
- Verified 0 vulnerabilities across `npm audit` with exact dependency overrides for `hono`, `@hono/node-server`, `fast-uri`, and `qs`. All 5 test suites (100+ assertions) passing 100%. Updated [`SECURITY.md`](SECURITY.md).
|
|
240
|
-
|
|
241
|
-
### v6.3.3
|
|
242
|
-
|
|
243
|
-
- **MCP Standard Prompts Support (`src/server.ts`)**:
|
|
244
|
-
- Implemented standard prompt handlers, registering 6 prompts (`session-start`, `sdd-implementer`, `sdd-task-reviewer`, `sdd-re-review`, `spec-reviewer`, `plan-reviewer`) for native IDE prompt-picker usage.
|
|
245
|
-
- **Multi-Harness Reference Mappings**:
|
|
246
|
-
- Added platform references for Devin CLI ([`references/devin-tools.md`](skills/using-superpowers/references/devin-tools.md)) and OpenCode ([`references/opencode-tools.md`](skills/using-superpowers/references/opencode-tools.md)).
|
|
247
|
-
- **Multi-Lingual Documentation Alignment**:
|
|
248
|
-
- Aligned MCP capability tables (Tools, Prompts, Resources) and multi-harness matrices across all supported languages.
|
|
249
|
-
- **Test Suite Expansion**:
|
|
250
|
-
- Added automated test assertions for `prompts/list` and `prompts/get` parameter injection.
|
|
251
|
-
|
|
252
231
|
👉 *For the complete release history, see [CHANGELOG.md](CHANGELOG.md).*
|
|
253
232
|
|
|
254
233
|
---
|
package/README.zh-TW.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
本文檔總結了將 Superpowers 技能庫與自主 Agent 工作流架構打包成獨立、高效能且安全加固的 **Model Context Protocol (MCP)** 伺服器之相關資訊與使用說明。
|
|
@@ -173,9 +173,42 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
173
173
|
|
|
174
174
|
---
|
|
175
175
|
|
|
176
|
+
## 🔧 與上游保持同步
|
|
177
|
+
|
|
178
|
+
本 fork 以逐批審閱的方式引進上游 [`obra/superpowers`](https://github.com/obra/superpowers) 的技能內容;最後同步時的上游 blob SHA 記錄在 [`tests/upstream-sync-baseline.json`](tests/upstream-sync-baseline.json)。
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
npm run drift # 對比基線與上游,列出已變動項目
|
|
182
|
+
npm run drift:record # 審閱同步完成後更新基線
|
|
183
|
+
node scripts/upstream-drift.js # 離線:基線完整性 + 本地覆蓋率
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
報告會分別列出:上游變更、上游新增、上游移除、基線追蹤但本地缺漏的檔案,以及 fork 專屬新增。刻意不採用的上游技能會列為「待決策」而非 drift,並可用 `npm run drift:record -- --ignore <skill>` 記錄。當已引進的上游檔案被刪除、或某技能失去上游系譜時,`npm test` 會失敗。若 GitHub tree 回應遭截斷,報告模式會標示結果不完整並停用 `--fail-on-drift`;record 模式則直接拒絕寫入,避免不完整清單覆蓋最後一份完整基線。
|
|
187
|
+
|
|
176
188
|
## 🆕 最近更新
|
|
177
189
|
|
|
178
|
-
### v6.3.
|
|
190
|
+
### v6.3.7 (最新版)
|
|
191
|
+
|
|
192
|
+
- **上游同步 — 第 1–3 批(obra/superpowers)**:
|
|
193
|
+
- **技能自動路由**:`systematic-debugging` 與 `test-driven-development` 的 description 新增觸發詞(`"tdd"`、`"systematic debug"` 等)與兄弟技能交叉導引,提升 MCP 客戶端的技能選擇準確度。
|
|
194
|
+
- **無測試指令的證據律**:`verification-before-completion` 新增「When There Is No Test Command」章節:報告、研究、稽核與書信類工作必須重新開啟成品、逐項證明並誠實列出未完成項,只能宣稱「完整」而非「正確」。
|
|
195
|
+
- **Brainstorming 意圖閘門**:新增「Establish Shared Understanding」(探索意圖 → 回寫理解 → 帶入設計),並重寫 HARD-GATE 明列各路徑前置條件,禁止把單次核准當成跳過後續階段的許可。
|
|
196
|
+
- **規劃交接審查(Planning-Handoff Review)**:brainstorming 的規格自我審查升級為 0.0–9.9 評分 + burden ledger + 單次有界改進 + 唯讀複評,並具備失敗時還原初稿的保底規則。
|
|
197
|
+
- **已存計畫審閱與情境化交接**:`writing-plans` 要求人類先審閱存檔計畫才可執行;未指定執行方式時必須給出針對本計畫的推薦,而非固定預設。
|
|
198
|
+
- **計畫勾選簿記**:`executing-plans` 與 `subagent-driven-development` 在完成訊息中同步勾選計畫檔步驟。
|
|
199
|
+
- **遠端安全邊界**:`using-git-worktrees` 要求從共享 ref 開分支時必須加 `--no-track`,並以 `git branch -vv` 檢查追蹤狀態(首次 commit 前先 `--unset-upstream`);`executing-plans` 要求 commit 保持本地、禁止改寫共享分支;implementer 遇到任何 push 需求一律回報 BLOCKED,不得自行推送。
|
|
200
|
+
- **Discoveries 帳本**:SDD 進度帳本新增 `## Discoveries` 區段,跨任務發現可穿越 compaction,並成為下一次派工介面條款的來源。
|
|
201
|
+
- **延後發現匯出**:刪除計畫工作區前,`Ruling:`/`minor (deferred)`/`parked` 行必須匯出到 PR 的「Deferred items」清單,或提交至 `docs/superpowers/follow-ups/<plan>.md`。
|
|
202
|
+
- **Greenfield SDD Scripts**:repo 尚未建立時 `sdd-workspace` 退回當前目錄(`.ps1` 同步支援),`review-package` 則在非 repo 環境下給出可行動的錯誤。
|
|
203
|
+
- **TDD 特徵化守門**:行為保持型重構的五步程序(先變異、確認失敗、由 VCS 還原、維持綠燈),並從邊界與變異檢查章節交叉引用。
|
|
204
|
+
- **上游內容同步 — 第 4 批**:brainstorm 啟動腳本改由 `BRAINSTORM_HOST`/`BRAINSTORM_URL_HOST` 決定 host(`--host`/`--url-host` 仍優先)、`writing-skills` 新增搬移內容時的連結重解指引,SDD 審查者改為把完整報告寫入 `…/task-N-review.md` 並只回傳少於 15 行摘要 — MCP 端新增 `review_file` 參數(若要求的路徑正規化後等於報告或 brief 檔,改用推導出的 `-review.md`),以及讓 `[FIX_BASE_SHA]` 真正被代入的 `fix_base_sha` 別名。
|
|
205
|
+
- **上游 drift 報告**:`npm run drift` 以已提交的上游基線比對 `obra/superpowers`,列出已採納檔案的變動、本地缺漏的引進檔案與 fork 專屬新增;`npm run drift:record -- --ignore <skill>` 於審閱同步後更新基線,且會在寫入前拒絕遭截斷的 API tree。
|
|
206
|
+
- **MCP 表面覆蓋率測試**:磁碟上的每個 skill 都必須是對外曝露、且讀出內容屬於該 skill 的 MCP resource,prompt 清單必須與 4 個 README 完全一致。
|
|
207
|
+
- **MCP 描述保真**:上游的跳脫引號格式改為未加引號的 YAML plain scalar,確保 `SkillsManager` 經 MCP 輸出時不會出現多餘反斜線。
|
|
208
|
+
- **回歸防護**:`tests/upstream_sync_test.js` 增至 22 項標記檢查(涵蓋第 1–4 批);全測試套件通過(8 個 npm 套件共 139 項檢查、PowerShell 90 項斷言、SDD 16 + host 預設 11 + render-graph 8 項 bash 斷言)。
|
|
209
|
+
- **發佈前強化**:Bash 與 PowerShell 的 brainstorm host 測試明確強制 background 模式,讓完整 264 項驗證在 `CODEX_CI=1` 下也能正常結束;`package-lock.json` 已同步至 v6.3.7 與 Node `>=18`;npm repository 與 CLI `bin` metadata 已正規化,並經 `npm publish --dry-run` 與打包安裝 smoke test 驗證。
|
|
210
|
+
|
|
211
|
+
### v6.3.6
|
|
179
212
|
|
|
180
213
|
- **極致效能躍升優化 (2x~8.1x 加速)**:
|
|
181
214
|
- **並行技能索引與快取前置**:`SkillsManager.listSkills` 升級為非同步並行目錄遍歷 (`Promise.all`) 搭配根目錄預解析快取,冷啟動技能索引延遲由 4.79ms 銳減至 2.35ms(**2.04x 速度提升**)。
|
|
@@ -195,60 +228,6 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
195
228
|
- **多語系文檔全面對齊**:
|
|
196
229
|
- 4 語系 README([`README.md`](README.md)、[`README.zh-TW.md`](README.zh-TW.md)、[`README.ja.md`](README.ja.md)、[`README.ko.md`](README.ko.md))同步支援環境清單、效能指標與一鍵指令表格。
|
|
197
230
|
|
|
198
|
-
### v6.3.5
|
|
199
|
-
|
|
200
|
-
- **新增 7 款主流 AI 開發環境一鍵安裝 (`src/setup-runner.ts`, `scripts/install.sh`)**:
|
|
201
|
-
- 全域配置引擎支援擴充至 15 款 AI Agent 與 IDE 環境:
|
|
202
|
-
- **GitHub Copilot (VS Code Insiders)**:`Code - Insiders/User/mcp.json`(具備實體路徑完全隔離,避免與正式版 VS Code 互相覆寫,別名 `copilot-insiders`, `vscode-insiders`, `code-insiders`, `insiders`, `insider`)
|
|
203
|
-
- **QwenPaw (個人 AI 助理工作站)**:`~/.qwenpaw/config.json`(相容舊版 `~/.copaw/config.json`,別名 `qwenpaw`, `copaw`)
|
|
204
|
-
- **Cline (VS Code / CLI)**:`.../saoudrizwan.claude-dev/settings/cline_mcp_settings.json`(別名 `cline`, `claude-dev`)
|
|
205
|
-
- **Kilo Code**:`~/.config/kilo/kilo.jsonc`(自適應 `"mcp"` root 與陣列 command 規格,別名 `kilo`, `kilocode`)
|
|
206
|
-
- **Qoder**:`~/.qoder/settings.json`(別名 `qoder`)
|
|
207
|
-
- **Kiro**:`~/.kiro/settings/mcp.json`(別名 `kiro`, `kiro-code`)
|
|
208
|
-
- **Trae**:`.../Trae/User/mcp.json`(跨平台支援 macOS、Windows、Linux 與 Trae CN)
|
|
209
|
-
- 新增 `"json-mcp"` 設定格式型別,精確相容 Kilo Code 特有字典規格。
|
|
210
|
-
- 落實 Single Source of Truth (SSOT),全面由 `runSetup` 透過 `harness.defaultConfig` 動態注入設定範本。
|
|
211
|
-
- **雙子 Subagent 架構與安全品質審查 (Code Review)**:
|
|
212
|
-
- 派出專職「架構與安全性審查員」與「代碼品質與邊界審查員」雙代理審查。
|
|
213
|
-
- 全數驗證原子置換(`crypto.randomBytes(8)` + `flag: "wx"`)、Symlink 邊界防禦、最小目錄權限 `0o700` / 檔案權限 `0o600`,以及全環境預設零磁碟污染原則。
|
|
214
|
-
- 完成專案全面安全掃描與審計,更新 [`SECURITY.md`](SECURITY.md)(173 項自動化回歸斷言 100% 通過)。
|
|
215
|
-
- **自動化測試套件擴充 (`tests/setup_test.js`)**:
|
|
216
|
-
- 單元測試由 21 項大幅擴增至 32 項(100% 通過),補齊 Claude Desktop、Kimi Work 與 Hermes Desktop 的端到端沙盒測試與別名驗證。
|
|
217
|
-
|
|
218
|
-
### v6.3.4
|
|
219
|
-
|
|
220
|
-
- **Universal One-Click 全域安裝引擎 (`src/setup-runner.ts`, `scripts/`)**:
|
|
221
|
-
- 支援 8 大主流 AI 開發環境的一鍵零依賴配置:Antigravity、Pi Desktop / Pi Agent、Cursor、GitHub Copilot (VS Code)、Hermes Desktop / Agent、Kimi Work / Kimi Code、Claude Desktop 與 Devin Desktop。
|
|
222
|
-
- 提供 CLI 執行指令 `superpowers-setup` 與 `superpowers-mcp setup`,並提供跨平台一鍵安裝腳本([`install.sh`](scripts/install.sh) 與 [`install.ps1`](scripts/install.ps1))。
|
|
223
|
-
- **明確同意與反病毒架構 (Explicit Consent & Anti-Virus Design)**:嚴格要求 `--target <client>`,徹底廢除無授權的磁碟盲目掃描與全盤修改(移除 `--all`)。
|
|
224
|
-
- **原子寫入防護 (`safeWriteConfig`)**:採用隨機 8-byte nonce 暫存檔、`flag: "wx"` 獨占建立與 `renameSync` 原子更名,消除並發競爭與半寫入檔案損毀。
|
|
225
|
-
- **符號連結保護與最小權限**:`realpathSync` 解析目標真實路徑,新目錄嚴格限制 `0o700`、檔案設為 `0o600`,備份檔繼承原始權限。
|
|
226
|
-
- **注入防護與 JSONC 解析**:所有參數經 `JSON.stringify` 轉譯,JSONC 支援註解/尾隨逗號容錯,並以 `isPlainObject` 防禦 Prototype Pollution 原型鏈攻擊。
|
|
227
|
-
- **CLI 傳輸隔離**:於 `src/server.ts` 入口前置分流 setup 參數,避免與 MCP Stdio 通訊協定衝突造成輸出污染。
|
|
228
|
-
- **完整測試套件**:新增 [`tests/setup_test.js`](tests/setup_test.js)(21 項測試 100% 通過)。
|
|
229
|
-
- **Skill Compositions 技能組合與端到端 Pipeline (`src/server.ts`, `docs/`)**:
|
|
230
|
-
- 新增 3 組全新 MCP 工作流 Prompts:`feature-pipeline`、`structured-debug` 與 `skill-composition`。
|
|
231
|
-
- 建立 4 語系在地化完整指南([`docs/skill-compositions.zh-TW.md`](docs/skill-compositions.zh-TW.md)),納入橫向 Mermaid 流程圖與 ASCII 流程指引。
|
|
232
|
-
- 強化 [`skills/using-superpowers/SKILL.md`](skills/using-superpowers/SKILL.md) 與 [`skills/writing-plans/SKILL.md`](skills/writing-plans/SKILL.md) 之 `Recommended Skill` 標籤與控制器調度協議。
|
|
233
|
-
- 新增 [`tests/prompts_compositions_test.js`](tests/prompts_compositions_test.js)(7 項測試 100% 通過)。
|
|
234
|
-
- **Prompts 安全加固與生命週期修復 (`src/server.ts`)**:
|
|
235
|
-
- 升級 `interpolateTemplate` 為單趟統一正則替換,消除二級模板階層展開注入漏洞。
|
|
236
|
-
- 全面普及 `getStringArg` 32 KB 長度截斷與 `hasOwnProperty` 安全檢查。
|
|
237
|
-
- `structured-debug` 補齊 Stage 6(審查意見修復)與 Stage 7(分支清理與收尾)。
|
|
238
|
-
- **全面安全性審計與驗證**:
|
|
239
|
-
- `npm audit` 報告 0 漏洞,精確鎖定 `hono`、`@hono/node-server`、`fast-uri` 與 `qs`;全專案 5 大測試套件(100+ 項斷言)100% 通過;同步更新 [`SECURITY.md`](SECURITY.md)。
|
|
240
|
-
|
|
241
|
-
### v6.3.3
|
|
242
|
-
|
|
243
|
-
- **MCP 標準 Prompts 支援 (`src/server.ts`)**:
|
|
244
|
-
- 實作標準 Prompt 處理常式,註冊 6 組常用 Prompts(`session-start`、`sdd-implementer`、`sdd-task-reviewer`、`sdd-re-review`、`spec-reviewer`、`plan-reviewer`),可直接於 IDE Prompt Picker 中選用。
|
|
245
|
-
- **多 Harness 參考對應表**:
|
|
246
|
-
- 新增 Devin CLI([`references/devin-tools.md`](skills/using-superpowers/references/devin-tools.md))與 OpenCode([`references/opencode-tools.md`](skills/using-superpowers/references/opencode-tools.md))之原生工具對應。
|
|
247
|
-
- **多語言文檔對齊**:
|
|
248
|
-
- 統一各語言 README 中的 MCP 功能支援表(Tools / Prompts / Resources)與多 Harness 支援矩陣。
|
|
249
|
-
- **測試套件擴充**:
|
|
250
|
-
- 新增 `prompts/list` 與 `prompts/get` 參數注入的自動化測試斷言。
|
|
251
|
-
|
|
252
231
|
👉 *更多歷史版本更新紀錄,請參閱完整的 [CHANGELOG.md](CHANGELOG.md)。*
|
|
253
232
|
|
|
254
233
|
---
|