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,182 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create Atomic Design components (Atoms, Molecules, Organisms) with design tokens, typing, tests, and quality gates. Stack-agnostic.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /atomic — Atomic Design Component Builder
|
|
6
|
+
|
|
7
|
+
> Cria componentes seguindo Atomic Design, independente de stack.
|
|
8
|
+
> Skill: `@[skills/atomic-design]`
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Phase 1: Intake Sequencial
|
|
13
|
+
|
|
14
|
+
> 🔴 **UMA pergunta por vez. Esperar resposta antes de prosseguir.**
|
|
15
|
+
|
|
16
|
+
### Step 1: Component Name
|
|
17
|
+
```
|
|
18
|
+
Qual o nome do componente?
|
|
19
|
+
(Ex: Button, SearchBar, Header)
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Step 2: Category
|
|
23
|
+
```
|
|
24
|
+
Qual a categoria?
|
|
25
|
+
1. ⚛️ Atom (elemento indivisível: Button, Input, Icon)
|
|
26
|
+
2. 🧬 Molecule (grupo simples: SearchBar, FormField)
|
|
27
|
+
3. 🦠 Organism (seção complexa: Header, Modal, DataTable)
|
|
28
|
+
|
|
29
|
+
Se tiver dúvida, consulte: @[skills/atomic-design] → classification-guide.md
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Step 3: Stack Detection
|
|
33
|
+
```
|
|
34
|
+
Auto-detectar stack do projeto:
|
|
35
|
+
- next.config.* / vite.config.* + react → React
|
|
36
|
+
- nuxt.config.* / vite.config.* + vue → Vue
|
|
37
|
+
- artisan + resources/views/ → Blade
|
|
38
|
+
|
|
39
|
+
Se não detectar → Perguntar ao usuário:
|
|
40
|
+
"Qual stack do projeto? (React / Vue / Blade / outro)"
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Step 4: Referência Visual
|
|
44
|
+
```
|
|
45
|
+
Tem referência visual?
|
|
46
|
+
1. 🔗 Link do Figma
|
|
47
|
+
2. 📸 Screenshot/imagem
|
|
48
|
+
3. 📝 Descrição textual
|
|
49
|
+
4. 🚫 Sem referência (criar do zero)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Step 5: Base Library
|
|
53
|
+
```
|
|
54
|
+
Usar biblioteca UI como base?
|
|
55
|
+
1. shadcn/ui (instalo se necessário)
|
|
56
|
+
2. Headless UI
|
|
57
|
+
3. Radix UI
|
|
58
|
+
4. Nenhuma (construir do zero)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Step 6: Extras
|
|
62
|
+
```
|
|
63
|
+
Deseja gerar extras?
|
|
64
|
+
- [ ] Storybook story
|
|
65
|
+
- [ ] Testes unitários (recomendado)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Phase 2: Infrastructure Check
|
|
71
|
+
|
|
72
|
+
> Executar silenciosamente. Só perguntar ao usuário se precisar instalar algo.
|
|
73
|
+
|
|
74
|
+
### 2.1 Design Tokens
|
|
75
|
+
```
|
|
76
|
+
Verificar se existe arquivo de tokens:
|
|
77
|
+
- variables.css / variables.scss
|
|
78
|
+
- tailwind.config.* com tokens customizados
|
|
79
|
+
- design-system/tokens.*
|
|
80
|
+
|
|
81
|
+
Se NÃO existir → Criar starter template (ver SKILL.md § Token Starter)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### 2.2 Test Framework
|
|
85
|
+
```
|
|
86
|
+
Se usuário pediu testes:
|
|
87
|
+
- React: vitest.config.* existe?
|
|
88
|
+
- Vue: vitest.config.* existe?
|
|
89
|
+
- Blade: phpunit.xml existe?
|
|
90
|
+
|
|
91
|
+
Se NÃO → Perguntar: "Framework de testes não encontrado. Instalar [Vitest/PHPUnit]?"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### 2.3 Storybook
|
|
95
|
+
```
|
|
96
|
+
Se usuário pediu Storybook:
|
|
97
|
+
- .storybook/ existe?
|
|
98
|
+
|
|
99
|
+
Se NÃO → Perguntar: "Storybook não encontrado. Instalar agora?"
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 2.4 UI Library
|
|
103
|
+
```
|
|
104
|
+
Se usuário escolheu shadcn:
|
|
105
|
+
- components.json existe?
|
|
106
|
+
- SIM → Identificar primitive e instalar: npx shadcn@latest add [primitive]
|
|
107
|
+
- NÃO → Inicializar: npx shadcn@latest init
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Phase 3: Generation
|
|
113
|
+
|
|
114
|
+
### 3.1 Carregar Stack Adapter
|
|
115
|
+
```
|
|
116
|
+
Ler: @[skills/atomic-design] → references/stacks/stack-{stack}.md
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### 3.2 Gerar Arquivos
|
|
120
|
+
```
|
|
121
|
+
Seguir a ordem obrigatória do adapter:
|
|
122
|
+
1. Types/Interface (PRIMEIRO — contrato)
|
|
123
|
+
2. Component implementation
|
|
124
|
+
3. Styles (design tokens + BEM)
|
|
125
|
+
4. Tests (se solicitado)
|
|
126
|
+
5. Barrel export (index)
|
|
127
|
+
6. Story (se solicitado)
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### 3.3 Composição com UI Library
|
|
131
|
+
```
|
|
132
|
+
Se shadcn/Headless UI foi escolhido:
|
|
133
|
+
- Importar primitive como base
|
|
134
|
+
- Envolver (wrap) com estilos customizados
|
|
135
|
+
- NÃO reconstruir o que a library já faz
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Phase 4: Quality Gate
|
|
141
|
+
|
|
142
|
+
> 🔴 **OBRIGATÓRIO antes de considerar o componente pronto.**
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
Executar checklist: @[skills/atomic-design] → references/quality-checklist.md
|
|
146
|
+
|
|
147
|
+
Verificar:
|
|
148
|
+
[ ] Classificação correta (Atom/Molecule/Organism)
|
|
149
|
+
[ ] Todos os arquivos obrigatórios criados
|
|
150
|
+
[ ] Design tokens usados (zero hardcoded values)
|
|
151
|
+
[ ] Tipagem completa (zero `any`)
|
|
152
|
+
[ ] Testes passando (se gerados)
|
|
153
|
+
[ ] Acessibilidade básica
|
|
154
|
+
[ ] Componente renderiza sem erros
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Exemplos de Uso
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
# Criar um Button atom
|
|
163
|
+
/atomic
|
|
164
|
+
|
|
165
|
+
# O workflow vai perguntar:
|
|
166
|
+
# 1. Nome? → Button
|
|
167
|
+
# 2. Categoria? → Atom
|
|
168
|
+
# 3. Stack detectado: React ✓
|
|
169
|
+
# 4. Referência? → Descrição: "botão com variantes primary/secondary/ghost"
|
|
170
|
+
# 5. Base? → shadcn
|
|
171
|
+
# 6. Extras? → Storybook + Testes
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Regras
|
|
177
|
+
|
|
178
|
+
1. **UMA pergunta por vez** — nunca fazer múltiplas perguntas
|
|
179
|
+
2. **Stack adapter obrigatório** — sempre carregar o adapter correto
|
|
180
|
+
3. **Types PRIMEIRO** — sempre gerar o contrato antes da implementação
|
|
181
|
+
4. **Quality Gate FINAL** — nunca pular o checklist
|
|
182
|
+
5. **Respeitar Design System** — se o projeto já tem tokens via `/ds-init`, usar esses tokens
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Structured brainstorming for projects and features. Explores multiple options before implementation.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /brainstorm - Structured Idea Exploration
|
|
6
|
+
|
|
7
|
+
$ARGUMENTS
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
This command activates BRAINSTORM mode for structured idea exploration. Use when you need to explore options before committing to an implementation.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 🔗 Integração com `/new-project`
|
|
18
|
+
|
|
19
|
+
> [!TIP]
|
|
20
|
+
> **Se você quer explorar ideias E depois implementar**, use:
|
|
21
|
+
> ```bash
|
|
22
|
+
> /new-project --brainstorm [nome]
|
|
23
|
+
> ```
|
|
24
|
+
> Isso executa o brainstorm como Phase 0 e continua automaticamente para PRD → TDD → Código.
|
|
25
|
+
|
|
26
|
+
**Use `/brainstorm` standalone quando:**
|
|
27
|
+
- Quer apenas explorar ideias sem compromisso de implementar
|
|
28
|
+
- Precisa comparar abordagens técnicas para uma decisão
|
|
29
|
+
- Está avaliando tecnologias ou arquiteturas
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Behavior
|
|
34
|
+
|
|
35
|
+
When `/brainstorm` is triggered:
|
|
36
|
+
|
|
37
|
+
**Agentes Envolvidos:**
|
|
38
|
+
- `project-planner` - Estruturação e decomposição de opções
|
|
39
|
+
- `backend-specialist` / `frontend-specialist` / `mobile-developer` - Conforme domínio técnico
|
|
40
|
+
- `security-auditor` - Para avaliar riscos de cada opção
|
|
41
|
+
|
|
42
|
+
1. **Understand the goal**
|
|
43
|
+
- What problem are we solving?
|
|
44
|
+
- Who is the user?
|
|
45
|
+
- What constraints exist?
|
|
46
|
+
|
|
47
|
+
2. **Generate options**
|
|
48
|
+
- Provide at least 3 different approaches
|
|
49
|
+
- Each with pros and cons
|
|
50
|
+
- Consider unconventional solutions
|
|
51
|
+
|
|
52
|
+
3. **Compare and recommend**
|
|
53
|
+
- Summarize tradeoffs
|
|
54
|
+
- Give a recommendation with reasoning
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Output Format
|
|
59
|
+
|
|
60
|
+
```markdown
|
|
61
|
+
## 🧠 Brainstorm: [Topic]
|
|
62
|
+
|
|
63
|
+
### Context
|
|
64
|
+
[Brief problem statement]
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### Option A: [Name]
|
|
69
|
+
[Description]
|
|
70
|
+
|
|
71
|
+
✅ **Pros:**
|
|
72
|
+
- [benefit 1]
|
|
73
|
+
- [benefit 2]
|
|
74
|
+
|
|
75
|
+
❌ **Cons:**
|
|
76
|
+
- [drawback 1]
|
|
77
|
+
|
|
78
|
+
📊 **Effort:** Low | Medium | High
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
### Option B: [Name]
|
|
83
|
+
[Description]
|
|
84
|
+
|
|
85
|
+
✅ **Pros:**
|
|
86
|
+
- [benefit 1]
|
|
87
|
+
|
|
88
|
+
❌ **Cons:**
|
|
89
|
+
- [drawback 1]
|
|
90
|
+
- [drawback 2]
|
|
91
|
+
|
|
92
|
+
📊 **Effort:** Low | Medium | High
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
### Option C: [Name]
|
|
97
|
+
[Description]
|
|
98
|
+
|
|
99
|
+
✅ **Pros:**
|
|
100
|
+
- [benefit 1]
|
|
101
|
+
|
|
102
|
+
❌ **Cons:**
|
|
103
|
+
- [drawback 1]
|
|
104
|
+
|
|
105
|
+
📊 **Effort:** Low | Medium | High
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## 💡 Recommendation
|
|
110
|
+
|
|
111
|
+
**Option [X]** because [reasoning].
|
|
112
|
+
|
|
113
|
+
What direction would you like to explore?
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Examples
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
/brainstorm authentication system
|
|
122
|
+
/brainstorm state management for complex form
|
|
123
|
+
/brainstorm database schema for social app
|
|
124
|
+
/brainstorm caching strategy
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Key Principles
|
|
130
|
+
|
|
131
|
+
- **No code** - this is about ideas, not implementation
|
|
132
|
+
- **Visual when helpful** - use diagrams for architecture
|
|
133
|
+
- **Honest tradeoffs** - don't hide complexity
|
|
134
|
+
- **Defer to user** - present options, let them decide
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Consultar status de uma task no Tracker. Verifica progresso, subitens e se está concluída.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /check-task - Verificar Status de Task
|
|
6
|
+
|
|
7
|
+
$ARGUMENTS
|
|
8
|
+
|
|
9
|
+
**Arguments:**
|
|
10
|
+
|
|
11
|
+
| Argumento | Descrição | Exemplo |
|
|
12
|
+
|-----------|-----------|---------|
|
|
13
|
+
| `<busca>` | Título, ID parcial ou termo de busca | `/check-task "autenticação"` |
|
|
14
|
+
| `--subitems` | Mostrar checklist de subitens | `/check-task 1.1 --subitems` |
|
|
15
|
+
| `--history` | Mostrar histórico de comentários | `/check-task "login" --history` |
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🎯 PROPÓSITO
|
|
20
|
+
|
|
21
|
+
Consultar o status de uma task específica no Flyee **sem iniciar execução**.
|
|
22
|
+
|
|
23
|
+
Útil para:
|
|
24
|
+
- Verificar se uma task foi concluída
|
|
25
|
+
- Checar progresso e subitens pendentes
|
|
26
|
+
- Validar antes de dar continuidade
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 📌 COMO IDENTIFICAR UMA TASK
|
|
31
|
+
|
|
32
|
+
### Convenção de Identificação
|
|
33
|
+
|
|
34
|
+
As tasks usam o **título** como identificador, geralmente com padrão:
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
{Épico}.{Sequência} - {Descrição}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Exemplos:**
|
|
41
|
+
- `1.1 - Implementar autenticação OAuth`
|
|
42
|
+
- `2.3 - Criar componente de listagem`
|
|
43
|
+
- `Adicionar filtro de busca` (sem número)
|
|
44
|
+
|
|
45
|
+
### Formas de Buscar
|
|
46
|
+
|
|
47
|
+
| Método | Exemplo | O que busca |
|
|
48
|
+
|--------|---------|-------------|
|
|
49
|
+
| **ID parcial** | `/check-task 1.1` | Título contendo "1.1" |
|
|
50
|
+
| **Nome parcial** | `/check-task "autenticação"` | Título contendo "autenticação" |
|
|
51
|
+
| **Nome completo** | `/check-task "1.1 - Implementar..."` | Match exato |
|
|
52
|
+
|
|
53
|
+
> [!TIP]
|
|
54
|
+
> **Onde encontrar o ID?**
|
|
55
|
+
> - No Flyee: é o início do título da task
|
|
56
|
+
> - No TDD: seção de breakdown lista tasks com IDs
|
|
57
|
+
> - No relatório do `/discovery`: mostra IDs criados
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 🔴 FLUXO
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
|
|
65
|
+
│ BUSCAR │───▶│ ANALISAR │───▶│ REPORTAR │
|
|
66
|
+
│ (Flyee) │ │ (Status) │ │ (Resultado) │
|
|
67
|
+
└──────────────┘ └──────────────┘ └──────────────┘
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
### Fase 1: BUSCAR TASK
|
|
73
|
+
|
|
74
|
+
**Trigger:**
|
|
75
|
+
```
|
|
76
|
+
/check-task <busca>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Ações:**
|
|
80
|
+
1. Buscar no Tracker:
|
|
81
|
+
```
|
|
82
|
+
Use: Flyee API: list_tasks()
|
|
83
|
+
query: "{busca}"
|
|
84
|
+
filter: { "property": "object", "value": "page" }
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
2. **Se encontrar múltiplas:**
|
|
88
|
+
```
|
|
89
|
+
🔍 MÚLTIPLAS TASKS ENCONTRADAS
|
|
90
|
+
|
|
91
|
+
| # | Título | Status | % |
|
|
92
|
+
|---|--------|--------|---|
|
|
93
|
+
| 1 | 1.1 - Autenticação OAuth | Em Progresso | 50% |
|
|
94
|
+
| 2 | 1.2 - Autenticação JWT | Concluído | 100% |
|
|
95
|
+
|
|
96
|
+
Qual você quer verificar? (digite o número)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
3. **Se não encontrar:**
|
|
100
|
+
```
|
|
101
|
+
❌ TASK NÃO ENCONTRADA
|
|
102
|
+
|
|
103
|
+
Nenhuma task com "{busca}" foi encontrada.
|
|
104
|
+
|
|
105
|
+
💡 Dica: Verifique se o termo está correto ou use parte do título.
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
### Fase 2: ANALISAR TASK
|
|
111
|
+
|
|
112
|
+
**Trigger:** Task encontrada (única ou selecionada)
|
|
113
|
+
|
|
114
|
+
**Ações:**
|
|
115
|
+
1. Recuperar propriedades da task:
|
|
116
|
+
```
|
|
117
|
+
Use: Flyee API: get_task()
|
|
118
|
+
page_id: {task_id}
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
2. Extrair dados:
|
|
122
|
+
- Título
|
|
123
|
+
- Status
|
|
124
|
+
- Última edição
|
|
125
|
+
- Categoria
|
|
126
|
+
- Prioridade
|
|
127
|
+
- Última edição
|
|
128
|
+
|
|
129
|
+
3. Se `--subitems`: Recuperar corpo da página:
|
|
130
|
+
```
|
|
131
|
+
Use: Flyee API: get_task()
|
|
132
|
+
block_id: {task_id}
|
|
133
|
+
```
|
|
134
|
+
- Contar itens marcados `[x]` vs `[ ]`
|
|
135
|
+
|
|
136
|
+
4. Se `--history`: Recuperar comentários:
|
|
137
|
+
```
|
|
138
|
+
Use: Flyee API: get_task()
|
|
139
|
+
block_id: {task_id}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
### Fase 3: REPORTAR STATUS
|
|
145
|
+
|
|
146
|
+
**Ações:**
|
|
147
|
+
|
|
148
|
+
1. **Task CONCLUÍDA (100%):**
|
|
149
|
+
```
|
|
150
|
+
✅ TASK CONCLUÍDA
|
|
151
|
+
|
|
152
|
+
📋 Título: 1.1 - Implementar autenticação OAuth
|
|
153
|
+
📊 Status: Concluído
|
|
154
|
+
📈 Progresso: 100%
|
|
155
|
+
📅 Concluída em: 2026-01-15
|
|
156
|
+
|
|
157
|
+
Esta task está totalmente finalizada.
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
2. **Task EM PROGRESSO (1-99%):**
|
|
161
|
+
```
|
|
162
|
+
🟡 TASK EM PROGRESSO
|
|
163
|
+
|
|
164
|
+
📋 Título: 2.3 - Criar componente de listagem
|
|
165
|
+
📊 Status: Em Progresso
|
|
166
|
+
📈 Progresso: 65%
|
|
167
|
+
🎯 Categoria: Feature
|
|
168
|
+
|
|
169
|
+
📝 Subitens:
|
|
170
|
+
- [x] Criar estrutura base
|
|
171
|
+
- [x] Implementar filtros
|
|
172
|
+
- [ ] Adicionar paginação
|
|
173
|
+
- [ ] Testes unitários
|
|
174
|
+
|
|
175
|
+
Pendente: 2 de 4 itens
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
3. **Task NÃO INICIADA (0%):**
|
|
179
|
+
```
|
|
180
|
+
⏳ TASK NÃO INICIADA
|
|
181
|
+
|
|
182
|
+
📋 Título: 3.1 - Integrar pagamento
|
|
183
|
+
📊 Status: A Fazer
|
|
184
|
+
📈 Progresso: 0%
|
|
185
|
+
🎯 Prioridade: P0
|
|
186
|
+
|
|
187
|
+
Use `/execute 3.1` para iniciar esta task.
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## 📋 EXEMPLOS DE USO
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
# Verificar task por ID parcial
|
|
196
|
+
/check-task 1.1
|
|
197
|
+
|
|
198
|
+
# Buscar por nome
|
|
199
|
+
/check-task "autenticação"
|
|
200
|
+
|
|
201
|
+
# Ver detalhes com subitens
|
|
202
|
+
/check-task 2.3 --subitems
|
|
203
|
+
|
|
204
|
+
# Ver histórico de comentários
|
|
205
|
+
/check-task "login" --history
|
|
206
|
+
|
|
207
|
+
# Combinar flags
|
|
208
|
+
/check-task 1.1 --subitems --history
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## 🔗 INTEGRAÇÃO COM OUTROS WORKFLOWS
|
|
214
|
+
|
|
215
|
+
| Após `/check-task` | Comando Sugerido | Quando usar |
|
|
216
|
+
|-------------------|------------------|-------------|
|
|
217
|
+
| Task não iniciada | `/execute {id}` | Iniciar execução |
|
|
218
|
+
| Task em progresso | `/task-update {id} progress "msg"` | Atualizar progresso |
|
|
219
|
+
| Task com bug | `/debug` | Investigar problema |
|
|
220
|
+
| Task incompleta | `/new-task --resume` | Continuar trabalho |
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## 📊 Propriedades Lidas
|
|
225
|
+
|
|
226
|
+
| Propriedade | Obrigatória | Descrição |
|
|
227
|
+
|-------------|-------------|-----------|
|
|
228
|
+
| Título | ✅ | Identificação da task |
|
|
229
|
+
| Status | ✅ | Não iniciado / Em andamento / Concluído |
|
|
230
|
+
| Última edição | ✅ | Data/hora da última modificação (automático) |
|
|
231
|
+
| Categoria | ❌ | Feature, Melhoria, Bug, etc. |
|
|
232
|
+
| Prioridade | ❌ | P0, P1, P2, P3 |
|
|
233
|
+
| last_edited_time | ❌ | Data da última edição |
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## 🔴 REGRAS
|
|
238
|
+
|
|
239
|
+
1. **Apenas consulta** - Este workflow NÃO modifica a task
|
|
240
|
+
2. **Busca flexível** - Aceita ID (1.1), nome parcial ou completo
|
|
241
|
+
3. **Múltiplos resultados** - Pergunta ao usuário qual verificar
|
|
242
|
+
4. **Sem execução** - Para executar, use `/execute`
|