@musashishao/agent-kit 1.8.2 → 1.9.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 (176) hide show
  1. package/.agent/agents/ai-architect.md +39 -0
  2. package/.agent/agents/ai-asset-factory.md +700 -0
  3. package/.agent/agents/ai-audio-factory.md +503 -0
  4. package/.agent/agents/cloud-engineer.md +39 -0
  5. package/.agent/agents/game-developer.md +190 -89
  6. package/.agent/agents/marketing-specialist.md +41 -0
  7. package/.agent/agents/orchestrator.md +113 -3
  8. package/.agent/agents/penetration-tester.md +15 -1
  9. package/.agent/agents/project-planner.md +67 -0
  10. package/.agent/agents/unity-mobile-master.md +949 -0
  11. package/.agent/mcp/config/registry.json +65 -51
  12. package/.agent/mcp/servers/notebooklm/README.md +114 -0
  13. package/.agent/mcp/servers/notebooklm/package.json +35 -0
  14. package/.agent/mcp/servers/notebooklm/src/auth/chrome.ts +225 -0
  15. package/.agent/mcp/servers/notebooklm/src/auth/index.ts +1 -0
  16. package/.agent/mcp/servers/notebooklm/src/index.ts +516 -0
  17. package/.agent/mcp/servers/notebooklm/src/services/index.ts +3 -0
  18. package/.agent/mcp/servers/notebooklm/src/services/library.ts +217 -0
  19. package/.agent/mcp/servers/notebooklm/src/services/notebooklm.ts +380 -0
  20. package/.agent/mcp/servers/notebooklm/tsconfig.json +15 -0
  21. package/.agent/mcp-gateway/README.md +169 -20
  22. package/.agent/mcp-gateway/package.json +22 -7
  23. package/.agent/mcp-gateway/src/auth/index.ts +55 -0
  24. package/.agent/mcp-gateway/src/auth/middleware.ts +242 -0
  25. package/.agent/mcp-gateway/src/auth/oauth.ts +462 -0
  26. package/.agent/mcp-gateway/src/auth/scopes.ts +227 -0
  27. package/.agent/mcp-gateway/src/index.ts +252 -105
  28. package/.agent/mcp-gateway/src/observability/index.ts +5 -0
  29. package/.agent/mcp-gateway/src/observability/otel.ts +405 -0
  30. package/.agent/mcp-gateway/src/transports/index.ts +5 -0
  31. package/.agent/mcp-gateway/src/transports/streamableHttp.ts +235 -0
  32. package/.agent/rules/CODEX.md +115 -2
  33. package/.agent/rules/CODE_RULES.md +73 -0
  34. package/.agent/rules/GEMINI.md +26 -1
  35. package/.agent/rules/MEMORY_STATE.md +110 -0
  36. package/.agent/rules/REFERENCE.md +40 -58
  37. package/.agent/rules/REF_SKILLS.md +116 -0
  38. package/.agent/rules/REF_WORKFLOWS.md +81 -0
  39. package/.agent/scripts/ak_cli.py +106 -5
  40. package/.agent/scripts/memory_manager.py +48 -9
  41. package/.agent/skills/3d-web-experience/SKILL.md +386 -0
  42. package/.agent/skills/DEPENDENCIES.md +54 -0
  43. package/.agent/skills/ab-test-setup/SKILL.md +77 -0
  44. package/.agent/skills/active-directory-attacks/SKILL.md +59 -0
  45. package/.agent/skills/agent-evaluation/SKILL.md +430 -0
  46. package/.agent/skills/agent-memory-systems/SKILL.md +426 -0
  47. package/.agent/skills/agent-tool-builder/SKILL.md +139 -0
  48. package/.agent/skills/ai-agents-architect/SKILL.md +115 -0
  49. package/.agent/skills/ai-product/SKILL.md +86 -0
  50. package/.agent/skills/ai-wrapper-product/SKILL.md +90 -0
  51. package/.agent/skills/analytics-tracking/SKILL.md +88 -0
  52. package/.agent/skills/anti-hallucination/SKILL.md +295 -0
  53. package/.agent/skills/anti-hallucination/scripts/check_hallucination.py +299 -0
  54. package/.agent/skills/api-fuzzing-bug-bounty/SKILL.md +66 -0
  55. package/.agent/skills/app-store-optimization/SKILL.md +66 -0
  56. package/.agent/skills/autonomous-agent-patterns/SKILL.md +414 -0
  57. package/.agent/skills/aws-penetration-testing/SKILL.md +50 -0
  58. package/.agent/skills/aws-serverless/SKILL.md +327 -0
  59. package/.agent/skills/azure-functions/SKILL.md +340 -0
  60. package/.agent/skills/bifurcation-analysis/SKILL.md +56 -0
  61. package/.agent/skills/brainstorming/SKILL.md +80 -6
  62. package/.agent/skills/broken-authentication/SKILL.md +53 -0
  63. package/.agent/skills/browser-automation/SKILL.md +408 -0
  64. package/.agent/skills/browser-extension-builder/SKILL.md +422 -0
  65. package/.agent/skills/bullmq-specialist/SKILL.md +424 -0
  66. package/.agent/skills/bun-development/SKILL.md +386 -0
  67. package/.agent/skills/burp-suite-testing/SKILL.md +60 -0
  68. package/.agent/skills/clerk-auth/SKILL.md +432 -0
  69. package/.agent/skills/cloud-penetration-testing/SKILL.md +51 -0
  70. package/.agent/skills/copywriting/SKILL.md +66 -0
  71. package/.agent/skills/crewai/SKILL.md +470 -0
  72. package/.agent/skills/decision-memory/SKILL.md +317 -0
  73. package/.agent/skills/discord-bot-architect/SKILL.md +447 -0
  74. package/.agent/skills/email-sequence/SKILL.md +73 -0
  75. package/.agent/skills/emergence-detector/SKILL.md +230 -0
  76. package/.agent/skills/emergence-detector/scripts/check_emergence.py +265 -0
  77. package/.agent/skills/ethical-hacking-methodology/SKILL.md +67 -0
  78. package/.agent/skills/explained-qa/SKILL.md +142 -0
  79. package/.agent/skills/explained-qa/game-terminology.md +214 -0
  80. package/.agent/skills/firebase/SKILL.md +377 -0
  81. package/.agent/skills/game-development/ai-dialogue-engine/SKILL.md +442 -0
  82. package/.agent/skills/game-development/ai-graphics-generator/SKILL.md +463 -0
  83. package/.agent/skills/game-development/ai-playtest-framework/SKILL.md +570 -0
  84. package/.agent/skills/game-development/camera-systems/SKILL.md +607 -0
  85. package/.agent/skills/game-development/card-battle-engine/SKILL.md +618 -0
  86. package/.agent/skills/game-development/character-controller-3d/SKILL.md +908 -0
  87. package/.agent/skills/game-development/cloud-save-sync/SKILL.md +527 -0
  88. package/.agent/skills/game-development/combat-system/SKILL.md +748 -0
  89. package/.agent/skills/game-development/compliance-rating/SKILL.md +277 -0
  90. package/.agent/skills/game-development/crossplatform-build/SKILL.md +386 -0
  91. package/.agent/skills/game-development/cultivation-progression/SKILL.md +520 -0
  92. package/.agent/skills/game-development/data-driven-balance/SKILL.md +535 -0
  93. package/.agent/skills/game-development/game-analytics-integrator/SKILL.md +410 -0
  94. package/.agent/skills/game-development/game-audio-advanced/SKILL.md +646 -0
  95. package/.agent/skills/game-development/game-economy-designer/SKILL.md +375 -0
  96. package/.agent/skills/game-development/game-marketing/SKILL.md +85 -0
  97. package/.agent/skills/game-development/game-state-manager/SKILL.md +883 -0
  98. package/.agent/skills/game-development/godot-expert/SKILL.md +462 -0
  99. package/.agent/skills/game-development/hybrid-game-spec/SKILL.md +220 -0
  100. package/.agent/skills/game-development/inventory-quest/SKILL.md +747 -0
  101. package/.agent/skills/game-development/liveops/SKILL.md +308 -0
  102. package/.agent/skills/game-development/localization/SKILL.md +286 -0
  103. package/.agent/skills/game-development/mobile-input-patterns/SKILL.md +343 -0
  104. package/.agent/skills/game-development/monetization-strategy/SKILL.md +94 -0
  105. package/.agent/skills/game-development/multiplayer-master/SKILL.md +727 -0
  106. package/.agent/skills/game-development/narrative-branching/SKILL.md +593 -0
  107. package/.agent/skills/game-development/npc-ai-integration/SKILL.md +110 -0
  108. package/.agent/skills/game-development/procedural-generation/SKILL.md +168 -0
  109. package/.agent/skills/game-development/procedural-level-ai/SKILL.md +367 -0
  110. package/.agent/skills/game-development/prototyping-rapid/SKILL.md +205 -0
  111. package/.agent/skills/game-development/spec-ecosystem/SKILL.md +155 -0
  112. package/.agent/skills/game-development/spec-ecosystem/decision-log-format.md +129 -0
  113. package/.agent/skills/game-development/spec-ecosystem/templates/PLAN-template.md +178 -0
  114. package/.agent/skills/game-development/spec-ecosystem/templates/SPEC-template.md +110 -0
  115. package/.agent/skills/game-development/spec-ecosystem/templates/TASKS-template.md +156 -0
  116. package/.agent/skills/game-development/survival-systems/SKILL.md +493 -0
  117. package/.agent/skills/game-development/testing-qa/SKILL.md +270 -0
  118. package/.agent/skills/game-development/unity-integration/SKILL.md +358 -0
  119. package/.agent/skills/game-development/unity-mobile-optimization/SKILL.md +271 -0
  120. package/.agent/skills/game-development/webgpu-shading/SKILL.md +209 -0
  121. package/.agent/skills/gcp-cloud-run/SKILL.md +358 -0
  122. package/.agent/skills/graphql/SKILL.md +492 -0
  123. package/.agent/skills/idor-testing/SKILL.md +64 -0
  124. package/.agent/skills/inngest/SKILL.md +128 -0
  125. package/.agent/skills/intent-capture/SKILL.md +65 -0
  126. package/.agent/skills/langfuse/SKILL.md +415 -0
  127. package/.agent/skills/langgraph/SKILL.md +360 -0
  128. package/.agent/skills/launch-strategy/SKILL.md +68 -0
  129. package/.agent/skills/linux-privilege-escalation/SKILL.md +62 -0
  130. package/.agent/skills/llm-app-patterns/SKILL.md +367 -0
  131. package/.agent/skills/marketing-ideas/SKILL.md +66 -0
  132. package/.agent/skills/mcp-composition/SKILL.md +362 -0
  133. package/.agent/skills/mcp-observability/SKILL.md +323 -0
  134. package/.agent/skills/mcp-security/SKILL.md +314 -0
  135. package/.agent/skills/metasploit-framework/SKILL.md +60 -0
  136. package/.agent/skills/micro-saas-launcher/SKILL.md +93 -0
  137. package/.agent/skills/neon-postgres/SKILL.md +339 -0
  138. package/.agent/skills/paid-ads/SKILL.md +64 -0
  139. package/.agent/skills/supabase-integration/SKILL.md +411 -0
  140. package/.agent/skills/trust-spectrum/SKILL.md +291 -0
  141. package/.agent/skills/vibe-coding-guard/SKILL.md +328 -0
  142. package/.agent/templates/AGENTS.game.md +63 -0
  143. package/.agent/templates/docs/WORKFLOW_GUIDE.en.md +100 -0
  144. package/.agent/templates/docs/WORKFLOW_GUIDE.vi.md +100 -0
  145. package/.agent/workflows/ai-agent.md +38 -0
  146. package/.agent/workflows/autofix.md +1 -0
  147. package/.agent/workflows/brainstorm.md +1 -0
  148. package/.agent/workflows/context.md +1 -0
  149. package/.agent/workflows/create.md +39 -8
  150. package/.agent/workflows/dashboard.md +1 -0
  151. package/.agent/workflows/debug.md +14 -0
  152. package/.agent/workflows/deploy.md +14 -0
  153. package/.agent/workflows/enhance.md +44 -0
  154. package/.agent/workflows/gamekit-init.md +177 -0
  155. package/.agent/workflows/gamekit-launch.md +338 -0
  156. package/.agent/workflows/gamekit-plan.md +204 -0
  157. package/.agent/workflows/gamekit-qa.md +153 -0
  158. package/.agent/workflows/gamekit-spec.md +243 -0
  159. package/.agent/workflows/gamekit-tasks.md +208 -0
  160. package/.agent/workflows/marketing.md +39 -0
  161. package/.agent/workflows/next.md +1 -0
  162. package/.agent/workflows/orchestrate.md +12 -0
  163. package/.agent/workflows/pentest.md +39 -0
  164. package/.agent/workflows/plan.md +42 -0
  165. package/.agent/workflows/preview.md +1 -0
  166. package/.agent/workflows/quality.md +1 -0
  167. package/.agent/workflows/saas.md +38 -0
  168. package/.agent/workflows/spec.md +42 -0
  169. package/.agent/workflows/status.md +1 -0
  170. package/.agent/workflows/test.md +14 -0
  171. package/.agent/workflows/ui-ux-pro-max.md +1 -0
  172. package/README.md +4 -4
  173. package/bin/cli.js +411 -111
  174. package/package.json +1 -2
  175. package/docs/AI_DATA_INFRASTRUCTURE.md +0 -288
  176. package/docs/CHANGELOG_AI_INFRA.md +0 -111
@@ -0,0 +1,110 @@
1
+ # SPEC Template for Game Projects
2
+
3
+ > Template for creating game specifications. Replace placeholders with actual content.
4
+
5
+ ---
6
+
7
+ ## 📝 Problem Statement
8
+
9
+ ### Vấn đề hiện tại
10
+ [Describe the problem this game/feature solves. Include measurable impact if available.]
11
+
12
+ **Example:**
13
+ > Người chơi mobile thường bỏ game casual sau 3-5 phút vì gameplay lặp lại.
14
+ > Cần game có core loop hấp dẫn giữ người chơi ít nhất 15 phút/session.
15
+
16
+ ---
17
+
18
+ ## 👥 User Stories
19
+
20
+ | Priority | User Story |
21
+ |----------|------------|
22
+ | **P0** | Là **[user type]**, tôi muốn **[action]** để **[benefit]**. |
23
+ | **P1** | Là **[user type]**, tôi muốn **[action]** để **[benefit]**. |
24
+ | **P2** | Là **[user type]**, tôi muốn **[action]** để **[benefit]**. |
25
+
26
+ **Example:**
27
+ | Priority | User Story |
28
+ |----------|------------|
29
+ | **P0** | Là **người chơi casual**, tôi muốn **gameplay one-hand** để **chơi trên bus/metro**. |
30
+ | **P1** | Là **người chơi**, tôi muốn **xem tiến độ rõ ràng** để **biết mình đang ở đâu**. |
31
+
32
+ ---
33
+
34
+ ## ✅ Acceptance Criteria
35
+
36
+ | ID | Criterion | Testable? |
37
+ |----|-----------|-----------|
38
+ | AC1 | [Specific, measurable criterion] | ✅/❌ |
39
+ | AC2 | [Specific, measurable criterion] | ✅/❌ |
40
+ | AC3 | [Specific, measurable criterion] | ✅/❌ |
41
+
42
+ **Example:**
43
+ | ID | Criterion | Testable? |
44
+ |----|-----------|-----------|
45
+ | AC1 | Game load trong < 3 giây trên device 2GB RAM | ✅ |
46
+ | AC2 | Tutorial hoàn thành trong < 60 giây | ✅ |
47
+ | AC3 | Core loop rõ ràng: Action → Reward → Progression | ✅ |
48
+
49
+ ---
50
+
51
+ ## 🚫 Out of Scope
52
+
53
+ | Item | Lý do |
54
+ |------|-------|
55
+ | [Feature NOT included] | [Why deferred] |
56
+ | [Edge case NOT handled] | [Why excluded] |
57
+ | [Platform NOT supported] | [Why not MVP] |
58
+
59
+ **Example:**
60
+ | Item | Lý do |
61
+ |------|-------|
62
+ | Multiplayer | Quá phức tạp cho MVP, xem xét v2 |
63
+ | Cloud save | Chỉ cần local save cho prototype |
64
+ | IAP | Chưa cần monetization cho soft launch |
65
+
66
+ ---
67
+
68
+ ## 🔧 Technical Constraints
69
+
70
+ | Constraint | Requirement |
71
+ |------------|-------------|
72
+ | **Target Platform** | [iOS/Android/Web/PC] |
73
+ | **Engine** | [Unity/Godot/Phaser] |
74
+ | **Min Spec** | [Device requirements] |
75
+ | **Integration** | [Must work with X] |
76
+
77
+ **Example:**
78
+ | Constraint | Requirement |
79
+ |------------|-------------|
80
+ | **Target Platform** | Android 8+ & iOS 14+ |
81
+ | **Engine** | Unity 6 LTS |
82
+ | **Min Spec** | 2GB RAM, GPU OpenGL ES 3.0 |
83
+ | **Integration** | Firebase Analytics |
84
+
85
+ ---
86
+
87
+ ## 🎮 Game-Specific Details
88
+
89
+ ### Core Loop
90
+ ```
91
+ [Action] → [Reward] → [Progression]
92
+ ```
93
+
94
+ ### Art Direction
95
+ [Brief description of visual style]
96
+
97
+ ### Audio Direction
98
+ [Brief description of sound/music style]
99
+
100
+ ### Monetization (if applicable)
101
+ [F2P/Premium/Hybrid + high-level strategy]
102
+
103
+ ---
104
+
105
+ ## ✅ Approval
106
+
107
+ > [!IMPORTANT]
108
+ > Spec này cần được User approve trước khi chuyển sang PLAN.
109
+
110
+ **Approved by:** [Name/Date]
@@ -0,0 +1,156 @@
1
+ # TASKS Template for Game Projects
2
+
3
+ > Executable task list generated from PLAN. Track progress with checkboxes.
4
+
5
+ ---
6
+
7
+ ## 📋 Project Info
8
+
9
+ **Game:** [Game Name]
10
+ **Based on:** `PLAN-{game-slug}.md`
11
+ **Started:** [Date]
12
+ **Target Completion:** [Date]
13
+
14
+ ---
15
+
16
+ ## 📊 Progress Overview
17
+
18
+ | Phase | Status | Progress |
19
+ |-------|--------|----------|
20
+ | Phase 1: Core Systems | 🔄 | 0/X tasks |
21
+ | Phase 2: Gameplay | ⏳ | 0/X tasks |
22
+ | Phase 3: UI & Polish | ⏳ | 0/X tasks |
23
+ | Phase 4: Audio & Effects | ⏳ | 0/X tasks |
24
+ | Phase X: Verification | ⏳ | 0/X checks |
25
+
26
+ **Legend:** ✅ Done | 🔄 In Progress | ⏳ Waiting | ❌ Blocked
27
+
28
+ ---
29
+
30
+ ## Phase 1: Core Systems
31
+
32
+ ### 1.1 [Task Name]
33
+ - [ ] **Task:** [Description]
34
+ - **Agent:** `[agent-name]`
35
+ - **Input:** [What's needed]
36
+ - **Output:** [What's produced]
37
+ - **Verify:** [How to check done]
38
+ - **Notes:** [Any additional context]
39
+
40
+ ### 1.2 [Task Name]
41
+ - [ ] **Task:** [Description]
42
+ - **Agent:** `[agent-name]`
43
+ - **Depends on:** 1.1
44
+ - **Input:** [What's needed]
45
+ - **Output:** [What's produced]
46
+ - **Verify:** [How to check done]
47
+
48
+ ---
49
+
50
+ ## Phase 2: Gameplay
51
+
52
+ ### 2.1 [Task Name]
53
+ - [ ] **Task:** [Description]
54
+ - **Agent:** `[agent-name]`
55
+ - **Depends on:** Phase 1
56
+ - **Input:** [What's needed]
57
+ - **Output:** [What's produced]
58
+ - **Verify:** [How to check done]
59
+
60
+ ### 2.2 [Task Name]
61
+ - [ ] **Task:** [Description]
62
+ - **Agent:** `[agent-name]`
63
+ - **Depends on:** 2.1
64
+ - **Input:** [What's needed]
65
+ - **Output:** [What's produced]
66
+ - **Verify:** [How to check done]
67
+
68
+ ---
69
+
70
+ ## Phase 3: UI & Polish
71
+
72
+ ### 3.1 [Task Name]
73
+ - [ ] **Task:** [Description]
74
+ - **Agent:** `[agent-name]`
75
+ - **Depends on:** Phase 2
76
+ - **Input:** [What's needed]
77
+ - **Output:** [What's produced]
78
+ - **Verify:** [How to check done]
79
+
80
+ ---
81
+
82
+ ## Phase 4: Audio & Effects
83
+
84
+ ### 4.1 [Task Name]
85
+ - [ ] **Task:** [Description]
86
+ - **Agent:** `[agent-name]`
87
+ - **Depends on:** None (parallel)
88
+ - **Input:** [What's needed]
89
+ - **Output:** [What's produced]
90
+ - **Verify:** [How to check done]
91
+
92
+ ---
93
+
94
+ ## Phase X: Verification
95
+
96
+ ### Build Verification
97
+ - [ ] **Build compiles without errors**
98
+ - Command: `[build command]`
99
+ - Expected: Build artifact created
100
+
101
+ - [ ] **Build size acceptable**
102
+ - Target: < [X] MB
103
+ - Actual: [X] MB
104
+
105
+ ### Performance Verification
106
+ - [ ] **Frame rate stable**
107
+ - Target: 60 FPS on [device]
108
+ - Test: Play for 5 minutes
109
+
110
+ - [ ] **Memory usage acceptable**
111
+ - Target: < [X] MB peak
112
+ - Test: Profile for 10 minutes
113
+
114
+ ### Feature Verification
115
+ - [ ] **Core loop works**
116
+ - Test: [Action] → [Reward] → [Progression]
117
+
118
+ - [ ] **All AC from SPEC met**
119
+ - [ ] AC1: [criterion]
120
+ - [ ] AC2: [criterion]
121
+ - [ ] AC3: [criterion]
122
+
123
+ ### Quality Verification
124
+ - [ ] **No critical bugs**
125
+ - [ ] **Audio plays correctly**
126
+ - [ ] **Save/Load works**
127
+ - [ ] **UI responsive on all supported devices**
128
+
129
+ ---
130
+
131
+ ## 📝 Session Log
132
+
133
+ ### [Date] - Session 1
134
+ **Completed:**
135
+ - [x] Task 1.1
136
+ - [x] Task 1.2
137
+
138
+ **Blockers:**
139
+ - [None / Description of blocker]
140
+
141
+ **Next Session:**
142
+ - [ ] Task 2.1
143
+
144
+ ---
145
+
146
+ ## ✅ Completion
147
+
148
+ > [!NOTE]
149
+ > Đánh dấu khi TOÀN BỘ tasks và Phase X hoàn thành.
150
+
151
+ - [ ] **All tasks completed**
152
+ - [ ] **Phase X verification passed**
153
+ - [ ] **CHANGELOG updated**
154
+
155
+ **Completed on:** [Date]
156
+ **Total time:** [X hours/days]