ai-devx 1.0.0 โ 1.0.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/package.json +1 -1
- package/templates/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/core.py +258 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/search.py +106 -0
- package/templates/.agent/ARCHITECTURE.md +288 -0
- package/templates/.agent/agents/backend-specialist.md +251 -135
- package/templates/.agent/agents/code-archaeologist.md +106 -0
- package/templates/.agent/agents/database-architect.md +222 -160
- package/templates/.agent/agents/debugger.md +205 -108
- package/templates/.agent/agents/devops-engineer.md +226 -169
- package/templates/.agent/agents/documentation-writer.md +104 -0
- package/templates/.agent/agents/explorer-agent.md +73 -0
- package/templates/.agent/agents/frontend-specialist.md +587 -116
- package/templates/.agent/agents/game-developer.md +162 -0
- package/templates/.agent/agents/mobile-developer.md +377 -0
- package/templates/.agent/agents/orchestrator.md +412 -133
- package/templates/.agent/agents/penetration-tester.md +188 -0
- package/templates/.agent/agents/performance-optimizer.md +187 -0
- package/templates/.agent/agents/product-manager.md +112 -0
- package/templates/.agent/agents/product-owner.md +95 -0
- package/templates/.agent/agents/project-planner.md +390 -111
- package/templates/.agent/agents/qa-automation-engineer.md +103 -0
- package/templates/.agent/agents/security-auditor.md +158 -110
- package/templates/.agent/agents/seo-specialist.md +111 -0
- package/templates/.agent/agents/test-engineer.md +136 -154
- package/templates/.agent/mcp_config.json +24 -0
- package/templates/.agent/rules/GEMINI.md +273 -0
- package/templates/.agent/scripts/auto_preview.py +148 -0
- package/templates/.agent/scripts/checklist.py +217 -0
- package/templates/.agent/scripts/session_manager.py +120 -0
- package/templates/.agent/scripts/verify_all.py +327 -0
- package/templates/.agent/skills/api-patterns/SKILL.md +77 -232
- package/templates/.agent/skills/api-patterns/api-style.md +42 -0
- package/templates/.agent/skills/api-patterns/auth.md +24 -0
- package/templates/.agent/skills/api-patterns/documentation.md +26 -0
- package/templates/.agent/skills/api-patterns/graphql.md +41 -0
- package/templates/.agent/skills/api-patterns/rate-limiting.md +31 -0
- package/templates/.agent/skills/api-patterns/response.md +37 -0
- package/templates/.agent/skills/api-patterns/rest.md +40 -0
- package/templates/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
- package/templates/.agent/skills/api-patterns/security-testing.md +122 -0
- package/templates/.agent/skills/api-patterns/trpc.md +41 -0
- package/templates/.agent/skills/api-patterns/versioning.md +22 -0
- package/templates/.agent/skills/app-builder/SKILL.md +75 -0
- package/templates/.agent/skills/app-builder/agent-coordination.md +71 -0
- package/templates/.agent/skills/app-builder/feature-building.md +53 -0
- package/templates/.agent/skills/app-builder/project-detection.md +34 -0
- package/templates/.agent/skills/app-builder/scaffolding.md +118 -0
- package/templates/.agent/skills/app-builder/tech-stack.md +40 -0
- package/templates/.agent/skills/app-builder/templates/SKILL.md +39 -0
- package/templates/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/templates/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/templates/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/templates/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/templates/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/templates/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/templates/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/templates/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
- package/templates/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
- package/templates/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
- package/templates/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
- package/templates/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/templates/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
- package/templates/.agent/skills/architecture/SKILL.md +55 -0
- package/templates/.agent/skills/architecture/context-discovery.md +43 -0
- package/templates/.agent/skills/architecture/examples.md +94 -0
- package/templates/.agent/skills/architecture/pattern-selection.md +68 -0
- package/templates/.agent/skills/architecture/patterns-reference.md +50 -0
- package/templates/.agent/skills/architecture/trade-off-analysis.md +77 -0
- package/templates/.agent/skills/bash-linux/SKILL.md +199 -0
- package/templates/.agent/skills/behavioral-modes/SKILL.md +242 -0
- package/templates/.agent/skills/brainstorming/SKILL.md +163 -0
- package/templates/.agent/skills/brainstorming/dynamic-questioning.md +350 -0
- package/templates/.agent/skills/clean-code/SKILL.md +201 -0
- package/templates/.agent/skills/code-review-checklist/SKILL.md +109 -0
- package/templates/.agent/skills/database-design/SKILL.md +34 -285
- package/templates/.agent/skills/database-design/database-selection.md +43 -0
- package/templates/.agent/skills/database-design/indexing.md +39 -0
- package/templates/.agent/skills/database-design/migrations.md +48 -0
- package/templates/.agent/skills/database-design/optimization.md +36 -0
- package/templates/.agent/skills/database-design/orm-selection.md +30 -0
- package/templates/.agent/skills/database-design/schema-design.md +56 -0
- package/templates/.agent/skills/database-design/scripts/schema_validator.py +172 -0
- package/templates/.agent/skills/deployment-procedures/SKILL.md +241 -0
- package/templates/.agent/skills/doc.md +177 -0
- package/templates/.agent/skills/documentation-templates/SKILL.md +194 -0
- package/templates/.agent/skills/frontend-design/SKILL.md +418 -0
- package/templates/.agent/skills/frontend-design/animation-guide.md +331 -0
- package/templates/.agent/skills/frontend-design/color-system.md +311 -0
- package/templates/.agent/skills/frontend-design/decision-trees.md +418 -0
- package/templates/.agent/skills/frontend-design/motion-graphics.md +306 -0
- package/templates/.agent/skills/frontend-design/scripts/accessibility_checker.py +183 -0
- package/templates/.agent/skills/frontend-design/scripts/ux_audit.py +722 -0
- package/templates/.agent/skills/frontend-design/typography-system.md +345 -0
- package/templates/.agent/skills/frontend-design/ux-psychology.md +1116 -0
- package/templates/.agent/skills/frontend-design/visual-effects.md +383 -0
- package/templates/.agent/skills/game-development/2d-games/SKILL.md +119 -0
- package/templates/.agent/skills/game-development/3d-games/SKILL.md +135 -0
- package/templates/.agent/skills/game-development/SKILL.md +167 -0
- package/templates/.agent/skills/game-development/game-art/SKILL.md +185 -0
- package/templates/.agent/skills/game-development/game-audio/SKILL.md +190 -0
- package/templates/.agent/skills/game-development/game-design/SKILL.md +129 -0
- package/templates/.agent/skills/game-development/mobile-games/SKILL.md +108 -0
- package/templates/.agent/skills/game-development/multiplayer/SKILL.md +132 -0
- package/templates/.agent/skills/game-development/pc-games/SKILL.md +144 -0
- package/templates/.agent/skills/game-development/vr-ar/SKILL.md +123 -0
- package/templates/.agent/skills/game-development/web-games/SKILL.md +150 -0
- package/templates/.agent/skills/geo-fundamentals/SKILL.md +156 -0
- package/templates/.agent/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
- package/templates/.agent/skills/i18n-localization/SKILL.md +154 -0
- package/templates/.agent/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/templates/.agent/skills/intelligent-routing/SKILL.md +335 -0
- package/templates/.agent/skills/lint-and-validate/SKILL.md +45 -0
- package/templates/.agent/skills/lint-and-validate/scripts/lint_runner.py +184 -0
- package/templates/.agent/skills/lint-and-validate/scripts/type_coverage.py +173 -0
- package/templates/.agent/skills/mcp-builder/SKILL.md +176 -0
- package/templates/.agent/skills/mobile-design/SKILL.md +394 -0
- package/templates/.agent/skills/mobile-design/decision-trees.md +516 -0
- package/templates/.agent/skills/mobile-design/mobile-backend.md +491 -0
- package/templates/.agent/skills/mobile-design/mobile-color-system.md +420 -0
- package/templates/.agent/skills/mobile-design/mobile-debugging.md +122 -0
- package/templates/.agent/skills/mobile-design/mobile-design-thinking.md +357 -0
- package/templates/.agent/skills/mobile-design/mobile-navigation.md +458 -0
- package/templates/.agent/skills/mobile-design/mobile-performance.md +767 -0
- package/templates/.agent/skills/mobile-design/mobile-testing.md +356 -0
- package/templates/.agent/skills/mobile-design/mobile-typography.md +433 -0
- package/templates/.agent/skills/mobile-design/platform-android.md +666 -0
- package/templates/.agent/skills/mobile-design/platform-ios.md +561 -0
- package/templates/.agent/skills/mobile-design/scripts/mobile_audit.py +670 -0
- package/templates/.agent/skills/mobile-design/touch-psychology.md +537 -0
- package/templates/.agent/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
- package/templates/.agent/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
- package/templates/.agent/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
- package/templates/.agent/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
- package/templates/.agent/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
- package/templates/.agent/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
- package/templates/.agent/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
- package/templates/.agent/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
- package/templates/.agent/skills/nextjs-react-expert/SKILL.md +286 -0
- package/templates/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
- package/templates/.agent/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
- package/templates/.agent/skills/nodejs-best-practices/SKILL.md +333 -0
- package/templates/.agent/skills/parallel-agents/SKILL.md +175 -0
- package/templates/.agent/skills/performance-profiling/SKILL.md +143 -0
- package/templates/.agent/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
- package/templates/.agent/skills/plan-writing/SKILL.md +152 -0
- package/templates/.agent/skills/powershell-windows/SKILL.md +167 -0
- package/templates/.agent/skills/python-patterns/SKILL.md +441 -0
- package/templates/.agent/skills/red-team-tactics/SKILL.md +199 -0
- package/templates/.agent/skills/rust-pro/SKILL.md +176 -0
- package/templates/.agent/skills/seo-fundamentals/SKILL.md +129 -0
- package/templates/.agent/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
- package/templates/.agent/skills/server-management/SKILL.md +161 -0
- package/templates/.agent/skills/systematic-debugging/SKILL.md +109 -0
- package/templates/.agent/skills/tailwind-patterns/SKILL.md +269 -0
- package/templates/.agent/skills/tdd-workflow/SKILL.md +149 -0
- package/templates/.agent/skills/testing-patterns/SKILL.md +156 -240
- package/templates/.agent/skills/testing-patterns/scripts/test_runner.py +219 -0
- package/templates/.agent/skills/vulnerability-scanner/SKILL.md +276 -0
- package/templates/.agent/skills/vulnerability-scanner/checklists.md +121 -0
- package/templates/.agent/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/templates/.agent/skills/web-design-guidelines/SKILL.md +57 -0
- package/templates/.agent/skills/webapp-testing/SKILL.md +187 -0
- package/templates/.agent/skills/webapp-testing/scripts/playwright_runner.py +173 -0
- package/templates/.agent/workflows/brainstorm.md +113 -0
- package/templates/.agent/workflows/create.md +40 -112
- package/templates/.agent/workflows/debug.md +82 -117
- package/templates/.agent/workflows/deploy.md +142 -129
- package/templates/.agent/workflows/enhance.md +63 -0
- package/templates/.agent/workflows/orchestrate.md +237 -0
- package/templates/.agent/workflows/plan.md +74 -138
- package/templates/.agent/workflows/preview.md +81 -0
- package/templates/.agent/workflows/status.md +86 -0
- package/templates/.agent/workflows/test.md +109 -130
- package/templates/.agent/workflows/ui-ux-pro-max.md +296 -0
- package/templates/.agent/scripts/checklist.js +0 -260
- package/templates/.agent/scripts/security_scan.js +0 -251
- package/templates/.agent/skills/docker-expert/SKILL.md +0 -286
- package/templates/.agent/skills/react-best-practices/SKILL.md +0 -246
- package/templates/.agent/workflows/security.md +0 -181
|
@@ -1,153 +1,89 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
description: Create comprehensive task breakdown and implementation plan
|
|
4
|
-
agent: project-planner
|
|
5
|
-
skills:
|
|
6
|
-
- brainstorming
|
|
7
|
-
- plan-writing
|
|
8
|
-
- architecture
|
|
9
|
-
- estimation
|
|
2
|
+
description: Create project plan using project-planner agent. No code writing - only plan file generation.
|
|
10
3
|
---
|
|
11
4
|
|
|
12
|
-
# /plan
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## Execution Steps
|
|
21
|
-
|
|
22
|
-
### Step 1: Requirements Clarification
|
|
23
|
-
Ask 3-5 strategic questions:
|
|
24
|
-
1. What is the core problem you're solving?
|
|
25
|
-
2. Who are the users and what do they need?
|
|
26
|
-
3. What does success look like?
|
|
27
|
-
4. What are the constraints (time, budget, tech)?
|
|
28
|
-
5. Are there any dependencies or blockers?
|
|
29
|
-
|
|
30
|
-
### Step 2: Analysis
|
|
31
|
-
- Parse user request
|
|
32
|
-
- Identify ambiguous requirements
|
|
33
|
-
- Determine scope and complexity
|
|
34
|
-
- Identify technical constraints
|
|
35
|
-
|
|
36
|
-
### Step 3: Task Decomposition
|
|
37
|
-
Break down into:
|
|
38
|
-
- High-level objectives
|
|
39
|
-
- Technical tasks
|
|
40
|
-
- Dependencies between tasks
|
|
41
|
-
- Risks and mitigations
|
|
42
|
-
|
|
43
|
-
### Step 4: Estimation
|
|
44
|
-
Categorize tasks:
|
|
45
|
-
- **Quick wins**: < 2 hours
|
|
46
|
-
- **Small**: 2-4 hours
|
|
47
|
-
- **Medium**: 4-8 hours
|
|
48
|
-
- **Large**: 1-2 days
|
|
49
|
-
- **Epic**: 3-5 days (break down further)
|
|
50
|
-
|
|
51
|
-
Apply uncertainty multipliers:
|
|
52
|
-
- Well-understood: 1.0x
|
|
53
|
-
- Some uncertainty: 1.5x
|
|
54
|
-
- High uncertainty: 2.0x
|
|
55
|
-
- Research needed: 3.0x
|
|
56
|
-
|
|
57
|
-
### Step 5: Output Format
|
|
58
|
-
|
|
59
|
-
Generate structured markdown plan:
|
|
60
|
-
|
|
61
|
-
```markdown
|
|
62
|
-
## Plan: [Feature Name]
|
|
63
|
-
|
|
64
|
-
### Overview
|
|
65
|
-
[High-level description of what will be built]
|
|
66
|
-
|
|
67
|
-
### Goals
|
|
68
|
-
- [Goal 1]
|
|
69
|
-
- [Goal 2]
|
|
70
|
-
- [Goal 3]
|
|
71
|
-
|
|
72
|
-
### Technical Architecture
|
|
73
|
-
[Architecture decisions and tech stack]
|
|
74
|
-
|
|
75
|
-
### Tasks
|
|
76
|
-
|
|
77
|
-
#### Phase 1: Foundation
|
|
78
|
-
| ID | Task | Estimate | Dependencies | Priority |
|
|
79
|
-
|----|------|----------|--------------|----------|
|
|
80
|
-
| T1 | [Task description] | 2h | None | P0 |
|
|
81
|
-
| T2 | [Task description] | 4h | T1 | P0 |
|
|
82
|
-
|
|
83
|
-
#### Phase 2: Implementation
|
|
84
|
-
| ID | Task | Estimate | Dependencies | Priority |
|
|
85
|
-
|----|------|----------|--------------|----------|
|
|
86
|
-
| T3 | [Task description] | 8h | T2 | P1 |
|
|
87
|
-
|
|
88
|
-
### Milestones
|
|
89
|
-
1. **Milestone 1** - [Date]: [Description]
|
|
90
|
-
2. **Milestone 2** - [Date]: [Description]
|
|
91
|
-
3. **Milestone 3** - [Date]: [Description]
|
|
92
|
-
|
|
93
|
-
### Risks
|
|
94
|
-
| Risk | Probability | Impact | Mitigation |
|
|
95
|
-
|------|-------------|--------|------------|
|
|
96
|
-
| [Risk 1] | High/Med/Low | High/Med/Low | [Strategy] |
|
|
97
|
-
|
|
98
|
-
### Resources Needed
|
|
99
|
-
- [Role 1]: [Number needed]
|
|
100
|
-
- [Role 2]: [Number needed]
|
|
101
|
-
|
|
102
|
-
### Definition of Done
|
|
103
|
-
- [ ] All P0 tasks complete
|
|
104
|
-
- [ ] Code reviewed
|
|
105
|
-
- [ ] Tests passing
|
|
106
|
-
- [ ] Documentation updated
|
|
107
|
-
- [ ] Deployed to staging
|
|
108
|
-
|
|
109
|
-
### Next Steps
|
|
110
|
-
1. [Action item 1]
|
|
111
|
-
2. [Action item 2]
|
|
112
|
-
```
|
|
5
|
+
# /plan - Project Planning Mode
|
|
6
|
+
|
|
7
|
+
$ARGUMENTS
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## ๐ด CRITICAL RULES
|
|
113
12
|
|
|
114
|
-
|
|
13
|
+
1. **NO CODE WRITING** - This command creates plan file only
|
|
14
|
+
2. **Use project-planner agent** - NOT Antigravity Agent's native Plan mode
|
|
15
|
+
3. **Socratic Gate** - Ask clarifying questions before planning
|
|
16
|
+
4. **Dynamic Naming** - Plan file named based on task
|
|
115
17
|
|
|
116
|
-
|
|
18
|
+
---
|
|
117
19
|
|
|
118
|
-
|
|
20
|
+
## Task
|
|
21
|
+
|
|
22
|
+
Use the `project-planner` agent with this context:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
CONTEXT:
|
|
26
|
+
- User Request: $ARGUMENTS
|
|
27
|
+
- Mode: PLANNING ONLY (no code)
|
|
28
|
+
- Output: docs/PLAN-{task-slug}.md (dynamic naming)
|
|
29
|
+
|
|
30
|
+
NAMING RULES:
|
|
31
|
+
1. Extract 2-3 key words from request
|
|
32
|
+
2. Lowercase, hyphen-separated
|
|
33
|
+
3. Max 30 characters
|
|
34
|
+
4. Example: "e-commerce cart" โ PLAN-ecommerce-cart.md
|
|
35
|
+
|
|
36
|
+
RULES:
|
|
37
|
+
1. Follow project-planner.md Phase -1 (Context Check)
|
|
38
|
+
2. Follow project-planner.md Phase 0 (Socratic Gate)
|
|
39
|
+
3. Create PLAN-{slug}.md with task breakdown
|
|
40
|
+
4. DO NOT write any code files
|
|
41
|
+
5. REPORT the exact file name created
|
|
119
42
|
```
|
|
120
|
-
โก Executing /plan
|
|
121
43
|
|
|
122
|
-
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Expected Output
|
|
123
47
|
|
|
124
|
-
|
|
125
|
-
|
|
48
|
+
| Deliverable | Location |
|
|
49
|
+
|-------------|----------|
|
|
50
|
+
| Project Plan | `docs/PLAN-{task-slug}.md` |
|
|
51
|
+
| Task Breakdown | Inside plan file |
|
|
52
|
+
| Agent Assignments | Inside plan file |
|
|
53
|
+
| Verification Checklist | Phase X in plan file |
|
|
126
54
|
|
|
127
|
-
|
|
55
|
+
---
|
|
128
56
|
|
|
129
|
-
|
|
130
|
-
| ID | Task | Estimate | Dependencies |
|
|
131
|
-
|----|------|----------|--------------|
|
|
132
|
-
| T1 | Design user schema | 2h | None |
|
|
133
|
-
| T2 | Implement password hashing | 2h | T1 |
|
|
134
|
-
| T3 | Create signup endpoint | 4h | T2 |
|
|
135
|
-
| T4 | Create login endpoint | 4h | T2 |
|
|
136
|
-
| T5 | Implement JWT middleware | 4h | T4 |
|
|
57
|
+
## After Planning
|
|
137
58
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
| T6 | Create login form | 4h | None |
|
|
142
|
-
| T7 | Create signup form | 4h | None |
|
|
143
|
-
| T8 | Implement auth context | 4h | T6, T7 |
|
|
59
|
+
Tell user:
|
|
60
|
+
```
|
|
61
|
+
[OK] Plan created: docs/PLAN-{slug}.md
|
|
144
62
|
|
|
145
|
-
|
|
63
|
+
Next steps:
|
|
64
|
+
- Review the plan
|
|
65
|
+
- Run `/create` to start implementation
|
|
66
|
+
- Or modify plan manually
|
|
146
67
|
```
|
|
147
68
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Naming Examples
|
|
72
|
+
|
|
73
|
+
| Request | Plan File |
|
|
74
|
+
|---------|-----------|
|
|
75
|
+
| `/plan e-commerce site with cart` | `docs/PLAN-ecommerce-cart.md` |
|
|
76
|
+
| `/plan mobile app for fitness` | `docs/PLAN-fitness-app.md` |
|
|
77
|
+
| `/plan add dark mode feature` | `docs/PLAN-dark-mode.md` |
|
|
78
|
+
| `/plan fix authentication bug` | `docs/PLAN-auth-fix.md` |
|
|
79
|
+
| `/plan SaaS dashboard` | `docs/PLAN-saas-dashboard.md` |
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Usage
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
/plan e-commerce site with cart
|
|
87
|
+
/plan mobile app for fitness tracking
|
|
88
|
+
/plan SaaS dashboard with analytics
|
|
89
|
+
```
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Preview server start, stop, and status check. Local development server management.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /preview - Preview Management
|
|
6
|
+
|
|
7
|
+
$ARGUMENTS
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Task
|
|
12
|
+
|
|
13
|
+
Manage preview server: start, stop, status check.
|
|
14
|
+
|
|
15
|
+
### Commands
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
/preview - Show current status
|
|
19
|
+
/preview start - Start server
|
|
20
|
+
/preview stop - Stop server
|
|
21
|
+
/preview restart - Restart
|
|
22
|
+
/preview check - Health check
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Usage Examples
|
|
28
|
+
|
|
29
|
+
### Start Server
|
|
30
|
+
```
|
|
31
|
+
/preview start
|
|
32
|
+
|
|
33
|
+
Response:
|
|
34
|
+
๐ Starting preview...
|
|
35
|
+
Port: 3000
|
|
36
|
+
Type: Next.js
|
|
37
|
+
|
|
38
|
+
โ
Preview ready!
|
|
39
|
+
URL: http://localhost:3000
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Status Check
|
|
43
|
+
```
|
|
44
|
+
/preview
|
|
45
|
+
|
|
46
|
+
Response:
|
|
47
|
+
=== Preview Status ===
|
|
48
|
+
|
|
49
|
+
๐ URL: http://localhost:3000
|
|
50
|
+
๐ Project: C:/projects/my-app
|
|
51
|
+
๐ท๏ธ Type: nextjs
|
|
52
|
+
๐ Health: OK
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Port Conflict
|
|
56
|
+
```
|
|
57
|
+
/preview start
|
|
58
|
+
|
|
59
|
+
Response:
|
|
60
|
+
โ ๏ธ Port 3000 is in use.
|
|
61
|
+
|
|
62
|
+
Options:
|
|
63
|
+
1. Start on port 3001
|
|
64
|
+
2. Close app on 3000
|
|
65
|
+
3. Specify different port
|
|
66
|
+
|
|
67
|
+
Which one? (default: 1)
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Technical
|
|
73
|
+
|
|
74
|
+
Auto preview uses `auto_preview.py` script:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
python .agent/scripts/auto_preview.py start [port]
|
|
78
|
+
python .agent/scripts/auto_preview.py stop
|
|
79
|
+
python .agent/scripts/auto_preview.py status
|
|
80
|
+
```
|
|
81
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Display agent and project status. Progress tracking and status board.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /status - Show Status
|
|
6
|
+
|
|
7
|
+
$ARGUMENTS
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Task
|
|
12
|
+
|
|
13
|
+
Show current project and agent status.
|
|
14
|
+
|
|
15
|
+
### What It Shows
|
|
16
|
+
|
|
17
|
+
1. **Project Info**
|
|
18
|
+
- Project name and path
|
|
19
|
+
- Tech stack
|
|
20
|
+
- Current features
|
|
21
|
+
|
|
22
|
+
2. **Agent Status Board**
|
|
23
|
+
- Which agents are running
|
|
24
|
+
- Which tasks are completed
|
|
25
|
+
- Pending work
|
|
26
|
+
|
|
27
|
+
3. **File Statistics**
|
|
28
|
+
- Files created count
|
|
29
|
+
- Files modified count
|
|
30
|
+
|
|
31
|
+
4. **Preview Status**
|
|
32
|
+
- Is server running
|
|
33
|
+
- URL
|
|
34
|
+
- Health check
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Example Output
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
=== Project Status ===
|
|
42
|
+
|
|
43
|
+
๐ Project: my-ecommerce
|
|
44
|
+
๐ Path: C:/projects/my-ecommerce
|
|
45
|
+
๐ท๏ธ Type: nextjs-ecommerce
|
|
46
|
+
๐ Status: active
|
|
47
|
+
|
|
48
|
+
๐ง Tech Stack:
|
|
49
|
+
Framework: next.js
|
|
50
|
+
Database: postgresql
|
|
51
|
+
Auth: clerk
|
|
52
|
+
Payment: stripe
|
|
53
|
+
|
|
54
|
+
โ
Features (5):
|
|
55
|
+
โข product-listing
|
|
56
|
+
โข cart
|
|
57
|
+
โข checkout
|
|
58
|
+
โข user-auth
|
|
59
|
+
โข order-history
|
|
60
|
+
|
|
61
|
+
โณ Pending (2):
|
|
62
|
+
โข admin-panel
|
|
63
|
+
โข email-notifications
|
|
64
|
+
|
|
65
|
+
๐ Files: 73 created, 12 modified
|
|
66
|
+
|
|
67
|
+
=== Agent Status ===
|
|
68
|
+
|
|
69
|
+
โ
database-architect โ Completed
|
|
70
|
+
โ
backend-specialist โ Completed
|
|
71
|
+
๐ frontend-specialist โ Dashboard components (60%)
|
|
72
|
+
โณ test-engineer โ Waiting
|
|
73
|
+
|
|
74
|
+
=== Preview ===
|
|
75
|
+
|
|
76
|
+
๐ URL: http://localhost:3000
|
|
77
|
+
๐ Health: OK
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Technical
|
|
83
|
+
|
|
84
|
+
Status uses these scripts:
|
|
85
|
+
- `python .agent/scripts/session_manager.py status`
|
|
86
|
+
- `python .agent/scripts/auto_preview.py status`
|
|
@@ -1,165 +1,144 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
description: Generate and run tests for code coverage and quality assurance
|
|
4
|
-
agent: test-engineer
|
|
5
|
-
skills:
|
|
6
|
-
- testing-patterns
|
|
7
|
-
- webapp-testing
|
|
8
|
-
- tdd-workflow
|
|
9
|
-
mode: thorough
|
|
2
|
+
description: Test generation and test running command. Creates and executes tests for code.
|
|
10
3
|
---
|
|
11
4
|
|
|
12
|
-
# /test
|
|
5
|
+
# /test - Test Generation and Execution
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
Generate comprehensive tests, run test suites, and improve code coverage.
|
|
7
|
+
$ARGUMENTS
|
|
16
8
|
|
|
17
|
-
|
|
18
|
-
User types: `/test <target>` or `/test all`
|
|
9
|
+
---
|
|
19
10
|
|
|
20
|
-
##
|
|
11
|
+
## Purpose
|
|
21
12
|
|
|
22
|
-
|
|
23
|
-
Identify what needs testing:
|
|
24
|
-
- Untested files/functions
|
|
25
|
-
- Critical business logic
|
|
26
|
-
- API endpoints
|
|
27
|
-
- UI components
|
|
28
|
-
- Edge cases
|
|
13
|
+
This command generates tests, runs existing tests, or checks test coverage.
|
|
29
14
|
|
|
30
|
-
|
|
15
|
+
---
|
|
31
16
|
|
|
32
|
-
|
|
33
|
-
```typescript
|
|
34
|
-
- Test happy paths
|
|
35
|
-
- Test error cases
|
|
36
|
-
- Test edge cases
|
|
37
|
-
- Test boundary conditions
|
|
38
|
-
- Mock external dependencies
|
|
39
|
-
```
|
|
17
|
+
## Sub-commands
|
|
40
18
|
|
|
41
|
-
**Integration Tests:**
|
|
42
|
-
```typescript
|
|
43
|
-
- Test API endpoints
|
|
44
|
-
- Test database interactions
|
|
45
|
-
- Test service integrations
|
|
46
|
-
- Test authentication flows
|
|
47
19
|
```
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
- Test form submissions
|
|
53
|
-
- Test navigation
|
|
54
|
-
- Test error handling
|
|
20
|
+
/test - Run all tests
|
|
21
|
+
/test [file/feature] - Generate tests for specific target
|
|
22
|
+
/test coverage - Show test coverage report
|
|
23
|
+
/test watch - Run tests in watch mode
|
|
55
24
|
```
|
|
56
25
|
|
|
57
|
-
|
|
58
|
-
Follow AAA pattern:
|
|
59
|
-
```typescript
|
|
60
|
-
describe('functionName', () => {
|
|
61
|
-
it('should [expected behavior] when [condition]', () => {
|
|
62
|
-
// Arrange
|
|
63
|
-
const input = ...;
|
|
64
|
-
|
|
65
|
-
// Act
|
|
66
|
-
const result = functionName(input);
|
|
67
|
-
|
|
68
|
-
// Assert
|
|
69
|
-
expect(result).toBe(expected);
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
```
|
|
26
|
+
---
|
|
73
27
|
|
|
74
|
-
|
|
75
|
-
Run tests and report:
|
|
76
|
-
- Total tests
|
|
77
|
-
- Passed/Failed
|
|
78
|
-
- Coverage percentage
|
|
79
|
-
- Duration
|
|
28
|
+
## Behavior
|
|
80
29
|
|
|
81
|
-
###
|
|
82
|
-
Check coverage gaps:
|
|
83
|
-
- Branches not covered
|
|
84
|
-
- Functions not tested
|
|
85
|
-
- Lines not executed
|
|
86
|
-
- Prioritize critical code
|
|
30
|
+
### Generate Tests
|
|
87
31
|
|
|
88
|
-
|
|
89
|
-
Add tests for uncovered code:
|
|
90
|
-
- Edge cases
|
|
91
|
-
- Error paths
|
|
92
|
-
- Complex logic
|
|
32
|
+
When asked to test a file or feature:
|
|
93
33
|
|
|
94
|
-
|
|
34
|
+
1. **Analyze the code**
|
|
35
|
+
- Identify functions and methods
|
|
36
|
+
- Find edge cases
|
|
37
|
+
- Detect dependencies to mock
|
|
95
38
|
|
|
96
|
-
|
|
97
|
-
|
|
39
|
+
2. **Generate test cases**
|
|
40
|
+
- Happy path tests
|
|
41
|
+
- Error cases
|
|
42
|
+
- Edge cases
|
|
43
|
+
- Integration tests (if needed)
|
|
44
|
+
|
|
45
|
+
3. **Write tests**
|
|
46
|
+
- Use project's test framework (Jest, Vitest, etc.)
|
|
47
|
+
- Follow existing test patterns
|
|
48
|
+
- Mock external dependencies
|
|
98
49
|
|
|
99
|
-
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Output Format
|
|
53
|
+
|
|
54
|
+
### For Test Generation
|
|
100
55
|
|
|
101
|
-
|
|
56
|
+
```markdown
|
|
57
|
+
## ๐งช Tests: [Target]
|
|
102
58
|
|
|
103
|
-
###
|
|
104
|
-
|
|
105
|
-
|
|
59
|
+
### Test Plan
|
|
60
|
+
| Test Case | Type | Coverage |
|
|
61
|
+
|-----------|------|----------|
|
|
62
|
+
| Should create user | Unit | Happy path |
|
|
63
|
+
| Should reject invalid email | Unit | Validation |
|
|
64
|
+
| Should handle db error | Unit | Error case |
|
|
106
65
|
|
|
107
66
|
### Generated Tests
|
|
108
67
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
[Code]
|
|
68
|
+
`tests/[file].test.ts`
|
|
69
|
+
|
|
70
|
+
[Code block with tests]
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
Run with: `npm test`
|
|
112
75
|
```
|
|
113
76
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
[Code]
|
|
77
|
+
### For Test Execution
|
|
78
|
+
|
|
117
79
|
```
|
|
80
|
+
๐งช Running tests...
|
|
81
|
+
|
|
82
|
+
โ
auth.test.ts (5 passed)
|
|
83
|
+
โ
user.test.ts (8 passed)
|
|
84
|
+
โ order.test.ts (2 passed, 1 failed)
|
|
85
|
+
|
|
86
|
+
Failed:
|
|
87
|
+
โ should calculate total with discount
|
|
88
|
+
Expected: 90
|
|
89
|
+
Received: 100
|
|
90
|
+
|
|
91
|
+
Total: 15 tests (14 passed, 1 failed)
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Examples
|
|
118
97
|
|
|
119
|
-
## Test Results
|
|
120
|
-
|
|
121
|
-
### Summary
|
|
122
|
-
- Total: 50 tests
|
|
123
|
-
- Passed: 48 โ
|
|
124
|
-
- Failed: 2 โ
|
|
125
|
-
- Skipped: 0
|
|
126
|
-
|
|
127
|
-
### Coverage
|
|
128
|
-
| Metric | Before | After | Target |
|
|
129
|
-
|--------|--------|-------|--------|
|
|
130
|
-
| Statements | 60% | 85% | 80% โ
|
|
|
131
|
-
| Branches | 50% | 75% | 80% โ ๏ธ |
|
|
132
|
-
| Functions | 70% | 90% | 80% โ
|
|
|
133
|
-
| Lines | 65% | 85% | 80% โ
|
|
|
134
|
-
|
|
135
|
-
### Failed Tests
|
|
136
|
-
1. [Test name]: [Error]
|
|
137
|
-
- Fix: [Solution]
|
|
138
|
-
|
|
139
|
-
## Recommendations
|
|
140
|
-
- [Recommendation 1]
|
|
141
|
-
- [Recommendation 2]
|
|
142
98
|
```
|
|
99
|
+
/test src/services/auth.service.ts
|
|
100
|
+
/test user registration flow
|
|
101
|
+
/test coverage
|
|
102
|
+
/test fix failed tests
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
143
106
|
|
|
144
|
-
##
|
|
107
|
+
## Test Patterns
|
|
145
108
|
|
|
146
|
-
|
|
147
|
-
`/test UserService.ts`
|
|
109
|
+
### Unit Test Structure
|
|
148
110
|
|
|
149
|
-
|
|
150
|
-
|
|
111
|
+
```typescript
|
|
112
|
+
describe('AuthService', () => {
|
|
113
|
+
describe('login', () => {
|
|
114
|
+
it('should return token for valid credentials', async () => {
|
|
115
|
+
// Arrange
|
|
116
|
+
const credentials = { email: 'test@test.com', password: 'pass123' };
|
|
117
|
+
|
|
118
|
+
// Act
|
|
119
|
+
const result = await authService.login(credentials);
|
|
120
|
+
|
|
121
|
+
// Assert
|
|
122
|
+
expect(result.token).toBeDefined();
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
it('should throw for invalid password', async () => {
|
|
126
|
+
// Arrange
|
|
127
|
+
const credentials = { email: 'test@test.com', password: 'wrong' };
|
|
128
|
+
|
|
129
|
+
// Act & Assert
|
|
130
|
+
await expect(authService.login(credentials)).rejects.toThrow('Invalid credentials');
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
```
|
|
151
135
|
|
|
152
|
-
|
|
153
|
-
`/test --unit`
|
|
154
|
-
`/test --integration`
|
|
155
|
-
`/test --e2e`
|
|
136
|
+
---
|
|
156
137
|
|
|
157
|
-
|
|
158
|
-
`/test --coverage`
|
|
138
|
+
## Key Principles
|
|
159
139
|
|
|
160
|
-
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
164
|
-
-
|
|
165
|
-
- Edge cases covered
|
|
140
|
+
- **Test behavior not implementation**
|
|
141
|
+
- **One assertion per test** (when practical)
|
|
142
|
+
- **Descriptive test names**
|
|
143
|
+
- **Arrange-Act-Assert pattern**
|
|
144
|
+
- **Mock external dependencies**
|