shiden 0.1.0 → 0.3.1

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.
Files changed (45) hide show
  1. package/.github/skills/theory-lookup.md +215 -210
  2. package/README.md +78 -10
  3. package/dist/cli/commands/theories.js +191 -0
  4. package/dist/cli/commands/theories.js.map +1 -0
  5. package/dist/cli/index.js +30 -59
  6. package/dist/cli/index.js.map +1 -1
  7. package/dist/theories/TheoryRepository.js +169 -0
  8. package/dist/theories/TheoryRepository.js.map +1 -0
  9. package/dist/theories/TheoryService.js +102 -0
  10. package/dist/theories/TheoryService.js.map +1 -0
  11. package/dist/theories/database.js +62 -0
  12. package/dist/theories/database.js.map +1 -0
  13. package/dist/theories/index.js +10 -0
  14. package/dist/theories/index.js.map +1 -0
  15. package/dist/theories/types.js +7 -0
  16. package/dist/theories/types.js.map +1 -0
  17. package/dist/types/cli/commands/theories.d.ts +12 -0
  18. package/dist/types/cli/commands/theories.d.ts.map +1 -0
  19. package/dist/types/theories/TheoryRepository.d.ts +52 -0
  20. package/dist/types/theories/TheoryRepository.d.ts.map +1 -0
  21. package/dist/types/theories/TheoryService.d.ts +48 -0
  22. package/dist/types/theories/TheoryService.d.ts.map +1 -0
  23. package/dist/types/theories/database.d.ts +20 -0
  24. package/dist/types/theories/database.d.ts.map +1 -0
  25. package/dist/types/theories/index.d.ts +8 -0
  26. package/dist/types/theories/index.d.ts.map +1 -0
  27. package/dist/types/theories/types.d.ts +132 -0
  28. package/dist/types/theories/types.d.ts.map +1 -0
  29. package/package.json +10 -3
  30. package/src/data/relations.json +464 -0
  31. package/src/data/theories.db +0 -0
  32. package/src/data/theories.db-shm +0 -0
  33. package/src/data/theories.db-wal +0 -0
  34. package/src/data/theories.json +6063 -0
  35. package/templates/.github/prompts/assessment.md +25 -11
  36. package/templates/.github/prompts/feedback.md +26 -11
  37. package/templates/.github/prompts/guidance.md +27 -13
  38. package/templates/.github/prompts/individual.md +28 -16
  39. package/templates/.github/prompts/lesson-plan.md +26 -18
  40. package/templates/.github/prompts/materials.md +25 -9
  41. package/templates/.github/prompts/meta-prompt.md +8 -1
  42. package/templates/.github/skills/context-manager.md +2 -2
  43. package/templates/.github/skills/orchestrator.md +14 -6
  44. package/templates/.github/skills/theory-lookup.md +215 -210
  45. package/templates/.vscode/mcp.json +35 -0
@@ -277,24 +277,38 @@ John Biggs の構成的整合性理論に基づき、以下を確認:
277
277
  | 評価 | 批評、判断、正当化 | 評価せよ、判断せよ |
278
278
  | 創造 | 新しいものの創出、設計 | 設計せよ、提案せよ |
279
279
 
280
- ## TENJIN連携
280
+ ## 教育理論データベースの活用
281
281
 
282
- ### 推奨される理論検索
282
+ ### 理論検索コマンド
283
283
 
284
- ```
285
- get_theory(id="constructive_alignment")
286
- → 構成的整合性の詳細
284
+ 評価設計に適した教育理論を検索するには、以下のコマンドを使用します:
285
+
286
+ ```bash
287
+ # 評価に関する理論を検索
288
+ npx shiden theories search "評価"
289
+ npx shiden theories search "assessment"
287
290
 
288
- get_theory(id="blooms_taxonomy")
289
- 認知レベルの分類
291
+ # 特定の理論の詳細を取得
292
+ npx shiden theories get constructive_alignment
293
+ npx shiden theories get blooms_taxonomy
294
+ npx shiden theories get formative_assessment
290
295
 
291
- search_theories(category="assessment")
292
- 評価に関する理論を検索
296
+ # 関連する理論を取得
297
+ npx shiden theories related constructive_alignment
293
298
 
294
- get_theory(id="formative_assessment")
295
- 形成的評価の原則
299
+ # カテゴリ一覧から選択
300
+ npx shiden theories categories
301
+ npx shiden theories list --category "評価"
296
302
  ```
297
303
 
304
+ ### 主要な評価理論
305
+
306
+ | 理論ID | 理論名 | 用途 |
307
+ |--------|--------|------|
308
+ | `constructive_alignment` | 構成的整合性 | 目標・指導・評価の一貫性 |
309
+ | `blooms_taxonomy` | Bloom's Taxonomy | 認知レベル別の問題設計 |
310
+ | `formative_assessment` | 形成的評価 | 学習過程のフィードバック |
311
+
298
312
  ## 次のステップ
299
313
 
300
314
  評価設計後、以下の連携が可能です:
@@ -292,24 +292,39 @@
292
292
  4. **次のステップで締める**
293
293
  5. **成長の可能性を伝える**
294
294
 
295
- ## TENJIN連携
295
+ ## 教育理論データベースの活用
296
296
 
297
- ### 推奨される理論検索
297
+ ### 理論検索コマンド
298
298
 
299
- ```
300
- get_theory(id="growth_mindset")
301
- → Carol Dweck の Growth Mindset 理論
299
+ フィードバックに関する教育理論を検索するには、以下のコマンドを使用します:
300
+
301
+ ```bash
302
+ # フィードバック・動機づけに関する理論を検索
303
+ npx shiden theories search "フィードバック"
304
+ npx shiden theories search "動機づけ"
305
+ npx shiden theories search "マインドセット"
302
306
 
303
- get_theory(id="effective_feedback")
304
- 効果的なフィードバックの原則
307
+ # 特定の理論の詳細を取得
308
+ npx shiden theories get growth_mindset
309
+ npx shiden theories get effective_feedback
310
+ npx shiden theories get self_regulated_learning
305
311
 
306
- search_theories(category="motivation")
307
- 動機づけに関する理論
312
+ # 関連する理論を取得
313
+ npx shiden theories related growth_mindset
308
314
 
309
- get_theory(id="self_regulated_learning")
310
- 自己調整学習理論
315
+ # カテゴリ一覧から選択
316
+ npx shiden theories categories
317
+ npx shiden theories list --category "動機づけ"
311
318
  ```
312
319
 
320
+ ### 主要なフィードバック理論
321
+
322
+ | 理論ID | 理論名 | 用途 |
323
+ |--------|--------|------|
324
+ | `growth_mindset` | Growth Mindset | 成長志向のフィードバック |
325
+ | `effective_feedback` | 効果的なフィードバック | フィードバックの原則 |
326
+ | `self_regulated_learning` | 自己調整学習 | 自律的学習の促進 |
327
+
313
328
  ## 次のステップ
314
329
 
315
330
  フィードバック生成後、以下の連携が可能です:
@@ -332,27 +332,41 @@
332
332
  >
333
333
  > AIの提案はあくまで参考情報であり、専門家の判断に代わるものではありません。生徒の安全と well-being を最優先にしてください。
334
334
 
335
- ## TENJIN連携
335
+ ## 教育理論データベースの活用
336
336
 
337
- ### 推奨される理論検索
337
+ ### 理論検索コマンド
338
338
 
339
- ```
340
- get_theory(id="eriksons_psychosocial_development")
341
- → Eriksonの心理社会的発達理論
339
+ 生活指導に関する発達理論を検索するには、以下のコマンドを使用します:
342
340
 
343
- get_theory(id="kohlbergs_moral_development")
344
- Kohlbergの道徳性発達理論
341
+ ```bash
342
+ # 発達理論を検索
343
+ npx shiden theories search "発達"
344
+ npx shiden theories search "道徳性"
345
+ npx shiden theories search "生徒指導"
345
346
 
346
- get_theory(id="piagets_cognitive_development")
347
- Piagetの認知発達理論
347
+ # 特定の理論の詳細を取得
348
+ npx shiden theories get eriksons_psychosocial_development
349
+ npx shiden theories get kohlbergs_moral_development
350
+ npx shiden theories get piagets_cognitive_development
351
+ npx shiden theories get pbis
348
352
 
349
- get_theory(id="pbis")
350
- Positive Behavioral Interventions and Supports
353
+ # 関連する理論を取得
354
+ npx shiden theories related eriksons_psychosocial_development
351
355
 
352
- search_theories(category="guidance")
353
- 生徒指導に関する理論
356
+ # カテゴリ一覧から選択
357
+ npx shiden theories categories
358
+ npx shiden theories list --category "発達"
354
359
  ```
355
360
 
361
+ ### 主要な発達理論
362
+
363
+ | 理論ID | 理論名 | 用途 |
364
+ |--------|--------|------|
365
+ | `eriksons_psychosocial_development` | Eriksonの心理社会的発達 | 発達段階に応じた介入 |
366
+ | `kohlbergs_moral_development` | Kohlbergの道徳性発達 | 道徳的判断の理解 |
367
+ | `piagets_cognitive_development` | Piagetの認知発達 | 認知レベルに応じた説明 |
368
+ | `pbis` | PBIS | 学校全体での行動支援 |
369
+
356
370
  ## 次のステップ
357
371
 
358
372
  生活指導案作成後、以下の連携が可能です:
@@ -100,7 +100,7 @@
100
100
  **概要**: {戦略の説明}
101
101
 
102
102
  **理論的根拠**:
103
- {TENJIN: 関連する教育理論}
103
+ {関連する教育理論と適用の根拠}
104
104
 
105
105
  **具体的な実施方法**:
106
106
  1. {ステップ1}
@@ -116,7 +116,7 @@
116
116
  **概要**: {戦略の説明}
117
117
 
118
118
  **理論的根拠**:
119
- {TENJIN: 関連する教育理論}
119
+ {関連する教育理論と適用の根拠}
120
120
 
121
121
  **具体的な実施方法**:
122
122
  1. {ステップ1}
@@ -132,7 +132,7 @@
132
132
  **概要**: {戦略の説明}
133
133
 
134
134
  **理論的根拠**:
135
- {TENJIN: 関連する教育理論}
135
+ {関連する教育理論と適用の根拠}
136
136
 
137
137
  **具体的な実施方法**:
138
138
  1. {ステップ1}
@@ -270,27 +270,39 @@
270
270
  | 書きの困難 | 口頭回答、タイピング、穴埋め形式 |
271
271
  | 記憶の課題 | 視覚的手がかり、チェックリスト、繰り返し |
272
272
 
273
- ## TENJIN連携
273
+ ## 教育理論データベースの活用
274
274
 
275
- ### 推奨される理論検索
275
+ ### 理論検索コマンド
276
276
 
277
- ```
278
- get_theory(id="zone_of_proximal_development")
279
- → ヴィゴツキーのZPD理論
277
+ 個別指導計画に適した教育理論を検索するには、以下のコマンドを使用します:
280
278
 
281
- get_theory(id="differentiated_instruction")
282
- 差別化された指導
279
+ ```bash
280
+ # 個別支援・発達に関する理論を検索
281
+ npx shiden theories search "個別"
282
+ npx shiden theories search "発達"
283
+ npx shiden theories search "特別支援"
283
284
 
284
- get_theory(id="universal_design_for_learning")
285
- 学びのユニバーサルデザイン
285
+ # 特定の理論の詳細を取得
286
+ npx shiden theories get zone_of_proximal_development
287
+ npx shiden theories get differentiated_instruction
288
+ npx shiden theories get universal_design_for_learning
286
289
 
287
- search_theories(category="special_needs")
288
- 特別支援に関する理論
290
+ # 関連する理論を取得
291
+ npx shiden theories related zone_of_proximal_development
289
292
 
290
- recommend_theories(context="individual_support")
291
- 個別支援に適した理論の推薦
293
+ # カテゴリ一覧から選択
294
+ npx shiden theories categories
295
+ npx shiden theories list --category "発達"
292
296
  ```
293
297
 
298
+ ### 主要な個別支援理論
299
+
300
+ | 理論ID | 理論名 | 用途 |
301
+ |--------|--------|------|
302
+ | `zone_of_proximal_development` | 最近接発達領域 | 適切な支援レベルの設定 |
303
+ | `differentiated_instruction` | 差別化された指導 | 学習者に合わせた指導調整 |
304
+ | `universal_design_for_learning` | 学びのユニバーサルデザイン | 多様な学習者への対応 |
305
+
294
306
  ## 次のステップ
295
307
 
296
308
  個別指導計画作成後、以下の連携が可能です:
@@ -70,21 +70,21 @@
70
70
  |------|----------|---------------|------|
71
71
  | {分} | {活動内容} | {留意点} | {評価方法} |
72
72
 
73
- **教育理論の適用**: {TENJIN: 適用する理論と根拠}
73
+ **教育理論の適用**: {理論名} - {適用の根拠}
74
74
 
75
75
  #### 展開({時間}分)
76
76
  | 時間 | 学習活動 | 指導上の留意点 | 評価 |
77
77
  |------|----------|---------------|------|
78
78
  | {分} | {活動内容} | {留意点} | {評価方法} |
79
79
 
80
- **教育理論の適用**: {TENJIN: 適用する理論と根拠}
80
+ **教育理論の適用**: {理論名} - {適用の根拠}
81
81
 
82
82
  #### まとめ({時間}分)
83
83
  | 時間 | 学習活動 | 指導上の留意点 | 評価 |
84
84
  |------|----------|---------------|------|
85
85
  | {分} | {活動内容} | {留意点} | {評価方法} |
86
86
 
87
- **教育理論の適用**: {TENJIN: 適用する理論と根拠}
87
+ **教育理論の適用**: {理論名} - {適用の根拠}
88
88
  ```
89
89
 
90
90
  ### 4. 評価規準
@@ -112,23 +112,31 @@
112
112
  ...
113
113
  ```
114
114
 
115
- ## TENJIN連携
115
+ ## 教育理論データベースの活用
116
116
 
117
- ### 推奨される理論検索
117
+ ### 理論検索コマンド
118
118
 
119
- ```
120
- search_theories(category="instructional_design")
121
- → 授業設計に関する理論を検索
122
-
123
- recommend_theories_for_learner(
124
- context="授業計画",
125
- grade="{学年}",
126
- subject="{教科}"
127
- )
128
- → 学年・教科に適した理論を推薦
129
-
130
- get_theory(id="blooms_taxonomy")
131
- Bloom's Taxonomyの詳細を取得
119
+ 授業計画に適した教育理論を検索するには、以下のコマンドを使用します:
120
+
121
+ ```bash
122
+ # カテゴリ別に理論を一覧
123
+ npx shiden theories categories
124
+
125
+ # 授業設計に関する理論を検索
126
+ npx shiden theories list --category "授業設計"
127
+ npx shiden theories list --category "学習理論"
128
+
129
+ # キーワードで理論を検索
130
+ npx shiden theories search "学習目標"
131
+ npx shiden theories search "動機づけ"
132
+ npx shiden theories search "評価"
133
+
134
+ # 特定の理論の詳細を取得
135
+ npx shiden theories get blooms_taxonomy
136
+ npx shiden theories get gagnes_nine_events
137
+
138
+ # 関連する理論を取得
139
+ npx shiden theories related blooms_taxonomy
132
140
  ```
133
141
 
134
142
  ### 適用が推奨される理論
@@ -257,21 +257,37 @@ Universal Design for Learningに基づき、多様な学習者に対応:
257
257
  - 選択可能な発展課題
258
258
  - 自己評価セクション
259
259
 
260
- ## TENJIN連携
260
+ ## 教育理論データベースの活用
261
261
 
262
- ### 推奨される理論検索
262
+ ### 理論検索コマンド
263
263
 
264
- ```
265
- get_theory(id="gagnes_nine_events")
266
- → Gagné's Nine Events の詳細と適用例
264
+ 教材設計に適した教育理論を検索するには、以下のコマンドを使用します:
265
+
266
+ ```bash
267
+ # 授業設計・教材に関する理論を検索
268
+ npx shiden theories search "教授設計"
269
+ npx shiden theories search "動機づけ"
270
+
271
+ # 特定の理論の詳細を取得
272
+ npx shiden theories get gagnes_nine_events
273
+ npx shiden theories get arcs_model
267
274
 
268
- get_theory(id="arcs_model")
269
- ARCS Model の詳細と動機づけ戦略
275
+ # 関連する理論を取得
276
+ npx shiden theories related gagnes_nine_events
270
277
 
271
- search_theories(category="instructional_materials")
272
- 教材設計に関する理論を検索
278
+ # カテゴリ一覧から選択
279
+ npx shiden theories categories
280
+ npx shiden theories list --category "授業設計"
273
281
  ```
274
282
 
283
+ ### 主要な教材設計理論
284
+
285
+ | 理論ID | 理論名 | 用途 |
286
+ |--------|--------|------|
287
+ | `gagnes_nine_events` | Gagné's Nine Events | 9つの教授事象に基づく教材構成 |
288
+ | `arcs_model` | ARCS Model | 動機づけを高める教材設計 |
289
+ | `udl` | Universal Design for Learning | 多様な学習者への対応 |
290
+
275
291
  ## 出力例
276
292
 
277
293
  (ワークシートの例)
@@ -149,7 +149,14 @@
149
149
  {Bloom's Taxonomyに基づいた具体的な学習目標}
150
150
 
151
151
  ### 【参照すべき教育理論】
152
- 以下の理論をTENJINから検索し、適用を検討してください:
152
+ 以下の理論を教育理論データベースから検索し、適用を検討してください:
153
+
154
+ ```bash
155
+ # 推奨される理論を検索
156
+ npx shiden theories search "{検索キーワード}"
157
+ npx shiden theories get {理論ID}
158
+ ```
159
+
153
160
  - {推奨理論1}({適用場面})
154
161
  - {推奨理論2}({適用場面})
155
162
 
@@ -15,7 +15,7 @@
15
15
  - **会話履歴**: ユーザーとの対話履歴
16
16
  - **スキル実行結果**: 各スキルが生成したコンテンツ
17
17
  - **メタプロンプト**: 収集したコンテキスト情報
18
- - **TENJIN検索結果**: 参照した教育理論
18
+ - **教育理論検索結果**: 参照した教育理論
19
19
  - **ユーザー設定**: デフォルトの学年・教科など
20
20
 
21
21
  ### 2. コンテキスト操作
@@ -205,7 +205,7 @@ interface SessionContext {
205
205
  timestamp: string;
206
206
  }[];
207
207
 
208
- // TENJIN検索結果キャッシュ
208
+ // 教育理論検索結果キャッシュ
209
209
  theoryCache: {
210
210
  theoryId: string;
211
211
  data: object;
@@ -111,15 +111,23 @@
111
111
  どちらで進めますか?または、別のリクエストをお聞かせください。
112
112
  ```
113
113
 
114
- ### TENJIN接続エラー時
114
+ ### 教育理論の検索
115
115
 
116
- ```
117
- 📚 教育理論データベース(TENJIN)への接続に問題が発生しています。
116
+ 教育理論を参照する必要がある場合は、以下のコマンドを使用してください:
117
+
118
+ ```bash
119
+ # 理論の検索
120
+ npx shiden theories search "{キーワード}"
121
+
122
+ # 理論の詳細取得
123
+ npx shiden theories get {理論ID}
118
124
 
119
- 一般的な教授法を適用してコンテンツを生成しますが、
120
- 特定の理論に基づいたエビデンスは含まれない場合があります。
125
+ # 関連理論の取得
126
+ npx shiden theories related {理論ID}
121
127
 
122
- このまま続行しますか?
128
+ # カテゴリ別一覧
129
+ npx shiden theories categories
130
+ npx shiden theories list --category "{カテゴリ名}"
123
131
  ```
124
132
 
125
133
  ### 情報不足時