@musashishao/agent-kit 1.9.0 → 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.
- package/.agent/agents/ai-asset-factory.md +700 -0
- package/.agent/agents/ai-audio-factory.md +503 -0
- package/.agent/agents/game-developer.md +4 -4
- package/.agent/agents/orchestrator.md +113 -3
- package/.agent/agents/project-planner.md +67 -0
- package/.agent/agents/unity-mobile-master.md +949 -0
- package/.agent/mcp/config/registry.json +65 -51
- package/.agent/mcp/servers/notebooklm/README.md +114 -0
- package/.agent/mcp/servers/notebooklm/package.json +35 -0
- package/.agent/mcp/servers/notebooklm/src/auth/chrome.ts +225 -0
- package/.agent/mcp/servers/notebooklm/src/auth/index.ts +1 -0
- package/.agent/mcp/servers/notebooklm/src/index.ts +516 -0
- package/.agent/mcp/servers/notebooklm/src/services/index.ts +3 -0
- package/.agent/mcp/servers/notebooklm/src/services/library.ts +217 -0
- package/.agent/mcp/servers/notebooklm/src/services/notebooklm.ts +380 -0
- package/.agent/mcp/servers/notebooklm/tsconfig.json +15 -0
- package/.agent/mcp-gateway/README.md +169 -20
- package/.agent/mcp-gateway/package.json +22 -7
- package/.agent/mcp-gateway/src/auth/index.ts +55 -0
- package/.agent/mcp-gateway/src/auth/middleware.ts +242 -0
- package/.agent/mcp-gateway/src/auth/oauth.ts +462 -0
- package/.agent/mcp-gateway/src/auth/scopes.ts +227 -0
- package/.agent/mcp-gateway/src/index.ts +252 -105
- package/.agent/mcp-gateway/src/observability/index.ts +5 -0
- package/.agent/mcp-gateway/src/observability/otel.ts +405 -0
- package/.agent/mcp-gateway/src/transports/index.ts +5 -0
- package/.agent/mcp-gateway/src/transports/streamableHttp.ts +235 -0
- package/.agent/rules/CODEX.md +89 -0
- package/.agent/rules/CODE_RULES.md +73 -0
- package/.agent/rules/GEMINI.md +25 -0
- package/.agent/rules/MEMORY_STATE.md +110 -0
- package/.agent/rules/REFERENCE.md +33 -141
- package/.agent/rules/REF_SKILLS.md +116 -0
- package/.agent/rules/REF_WORKFLOWS.md +81 -0
- package/.agent/scripts/ak_cli.py +106 -5
- package/.agent/scripts/memory_manager.py +48 -9
- package/.agent/skills/anti-hallucination/SKILL.md +295 -0
- package/.agent/skills/anti-hallucination/scripts/check_hallucination.py +299 -0
- package/.agent/skills/bifurcation-analysis/SKILL.md +56 -0
- package/.agent/skills/brainstorming/SKILL.md +80 -6
- package/.agent/skills/decision-memory/SKILL.md +317 -0
- package/.agent/skills/emergence-detector/SKILL.md +230 -0
- package/.agent/skills/emergence-detector/scripts/check_emergence.py +265 -0
- package/.agent/skills/explained-qa/SKILL.md +142 -0
- package/.agent/skills/explained-qa/game-terminology.md +214 -0
- package/.agent/skills/game-development/ai-dialogue-engine/SKILL.md +442 -0
- package/.agent/skills/game-development/ai-graphics-generator/SKILL.md +463 -0
- package/.agent/skills/game-development/ai-playtest-framework/SKILL.md +570 -0
- package/.agent/skills/game-development/camera-systems/SKILL.md +607 -0
- package/.agent/skills/game-development/card-battle-engine/SKILL.md +618 -0
- package/.agent/skills/game-development/character-controller-3d/SKILL.md +908 -0
- package/.agent/skills/game-development/cloud-save-sync/SKILL.md +527 -0
- package/.agent/skills/game-development/combat-system/SKILL.md +748 -0
- package/.agent/skills/game-development/compliance-rating/SKILL.md +277 -0
- package/.agent/skills/game-development/crossplatform-build/SKILL.md +386 -0
- package/.agent/skills/game-development/cultivation-progression/SKILL.md +520 -0
- package/.agent/skills/game-development/data-driven-balance/SKILL.md +535 -0
- package/.agent/skills/game-development/game-analytics-integrator/SKILL.md +410 -0
- package/.agent/skills/game-development/game-audio-advanced/SKILL.md +646 -0
- package/.agent/skills/game-development/game-economy-designer/SKILL.md +375 -0
- package/.agent/skills/game-development/game-marketing/SKILL.md +85 -0
- package/.agent/skills/game-development/game-state-manager/SKILL.md +883 -0
- package/.agent/skills/game-development/hybrid-game-spec/SKILL.md +220 -0
- package/.agent/skills/game-development/inventory-quest/SKILL.md +747 -0
- package/.agent/skills/game-development/liveops/SKILL.md +308 -0
- package/.agent/skills/game-development/localization/SKILL.md +286 -0
- package/.agent/skills/game-development/mobile-input-patterns/SKILL.md +343 -0
- package/.agent/skills/game-development/monetization-strategy/SKILL.md +94 -0
- package/.agent/skills/game-development/multiplayer-master/SKILL.md +727 -0
- package/.agent/skills/game-development/narrative-branching/SKILL.md +593 -0
- package/.agent/skills/game-development/procedural-level-ai/SKILL.md +367 -0
- package/.agent/skills/game-development/prototyping-rapid/SKILL.md +205 -0
- package/.agent/skills/game-development/spec-ecosystem/SKILL.md +155 -0
- package/.agent/skills/game-development/spec-ecosystem/decision-log-format.md +129 -0
- package/.agent/skills/game-development/spec-ecosystem/templates/PLAN-template.md +178 -0
- package/.agent/skills/game-development/spec-ecosystem/templates/SPEC-template.md +110 -0
- package/.agent/skills/game-development/spec-ecosystem/templates/TASKS-template.md +156 -0
- package/.agent/skills/game-development/survival-systems/SKILL.md +493 -0
- package/.agent/skills/game-development/testing-qa/SKILL.md +270 -0
- package/.agent/skills/game-development/unity-mobile-optimization/SKILL.md +271 -0
- package/.agent/skills/intent-capture/SKILL.md +65 -0
- package/.agent/skills/mcp-composition/SKILL.md +362 -0
- package/.agent/skills/mcp-observability/SKILL.md +323 -0
- package/.agent/skills/mcp-security/SKILL.md +314 -0
- package/.agent/skills/trust-spectrum/SKILL.md +291 -0
- package/.agent/skills/vibe-coding-guard/SKILL.md +328 -0
- package/.agent/templates/AGENTS.game.md +63 -0
- package/.agent/templates/docs/WORKFLOW_GUIDE.en.md +100 -0
- package/.agent/templates/docs/WORKFLOW_GUIDE.vi.md +100 -0
- package/.agent/workflows/ai-agent.md +2 -0
- package/.agent/workflows/autofix.md +1 -0
- package/.agent/workflows/brainstorm.md +1 -0
- package/.agent/workflows/context.md +1 -0
- package/.agent/workflows/create.md +39 -8
- package/.agent/workflows/dashboard.md +1 -0
- package/.agent/workflows/debug.md +14 -0
- package/.agent/workflows/deploy.md +14 -0
- package/.agent/workflows/enhance.md +44 -0
- package/.agent/workflows/gamekit-init.md +177 -0
- package/.agent/workflows/gamekit-launch.md +338 -0
- package/.agent/workflows/gamekit-plan.md +204 -0
- package/.agent/workflows/gamekit-qa.md +153 -0
- package/.agent/workflows/gamekit-spec.md +243 -0
- package/.agent/workflows/gamekit-tasks.md +208 -0
- package/.agent/workflows/marketing.md +2 -0
- package/.agent/workflows/next.md +1 -0
- package/.agent/workflows/orchestrate.md +12 -0
- package/.agent/workflows/pentest.md +2 -0
- package/.agent/workflows/plan.md +42 -0
- package/.agent/workflows/preview.md +1 -0
- package/.agent/workflows/quality.md +1 -0
- package/.agent/workflows/saas.md +2 -0
- package/.agent/workflows/spec.md +42 -0
- package/.agent/workflows/status.md +1 -0
- package/.agent/workflows/test.md +14 -0
- package/.agent/workflows/ui-ux-pro-max.md +1 -0
- package/bin/cli.js +411 -111
- package/package.json +1 -2
- package/.agent/agents/game-asset-curator.md +0 -317
- package/.agent/agents/game-narrative-designer.md +0 -310
- package/.agent/agents/game-qa-agent.md +0 -441
- package/.agent/workflows/game-prototype.md +0 -154
- package/docs/AI_DATA_INFRASTRUCTURE.md +0 -288
- package/docs/CHANGELOG_AI_INFRA.md +0 -141
- package/docs/MIGRATION_GUIDE_V1.9.md +0 -55
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Generate executable task list from approved game plan."
|
|
3
|
+
description_vi: "Tạo danh sách task thực thi từ kế hoạch game đã được duyệt."
|
|
4
|
+
description_en: "Generate executable task list from approved game plan."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /gamekit.tasks - Game Task List Generation
|
|
8
|
+
|
|
9
|
+
Generate an executable task list with checkboxes, session tracking, and progress overview from an approved implementation plan.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 🎯 Purpose
|
|
14
|
+
|
|
15
|
+
Transform PLAN into trackable TASKS:
|
|
16
|
+
1. Convert task table to checkbox format
|
|
17
|
+
2. Add verification steps for each task
|
|
18
|
+
3. Include session logging capability
|
|
19
|
+
4. Generate progress overview
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Prerequisites
|
|
24
|
+
|
|
25
|
+
- `PLAN-{game}.md` exists in `docs/plans/`
|
|
26
|
+
- PLAN has been reviewed and approved by user
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 📋 Workflow Steps
|
|
31
|
+
|
|
32
|
+
### Step 0: Read PLAN
|
|
33
|
+
|
|
34
|
+
```markdown
|
|
35
|
+
🔍 **Reading implementation plan...**
|
|
36
|
+
|
|
37
|
+
**PLAN file:** docs/plans/PLAN-{game}.md
|
|
38
|
+
**Total phases:** X
|
|
39
|
+
**Total tasks:** Y
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Step 1: Parse Task Table
|
|
43
|
+
|
|
44
|
+
Extract from PLAN:
|
|
45
|
+
- All task IDs and names
|
|
46
|
+
- Agent assignments
|
|
47
|
+
- Dependencies
|
|
48
|
+
- INPUT → OUTPUT → VERIFY for each
|
|
49
|
+
|
|
50
|
+
### Step 2: Generate Checkbox Format
|
|
51
|
+
|
|
52
|
+
Transform each task:
|
|
53
|
+
|
|
54
|
+
```markdown
|
|
55
|
+
### [Task ID] [Task Name]
|
|
56
|
+
- [ ] **Task:** [Description]
|
|
57
|
+
- **Agent:** `[agent-name]`
|
|
58
|
+
- **Depends on:** [dependencies or "None"]
|
|
59
|
+
- **Input:** [What's needed to start]
|
|
60
|
+
- **Output:** [What's produced when done]
|
|
61
|
+
- **Verify:** [How to confirm completion]
|
|
62
|
+
- **Estimated:** [time estimate]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Step 3: Add Progress Overview
|
|
66
|
+
|
|
67
|
+
```markdown
|
|
68
|
+
## 📊 Progress Overview
|
|
69
|
+
|
|
70
|
+
| Phase | Status | Progress | Estimated |
|
|
71
|
+
|-------|--------|----------|-----------|
|
|
72
|
+
| Phase 1: Core Systems | ⏳ | 0/X | X hours |
|
|
73
|
+
| Phase 2: Gameplay | ⏳ | 0/X | X hours |
|
|
74
|
+
| Phase 3: UI & Polish | ⏳ | 0/X | X hours |
|
|
75
|
+
| Phase 4: Audio | ⏳ | 0/X | X hours |
|
|
76
|
+
| Phase X: Verification | ⏳ | 0/X | X hours |
|
|
77
|
+
| **Total** | | 0/Y | X hours |
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Step 4: Add Session Log Template
|
|
81
|
+
|
|
82
|
+
```markdown
|
|
83
|
+
## 📝 Session Log
|
|
84
|
+
|
|
85
|
+
### [DATE] - Session 1
|
|
86
|
+
**Focus:** [What was worked on]
|
|
87
|
+
**Completed:**
|
|
88
|
+
- [x] Task X.X
|
|
89
|
+
- [x] Task X.X
|
|
90
|
+
|
|
91
|
+
**Blockers:**
|
|
92
|
+
- [None / Description]
|
|
93
|
+
|
|
94
|
+
**Next Session:**
|
|
95
|
+
- [ ] Task X.X
|
|
96
|
+
- [ ] Task X.X
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Step 5: Add Phase X Verification
|
|
102
|
+
|
|
103
|
+
```markdown
|
|
104
|
+
## Phase X: Verification
|
|
105
|
+
|
|
106
|
+
### Build Verification
|
|
107
|
+
- [ ] **Compiles without errors**
|
|
108
|
+
- Command: `[build command]`
|
|
109
|
+
- Expected: Success
|
|
110
|
+
|
|
111
|
+
- [ ] **Build size acceptable**
|
|
112
|
+
- Target: < [from PLAN] MB
|
|
113
|
+
|
|
114
|
+
### Performance Verification
|
|
115
|
+
- [ ] **60 FPS on target device**
|
|
116
|
+
- Test device: [from SPEC]
|
|
117
|
+
- Method: 5-minute play session
|
|
118
|
+
|
|
119
|
+
### Feature Verification (from SPEC Acceptance Criteria)
|
|
120
|
+
- [ ] AC1: [criterion]
|
|
121
|
+
- [ ] AC2: [criterion]
|
|
122
|
+
- [ ] AC3: [criterion]
|
|
123
|
+
|
|
124
|
+
### Quality Verification
|
|
125
|
+
- [ ] No critical bugs
|
|
126
|
+
- [ ] All audio plays
|
|
127
|
+
- [ ] Save/Load works
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Step 6: Generate TASKS File
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
# Generate TASKS file
|
|
134
|
+
# Location: docs/plans/TASKS-{game-slug}.md
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## 📁 Output Files
|
|
140
|
+
|
|
141
|
+
| File | Location | Content |
|
|
142
|
+
|------|----------|---------|
|
|
143
|
+
| TASKS | `docs/plans/TASKS-{game}.md` | Executable task list |
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## ⏭️ Next Steps
|
|
148
|
+
|
|
149
|
+
```markdown
|
|
150
|
+
✅ Task list generated!
|
|
151
|
+
|
|
152
|
+
**File:** `docs/plans/TASKS-{game}.md`
|
|
153
|
+
**Total tasks:** X tasks
|
|
154
|
+
**Estimated time:** Y hours
|
|
155
|
+
|
|
156
|
+
**How to use:**
|
|
157
|
+
1. Open TASKS file
|
|
158
|
+
2. Work through tasks in order (respect dependencies)
|
|
159
|
+
3. Check off completed tasks
|
|
160
|
+
4. Log progress in Session Log section
|
|
161
|
+
5. When all done, complete Phase X verification
|
|
162
|
+
|
|
163
|
+
**Start implementation:**
|
|
164
|
+
→ Use `/game-hybrid` to begin
|
|
165
|
+
→ Or `/orchestrate` for multi-agent parallel work
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## 🔗 Integration
|
|
171
|
+
|
|
172
|
+
| Skill | Usage |
|
|
173
|
+
|-------|-------|
|
|
174
|
+
| `spec-ecosystem` | TASKS template |
|
|
175
|
+
| `project-planner` | Task parsing logic |
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Task Status Icons
|
|
180
|
+
|
|
181
|
+
| Icon | Meaning | When to Use |
|
|
182
|
+
|------|---------|-------------|
|
|
183
|
+
| ✅ | Completed | Task verified done |
|
|
184
|
+
| 🔄 | In Progress | Currently working |
|
|
185
|
+
| ⏳ | Waiting | Not started/blocked |
|
|
186
|
+
| ❌ | Blocked | Dependency issue |
|
|
187
|
+
| ⚠️ | Warning | Needs attention |
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## AI Task Tracking
|
|
192
|
+
|
|
193
|
+
When AI works on tasks:
|
|
194
|
+
|
|
195
|
+
```markdown
|
|
196
|
+
📋 **Current Session**
|
|
197
|
+
|
|
198
|
+
**Working on:** Task 2.3 - Player Movement
|
|
199
|
+
**Status:** 🔄 In Progress
|
|
200
|
+
|
|
201
|
+
**Progress:**
|
|
202
|
+
- [x] Created PlayerController.cs
|
|
203
|
+
- [x] Added input handling
|
|
204
|
+
- [ ] Testing movement feel
|
|
205
|
+
- [ ] Tuning via ScriptableObject
|
|
206
|
+
|
|
207
|
+
**Will update TASKS file when complete.**
|
|
208
|
+
```
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Growth marketing and campaign planning workflow. Sets up analytics, crafts copy, and plans the launch.
|
|
3
|
+
description_en: Growth marketing and campaign planning workflow. Sets up analytics, crafts copy, and plans the launch.
|
|
4
|
+
description_vi: Workflow lập kế hoạch marketing tăng trưởng và chiến dịch. Thiết lập phân tích, viết nội dung và lên kế hoạch ra mắt.
|
|
3
5
|
---
|
|
4
6
|
|
|
5
7
|
# 🚀 /marketing - Campaign Planning Workflow
|
package/.agent/workflows/next.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Coordinate multiple agents for complex tasks. Used for multi-perspective analysis, comprehensive reviews, or tasks requiring different expertise.
|
|
3
3
|
description_vi: Điều phối nhiều Agent cho các tác vụ phức tạp. Được sử dụng để phân tích đa chiều, đánh giá toàn diện hoặc các tác vụ yêu cầu chuyên môn khác nhau.
|
|
4
|
+
description_en: Coordinate multiple agents for complex tasks. Used for multi-perspective analysis, comprehensive reviews, or tasks requiring different expertise.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Multi-Agent Orchestration
|
|
@@ -37,6 +38,17 @@ $ARGUMENTS
|
|
|
37
38
|
|
|
38
39
|
---
|
|
39
40
|
|
|
41
|
+
## 🔴 VIBES PRE-FLIGHT (MANDATORY)
|
|
42
|
+
|
|
43
|
+
Before orchestration begins:
|
|
44
|
+
1. **V** - Set success evidence: `ak memory set --key success_criteria --value "X"`
|
|
45
|
+
2. **I** - Capture full intent using `@[skills/intent-capture]`
|
|
46
|
+
3. **B** - Identify bifurcations using `@[skills/bifurcation-analysis]`
|
|
47
|
+
4. **E** - Define emergence boundaries (scope/deps)
|
|
48
|
+
5. **S** - Confirm safety layers are active
|
|
49
|
+
|
|
50
|
+
> ⚠️ **HALT** if VIBES check is incomplete.
|
|
51
|
+
|
|
40
52
|
## Pre-Flight: Mode Check
|
|
41
53
|
|
|
42
54
|
| Current Mode | Task Type | Action |
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Penetration testing and security audit workflow. Systematic vulnerability discovery and exploitation.
|
|
3
|
+
description_en: Penetration testing and security audit workflow. Systematic vulnerability discovery and exploitation.
|
|
4
|
+
description_vi: Workflow kiểm thử xâm nhập và đánh giá bảo mật. Phát hiện lỗ hổng hệ thống và khai thác thử nghiệm.
|
|
3
5
|
---
|
|
4
6
|
|
|
5
7
|
# 🕵️ /pentest - Security Audit Workflow
|
package/.agent/workflows/plan.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Create a project plan using the project-planner agent. Only creates plan files - does not write code.
|
|
3
3
|
description_vi: Tạo kế hoạch dự án bằng Agent project-planner. Chỉ tạo file kế hoạch - không viết code.
|
|
4
|
+
description_en: Create a project plan using the project-planner agent. Only creates plan files - does not write code.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /plan - Project Planning Mode
|
|
@@ -18,8 +19,32 @@ $ARGUMENTS
|
|
|
18
19
|
|
|
19
20
|
---
|
|
20
21
|
|
|
22
|
+
## 🔴 VIBES PRE-FLIGHT (MANDATORY)
|
|
23
|
+
|
|
24
|
+
Before planning:
|
|
25
|
+
1. **V** - Define success: "Plan approved when user confirms all phases"
|
|
26
|
+
2. **I** - Capture full intent using `@[skills/intent-capture]`
|
|
27
|
+
3. **B** - Identify architecture bifurcations using `@[skills/bifurcation-analysis]`
|
|
28
|
+
4. **E** - Set scope boundaries to prevent creep
|
|
29
|
+
5. **S** - Confirm safety layers for Tier 2/3 actions
|
|
30
|
+
|
|
31
|
+
> ⚠️ **HALT** if VIBES check is incomplete.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
21
35
|
## Task
|
|
22
36
|
|
|
37
|
+
## 💾 Git Checkpoint (Safety First)
|
|
38
|
+
|
|
39
|
+
Before starting work:
|
|
40
|
+
1. [ ] **Clean working tree?** (Run `git status`)
|
|
41
|
+
2. [ ] **On correct branch?** (Not `main` or `master`)
|
|
42
|
+
3. [ ] **Latest pulled?** (Run `git pull`)
|
|
43
|
+
|
|
44
|
+
> 🔴 **STOP** if git state is dirty. Ask user to commit or stash first.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
23
48
|
Use the `project-planner` agent with this context:
|
|
24
49
|
|
|
25
50
|
```
|
|
@@ -88,3 +113,20 @@ Next steps:
|
|
|
88
113
|
/plan mobile app for fitness tracking
|
|
89
114
|
/plan SaaS dashboard with analytics
|
|
90
115
|
```
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## 📝 Decision Logging (MANDATORY)
|
|
120
|
+
|
|
121
|
+
After EVERY clarifying question is answered, log to `.agent/memory/decisions.md`:
|
|
122
|
+
|
|
123
|
+
```markdown
|
|
124
|
+
## Session: [YYYY-MM-DD HH:MM]
|
|
125
|
+
|
|
126
|
+
### Q: [Question asked]
|
|
127
|
+
**A:** [User's answer]
|
|
128
|
+
**Impact:** [How this affects plan]
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
> 🔴 Log decisions BEFORE writing plan. Use logged decisions as source of truth.
|
|
132
|
+
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Manage preview server - start, stop, and status check. Manages local development server.
|
|
3
3
|
description_vi: Quản lý máy chủ xem trước - bắt đầu, dừng và kiểm tra trạng thái. Quản lý máy chủ phát triển cục bộ.
|
|
4
|
+
description_en: Manage preview server - start, stop, and status check. Manages local development server.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /preview - Preview Management
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Optimize context and output quality for Codex CLI. Used for complex tasks requiring high-quality results.
|
|
3
3
|
description_vi: Tối ưu hóa ngữ cảnh và chất lượng đầu ra cho Codex CLI. Được sử dụng cho các tác vụ phức tạp đòi hỏi kết quả chất lượng cao.
|
|
4
|
+
description_en: Optimize context and output quality for Codex CLI. Used for complex tasks requiring high-quality results.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /quality - Quality Optimization Workflow
|
package/.agent/workflows/saas.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: SaaS launch workflow. From landing page to billing integration.
|
|
3
|
+
description_en: SaaS launch workflow. From landing page to billing integration.
|
|
4
|
+
description_vi: Workflow ra mắt sản phẩm SaaS. Từ trang landing page đến tích hợp thanh toán.
|
|
3
5
|
---
|
|
4
6
|
|
|
5
7
|
# 🚀 /saas - SaaS Launch Workflow
|
package/.agent/workflows/spec.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Create specification documents before planning. Used for complex features requiring clear requirements before implementation.
|
|
3
3
|
description_vi: Tạo tài liệu đặc tả trước khi lập kế hoạch. Được sử dụng cho các tính năng phức tạp yêu cầu yêu cầu rõ ràng trước khi triển khai.
|
|
4
|
+
description_en: Create specification documents before planning. Used for complex features requiring clear requirements before implementation.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /spec - Specification Writing Mode
|
|
@@ -36,8 +37,32 @@ Create a clear, testable specification document that serves as the "source of tr
|
|
|
36
37
|
|
|
37
38
|
---
|
|
38
39
|
|
|
40
|
+
## 🔴 VIBES PRE-FLIGHT (MANDATORY)
|
|
41
|
+
|
|
42
|
+
Before writing spec:
|
|
43
|
+
1. **V** - Define success: "Spec approved when user marks status as Approved"
|
|
44
|
+
2. **I** - Extract explicit/implicit needs using `@[skills/intent-capture]`
|
|
45
|
+
3. **B** - Identify scope bifurcations: MVP vs Full Feature
|
|
46
|
+
4. **E** - Define emergence boundaries (what's OUT of scope)
|
|
47
|
+
5. **S** - Ensure testable acceptance criteria
|
|
48
|
+
|
|
49
|
+
> ⚠️ **HALT** if VIBES check is incomplete.
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
39
53
|
## Task
|
|
40
54
|
|
|
55
|
+
## 💾 Git Checkpoint (Safety First)
|
|
56
|
+
|
|
57
|
+
Before starting work:
|
|
58
|
+
1. [ ] **Clean working tree?** (Run `git status`)
|
|
59
|
+
2. [ ] **On correct branch?** (Not `main` or `master`)
|
|
60
|
+
3. [ ] **Latest pulled?** (Run `git pull`)
|
|
61
|
+
|
|
62
|
+
> 🔴 **STOP** if git state is dirty. Ask user to commit or stash first.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
41
66
|
Use the `spec-writing` skill with this context:
|
|
42
67
|
|
|
43
68
|
```
|
|
@@ -188,3 +213,20 @@ Next steps:
|
|
|
188
213
|
/spec real-time chat with WebSocket
|
|
189
214
|
/spec admin dashboard with analytics
|
|
190
215
|
```
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## 📝 Decision Logging (MANDATORY)
|
|
220
|
+
|
|
221
|
+
After EVERY clarifying question is answered, log to `.agent/memory/decisions.md`:
|
|
222
|
+
|
|
223
|
+
```markdown
|
|
224
|
+
## Session: [YYYY-MM-DD HH:MM]
|
|
225
|
+
|
|
226
|
+
### Q: [Question asked]
|
|
227
|
+
**A:** [User's answer]
|
|
228
|
+
**Impact:** [How this affects spec]
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
> 🔴 Log decisions BEFORE writing spec. Use logged decisions as source of truth.
|
|
232
|
+
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Display project and agent status. Track progress and status boards.
|
|
3
3
|
description_vi: Hiển thị trạng thái dự án và Agent. Theo dõi tiến độ và bảng trạng thái.
|
|
4
|
+
description_en: Display project and agent status. Track progress and status boards.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /status - Show Status
|
package/.agent/workflows/test.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Create and run tests. Create and execute tests for the code.
|
|
3
3
|
description_vi: Tạo và chạy các bài kiểm tra. Tạo và thực thi kiểm tra cho mã nguồn.
|
|
4
|
+
description_en: Create and run tests. Create and execute tests for the code.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /test - Test Generation and Execution
|
|
@@ -27,6 +28,19 @@ This command generates tests, runs existing tests, or checks test coverage.
|
|
|
27
28
|
|
|
28
29
|
---
|
|
29
30
|
|
|
31
|
+
## 🔴 VIBES PRE-FLIGHT (MANDATORY)
|
|
32
|
+
|
|
33
|
+
Before testing:
|
|
34
|
+
1. **V** - Define success: "All tests pass with exit code 0"
|
|
35
|
+
2. **I** - Capture intent: What behavior must be verified?
|
|
36
|
+
3. **B** - Bifurcation: Unit vs Integration vs E2E?
|
|
37
|
+
4. **E** - Emergence: Check for phantom dependencies in test stubs
|
|
38
|
+
5. **S** - Safety: Ensure tests don't have side effects
|
|
39
|
+
|
|
40
|
+
> ⚠️ **HALT** if VIBES check is incomplete.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
30
44
|
## Behavior
|
|
31
45
|
|
|
32
46
|
### Generate Tests
|