@nahisaho/shikigami 1.52.0 → 1.53.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.
@@ -2,6 +2,7 @@
2
2
  name: shikigami-consulting-framework
3
3
  description: |
4
4
  BCGコンサルティングフレームワーク分析。BCG Growth-Share Matrix, Experience Curve, Strategy Palette等を適用。
5
+ Use when: フレームワーク分析、SWOT、ポートフォリオ評価、戦略立案、コスト分析、仮説検証、MECE検証が必要な時。
5
6
  license: MIT
6
7
  ---
7
8
 
@@ -266,3 +267,30 @@ graph TD
266
267
  - **shikigami-planner**: BCGフレームワーク選択支援
267
268
  - **shikigami-deep-research**: 分析に必要なデータ収集
268
269
  - **shikigami-writing**: BCG分析結果のレポート化
270
+
271
+ ---
272
+
273
+ ## Gotchas
274
+
275
+ 1. **MECE性の未検証** — フレームワーク適用後、必ず相互排他性(ME)・全体網羅性(CE)・同一粒度の3点を検証。未検証の分析は信頼性不足
276
+ 2. **ベンチマーク比較の欠落** — 自社データのみの分析は「So What」が弱い。必ず業界平均・トップ企業との比較を含める
277
+ 3. **フレームワークの不適切選択** — 成功条件タイプに合わないフレームワークを適用すると分析品質が低下。推奨マッピング表を参照
278
+ 4. **数値裏付けなしの定性分析** — BCG分析は数値データが前提。定性的な印象のみのマトリクス配置は禁止
279
+ 5. **仮説なしのデータ収集** — Hypothesis-Driven Approach では Day 1 Answer を先に設定。仮説なしの網羅的データ収集は非効率
280
+
281
+ ---
282
+
283
+ ## Eval Criteria
284
+
285
+ ```
286
+ [CAPABILITY EVAL: consulting-framework]
287
+ Task: BCGフレームワークによる分析実行
288
+ Success Criteria:
289
+ - [ ] 適切なBCGフレームワーク選択(成功条件タイプに適合)
290
+ - [ ] MECE性検証(ME✓ CE✓ 同一粒度✓)合格
291
+ - [ ] 数値データに基づく分析
292
+ - [ ] ベンチマーク比較を含む
293
+ - [ ] 経営層への示唆(So What)が明確
294
+ Expected Output: projects/pjXXXXX_*/analysis/*.md
295
+ Test Command: ls projects/pjXXXXX_*/analysis/*.md
296
+ ```
@@ -2,6 +2,7 @@
2
2
  name: shikigami-deep-research
3
3
  description: |
4
4
  反復的深層リサーチ。Think→Report→Action→完了サイクルで高品質調査を実行。
5
+ Use when: 情報収集、調査、リサーチ、エビデンス収集、ファクトチェック、ソース検証が必要な時。
5
6
  license: MIT
6
7
  ---
7
8
 
@@ -235,3 +236,30 @@ manifest.yaml `personas[].domain_knowledge.level` で調整:
235
236
  - **shikigami-planner**: 事前の計画立案
236
237
  - **shikigami-consulting-framework**: フレームワーク分析
237
238
  - **shikigami-writing**: 最終レポート生成
239
+
240
+ ---
241
+
242
+ ## Gotchas
243
+
244
+ 1. **set_project 未実行で検索開始** — Phase 0 で `set_project` を実行しないと `save_research` が保存先を特定できない。必ずプロジェクト設定後にリサーチ開始
245
+ 2. **save_research の呼び忘れ** — search/visit 実行後に `save_research` を呼ばないとリサーチ結果が揮発する。Think→Report→Action 各サイクル完了時に即保存
246
+ 3. **信頼度 6.0 未満で次フェーズ移行** — Gate 2→3 は confidence_score ≥ 0.6 が必須。低信頼ソースのみでは通過不可、追加ソース検索が必要
247
+ 4. **単一ソースでの結論** — 交差検証率を維持するため最低3ソースが必要。1ソースのみの主張は「未検証」マーク付与
248
+ 5. **日付の古いソースへの依存** — 3年超のソースは低信頼(0.5以下)。最新データの追加検索を優先
249
+
250
+ ---
251
+
252
+ ## Eval Criteria
253
+
254
+ ```
255
+ [CAPABILITY EVAL: deep-research]
256
+ Task: 指定トピックの深層リサーチ実行
257
+ Success Criteria:
258
+ - [ ] 3ソース以上から交差検証済み
259
+ - [ ] confidence_score ≥ 0.6
260
+ - [ ] research/ に save_research で保存済み
261
+ - [ ] 高信頼ソース(.gov/.edu/公式)を1件以上含む
262
+ - [ ] Think→Report→Action サイクルを2回以上実行
263
+ Expected Output: research/{query}_{timestamp}.md
264
+ Test Command: ls projects/pjXXXXX_*/research/*.md
265
+ ```
@@ -2,6 +2,7 @@
2
2
  name: shikigami-planner
3
3
  description: |
4
4
  対話的目的探索・計画立案。5 Whys/JTBDで真の目的を発見し、リサーチ計画を策定。
5
+ Use when: リサーチ開始、プロジェクト初期化、目的の明確化、計画策定、タスク分解が必要な時。
5
6
  license: MIT
6
7
  ---
7
8
 
@@ -182,3 +183,30 @@ deliverables:
182
183
  - **shikigami-deep-research**: 計画に基づくリサーチ実行
183
184
  - **shikigami-consulting-framework**: フレームワーク分析
184
185
  - **shikigami-writing**: 最終レポート生成
186
+
187
+ ---
188
+
189
+ ## Gotchas
190
+
191
+ 1. **ユーザー承認前にプロジェクト作成** — `npx shikigami new` はユーザーが「はい/OK/承認」と回答した後にのみ実行。確認前の実行は禁止
192
+ 2. **1問1答ルール違反** — Phase 1 は1度に1つの質問のみ。複数質問の同時提示はユーザーを混乱させる
193
+ 3. **3問未満での目的確定** — Gate 1→2 は dialog_count ≥ 3 が必須。早期に「分かった」と判断しても最低3問は実施
194
+ 4. **構造化プロンプトの要素欠落** — 6要素(PURPOSE/TARGET/SCOPE/TIMELINE/CONSTRAINTS/DELIVERABLES)全てが必要。推測要素には「(推測)」マーク付与
195
+ 5. **set_project の呼び忘れ** — Phase 0 でプロジェクト作成後、必ず `set_project` MCP ツールでコンテキスト設定
196
+
197
+ ---
198
+
199
+ ## Eval Criteria
200
+
201
+ ```
202
+ [CAPABILITY EVAL: planner]
203
+ Task: リサーチプロジェクトの初期化と目的探索
204
+ Success Criteria:
205
+ - [ ] プロジェクトフォルダ pjXXXXX_*_YYYYMMDD/ 作成済み
206
+ - [ ] manifest.yaml に true_purpose 記録済み
207
+ - [ ] 構造化プロンプト 6要素すべて定義
208
+ - [ ] 対話 3問以上実施
209
+ - [ ] ユーザー承認キーワード取得後にCLI実行
210
+ Expected Output: projects/pjXXXXX_*/manifest.yaml
211
+ Test Command: cat projects/pjXXXXX_*/manifest.yaml | grep true_purpose
212
+ ```
@@ -2,6 +2,7 @@
2
2
  name: shikigami-writing
3
3
  description: |
4
4
  レポート生成・品質保証。リサーチ結果を高品質レポートに変換、Qiita対応。
5
+ Use when: レポート作成、文書生成、Qiita記事執筆、品質チェック、引用整形、思考フロー可視化が必要な時。
5
6
  license: MIT
6
7
  ---
7
8
 
@@ -389,3 +390,30 @@ ASCII図を自動検出してMermaidに変換
389
390
  - **shikigami-planner**: 目的・読者の明確化
390
391
  - **shikigami-deep-research**: 素材となる調査
391
392
  - **shikigami-consulting-framework**: フレームワーク分析
393
+
394
+ ---
395
+
396
+ ## Gotchas
397
+
398
+ 1. **既存レポートの上書き** — 既存ファイルの直接編集は禁止。修正時は必ず新バージョン `[name]-v[X.Y].md` を作成
399
+ 2. **引用なしの事実記述** — すべての事実・数値には出典URLが必須。引用なしの主張は品質スコア減点
400
+ 3. **Qiitaタグの同義語重複** — `JavaScript` と `JS` の同時使用は禁止。正式名称を1つのみ使用
401
+ 4. **品質スコア 7.0 未満で提出** — Gate 4→5 は品質スコア 7/10 以上が必須。不足時は修正サイクル実行
402
+ 5. **思考フロー記録の欠落** — ピボット(仮説修正・方針転換)を検出しているのに記録しないと、レポートの信頼性が低下
403
+
404
+ ---
405
+
406
+ ## Eval Criteria
407
+
408
+ ```
409
+ [CAPABILITY EVAL: writing]
410
+ Task: リサーチ結果からレポート生成
411
+ Success Criteria:
412
+ - [ ] reports/[name]-v[X.Y].md に保存済み
413
+ - [ ] 全事実・数値に出典URL付与
414
+ - [ ] 品質スコア 7/10 以上
415
+ - [ ] consistency_check 合格
416
+ - [ ] executive_sync 合格
417
+ Expected Output: projects/pjXXXXX_*/reports/*-v*.md
418
+ Test Command: ls projects/pjXXXXX_*/reports/*-v*.md
419
+ ```
package/CHANGELOG.md CHANGED
@@ -5,7 +5,24 @@ All notable changes to SHIKIGAMI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [1.52.0] - 2026-02-28
8
+ ## [1.53.0] - 2026-04-07
9
+
10
+ ### Fixed
11
+
12
+ - **MCP Server: `alternative-source-manager.ts` の `js-yaml` 残存修正**
13
+ - `import * as yaml from 'js-yaml'` → `import yaml from 'yaml'` に移行
14
+ - `yaml.load()` → `yaml.parse()` に変更
15
+ - devDependencies から `@types/js-yaml` を削除
16
+
17
+ ### Added
18
+
19
+ - **Harness 7軸最適化: .github/skills 全スキルの品質強化**
20
+ - Axis 1 (Tool Coverage): 全スキルの description を「What + Use when」パターンに最適化(LLMルーティング精度向上)
21
+ - Axis 4 (Memory Persistence): 全スキルに標準化された `## Gotchas` セクション追加(各5項目)
22
+ - Axis 5 (Eval Coverage): 全スキルに `## Eval Criteria` セクション追加(pass@k評価対応)
23
+ - Suite: `copilot-instructions.md` 新規作成(WHEN/DOルーティング・フェーズフロー・緊急度ルーティング・共通規約)
24
+
25
+ ## [1.52.1] - 2026-02-28
9
26
 
10
27
  ### Fixed
11
28
 
@@ -36,7 +36,6 @@
36
36
  "yaml": "^2.7.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@types/js-yaml": "^4.0.9",
40
39
  "@types/node": "^20.10.0",
41
40
  "@types/pdf-parse": "^1.1.4",
42
41
  "tsx": "^4.7.0",
@@ -11,7 +11,7 @@
11
11
 
12
12
  import * as fs from 'fs';
13
13
  import * as path from 'path';
14
- import * as yaml from 'js-yaml';
14
+ import yaml from 'yaml';
15
15
  import type {
16
16
  AlternativeSource,
17
17
  AlternativeSourceResult,
@@ -66,7 +66,7 @@ export class AlternativeSourceManager {
66
66
  if (fs.existsSync(this.configPath)) {
67
67
  try {
68
68
  const content = fs.readFileSync(this.configPath, 'utf-8');
69
- const config = yaml.load(content) as AlternativeSourcesConfig;
69
+ const config = yaml.parse(content) as AlternativeSourcesConfig;
70
70
 
71
71
  if (config.sources) {
72
72
  for (const [contentType, sources] of Object.entries(config.sources)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nahisaho/shikigami",
3
- "version": "1.52.0",
3
+ "version": "1.53.0",
4
4
  "description": "GitHub Copilot Agent Skills for Deep Research & Consulting - AI-Powered Research Assistant with 50+ Consulting Frameworks",
5
5
  "keywords": [
6
6
  "github-copilot",