flyee 0.1.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.
- package/LICENSE +21 -0
- package/README.md +134 -0
- package/bin/install.js +357 -0
- package/bridge/bridge.py +1780 -0
- package/bridge/local_tracker.py +722 -0
- package/core/agents/backend-specialist.md +266 -0
- package/core/agents/code-archaeologist.md +106 -0
- package/core/agents/database-architect.md +226 -0
- package/core/agents/debugger.md +225 -0
- package/core/agents/devops-engineer.md +323 -0
- package/core/agents/documentation-writer.md +104 -0
- package/core/agents/explorer-agent.md +73 -0
- package/core/agents/frontend-specialist.md +743 -0
- package/core/agents/game-developer.md +162 -0
- package/core/agents/mobile-developer.md +377 -0
- package/core/agents/orchestrator.md +416 -0
- package/core/agents/penetration-tester.md +188 -0
- package/core/agents/performance-optimizer.md +187 -0
- package/core/agents/product-manager.md +112 -0
- package/core/agents/product-owner.md +95 -0
- package/core/agents/project-planner.md +470 -0
- package/core/agents/qa-automation-engineer.md +103 -0
- package/core/agents/security-auditor.md +170 -0
- package/core/agents/seo-specialist.md +111 -0
- package/core/agents/stitch-designer.md +190 -0
- package/core/agents/tdd-reviewer.md +282 -0
- package/core/agents/test-engineer.md +158 -0
- package/core/scripts/auto_preview.py +148 -0
- package/core/scripts/checklist.py +243 -0
- package/core/scripts/cost_report.py +149 -0
- package/core/scripts/doc-sync-check.py +461 -0
- package/core/scripts/parse_user_stories.py +79 -0
- package/core/scripts/prepare_notion_updates.py +172 -0
- package/core/scripts/print_create_payload.py +18 -0
- package/core/scripts/session_manager.py +120 -0
- package/core/scripts/task_complete.py +127 -0
- package/core/scripts/verify_all.py +327 -0
- package/core/skills/analytics-strategy/SKILL.md +128 -0
- package/core/skills/api-patterns/SKILL.md +81 -0
- package/core/skills/api-patterns/api-style.md +42 -0
- package/core/skills/api-patterns/auth.md +24 -0
- package/core/skills/api-patterns/documentation.md +26 -0
- package/core/skills/api-patterns/graphql.md +41 -0
- package/core/skills/api-patterns/rate-limiting.md +31 -0
- package/core/skills/api-patterns/response.md +37 -0
- package/core/skills/api-patterns/rest.md +40 -0
- package/core/skills/api-patterns/scripts/api_validator.py +211 -0
- package/core/skills/api-patterns/security-testing.md +122 -0
- package/core/skills/api-patterns/trpc.md +41 -0
- package/core/skills/api-patterns/versioning.md +22 -0
- package/core/skills/app-builder/SKILL.md +75 -0
- package/core/skills/app-builder/agent-coordination.md +71 -0
- package/core/skills/app-builder/feature-building.md +53 -0
- package/core/skills/app-builder/project-detection.md +34 -0
- package/core/skills/app-builder/scaffolding.md +118 -0
- package/core/skills/app-builder/tech-stack.md +40 -0
- package/core/skills/app-builder/templates/SKILL.md +39 -0
- package/core/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/core/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/core/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/core/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/core/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/core/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/core/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/core/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +82 -0
- package/core/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +100 -0
- package/core/skills/app-builder/templates/nextjs-static/TEMPLATE.md +106 -0
- package/core/skills/app-builder/templates/nuxt-app/TEMPLATE.md +101 -0
- package/core/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/core/skills/app-builder/templates/react-native-app/TEMPLATE.md +93 -0
- package/core/skills/architecture/SKILL.md +55 -0
- package/core/skills/architecture/context-discovery.md +43 -0
- package/core/skills/architecture/examples.md +94 -0
- package/core/skills/architecture/pattern-selection.md +68 -0
- package/core/skills/architecture/patterns-reference.md +50 -0
- package/core/skills/architecture/trade-off-analysis.md +77 -0
- package/core/skills/atomic-design/SKILL.md +282 -0
- package/core/skills/atomic-design/references/classification-guide.md +132 -0
- package/core/skills/atomic-design/references/quality-checklist.md +60 -0
- package/core/skills/atomic-design/references/stacks/stack-blade.md +254 -0
- package/core/skills/atomic-design/references/stacks/stack-nextjs.md +272 -0
- package/core/skills/atomic-design/references/stacks/stack-react.md +239 -0
- package/core/skills/atomic-design/references/stacks/stack-vue.md +224 -0
- package/core/skills/bash-linux/SKILL.md +199 -0
- package/core/skills/behavioral-modes/SKILL.md +242 -0
- package/core/skills/brainstorming/SKILL.md +163 -0
- package/core/skills/brainstorming/dynamic-questioning.md +373 -0
- package/core/skills/checkpointing-patterns/SKILL.md +163 -0
- package/core/skills/clean-code/SKILL.md +201 -0
- package/core/skills/code-review-checklist/SKILL.md +109 -0
- package/core/skills/code-truth-validation/SKILL.md +149 -0
- package/core/skills/component-library-discovery/SKILL.md +154 -0
- package/core/skills/content-strategy/SKILL.md +222 -0
- package/core/skills/context-budget/SKILL.md +155 -0
- package/core/skills/context-gathering-patterns/SKILL.md +278 -0
- package/core/skills/cost-tracking/SKILL.md +206 -0
- package/core/skills/database-design/SKILL.md +52 -0
- package/core/skills/database-design/database-selection.md +43 -0
- package/core/skills/database-design/indexing.md +39 -0
- package/core/skills/database-design/migrations.md +48 -0
- package/core/skills/database-design/optimization.md +36 -0
- package/core/skills/database-design/orm-selection.md +30 -0
- package/core/skills/database-design/schema-design.md +56 -0
- package/core/skills/database-design/scripts/schema_validator.py +172 -0
- package/core/skills/deployment-procedures/SKILL.md +295 -0
- package/core/skills/design-md/README.md +34 -0
- package/core/skills/design-md/SKILL.md +172 -0
- package/core/skills/design-md/examples/DESIGN.md +154 -0
- package/core/skills/design-system-enforcement/SKILL.md +339 -0
- package/core/skills/doc.md +177 -0
- package/core/skills/document-registry/SKILL.md +130 -0
- package/core/skills/documentation-publishing/SKILL.md +174 -0
- package/core/skills/documentation-templates/SKILL.md +194 -0
- package/core/skills/enhance-prompt/README.md +34 -0
- package/core/skills/enhance-prompt/SKILL.md +204 -0
- package/core/skills/enhance-prompt/references/KEYWORDS.md +114 -0
- package/core/skills/frontend-design/SKILL.md +430 -0
- package/core/skills/frontend-design/animation-guide.md +331 -0
- package/core/skills/frontend-design/color-system.md +311 -0
- package/core/skills/frontend-design/decision-trees.md +418 -0
- package/core/skills/frontend-design/motion-graphics.md +306 -0
- package/core/skills/frontend-design/scripts/accessibility_checker.py +183 -0
- package/core/skills/frontend-design/scripts/ux_audit.py +722 -0
- package/core/skills/frontend-design/typography-system.md +345 -0
- package/core/skills/frontend-design/ux-psychology.md +541 -0
- package/core/skills/frontend-design/visual-effects.md +383 -0
- package/core/skills/game-development/2d-games/SKILL.md +119 -0
- package/core/skills/game-development/3d-games/SKILL.md +135 -0
- package/core/skills/game-development/SKILL.md +167 -0
- package/core/skills/game-development/game-art/SKILL.md +185 -0
- package/core/skills/game-development/game-audio/SKILL.md +190 -0
- package/core/skills/game-development/game-design/SKILL.md +129 -0
- package/core/skills/game-development/mobile-games/SKILL.md +108 -0
- package/core/skills/game-development/multiplayer/SKILL.md +132 -0
- package/core/skills/game-development/pc-games/SKILL.md +144 -0
- package/core/skills/game-development/vr-ar/SKILL.md +123 -0
- package/core/skills/game-development/web-games/SKILL.md +150 -0
- package/core/skills/geo-fundamentals/SKILL.md +156 -0
- package/core/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
- package/core/skills/git-workflow/SKILL.md +263 -0
- package/core/skills/history-check-patterns/SKILL.md +125 -0
- package/core/skills/i18n-localization/SKILL.md +154 -0
- package/core/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/core/skills/integration-completeness/SKILL.md +219 -0
- package/core/skills/intelligent-routing/SKILL.md +370 -0
- package/core/skills/lint-and-validate/SKILL.md +45 -0
- package/core/skills/lint-and-validate/scripts/lint_runner.py +173 -0
- package/core/skills/lint-and-validate/scripts/type_coverage.py +173 -0
- package/core/skills/local-verification/SKILL.md +195 -0
- package/core/skills/mcp-builder/SKILL.md +176 -0
- package/core/skills/mobile-design/SKILL.md +394 -0
- package/core/skills/mobile-design/decision-trees.md +516 -0
- package/core/skills/mobile-design/mobile-backend.md +491 -0
- package/core/skills/mobile-design/mobile-color-system.md +420 -0
- package/core/skills/mobile-design/mobile-debugging.md +122 -0
- package/core/skills/mobile-design/mobile-design-thinking.md +357 -0
- package/core/skills/mobile-design/mobile-navigation.md +458 -0
- package/core/skills/mobile-design/mobile-performance.md +767 -0
- package/core/skills/mobile-design/mobile-testing.md +356 -0
- package/core/skills/mobile-design/mobile-typography.md +433 -0
- package/core/skills/mobile-design/platform-android.md +666 -0
- package/core/skills/mobile-design/platform-ios.md +561 -0
- package/core/skills/mobile-design/scripts/mobile_audit.py +670 -0
- package/core/skills/mobile-design/touch-psychology.md +537 -0
- package/core/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
- package/core/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
- package/core/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
- package/core/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
- package/core/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
- package/core/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
- package/core/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
- package/core/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
- package/core/skills/nextjs-react-expert/SKILL.md +267 -0
- package/core/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
- package/core/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
- package/core/skills/nodejs-best-practices/SKILL.md +333 -0
- package/core/skills/notion-task-patterns/SKILL.md +2529 -0
- package/core/skills/page-specifications/SKILL.md +367 -0
- package/core/skills/parallel-agents/SKILL.md +175 -0
- package/core/skills/performance-profiling/SKILL.md +143 -0
- package/core/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
- package/core/skills/plan-writing/SKILL.md +190 -0
- package/core/skills/powershell-windows/SKILL.md +167 -0
- package/core/skills/project-foundation/SKILL.md +117 -0
- package/core/skills/project-setup/SKILL.md +141 -0
- package/core/skills/project-tracking-patterns/SKILL.md +357 -0
- package/core/skills/project-type-discovery/SKILL.md +239 -0
- package/core/skills/python-patterns/SKILL.md +441 -0
- package/core/skills/qa-test-generation/SKILL.md +156 -0
- package/core/skills/react-components/README.md +36 -0
- package/core/skills/react-components/SKILL.md +47 -0
- package/core/skills/react-components/examples/gold-standard-card.tsx +80 -0
- package/core/skills/react-components/package-lock.json +231 -0
- package/core/skills/react-components/package.json +16 -0
- package/core/skills/react-components/resources/architecture-checklist.md +15 -0
- package/core/skills/react-components/resources/component-template.tsx +37 -0
- package/core/skills/react-components/resources/stitch-api-reference.md +14 -0
- package/core/skills/react-components/resources/style-guide.json +27 -0
- package/core/skills/react-components/scripts/fetch-stitch.sh +30 -0
- package/core/skills/react-components/scripts/validate.js +68 -0
- package/core/skills/red-team-tactics/SKILL.md +199 -0
- package/core/skills/remotion/README.md +105 -0
- package/core/skills/remotion/SKILL.md +393 -0
- package/core/skills/remotion/examples/WalkthroughComposition.tsx +78 -0
- package/core/skills/remotion/examples/screens.json +56 -0
- package/core/skills/remotion/resources/composition-checklist.md +124 -0
- package/core/skills/remotion/resources/screen-slide-template.tsx +123 -0
- package/core/skills/remotion/scripts/download-stitch-asset.sh +38 -0
- package/core/skills/seo-fundamentals/SKILL.md +129 -0
- package/core/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
- package/core/skills/server-management/SKILL.md +161 -0
- package/core/skills/session-resilience/SKILL.md +199 -0
- package/core/skills/shadcn-ui/README.md +248 -0
- package/core/skills/shadcn-ui/SKILL.md +326 -0
- package/core/skills/shadcn-ui/examples/auth-layout.tsx +177 -0
- package/core/skills/shadcn-ui/examples/data-table.tsx +313 -0
- package/core/skills/shadcn-ui/examples/form-pattern.tsx +177 -0
- package/core/skills/shadcn-ui/resources/component-catalog.md +481 -0
- package/core/skills/shadcn-ui/resources/customization-guide.md +516 -0
- package/core/skills/shadcn-ui/resources/migration-guide.md +463 -0
- package/core/skills/shadcn-ui/resources/setup-guide.md +412 -0
- package/core/skills/shadcn-ui/scripts/verify-setup.sh +134 -0
- package/core/skills/state-machine/SKILL.md +264 -0
- package/core/skills/stitch-loop/README.md +54 -0
- package/core/skills/stitch-loop/SKILL.md +203 -0
- package/core/skills/stitch-loop/examples/SITE.md +73 -0
- package/core/skills/stitch-loop/examples/next-prompt.md +25 -0
- package/core/skills/stitch-loop/resources/baton-schema.md +61 -0
- package/core/skills/stitch-loop/resources/site-template.md +104 -0
- package/core/skills/systematic-debugging/SKILL.md +109 -0
- package/core/skills/tailwind-patterns/SKILL.md +284 -0
- package/core/skills/tdd-validation/SKILL.md +243 -0
- package/core/skills/tdd-workflow/SKILL.md +284 -0
- package/core/skills/testing-patterns/SKILL.md +196 -0
- package/core/skills/testing-patterns/scripts/test_runner.py +219 -0
- package/core/skills/ui-ux-discovery/SKILL.md +329 -0
- package/core/skills/ui-validation/SKILL.md +190 -0
- package/core/skills/ui-validation/scripts/ui_antipattern_check.py +317 -0
- package/core/skills/verification-gate/SKILL.md +205 -0
- package/core/skills/vulnerability-scanner/SKILL.md +276 -0
- package/core/skills/vulnerability-scanner/checklists.md +121 -0
- package/core/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/core/skills/web-design-guidelines/SKILL.md +57 -0
- package/core/skills/webapp-testing/SKILL.md +187 -0
- package/core/skills/webapp-testing/scripts/playwright_runner.py +173 -0
- package/core/templates/ARCHITECTURE.template.md +407 -0
- package/core/templates/project-resources.example.json +71 -0
- package/core/workflows/atomic.md +182 -0
- package/core/workflows/brainstorm.md +134 -0
- package/core/workflows/check-task.md +242 -0
- package/core/workflows/copy-collect.md +306 -0
- package/core/workflows/create-agent.md +33 -0
- package/core/workflows/create-skill.md +39 -0
- package/core/workflows/create-workflow.md +33 -0
- package/core/workflows/create.md +92 -0
- package/core/workflows/debug.md +186 -0
- package/core/workflows/demand.md +443 -0
- package/core/workflows/deploy.md +260 -0
- package/core/workflows/discovery.md +267 -0
- package/core/workflows/document.md +272 -0
- package/core/workflows/ds-components.md +296 -0
- package/core/workflows/ds-init.md +58 -0
- package/core/workflows/ds-refactor.md +245 -0
- package/core/workflows/ds-references.md +197 -0
- package/core/workflows/ds-styleguide.md +237 -0
- package/core/workflows/ds-token-diff.md +103 -0
- package/core/workflows/ds-tokens.md +317 -0
- package/core/workflows/ds-validate.md +309 -0
- package/core/workflows/execute.md +483 -0
- package/core/workflows/extract-template.md +278 -0
- package/core/workflows/fix-failed-tests.md +160 -0
- package/core/workflows/init-project.md +386 -0
- package/core/workflows/legacy-project.md +849 -0
- package/core/workflows/log.md +97 -0
- package/core/workflows/new-project.md +610 -0
- package/core/workflows/new-project.md.bak +3292 -0
- package/core/workflows/new-task.md +404 -0
- package/core/workflows/orchestrate.md +237 -0
- package/core/workflows/page-build.md +296 -0
- package/core/workflows/plan.md +89 -0
- package/core/workflows/prd.md +255 -0
- package/core/workflows/preview.md +81 -0
- package/core/workflows/review-page.md +304 -0
- package/core/workflows/status.md +86 -0
- package/core/workflows/stitch.md +226 -0
- package/core/workflows/task-complete.md +473 -0
- package/core/workflows/task-update.md +163 -0
- package/core/workflows/tdd.md +344 -0
- package/core/workflows/test.md +251 -0
- package/core/workflows/ui-ux-pro-max.md +437 -0
- package/core/workflows/ux-mobile-optimize.md +262 -0
- package/core/workflows/ux-mobile-validate.md +297 -0
- package/engine-files/GEMINI.md +69 -0
- package/package.json +47 -0
- package/runtime-adapters/antigravity.js +26 -0
- package/runtime-adapters/claude.js +57 -0
- package/runtime-adapters/codex.js +51 -0
- package/runtime-adapters/copilot.js +51 -0
- package/runtime-adapters/cursor.js +51 -0
- package/runtime-adapters/gemini-cli.js +30 -0
- package/runtime-adapters/opencode.js +51 -0
- package/runtime-adapters/windsurf.js +51 -0
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Build **new pages** or **extend existing pages** using the **validated Design System**. This workflow governs **composition only**. It **does NOT** create visual identity, tokens, or component primitives.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## HARD PRECONDITIONS (NON-NEGOTIABLE)
|
|
6
|
+
|
|
7
|
+
Execution MUST be **BLOCKED** unless **ALL** conditions below are met:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
design_system.validated === true
|
|
11
|
+
design_system.tokens === "ready"
|
|
12
|
+
design_system.components !== "missing"
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
â If any condition fails â **ABORT execution**
|
|
16
|
+
â
Output blocking reason + required corrective command
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## INPUT (MANDATORY)
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
/page-build
|
|
24
|
+
mode: create | extend
|
|
25
|
+
page: /app/[route]/page.tsx
|
|
26
|
+
reference: screenshot | figma | image
|
|
27
|
+
goal: short description of what is being built
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Optional
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
constraints:
|
|
34
|
+
- must preserve layout
|
|
35
|
+
- desktop-first
|
|
36
|
+
- mobile-priority
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## REQUIRED INPUT VALIDATION
|
|
42
|
+
|
|
43
|
+
Before execution, confirm:
|
|
44
|
+
|
|
45
|
+
- Layout reference provided (image / figma)
|
|
46
|
+
- Copy status:
|
|
47
|
+
- provided | generate placeholder
|
|
48
|
+
- Data source:
|
|
49
|
+
- static | mock | external (schema only)
|
|
50
|
+
|
|
51
|
+
If any item is missing:
|
|
52
|
+
â Ask explicitly before proceeding
|
|
53
|
+
â Do NOT infer product decisions
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## MODE DEFINITIONS (ABSOLUTE)
|
|
58
|
+
|
|
59
|
+
### `mode: create`
|
|
60
|
+
|
|
61
|
+
Used to **create a new page or route**.
|
|
62
|
+
|
|
63
|
+
### `mode: extend`
|
|
64
|
+
|
|
65
|
+
Used to **add a section or feature** to an **existing page**.
|
|
66
|
+
|
|
67
|
+
Mode **MUST** be explicitly declared.
|
|
68
|
+
Implicit mode detection is **forbidden**.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## WORKFLOW STEPS
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 1ïžâŁ Visual Analysis (MANDATORY)
|
|
77
|
+
|
|
78
|
+
Analyze the reference and extract:
|
|
79
|
+
|
|
80
|
+
### Layout Structure
|
|
81
|
+
|
|
82
|
+
* Grid type (1, 2, 3 columns)
|
|
83
|
+
* Presence of sidebar, header, footer
|
|
84
|
+
* Container widths and spacing rhythm
|
|
85
|
+
|
|
86
|
+
### Section Breakdown
|
|
87
|
+
|
|
88
|
+
* Identify logical UI sections
|
|
89
|
+
* Name each section by purpose
|
|
90
|
+
* Define section boundaries clearly
|
|
91
|
+
|
|
92
|
+
### Content Hierarchy
|
|
93
|
+
|
|
94
|
+
* Primary headings
|
|
95
|
+
* Supporting content
|
|
96
|
+
* CTAs and key actions
|
|
97
|
+
|
|
98
|
+
â If no reference is provided â **BLOCK execution**
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## 2ïžâŁ Component Mapping (Design System First)
|
|
103
|
+
|
|
104
|
+
Map every visual element to **existing Design System components**.
|
|
105
|
+
|
|
106
|
+
```text
|
|
107
|
+
PRIORITY ORDER:
|
|
108
|
+
1. Custom project components
|
|
109
|
+
2. shadcn/ui components
|
|
110
|
+
3. Composition of primitives
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
â Creating new components here is forbidden
|
|
114
|
+
â Must use `/ds-components`
|
|
115
|
+
|
|
116
|
+
Use shadcn MCP for verification when needed.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 3ïžâŁ MODE-SPECIFIC EXECUTION
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
### đč MODE: CREATE (New Page)
|
|
125
|
+
|
|
126
|
+
#### Allowed
|
|
127
|
+
|
|
128
|
+
* Create `/app/[route]/page.tsx`
|
|
129
|
+
* Compose full page layout
|
|
130
|
+
* Use validated components only
|
|
131
|
+
* Request missing components via `/ds-components`
|
|
132
|
+
|
|
133
|
+
#### Forbidden
|
|
134
|
+
|
|
135
|
+
* Introducing new visual patterns
|
|
136
|
+
* Defining tokens or styles
|
|
137
|
+
* Altering global layout systems
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
### đč MODE: EXTEND (Section / Feature)
|
|
142
|
+
|
|
143
|
+
#### Additional HARD RULES
|
|
144
|
+
|
|
145
|
+
```text
|
|
146
|
+
- MUST preserve existing page layout contract
|
|
147
|
+
- MUST NOT refactor unrelated sections
|
|
148
|
+
- MUST scope changes to ONE section boundary
|
|
149
|
+
- MUST NOT alter grid or global spacing
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
#### Required Pattern
|
|
153
|
+
|
|
154
|
+
* New section MUST be extracted into its own component:
|
|
155
|
+
|
|
156
|
+
```text
|
|
157
|
+
components/sections/[SectionName].tsx
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
* Page file only composes the new section
|
|
161
|
+
|
|
162
|
+
â If more than one top-level section is modified
|
|
163
|
+
â **BLOCK execution**
|
|
164
|
+
â Require new `/page-build` with `mode=create`
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 4ïžâŁ Page Composition
|
|
169
|
+
|
|
170
|
+
### Page File Rules
|
|
171
|
+
|
|
172
|
+
* No inline styles
|
|
173
|
+
* No hardcoded values
|
|
174
|
+
* Use Tailwind + CSS variables only
|
|
175
|
+
|
|
176
|
+
```tsx
|
|
177
|
+
<div className="bg-background text-foreground">
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
* Layout logic stays shallow
|
|
181
|
+
* Complex logic moves to section components
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## 5ïžâŁ Responsive Behavior (MANDATORY)
|
|
186
|
+
|
|
187
|
+
Define behavior explicitly:
|
|
188
|
+
|
|
189
|
+
* Mobile (<768px)
|
|
190
|
+
* Tablet (768â1024px)
|
|
191
|
+
* Desktop (>1024px)
|
|
192
|
+
|
|
193
|
+
Must use Tailwind breakpoints.
|
|
194
|
+
Ad-hoc media queries are forbidden.
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## 6ïžâŁ Interactivity & State
|
|
199
|
+
|
|
200
|
+
Allowed:
|
|
201
|
+
|
|
202
|
+
* Local state
|
|
203
|
+
* Component state
|
|
204
|
+
* Loading / empty / error states
|
|
205
|
+
|
|
206
|
+
Forbidden:
|
|
207
|
+
|
|
208
|
+
* New visual variants
|
|
209
|
+
* New design primitives
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## 7ïžâŁ Metadata & Routing
|
|
214
|
+
|
|
215
|
+
```tsx
|
|
216
|
+
export const metadata = {
|
|
217
|
+
title: "...",
|
|
218
|
+
description: "..."
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Routing must follow App Router conventions.
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## 8ïžâŁ Compliance Check (HARD GATE)
|
|
227
|
+
|
|
228
|
+
Before completion, validate:
|
|
229
|
+
|
|
230
|
+
```text
|
|
231
|
+
â Uses Design System components only
|
|
232
|
+
â No hardcoded colors or spacing
|
|
233
|
+
â No token creation or mutation
|
|
234
|
+
â Layout rules respected
|
|
235
|
+
â Mode-specific rules respected
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
â Any failure â **BLOCK completion**
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## OUTPUT (MANDATORY)
|
|
243
|
+
|
|
244
|
+
```text
|
|
245
|
+
Page Build: SUCCESS
|
|
246
|
+
Mode: create | extend
|
|
247
|
+
Page: /app/...
|
|
248
|
+
Sections Created/Modified: [list]
|
|
249
|
+
Design System Compliance: PASS
|
|
250
|
+
Next Allowed Action: Feature logic or navigation wiring
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## POST-CONDITIONS
|
|
256
|
+
|
|
257
|
+
### On SUCCESS
|
|
258
|
+
|
|
259
|
+
* Page or section is approved
|
|
260
|
+
* Design System remains immutable
|
|
261
|
+
* Feature development may proceed
|
|
262
|
+
|
|
263
|
+
### On FAILURE
|
|
264
|
+
|
|
265
|
+
* No UI is considered valid
|
|
266
|
+
* No downstream workflow may proceed
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## GOVERNANCE RULES (ABSOLUTE LAW)
|
|
271
|
+
|
|
272
|
+
* `/page-build` is the ONLY authorized workflow for page UI
|
|
273
|
+
* Components MUST come from `/ds-components`
|
|
274
|
+
* Tokens MUST already be validated
|
|
275
|
+
* No silent refactors
|
|
276
|
+
* No design drift
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## RELATED WORKFLOWS
|
|
281
|
+
|
|
282
|
+
* `/next-step`
|
|
283
|
+
* `/ds-components`
|
|
284
|
+
* `/ds-validate`
|
|
285
|
+
* `/ds-styleguide`
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## FINAL PRINCIPLE
|
|
290
|
+
|
|
291
|
+
> **Design System defines identity.
|
|
292
|
+
> Components define capability.
|
|
293
|
+
> Page Build defines composition.
|
|
294
|
+
> Features never define style.**
|
|
295
|
+
|
|
296
|
+
---
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create project plan using project-planner agent. No code writing - only plan file generation.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /plan - Project Planning Mode
|
|
6
|
+
|
|
7
|
+
$ARGUMENTS
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## đŽ CRITICAL RULES
|
|
12
|
+
|
|
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
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
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
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Expected Output
|
|
47
|
+
|
|
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 |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## After Planning
|
|
58
|
+
|
|
59
|
+
Tell user:
|
|
60
|
+
```
|
|
61
|
+
[OK] Plan created: docs/PLAN-{slug}.md
|
|
62
|
+
|
|
63
|
+
Next steps:
|
|
64
|
+
- Review the plan
|
|
65
|
+
- Run `/create` to start implementation
|
|
66
|
+
- Or modify plan manually
|
|
67
|
+
```
|
|
68
|
+
|
|
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,255 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create Product Requirements Document (PRD). Captures problem, personas, requirements, MVP scope, and roadmap in structured format.
|
|
3
|
+
skills: document-registry
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /prd - Product Requirements Document Workflow
|
|
7
|
+
|
|
8
|
+
$ARGUMENTS
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## đŻ PROPĂSITO
|
|
13
|
+
|
|
14
|
+
Workflow para criação de **PRD (Product Requirements Document)** - documento de requisitos de produto que:
|
|
15
|
+
1. Define o problema e contexto de negĂłcio
|
|
16
|
+
2. Identifica personas e stakeholders
|
|
17
|
+
3. Captura requisitos funcionais e nĂŁo-funcionais
|
|
18
|
+
4. Estabelece escopo do MVP
|
|
19
|
+
5. Cria roadmap de features
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
ââââââââââââââââ ââââââââââââââââ ââââââââââââââââ ââââââââââââââââ
|
|
23
|
+
â DISCOVERY âââââ¶â DOCUMENT âââââ¶â VALIDATE âââââ¶â APPROVE â
|
|
24
|
+
â (Socratic) â â (PRD) â â (Checklist) â â (Human) â
|
|
25
|
+
ââââââââââââââââ ââââââââââââââââ ââââââââââââââââ ââââââââââââââââ
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## đ§© SUBCOMMANDS
|
|
31
|
+
|
|
32
|
+
| Comando | Ação |
|
|
33
|
+
|---------|------|
|
|
34
|
+
| `/prd new [nome]` | Cria novo PRD a partir do template |
|
|
35
|
+
| `/prd validate [arquivo]` | Valida completude do PRD |
|
|
36
|
+
| `/prd status` | Mostra status dos PRDs do projeto |
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## đŽ FLUXO
|
|
41
|
+
|
|
42
|
+
### Phase 1: DISCOVERY (`/prd new`)
|
|
43
|
+
|
|
44
|
+
#### Trigger
|
|
45
|
+
```
|
|
46
|
+
/prd new [nome-do-projeto]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
#### Agentes Envolvidos
|
|
50
|
+
- `product-owner` - Lead do discovery
|
|
51
|
+
- `project-planner` - Estruturação
|
|
52
|
+
|
|
53
|
+
#### Skill
|
|
54
|
+
- `brainstorming` - Socratic Gate obrigatĂłrio
|
|
55
|
+
|
|
56
|
+
#### Socratic Gate (3 NĂVEIS - OBRIGATĂRIO)
|
|
57
|
+
|
|
58
|
+
**NĂvel 1: Problema e Contexto**
|
|
59
|
+
| # | Pergunta | Campo PRD |
|
|
60
|
+
|---|----------|-----------|
|
|
61
|
+
| 1 | đŻ Qual problema estamos resolvendo? | Problem Statement |
|
|
62
|
+
| 2 | đ Qual o contexto de mercado/negĂłcio? | Market Context |
|
|
63
|
+
| 3 | đĄ Qual a visĂŁo de sucesso? | Vision |
|
|
64
|
+
| 4 | đ Como mediremos o sucesso? | Success Metrics |
|
|
65
|
+
|
|
66
|
+
**NĂvel 2: UsuĂĄrios e Jornadas**
|
|
67
|
+
| # | Pergunta | Campo PRD |
|
|
68
|
+
|---|----------|-----------|
|
|
69
|
+
| 5 | đ„ Quem sĂŁo os principais usuĂĄrios? (personas) | Target Users |
|
|
70
|
+
| 6 | đ Quais os perfis de cada persona? | User Personas |
|
|
71
|
+
| 7 | đșïž Qual a jornada atual do usuĂĄrio? | Current Journey |
|
|
72
|
+
| 8 | â ïž Quais sĂŁo as principais frustraçÔes? | Pain Points |
|
|
73
|
+
|
|
74
|
+
**NĂvel 3: Requisitos e Escopo**
|
|
75
|
+
| # | Pergunta | Campo PRD |
|
|
76
|
+
|---|----------|-----------|
|
|
77
|
+
| 9 | đŠ Quais funcionalidades sĂŁo essenciais (MVP)? | MVP Features |
|
|
78
|
+
| 10 | đ O que pode ficar para fases futuras? | Future Features |
|
|
79
|
+
| 11 | đ Requisitos de segurança/compliance? | Non-Functional |
|
|
80
|
+
| 12 | â° Qual o prazo esperado para MVP? | Timeline |
|
|
81
|
+
|
|
82
|
+
#### AçÔes
|
|
83
|
+
1. **Executar Socratic Gate** completo (todas as perguntas)
|
|
84
|
+
2. **Copiar template** de `.agent/templates/prd-template.md`
|
|
85
|
+
3. **Criar arquivo** em `docs/PRD-{nome-do-projeto}.md`
|
|
86
|
+
4. **Preencher PRD** com respostas coletadas
|
|
87
|
+
5. **Registry:** `document-registry` â criar entry `PRD-{nome}` no INDEX.md com status `draft`
|
|
88
|
+
|
|
89
|
+
#### Output Esperado
|
|
90
|
+
```
|
|
91
|
+
[OK] PRD criado: docs/PRD-{nome}.md
|
|
92
|
+
[OK] INDEX.md entry criada: PRD-{nome} (draft)
|
|
93
|
+
[OK] Status: Rascunho
|
|
94
|
+
[NEXT] Execute /prd validate docs/PRD-{nome}.md
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
### Phase 2: VALIDATE (`/prd validate`)
|
|
100
|
+
|
|
101
|
+
#### Trigger
|
|
102
|
+
```
|
|
103
|
+
/prd validate docs/PRD-{nome}.md
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
#### Agente Envolvido
|
|
107
|
+
- `product-owner` - Validação de completude
|
|
108
|
+
|
|
109
|
+
#### ValidaçÔes Realizadas
|
|
110
|
+
|
|
111
|
+
| Categoria | Verificação |
|
|
112
|
+
|-----------|-------------|
|
|
113
|
+
| **Problema** | Problem Statement estĂĄ claro e especĂfico? |
|
|
114
|
+
| **Personas** | Pelo menos 2 personas definidas? |
|
|
115
|
+
| **MVP** | Features do MVP claramente delimitadas? |
|
|
116
|
+
| **Métricas** | KPIs de sucesso definidos? |
|
|
117
|
+
| **Riscos** | Riscos identificados com mitigaçÔes? |
|
|
118
|
+
|
|
119
|
+
#### Output Esperado
|
|
120
|
+
```markdown
|
|
121
|
+
## PRD Validation Report
|
|
122
|
+
|
|
123
|
+
### â
SeçÔes Completas
|
|
124
|
+
- [x] Problem Statement
|
|
125
|
+
- [x] User Personas
|
|
126
|
+
- [x] MVP Features
|
|
127
|
+
|
|
128
|
+
### â ïž Itens Incompletos
|
|
129
|
+
- [ ] Success Metrics nĂŁo quantificados
|
|
130
|
+
- [ ] Timeline sem datas especĂficas
|
|
131
|
+
|
|
132
|
+
### â SeçÔes Faltando
|
|
133
|
+
- [ ] Competitive Analysis
|
|
134
|
+
|
|
135
|
+
### đ Score: 80% Completo
|
|
136
|
+
|
|
137
|
+
### Recomendação
|
|
138
|
+
[PrĂłximos passos para completar]
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
### Phase 3: APPROVE (Humano)
|
|
144
|
+
|
|
145
|
+
#### Trigger
|
|
146
|
+
Após validação, o **humano** deve:
|
|
147
|
+
|
|
148
|
+
1. **Revisar** o PRD completo
|
|
149
|
+
2. **Ajustar** itens incompletos
|
|
150
|
+
3. **Aprovar** marcando no documento:
|
|
151
|
+
```markdown
|
|
152
|
+
- [x] **Aprovado para Discovery Técnico**
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
#### đŽ REGRA DE OURO
|
|
156
|
+
> A IA **NĂO** pode prosseguir para `/tdd` ou `/discovery` sem aprovação humana do PRD.
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
### Phase 4: NEXT STEPS
|
|
161
|
+
|
|
162
|
+
Após aprovação do PRD, sugerir:
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
đ PRD APROVADO!
|
|
166
|
+
|
|
167
|
+
PrĂłximos passos disponĂveis:
|
|
168
|
+
|
|
169
|
+
1. /tdd new â Technical Design Document (RECOMENDADO - define arquitetura)
|
|
170
|
+
2. /discovery â Brainstorm tĂ©cnico + User Stories + Tasks no Flyee
|
|
171
|
+
3. /demand â Gerar proposta comercial (se for projeto cliente)
|
|
172
|
+
4. /new-project â Fluxo completo automatizado (PRD jĂĄ aprovado â TDD â Testes â CĂłdigo)
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Phase 4.1: RASTREABILIDADE (ObrigatĂłrio)
|
|
176
|
+
|
|
177
|
+
> [!IMPORTANT]
|
|
178
|
+
> **ApĂłs criar o SDD**, o documento deve referenciar este PRD:
|
|
179
|
+
> ```markdown
|
|
180
|
+
> PRD Fonte: docs/PRD-{nome}.md
|
|
181
|
+
> ```
|
|
182
|
+
|
|
183
|
+
**Regra de Ouro:** Todo SDD DEVE ter um PRD aprovado como fonte.
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## đ Estrutura de Arquivos
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
projeto/
|
|
191
|
+
âââ docs/
|
|
192
|
+
â âââ INDEX.md # Document Registry
|
|
193
|
+
â âââ PRD-meu-produto.md # PRD do projeto
|
|
194
|
+
â âââ design/
|
|
195
|
+
â âââ SDD-meu-produto.md # SDD (gerado apĂłs PRD)
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## đ Status Lifecycle
|
|
201
|
+
|
|
202
|
+
```
|
|
203
|
+
[Rascunho] â [Em RevisĂŁo] â [Aprovado] â [Em Discovery] â [ConcluĂdo]
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
| Status | Significado |
|
|
207
|
+
|--------|-------------|
|
|
208
|
+
| Rascunho | Sendo escrito, discovery em andamento |
|
|
209
|
+
| Em Revisão | Validação e ajustes finais |
|
|
210
|
+
| Aprovado | Pronto para prĂłximas fases |
|
|
211
|
+
| Em Discovery | Gerando SDD/Discovery técnico |
|
|
212
|
+
| ConcluĂdo | Projeto iniciado |
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## đ INTEGRAĂĂO COM OUTROS WORKFLOWS
|
|
217
|
+
|
|
218
|
+
| De | Para | Como |
|
|
219
|
+
|----|------|------|
|
|
220
|
+
| `/prd` | `/discovery` | PRD alimenta brainstorm com contexto |
|
|
221
|
+
| `/prd` | `/tdd` | SeçÔes de MVP â Fluxos tĂ©cnicos |
|
|
222
|
+
| `/prd` | `/demand` | Escopo â Estimativa comercial |
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## đŽ REGRAS CRĂTICAS
|
|
227
|
+
|
|
228
|
+
1. **Socratic Gate Ă© OBRIGATĂRIO** - NĂŁo pular perguntas
|
|
229
|
+
2. **Humano aprova PRD** - Nunca auto-aprovar
|
|
230
|
+
3. **PRD antes de SDD** â PRD define O QUĂ, SDD define COMO
|
|
231
|
+
4. **Um produto = Um PRD** - NĂŁo misturar produtos/projetos
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## Usage Examples
|
|
236
|
+
|
|
237
|
+
```bash
|
|
238
|
+
# Criar PRD para novo produto
|
|
239
|
+
/prd new meu-app-fitness
|
|
240
|
+
|
|
241
|
+
# Validar PRD existente
|
|
242
|
+
/prd validate docs/PRD-meu-app-fitness.md
|
|
243
|
+
|
|
244
|
+
# Ver status de todos os PRDs
|
|
245
|
+
/prd status
|
|
246
|
+
|
|
247
|
+
# Fluxo completo
|
|
248
|
+
/prd new ecommerce-platform
|
|
249
|
+
# [Responder perguntas do Socratic Gate]
|
|
250
|
+
# [Revisar PRD gerado]
|
|
251
|
+
/prd validate docs/PRD-ecommerce-platform.md
|
|
252
|
+
# [Ajustar conforme necessĂĄrio]
|
|
253
|
+
# [Aprovar manualmente no documento]
|
|
254
|
+
/discovery # Continua para discovery técnico
|
|
255
|
+
```
|
|
@@ -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
|
+
|