@autodevjapan/godd-mcp-alpha 1.25.20 → 1.26.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/README.md +36 -0
- package/dist/godd.cjs +312 -40289
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,6 +57,17 @@ After installation, restart Cursor IDE and the GoDD MCP α server will start aut
|
|
|
57
57
|
|
|
58
58
|
**Option 2 — Natural language in Agent mode:** In Cursor's Agent mode, you can ask the AI in plain language (e.g., "run dev", "do a review") and the AI will automatically detect and call the appropriate GoDD tool.
|
|
59
59
|
|
|
60
|
+
### Token Efficiency
|
|
61
|
+
|
|
62
|
+
GoDD MCP delivers prompts **on demand** — only the prompt you call is sent to the AI's context. This is fundamentally different from Cursor Rules, which loads all rules into every conversation from the start.
|
|
63
|
+
|
|
64
|
+
| Approach | How it works | Token cost per call |
|
|
65
|
+
|---|---|---|
|
|
66
|
+
| **Cursor Rules** | All rules always in context | ~80,000 tokens × every chat |
|
|
67
|
+
| **GoDD MCP** | Only the called prompt, when called | ~2,000–5,000 tokens per call |
|
|
68
|
+
|
|
69
|
+
Use `/metrics` at any time during a session to see your actual token usage and estimated savings vs. the Cursor Rules baseline.
|
|
70
|
+
|
|
60
71
|
### GoDD Prompts
|
|
61
72
|
|
|
62
73
|
Available GoDD prompts (MCP tools) in Cursor IDE:
|
|
@@ -86,6 +97,7 @@ Available GoDD prompts (MCP tools) in Cursor IDE:
|
|
|
86
97
|
| `diagram` | Auto-update architecture diagrams (maintain living Mermaid docs in sync with code) |
|
|
87
98
|
| `slide` | Generate presentation slides from project docs (Marp Markdown format) |
|
|
88
99
|
| `design` | Generate/update visual designs from codebase (Pencil.dev sync) |
|
|
100
|
+
| `metrics` | Token efficiency report — show prompt tokens delivered this session vs. always-on Cursor Rules baseline |
|
|
89
101
|
|
|
90
102
|
### CLI Commands
|
|
91
103
|
|
|
@@ -201,6 +213,17 @@ godd-a init --auto
|
|
|
201
213
|
|
|
202
214
|
**方法 2 — Agent モードでの自然言語指示:** Cursor の Agent モードでは、自然言語で指示するだけで AI が適切な GoDD ツールを自動的に検出して呼び出します(例:「dev して」「レビューして」)。
|
|
203
215
|
|
|
216
|
+
### トークン効率
|
|
217
|
+
|
|
218
|
+
GoDD MCP はプロンプトを**オンデマンドで配信**します。呼び出したプロンプトだけが AI のコンテキストに送られます。全ルールを毎会話の開始から常時コンテキストに含める Cursor Rules とは根本的に異なります。
|
|
219
|
+
|
|
220
|
+
| 方式 | 仕組み | 1回あたりのトークンコスト |
|
|
221
|
+
|---|---|---|
|
|
222
|
+
| **Cursor Rules** | 全ルールを常時コンテキストに含む | ~80,000 tokens × 毎会話 |
|
|
223
|
+
| **GoDD MCP** | 呼び出したプロンプトだけを必要なときに配信 | ~2,000〜5,000 tokens / 呼び出し |
|
|
224
|
+
|
|
225
|
+
セッション中いつでも `/metrics` を実行すると、実際のトークン使用量と Cursor Rules 方式との節約推定値を確認できます。
|
|
226
|
+
|
|
204
227
|
### GoDD プロンプト一覧
|
|
205
228
|
|
|
206
229
|
Cursor IDE 上で利用できる GoDD プロンプト(MCP ツール)の一覧です。
|
|
@@ -230,6 +253,7 @@ Cursor IDE 上で利用できる GoDD プロンプト(MCP ツール)の一
|
|
|
230
253
|
| `diagram` | アーキテクチャ図の自動更新(コードと同期した Mermaid ドキュメントを維持) |
|
|
231
254
|
| `slide` | プロジェクトドキュメントからプレゼンスライドを生成(Marp Markdown 形式) |
|
|
232
255
|
| `design` | コードベースからビジュアルデザインを生成/更新(Pencil.dev 同期) |
|
|
256
|
+
| `metrics` | トークン効率レポート — このセッションの配信トークン数と Cursor Rules 常時読み込み方式との比較 |
|
|
233
257
|
|
|
234
258
|
### CLI コマンド
|
|
235
259
|
|
|
@@ -345,6 +369,17 @@ godd-a init --auto
|
|
|
345
369
|
|
|
346
370
|
**Способ 2 — Естественный язык в режиме Agent:** В режиме Agent Cursor можно просто попросить AI использовать нужный инструмент (например, «запусти dev», «сделай review») — AI автоматически обнаружит и вызовет соответствующий инструмент GoDD.
|
|
347
371
|
|
|
372
|
+
### Эффективность токенов
|
|
373
|
+
|
|
374
|
+
GoDD MCP доставляет промпты **по требованию** — в контекст AI отправляется только вызванный промпт. Это принципиально отличается от Cursor Rules, где все правила загружаются в контекст с самого начала каждого чата.
|
|
375
|
+
|
|
376
|
+
| Подход | Принцип работы | Стоимость токенов за вызов |
|
|
377
|
+
|---|---|---|
|
|
378
|
+
| **Cursor Rules** | Все правила всегда в контексте | ~80 000 токенов × каждый чат |
|
|
379
|
+
| **GoDD MCP** | Только нужный промпт, только когда нужен | ~2 000–5 000 токенов за вызов |
|
|
380
|
+
|
|
381
|
+
В любой момент сессии введите `/metrics`, чтобы увидеть фактическое использование токенов и расчётную экономию по сравнению с подходом Cursor Rules.
|
|
382
|
+
|
|
348
383
|
### Список промптов GoDD
|
|
349
384
|
|
|
350
385
|
Доступные промпты GoDD (MCP-инструменты) в Cursor IDE:
|
|
@@ -374,6 +409,7 @@ godd-a init --auto
|
|
|
374
409
|
| `diagram` | Автообновление архитектурных диаграмм (поддержка актуальных Mermaid-документов) |
|
|
375
410
|
| `slide` | Генерация презентационных слайдов из документации проекта (формат Marp Markdown) |
|
|
376
411
|
| `design` | Генерация/обновление визуального дизайна из кодовой базы (синхронизация с Pencil.dev) |
|
|
412
|
+
| `metrics` | Отчёт об эффективности токенов — токены этой сессии vs. базовый уровень Cursor Rules |
|
|
377
413
|
|
|
378
414
|
### Команды CLI
|
|
379
415
|
|