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,357 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-tracking-patterns
|
|
3
|
+
description: Regras de atualização de progresso durante workflows. Atualização de PROJECT-PROGRESS.md, histórico, e Flyee sincronizado.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Project Tracking Patterns
|
|
7
|
+
|
|
8
|
+
> **Single Source of Truth** para rastrear progresso durante workflows longos.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 🎯 PROPÓSITO
|
|
13
|
+
|
|
14
|
+
Garantir que durante execução de workflows:
|
|
15
|
+
1. **Arquivo de progresso** seja atualizado a cada fase
|
|
16
|
+
2. **Histórico** seja registrado a cada ação
|
|
17
|
+
3. **Flyee** seja sincronizado após cada task
|
|
18
|
+
4. **Tasks individuais** sejam listadas e rastreadas
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 🔴 REGRAS OBRIGATÓRIAS
|
|
23
|
+
|
|
24
|
+
> [!CAUTION]
|
|
25
|
+
> **TODAS as regras abaixo são BLOQUEANTES.**
|
|
26
|
+
> O workflow NÃO pode prosseguir sem cumpri-las.
|
|
27
|
+
|
|
28
|
+
### 1. Atualização Após Cada Fase
|
|
29
|
+
|
|
30
|
+
**Quando:** Ao completar qualquer fase de um workflow
|
|
31
|
+
|
|
32
|
+
**Onde:** Arquivo de progresso (`PROJECT-PROGRESS.md`, `LEGACY-PROGRESS.md`, etc.)
|
|
33
|
+
|
|
34
|
+
**O que atualizar:**
|
|
35
|
+
- [ ] `Fase Atual` → Próxima fase
|
|
36
|
+
- [ ] Status da fase concluída → `✅ Concluído`
|
|
37
|
+
- [ ] Artefato gerado (se houver)
|
|
38
|
+
- [ ] `Última atualização` → Data/hora atual
|
|
39
|
+
|
|
40
|
+
```markdown
|
|
41
|
+
## Exemplo de atualização:
|
|
42
|
+
|
|
43
|
+
| Fase | Status | Artefato |
|
|
44
|
+
|------|--------|----------|
|
|
45
|
+
| 2. TDD Técnico | ✅ Aprovado | `docs/design/TDD-{nome}.md` | ← ATUALIZADO
|
|
46
|
+
| 3. Breakdown | 🟡 Em Progresso | - | ← NOVA FASE ATUAL
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
### 2. Registro no Histórico
|
|
52
|
+
|
|
53
|
+
**Quando:** Após QUALQUER ação significativa
|
|
54
|
+
|
|
55
|
+
**Formato:**
|
|
56
|
+
```markdown
|
|
57
|
+
| Data | Fase | Ação |
|
|
58
|
+
|------|------|------|
|
|
59
|
+
| 2026-02-02 12:30 | 3 | Breakdown iniciado |
|
|
60
|
+
| 2026-02-02 12:35 | 3 | 10 tasks criadas no Flyee |
|
|
61
|
+
| 2026-02-02 12:40 | 3 | Breakdown concluído |
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Ações que DEVEM ser registradas:**
|
|
65
|
+
- Início de fase
|
|
66
|
+
- Conclusão de fase
|
|
67
|
+
- Criação de artefatos
|
|
68
|
+
- Criação de tasks no Flyee
|
|
69
|
+
- Aprovações humanas
|
|
70
|
+
- Erros ou bloqueios
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
### 3. Atualização de Tasks Após Cada Item
|
|
75
|
+
|
|
76
|
+
**Quando:** Ao trabalhar em Phase 4 (Testes) ou Phase 5 (Implementação)
|
|
77
|
+
|
|
78
|
+
**Onde:** Seção `📝 Tasks` no arquivo de progresso
|
|
79
|
+
|
|
80
|
+
**Template:**
|
|
81
|
+
```markdown
|
|
82
|
+
## 📝 Tasks (Phase 4-5)
|
|
83
|
+
|
|
84
|
+
| # | Task | Teste | Código | Status |
|
|
85
|
+
|---|------|-------|--------|--------|
|
|
86
|
+
| 1 | Setup inicial | ✅ | ✅ | ✅ Completo |
|
|
87
|
+
| 2 | Auth básica | ✅ | 🟡 | 🟡 Em Progresso | ← ATUALIZAR AQUI
|
|
88
|
+
| 3 | CRUD usuários | ⏳ | ⏳ | ⏳ Pendente |
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
### 4. Sincronização de Tarefas (OBRIGATÓRIO) 🔴
|
|
94
|
+
|
|
95
|
+
> [!CAUTION]
|
|
96
|
+
> **REGRA BLOQUEANTE:** As tarefas (Flyee ou Local) DEVEM ser atualizadas após cada épico/fase conforme a configuração de `Tracker de Tasks`.
|
|
97
|
+
> NÃO prosseguir para próximo épico sem sincronizar o respectivo tracker.
|
|
98
|
+
|
|
99
|
+
**Quando sincronizar:**
|
|
100
|
+
| Momento | Ação |
|
|
101
|
+
|---------|------|
|
|
102
|
+
| 🔴 **ANTES de escrever código** | **CRIAR TASK no Flyee (`bridge.py --create-task`)** |
|
|
103
|
+
| Ao iniciar implementação | Atualizar status → "Em Progresso" (`bridge.py --update-task`) |
|
|
104
|
+
| Ao finalizar a implentação | Excutar workflow genérico `/task-complete` |
|
|
105
|
+
|
|
106
|
+
> [!CAUTION]
|
|
107
|
+
> É estritamente proibido iniciar a codificação (Phase 5 do `/new-project` ou Phase 3 do `/new-task`) sem antes gerar um Task ID no Tracker.
|
|
108
|
+
|
|
109
|
+
**Como sincronizar (Único caminho autorizado):**
|
|
110
|
+
|
|
111
|
+
**1. Via Bridge CLI (Criação e Atualização):**
|
|
112
|
+
```bash
|
|
113
|
+
# 1. CRIAR TASK (Obrigatório antes de codar)
|
|
114
|
+
python3 .agent/flyee-bridge/bridge.py --create-task \
|
|
115
|
+
--name "Título descritivo" \
|
|
116
|
+
--type implement_feature \
|
|
117
|
+
--description "Breve descrição" \
|
|
118
|
+
--priority normal
|
|
119
|
+
|
|
120
|
+
# 2. STATUS EM PROGRESSO
|
|
121
|
+
python3 .agent/flyee-bridge/bridge.py --update-task <task_id> --status running
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
> [!TIP]
|
|
125
|
+
> Bridge CLI auto-detects if `flyee.json` exists. If project is not connected to Flyee, it skips silently.
|
|
126
|
+
|
|
127
|
+
**2. Via Workflow (Conclusão - OBRIGATÓRIO):**
|
|
128
|
+
```markdown
|
|
129
|
+
# 3. FECHAMENTO DE TASK
|
|
130
|
+
Para concluir uma tarefa, invoque obrigatoriamente o workflow genérico:
|
|
131
|
+
`/task-complete`
|
|
132
|
+
(Ele cuidará do logging de execução, cobertura e fechamento no Flyee)
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
### 5. Gate de Sincronização por Épico 🔴
|
|
138
|
+
|
|
139
|
+
> [!CAUTION]
|
|
140
|
+
> **BLOQUEADOR:** Antes de iniciar próximo épico, verificar o **Modo de Tracking** do projeto:
|
|
141
|
+
|
|
142
|
+
#### Se Tracker = Flyee:
|
|
143
|
+
```markdown
|
|
144
|
+
## Checklist de Sincronização - Épico {N}
|
|
145
|
+
|
|
146
|
+
- [ ] Todas as tasks do épico atualizadas no Flyee
|
|
147
|
+
- [ ] Status correto (Concluído/Em Progresso)
|
|
148
|
+
- [ ] % Progresso atualizado
|
|
149
|
+
- [ ] Comentário de conclusão adicionado
|
|
150
|
+
|
|
151
|
+
> **SE NÃO SINCRONIZADO:** PARAR e sincronizar antes de prosseguir.
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
#### Se Tracker = Local (`docs/TASKS.md`):
|
|
155
|
+
```markdown
|
|
156
|
+
## Checklist de Sincronização - Épico {N}
|
|
157
|
+
|
|
158
|
+
- [ ] Todas as tasks do épico marcadas com `[x]` no arquivo `docs/TASKS.md`
|
|
159
|
+
|
|
160
|
+
> **SE NÃO SINCRONIZADO:** PARAR e atualizar arquivo antes de prosseguir.
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**Mensagem obrigatória ao completar épico:**
|
|
164
|
+
```markdown
|
|
165
|
+
📊 **Épico {N} Concluído - Tracker Sync**
|
|
166
|
+
|
|
167
|
+
| Task ID | Status | % |
|
|
168
|
+
|---------|--------|---|
|
|
169
|
+
| {id} | ✅ | 100% |
|
|
170
|
+
| {id} | ✅ | 100% |
|
|
171
|
+
|
|
172
|
+
✅ Flyee sincronizado. Prosseguindo para Épico {N+1}.
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
### 6. Logging de Execução por Task 🔴
|
|
178
|
+
|
|
179
|
+
> [!CAUTION]
|
|
180
|
+
> **REGRA BLOQUEANTE:** Ao completar verificação/execução de CADA task individual,
|
|
181
|
+
> você DEVE exibir o log de execução ANTES de prosseguir para a próxima task.
|
|
182
|
+
|
|
183
|
+
**Quando:** Após completar verificação ou execução de qualquer task
|
|
184
|
+
|
|
185
|
+
**Template OBRIGATÓRIO:**
|
|
186
|
+
```markdown
|
|
187
|
+
### ✅ Task {ID}: {Nome}
|
|
188
|
+
|
|
189
|
+
**Verificação:**
|
|
190
|
+
- ✅ {arquivo/componente verificado}
|
|
191
|
+
- ✅ {critério de aceitação atendido}
|
|
192
|
+
- ✅ {teste passando, se aplicável}
|
|
193
|
+
|
|
194
|
+
**Arquivos Relevantes:**
|
|
195
|
+
- `{caminho/arquivo1.ts}`
|
|
196
|
+
- `{caminho/arquivo2.tsx}`
|
|
197
|
+
|
|
198
|
+
**Ação Flyee:**
|
|
199
|
+
- Status: Não iniciado → Concluído
|
|
200
|
+
- Última edição: {timestamp automático}
|
|
201
|
+
|
|
202
|
+
**Tempo aproximado:** {X}min
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**Exemplo Preenchido:**
|
|
206
|
+
```markdown
|
|
207
|
+
### ✅ Task 1.1: Setup Next.js 15 + App Router
|
|
208
|
+
|
|
209
|
+
**Verificação:**
|
|
210
|
+
- ✅ `package.json` contém `next@15.1.7`
|
|
211
|
+
- ✅ `src/app/layout.tsx` existe com App Router
|
|
212
|
+
- ✅ `npm run build` passa sem erros
|
|
213
|
+
|
|
214
|
+
**Arquivos Relevantes:**
|
|
215
|
+
- `package.json`
|
|
216
|
+
- `src/app/layout.tsx`
|
|
217
|
+
- `next.config.ts`
|
|
218
|
+
|
|
219
|
+
**Ação Flyee:**
|
|
220
|
+
- Status: Não iniciado → Concluído
|
|
221
|
+
- Última edição: 2026-02-03T14:15:00
|
|
222
|
+
|
|
223
|
+
**Tempo aproximado:** 2min
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Regras:**
|
|
227
|
+
1. **NUNCA** pular este log - mesmo para tasks simples
|
|
228
|
+
2. **SEMPRE** listar arquivos verificados/criados
|
|
229
|
+
3. **SEMPRE** incluir critérios de aceitação verificados
|
|
230
|
+
4. **ATUALIZAR** Flyee ANTES de prosseguir para próxima task
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
### 7. TASK SYNC — Template de Conclusão (Flyee) 🔴
|
|
235
|
+
|
|
236
|
+
> [!CAUTION]
|
|
237
|
+
> **REGRA BLOQUEANTE:** O ÚNICO caminho autorizado para concluir uma task no Flyee é
|
|
238
|
+
> o workflow `/task-complete`. Chamadas avulsas a `API-patch-page` SEM as etapas
|
|
239
|
+
> completas são **PROIBIDAS** — são a causa raiz das falhas v1-v4.
|
|
240
|
+
|
|
241
|
+
**Template canônico de nota de conclusão (Flyee API — `API-patch-block-children`):**
|
|
242
|
+
|
|
243
|
+
```json
|
|
244
|
+
{
|
|
245
|
+
"block_id": "{page_id}",
|
|
246
|
+
"children": [
|
|
247
|
+
{ "type": "divider", "divider": {} },
|
|
248
|
+
{
|
|
249
|
+
"type": "callout",
|
|
250
|
+
"callout": {
|
|
251
|
+
"icon": { "type": "emoji", "emoji": "✅" },
|
|
252
|
+
"rich_text": [
|
|
253
|
+
{ "type": "text", "text": { "content": "Concluído em {data}" } }
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "bulleted_list_item",
|
|
259
|
+
"bulleted_list_item": {
|
|
260
|
+
"rich_text": [
|
|
261
|
+
{ "type": "text", "text": { "content": "📋 {resumo da implementação}" } }
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "bulleted_list_item",
|
|
267
|
+
"bulleted_list_item": {
|
|
268
|
+
"rich_text": [
|
|
269
|
+
{ "type": "text", "text": { "content": "🧪 Testes: {resultado}" } }
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"type": "bulleted_list_item",
|
|
275
|
+
"bulleted_list_item": {
|
|
276
|
+
"rich_text": [
|
|
277
|
+
{ "type": "text", "text": { "content": "📁 Arquivos: {lista de arquivos modificados}" } }
|
|
278
|
+
]
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
**Etapas obrigatórias do `/task-complete` (em ordem):**
|
|
286
|
+
|
|
287
|
+
1. Log de Execução exibido
|
|
288
|
+
2. Resumo de Execução (O que foi feito, Arquivos, Verificação, Decisões)
|
|
289
|
+
3. `API-patch-page` — Status → Concluído + % Progresso → 100 + Tempo Gasto
|
|
290
|
+
4. `API-patch-block-children` — Nota inline ✅ (template acima)
|
|
291
|
+
5. `API-create-a-comment` — Comentário rico de conclusão
|
|
292
|
+
6. Arquivo de progresso atualizado (LEGACY-PROGRESS.md / PROJECT-PROGRESS.md)
|
|
293
|
+
7. Histórico de ações atualizado
|
|
294
|
+
8. Mensagem de confirmação exibida
|
|
295
|
+
|
|
296
|
+
> [!CAUTION]
|
|
297
|
+
> 🚫 **ANTI-PATTERN (PROIBIDO):**
|
|
298
|
+
> ```
|
|
299
|
+
> API-patch-page isoladamente ← CAUSA RAIZ das falhas v1-v4
|
|
300
|
+
> ```
|
|
301
|
+
> ✅ **PADRÃO CORRETO:** Ler `.agent/workflows/task-complete.md` e executar TODAS as 8 etapas.
|
|
302
|
+
|
|
303
|
+
#### 🧠 Self-Check Anti-Bypass (OBRIGATÓRIO)
|
|
304
|
+
|
|
305
|
+
Antes de iniciar o próximo item (fluxo, task, fase), o agente DEVE responder:
|
|
306
|
+
|
|
307
|
+
```
|
|
308
|
+
❓ SELF-CHECK — Item anterior ({nome})
|
|
309
|
+
|
|
310
|
+
1. Executei `/task-complete` para a Task #{id}? → SIM/NÃO
|
|
311
|
+
2. Comentário de conclusão no Flyee? → SIM/NÃO
|
|
312
|
+
3. Arquivo de progresso atualizado? → SIM/NÃO
|
|
313
|
+
|
|
314
|
+
→ Se QUALQUER = NÃO → PARAR e completar ANTES de prosseguir
|
|
315
|
+
→ Se TODAS = SIM → Prosseguir
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
#### Historical Lessons — TASK SYNC
|
|
319
|
+
|
|
320
|
+
> 🔴 **FALHA v1 (api/):** 6 tasks (#27-#32) marcadas Concluído sem comentário, sem Tempo Gasto,
|
|
321
|
+
> sem nota de conclusão. O gate não estava listado na sequência de ações.
|
|
322
|
+
|
|
323
|
+
> 🔴 **FALHA v2 (subscriptions/):** 3 tasks (#1-#3) marcadas Concluído via `API-patch-page`
|
|
324
|
+
> (Status + % Progresso), mas SEM: comentário, Tempo Gasto, nota inline, nem update de progresso.
|
|
325
|
+
> **Causa raiz:** o gate era o último passo numa lista e o agente o pulou.
|
|
326
|
+
|
|
327
|
+
> 🔴 **FALHA v3 (subscriptions/ --resume):** Session seguinte NÃO executou `/task-complete`
|
|
328
|
+
> para tasks já concluídas. Fez apenas `API-patch-page` (Status + %) sem comentário, nota inline,
|
|
329
|
+
> nem update de progresso. **Causa raiz:** instrução era textual, agente não leu `task-complete.md`.
|
|
330
|
+
|
|
331
|
+
> 🔴 **FALHA v4 (admin/ --resume):** Mesmo com regra v3 escrita, agente fez chamadas diretas
|
|
332
|
+
> a `API-patch-page` por task, sem as 8 etapas completas. **Causa raiz:** `API-patch-page` não
|
|
333
|
+
> constava como gatilho no Task Completion Gate do GEMINI.md.
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
## 📋 CHECKLIST DE COMPLIANCE
|
|
338
|
+
|
|
339
|
+
Antes de prosseguir para próxima fase:
|
|
340
|
+
|
|
341
|
+
- [ ] Arquivo de progresso atualizado
|
|
342
|
+
- [ ] Histórico registrado
|
|
343
|
+
- [ ] Tasks individuais atualizadas (se aplicável)
|
|
344
|
+
- [ ] **🔴 Log de execução exibido para cada task**
|
|
345
|
+
- [ ] **🔴 Flyee sincronizado via `/task-complete` (OBRIGATÓRIO — ver seção 7)**
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
## 🔗 WORKFLOWS QUE USAM ESTA SKILL
|
|
350
|
+
|
|
351
|
+
| Workflow | Arquivo de Progresso |
|
|
352
|
+
|----------|---------------------|
|
|
353
|
+
| `/new-project` | `docs/PROJECT-PROGRESS.md` |
|
|
354
|
+
| `/legacy-project` | `docs/LEGACY-PROGRESS.md` |
|
|
355
|
+
| `/new-task` | `docs/NEW-TASK-PROGRESS.md` |
|
|
356
|
+
| `/discovery` | Tasks direto no Flyee |
|
|
357
|
+
| `/execute` | Task específica no Flyee |
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-type-discovery
|
|
3
|
+
description: Interactive project type identification and profile generation. Defines type, stack, design approach, agent selection, and Flyee integration. Used by new-project, legacy-project, discovery, and enhance workflows.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Project Type Discovery
|
|
7
|
+
|
|
8
|
+
> Identify project type and generate a **Project Profile** that controls which agents, skills, phases, and templates are activated.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 🚦 When to Use
|
|
13
|
+
|
|
14
|
+
| Workflow | Trigger |
|
|
15
|
+
|----------|---------|
|
|
16
|
+
| `/new-project` | Gate 0 — runs BEFORE any phase |
|
|
17
|
+
| `/legacy-project` | Initial analysis — identify existing project type |
|
|
18
|
+
| `/discovery` | Project identification |
|
|
19
|
+
| `/new-task` | Detect feature context (frontend, backend, fullstack) |
|
|
20
|
+
|
|
21
|
+
> [!CAUTION]
|
|
22
|
+
> This gate runs BEFORE any phase, including Brainstorm.
|
|
23
|
+
> **Exception:** `--resume` (Project Profile already saved in PROJECT-PROGRESS.md).
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 📋 Discovery Flow (4 Questions)
|
|
28
|
+
|
|
29
|
+
### Question 1: Project Type (MANDATORY)
|
|
30
|
+
|
|
31
|
+
```markdown
|
|
32
|
+
## 🚦 What type of project do you want to create?
|
|
33
|
+
|
|
34
|
+
| # | Type | Example | Phases Activated |
|
|
35
|
+
|---|------|---------|-----------------|
|
|
36
|
+
| **1** | 🌐 Institutional Site / Landing Page | Portfolio, product LP | PRD → Design System → Content → Stitch → Implementation |
|
|
37
|
+
| **2** | 🖥️ Web App (SaaS / Dashboard) | Admin panel, SaaS, platform | PRD → TDD → Design System → Breakdown → TDD Method → Implementation |
|
|
38
|
+
| **3** | 🔌 API / Backend | REST API, microservices, BFF | PRD → TDD → Breakdown → TDD Method → Implementation |
|
|
39
|
+
| **4** | 📱 Mobile App | React Native, Flutter, native | PRD → TDD → Design System (mobile) → Breakdown → Implementation |
|
|
40
|
+
| **5** | 🧩 Fullstack (Web App + API) | Complete app with frontend and backend | PRD → TDD → Design System → Breakdown → TDD Method → Implementation |
|
|
41
|
+
| **6** | 📦 Package / Library | npm package, SDK, utility | PRD → TDD → TDD Method → Implementation |
|
|
42
|
+
|
|
43
|
+
Which number?
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**WAIT** for user response.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
### Question 2: Stack (Contextual to Type)
|
|
51
|
+
|
|
52
|
+
After the type, ask follow-up questions **specific to the chosen type:**
|
|
53
|
+
|
|
54
|
+
#### Type 1 (Institutional Site / LP)
|
|
55
|
+
|
|
56
|
+
| Option | Stack | When to use |
|
|
57
|
+
|--------|-------|-------------|
|
|
58
|
+
| **A** | Next.js (App Router) + CSS Modules | Multi-page sites, SEO, dynamic routes |
|
|
59
|
+
| **B** | Next.js (App Router) + Tailwind | Fast sites with visual prototyping |
|
|
60
|
+
| **C** | HTML/CSS/JS vanilla | Simple sites, no framework |
|
|
61
|
+
| **D** | Other (specify) | Already defined stack |
|
|
62
|
+
|
|
63
|
+
#### Type 2 (Web App / SaaS)
|
|
64
|
+
|
|
65
|
+
| Option | Stack | When to use |
|
|
66
|
+
|--------|-------|-------------|
|
|
67
|
+
| **A** | Next.js + shadcn/ui + Tailwind | Modern apps with ready components |
|
|
68
|
+
| **B** | Next.js + CSS Modules | Apps with custom design system |
|
|
69
|
+
| **C** | Vite + React + Tailwind | SPAs without SSR |
|
|
70
|
+
| **D** | Other (specify) | Already defined stack |
|
|
71
|
+
|
|
72
|
+
**Additional questions:**
|
|
73
|
+
1. Will this Web App include a public Landing Page / Site alongside it? (If Yes, activates Phase 2.65 Content Strategy & SEO planning)
|
|
74
|
+
2. Auth provider? Database? Deploy platform?
|
|
75
|
+
|
|
76
|
+
#### Type 3 (API / Backend)
|
|
77
|
+
|
|
78
|
+
| Option | Stack | When to use |
|
|
79
|
+
|--------|-------|-------------|
|
|
80
|
+
| **A** | Node.js + Express/Fastify | Simple REST APIs |
|
|
81
|
+
| **B** | NestJS + Prisma | Enterprise APIs with DI |
|
|
82
|
+
| **C** | Next.js API Routes | API coupled to frontend |
|
|
83
|
+
| **D** | Python (FastAPI / Django) | Python APIs |
|
|
84
|
+
| **E** | Other (specify) | Already defined stack |
|
|
85
|
+
|
|
86
|
+
**Additional questions:** Protocol (REST/GraphQL/tRPC/gRPC)? Database?
|
|
87
|
+
|
|
88
|
+
#### Type 4 (Mobile)
|
|
89
|
+
|
|
90
|
+
| Option | Stack | When to use |
|
|
91
|
+
|--------|-------|-------------|
|
|
92
|
+
| **A** | React Native + Expo | Fast cross-platform |
|
|
93
|
+
| **B** | Flutter | Cross-platform with native UI |
|
|
94
|
+
| **C** | SwiftUI (native iOS) | iOS only |
|
|
95
|
+
| **D** | Kotlin (native Android) | Android only |
|
|
96
|
+
|
|
97
|
+
#### Type 5 (Fullstack)
|
|
98
|
+
|
|
99
|
+
Combination of frontend + backend. Ask both:
|
|
100
|
+
- **Frontend:** same options as Type 2
|
|
101
|
+
- **Backend:** same options as Type 3, or integrated API Routes?
|
|
102
|
+
|
|
103
|
+
**Additional questions:**
|
|
104
|
+
1. Will the frontend include a public Landing Page / Site? (If Yes, activates Phase 2.65 Content Strategy & SEO planning)
|
|
105
|
+
|
|
106
|
+
#### Type 6 (Package / Library)
|
|
107
|
+
|
|
108
|
+
| Option | Stack | When to use |
|
|
109
|
+
|--------|-------|-------------|
|
|
110
|
+
| **A** | TypeScript + tsup/unbuild | Modern npm packages |
|
|
111
|
+
| **B** | TypeScript + Rollup/Vite lib | Libs with tree-shaking |
|
|
112
|
+
| **C** | Python + setuptools/poetry | PyPI packages |
|
|
113
|
+
|
|
114
|
+
**Additional questions:** Publish to npm/PyPI? Internal use? Monorepo?
|
|
115
|
+
|
|
116
|
+
**WAIT** for user response.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
### Question 3: Design (Only for types with UI: 1, 2, 4, 5)
|
|
121
|
+
|
|
122
|
+
```markdown
|
|
123
|
+
### Design Approach:
|
|
124
|
+
|
|
125
|
+
| Option | Description |
|
|
126
|
+
|--------|-------------|
|
|
127
|
+
| **A** | I have visual references (Figma, screenshots, inspiration sites) |
|
|
128
|
+
| **B** | I want agent recommendations based on the segment |
|
|
129
|
+
| **C** | I'll define manually (I have colors, fonts, etc.) |
|
|
130
|
+
| **D** | Combination: references + adjustments with recommendations |
|
|
131
|
+
|
|
132
|
+
Which option?
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
> [!NOTE]
|
|
136
|
+
> The answer to this question **replaces** Phase 2.45 (Visual Reference Collection).
|
|
137
|
+
> If the user answers here, Phase 2.45 uses this choice directly without asking again.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
### Question 4: Flyee Integration (MANDATORY after Project Profile)
|
|
142
|
+
|
|
143
|
+
> Run AFTER the Project Profile is saved, BEFORE starting Phase 0/1.
|
|
144
|
+
|
|
145
|
+
**Check** `flyee.json`:
|
|
146
|
+
- If `opted_out: true` → Skip silently
|
|
147
|
+
- If `enabled: true` → Skip silently (already configured)
|
|
148
|
+
- If `enabled: false` AND `opted_out: false` → Present question:
|
|
149
|
+
|
|
150
|
+
```markdown
|
|
151
|
+
## 🔗 Flyee Platform Integration
|
|
152
|
+
|
|
153
|
+
Flyee can track documents, decisions, and progress for this project.
|
|
154
|
+
|
|
155
|
+
| Option | Description |
|
|
156
|
+
|--------|-------------|
|
|
157
|
+
| **A) Configure now** | Connect to Flyee (list/create project + register docs) |
|
|
158
|
+
| **B) Later** | Skip (configure later with `python .agent/flyee-bridge/bridge.py --setup`) |
|
|
159
|
+
| **C) No thanks** | Disable permanently |
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
- **If A:** Execute Flyee Bridge Setup Flow (see below)
|
|
163
|
+
- **If B:** Continue without bridge (`enabled: false`)
|
|
164
|
+
- **If C:** Set `opted_out: true` in `config.json`
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 🔗 Flyee Bridge Setup Flow
|
|
169
|
+
|
|
170
|
+
> Referenced by: Gate 0 (Question 4) and `--resume` (Step 4).
|
|
171
|
+
|
|
172
|
+
**Step 1: Authentication**
|
|
173
|
+
- Request API URL (default: `https://flyee-api.flyeelab.com`)
|
|
174
|
+
- Request API Key (obtained in Settings → API Keys)
|
|
175
|
+
|
|
176
|
+
**Step 2: Project Selection or Creation**
|
|
177
|
+
- List existing projects via `GET /flyee/projects/`
|
|
178
|
+
- Present options (existing projects + "Create new")
|
|
179
|
+
- If new: suggest name from directory or PROJECT-PROGRESS.md
|
|
180
|
+
|
|
181
|
+
**Step 3: Register Existing Documentation**
|
|
182
|
+
- Scan `docs/` for: `PRD-*.md`, `TDD-*.md`, `BREAKDOWN-*.md`, `PROJECT-PROGRESS.md`
|
|
183
|
+
- Register each via `POST /flyee/projects/{id}/documents`
|
|
184
|
+
|
|
185
|
+
**Step 4: Save Config**
|
|
186
|
+
- Update `config.json` with `api_url`, `project_id`, `api_key`, `enabled: true`
|
|
187
|
+
|
|
188
|
+
> [!TIP]
|
|
189
|
+
> **CLI commands available:**
|
|
190
|
+
> - `python .agent/flyee-bridge/bridge.py --setup` → full interactive setup
|
|
191
|
+
> - `python .agent/flyee-bridge/bridge.py --list-projects` → list projects
|
|
192
|
+
> - `python .agent/flyee-bridge/bridge.py --register-docs` → register existing docs
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## 📋 Project Profile Output
|
|
197
|
+
|
|
198
|
+
After all questions, generate and save to `PROJECT-PROGRESS.md`:
|
|
199
|
+
|
|
200
|
+
```markdown
|
|
201
|
+
## 🚦 Project Profile
|
|
202
|
+
|
|
203
|
+
| Field | Value |
|
|
204
|
+
|-------|-------|
|
|
205
|
+
| Type | {chosen type} |
|
|
206
|
+
| Stack | {defined stack} |
|
|
207
|
+
| Primary Agent | {selected agent} |
|
|
208
|
+
| Design Approach | {A/B/C/D or N/A} |
|
|
209
|
+
| Has UI? | Yes / No |
|
|
210
|
+
| Has Backend? | Yes / No |
|
|
211
|
+
| Phases Activated | {list} |
|
|
212
|
+
| Phases Skipped | {list} |
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### Type → Configuration Mapping
|
|
216
|
+
|
|
217
|
+
| Type | Primary Agent | Skipped Phases | Extra Skills |
|
|
218
|
+
|------|--------------|----------------|-------------|
|
|
219
|
+
| Institutional Site | `frontend-specialist` | — | `content-strategy`, `seo-fundamentals` |
|
|
220
|
+
| Web App | `frontend-specialist` + `backend-specialist` | Content Strategy (optional) | `shadcn-ui` (if applicable) |
|
|
221
|
+
| API / Backend | `backend-specialist` | Design System, Content, Stitch, Page Specs | `api-patterns`, `database-design` |
|
|
222
|
+
| Mobile | `mobile-developer` | Stitch, Content | `mobile-design` |
|
|
223
|
+
| Fullstack | `orchestrator` | — | Combines frontend + backend |
|
|
224
|
+
| Package / Library | `backend-specialist` | Design System, Content, Stitch, Page Specs | `testing-patterns` |
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## 🔴 Exit Gate
|
|
229
|
+
|
|
230
|
+
```markdown
|
|
231
|
+
[ ] Project type defined
|
|
232
|
+
[ ] Stack confirmed by user
|
|
233
|
+
[ ] Design approach defined (if has UI)
|
|
234
|
+
[ ] Project Profile saved in PROJECT-PROGRESS.md
|
|
235
|
+
[ ] Flyee integration resolved (configured, skipped, or opted out)
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
> [!CAUTION]
|
|
239
|
+
> **BLOCKER:** Do not start any phase (not even Brainstorm) without the Project Profile defined.
|