dev-booster 1.4.0 → 1.6.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.
@@ -1,133 +1,133 @@
1
1
  ```text
2
- 🧭 GUIA DO DEV BOOSTER KIT (BOOSTERS)
2
+ 🧭 DEV BOOSTER KIT GUIDE (BOOSTERS)
3
3
 
4
- Este guia serve como referência rápida para entender a função de cada Booster (ativador manual).
5
- Ele foi formatado como bloco de código para facilitar a leitura direta na IDE.
4
+ This guide serves as a quick reference to understand the role of each Booster (manual activator).
5
+ It has been formatted as a code block to facilitate direct reading in the IDE.
6
6
 
7
7
  ---
8
8
 
9
- [ 🛠️ ENGENHARIA E EXECUÇÃO ]
10
-
11
- • create.md -> Arquiteto Mestre. Focado em Scaffolding e criação de novas
12
- funcionalidades ou apps do zero, integrando FRONTEND.md e BACKEND.md.
13
- • performance.md -> Engenheiro de Performance. Focado em Core Web Vitals,
14
- velocidade de carregamento e otimização de Next.js.
15
- • i18n.md -> Especialista de Internacionalização. Extração de textos e
16
- configuração de múltiplos idiomas.
17
- • accessibility.md -> Auditor de Acessibilidade. Garante conformidade WCAG e
18
- uso correto de semântica HTML/ARIA.
19
- • refactor.md -> Líder de Qualidade. Focado em limpar dívida técnica, implementar
20
- SOLID e reforçar o Clean Code.
21
- • implementation.md -> Mestre de Implementação. Faz a triagem da complexidade (P, M, G)
22
- e escolhe o template correto antes de gerar o plano após confirmação.
23
-
9
+ [ 🛠️ ENGINEERING & EXECUTION ]
10
+
11
+ • create.md -> Master Architect. Focused on Scaffolding and creating new
12
+ features or apps from scratch, integrating FRONTEND.md and BACKEND.md.
13
+ • performance.md -> Performance Engineer. Focused on Core Web Vitals,
14
+ load speed, and Next.js optimization.
15
+ • i18n.md -> Internationalization Expert. Text extraction and
16
+ multi-language configuration.
17
+ • accessibility.md -> Accessibility Auditor. Ensures WCAG compliance and
18
+ correct usage of HTML/ARIA semantics.
19
+ • refactor.md -> Quality Lead. Focused on cleaning technical debt, implementing
20
+ SOLID principles, and enforcing Clean Code.
21
+ • implementation.md -> Implementation Master. Triages complexity (S, M, L)
22
+ and chooses the correct template before generating the plan upon confirmation.
24
23
  • global-documentation.md
25
- -> Documentação Global. Gera um documento técnico transferível de 17 seções a partir do contexto consolidado
26
- para prever todos os requisitos técnicos rigorosos e reutilizáveis.
24
+ -> Global Documentation. Generates a transferable 17-section technical document
25
+ from the consolidated context to foresee all rigorous and reusable technical requirements.
27
26
  • internal-documentation.md
28
- -> Documentação Interna. Gera um mapa interno do projeto com caminhos absolutos,
29
- arquivos, assets, scripts, regras runtime e limites de edição.
30
- • atomic.md -> Execução Atômica. Protocolo para execução passo a passo,
31
- focada em uma única alteração cirúrgica por vez.
32
- • review.md -> Auditoria Elite. Ativa orquestração mult-agente para validar
33
- se um plano ou código segue os padrões do projeto.
27
+ -> Internal Documentation. Generates an internal project map with absolute paths,
28
+ files, assets, scripts, runtime rules, and editing boundaries.
29
+ • atomic.md -> Atomic Execution. Protocol for step-by-step execution,
30
+ focused on a single surgical change at a time.
31
+ • review.md -> Elite Audit. Triggers multi-agent orchestration to validate
32
+ if a plan or code follows project standards.
34
33
 
35
34
  ---
36
35
 
37
- [ 🔍 DESCOBERTA E PLANEJAMENTO ]
36
+ [ 🔍 DISCOVERY & PLANNING ]
38
37
 
39
- • discovery.md -> Consultor Estratégico. Usa brainstorm de 3 caminhos para validar
40
- ideias de produto e regras de negócio.
41
- • planning.md -> Alinhamento e Prontidão. Consolida decisões, mapeia riscos/gaps e valida se está pronto para implementation
42
- antes de seguir para implementation.
43
- • investigation.md -> Pré-Orquestrador de Contexto. Faz análise profunda do repositório
44
- (no-code analysis) antes de propor mudanças.
45
- • context.md -> Assimilador de Contexto. e memoriza fluxos de código e dependências em silêncio absoluto.
46
- • advisor.md -> Consultor do Kit (GPS). Ajuda a escolher qual booster usar.
38
+ • discovery.md -> Strategic Consultant. Uses a 3-path brainstorm to validate
39
+ product ideas and business rules.
40
+ • planning.md -> Alignment & Readiness. Consolidates decisions, maps risks/gaps, and validates readiness
41
+ before proceeding to implementation.
42
+ • investigation.md -> Context Pre-Orchestrator. Performs deep repository analysis
43
+ (no-code analysis) before proposing changes.
44
+ • context.md -> Context Assimilator. Reads and memorizes code flows and dependencies in absolute silence.
45
+ • advisor.md -> Kit Consultant (GPS). Helps you choose the right booster to use.
47
46
 
48
47
  ---
49
48
 
50
- [ 🐞 CORREÇÃO E QUALIDADE ]
49
+ [ 🐞 FIX & QUALITY ]
51
50
 
52
- • debug.md -> Análise de Causa Raiz. Usa motor de hipóteses para investigar bugs
53
- de forma sistemática.
54
- testing.md -> Estrategista de Testes. Define estratégia de cobertura (Unit, E2E)
55
- e coordena a execução.
56
- changelog.md -> Gerador de Histórico. Cria notas de release estruturadas e organiza
57
- o histórico de alterações.
51
+ • debug.md -> Root Cause Analysis. Uses a hypothesis engine to systematically investigate bugs.
52
+ code-audit.md -> Code Audit. Strict inspector for syntax, typing,
53
+ and diagnostics (React Doctor) pre-PR.
54
+ testing.md -> Test Strategist. Defines coverage strategy (Unit, E2E)
55
+ and coordinates execution.
56
+ changelog.md -> History Generator. Creates structured release notes and organizes
57
+ the change history.
58
58
 
59
59
  ---
60
60
 
61
- [ 🎨 ESPECIALIDADES E STACK ]
61
+ [ 🎨 SPECIALTIES & STACK ]
62
62
 
63
- • frontend.md -> Especialista de Frontend. Ativa regras de Next.js, React e UI/UX.
64
- • backend.md -> Especialista de Backend. Focado em APIs, tRPC, Banco de Dados e Servidor.
65
- • design.md -> Auditoria de UI/UX. Verifica se os componentes estão seguindo
66
- padrões premium e acessibilidade.
67
- • seo.md -> Guardião de SEO. Valida HTML semântico e metatags para indexação.
68
- • mobile.md -> Mestre de Mobile. Ativa padrões de React Native, Expo e touch UX.
63
+ • frontend.md -> Frontend Expert. Activates rules for Next.js, React, and UI/UX.
64
+ • backend.md -> Backend Expert. Focused on APIs, tRPC, Databases, and Server.
65
+ • design.md -> UI/UX Audit. Verifies if components are following
66
+ premium standards and accessibility.
67
+ • seo.md -> SEO Guardian. Validates semantic HTML and metatags for indexing.
68
+ • mobile.md -> Mobile Master. Activates patterns for React Native, Expo, and touch UX.
69
69
 
70
70
  ---
71
71
 
72
- [ 🛡️ SEGURANÇA E DEPLOY ]
72
+ [ 🛡️ SECURITY & DEPLOY ]
73
73
 
74
- • security.md -> Auditoria de Segurança. Analisa vulnerabilidades, vazamento de
75
- segredos e modelagem de ameaças.
76
- • deploy.md -> Protocolo de Lançamento. Faz os "pre-flight checks" para garantir
77
- que o código está pronto para produção.
74
+ • security.md -> Security Audit. Analyzes vulnerabilities, secret leaks,
75
+ and threat modeling.
76
+ • deploy.md -> Release Protocol. Runs "pre-flight checks" to ensure
77
+ the code is ready for production.
78
78
 
79
79
  ---
80
80
 
81
- 💡 COMO USAR AGORA:
82
- Os Boosters agora funcionam como modos manuais do Dev Booster.
83
- Na maioria dos casos, a ativação NÃO executa tudo imediatamente.
84
-
85
- Fluxo padrão:
86
- 1. Ative o Booster pelo nome.
87
- 2. O Booster entra no modo correto.
88
- 3. Depois envie a tarefa, ideia, contexto, artefato ou objetivo real.
89
- 4. então ele carrega o necessário e continua.
90
-
91
- Exemplos de ativação:
92
- - Arraste `.devbooster/boosters/frontend.md` no chat e envie.
93
- - Arraste `.devbooster/boosters/discovery.md` no chat e envie.
94
- - Arraste `.devbooster/boosters/advisor.md` no chat e envie.
95
-
96
- Padrões de comportamento:
97
- - Boosters de domínio, como frontend, backend, testing e performance:
98
- ativam rápido, entram em modo armado e carregam contexto depois da primeira dor real.
99
- - Boosters de síntese, como documentation e planning:
100
- resumem o contexto atual e pedem confirmação antes de continuar.
101
- - Boosters de entrada de artefato, como review:
102
- pedem a documentação, implementação, arquivo ou referência antes de carregar o restante.
103
- - Boosters operacionais como changelog:
104
- usam o estado real do Git como fonte principal e fazem apenas as perguntas mínimas.
105
-
106
- Exemplos práticos:
107
- - Arraste `.devbooster/boosters/planning.md` no chat e envie.
108
- - Arraste `.devbooster/boosters/global-documentation.md` no chat e envie.
109
- - Arraste `.devbooster/boosters/internal-documentation.md` no chat e envie.
110
- - Arraste `.devbooster/boosters/changelog.md` no chat e envie.
111
- - Arraste `.devbooster/boosters/review.md` no chat e envie.
112
-
113
- Depois da ativação, envie o próximo passo normalmente.
114
- Exemplo:
115
- "[arquivo planning.md enviado no chat]"
116
- "Agora quero validar se fechamos contexto suficiente para seguir para implementation."
81
+ 💡 HOW TO USE NOW:
82
+ Boosters now work as manual modes of the Dev Booster.
83
+ In most cases, activation DOES NOT execute everything immediately.
84
+
85
+ Standard flow:
86
+ 1. Activate the Booster by name.
87
+ 2. The Booster enters the correct mode.
88
+ 3. Then send the task, idea, context, artifact, or real objective.
89
+ 4. Only then will it load what is necessary and continue.
90
+
91
+ Activation examples:
92
+ - Drag `.devbooster/boosters/frontend.md` into the chat and send.
93
+ - Drag `.devbooster/boosters/discovery.md` into the chat and send.
94
+ - Drag `.devbooster/boosters/advisor.md` into the chat and send.
95
+
96
+ Behavioral patterns:
97
+ - Domain boosters, such as frontend, backend, testing, and performance:
98
+ activate quickly, enter armed mode, and load context only after the first real pain point.
99
+ - Synthesis boosters, such as documentation and planning:
100
+ summarize the current context and ask for confirmation before proceeding.
101
+ - Artifact input boosters, such as review:
102
+ ask for documentation, implementation, file, or reference before loading the rest.
103
+ - Operational boosters, such as changelog:
104
+ use the actual Git state as the primary source and ask only minimal questions.
105
+
106
+ Practical examples:
107
+ - Drag `.devbooster/boosters/planning.md` into the chat and send.
108
+ - Drag `.devbooster/boosters/global-documentation.md` into the chat and send.
109
+ - Drag `.devbooster/boosters/internal-documentation.md` into the chat and send.
110
+ - Drag `.devbooster/boosters/changelog.md` into the chat and send.
111
+ - Drag `.devbooster/boosters/review.md` into the chat and send.
112
+
113
+ After activation, send the next step normally.
114
+ Example:
115
+ "[planning.md file sent in chat]"
116
+ "Now I want to validate if we have established enough context to move to implementation."
117
117
 
118
118
  ---
119
119
 
120
- 💡 COMO ATUALIZAR O KIT:
121
- Se este projeto tem Dev Booster instalado e você quiser receber uma versão mais nova do kit,
122
- use no terminal:
120
+ 💡 HOW TO UPDATE THE KIT:
121
+ If this project already has Dev Booster installed and you want to receive a newer version of the kit,
122
+ use in the terminal:
123
123
 
124
124
  `npx dev-booster --update`
125
125
 
126
- O update:
127
- - atualiza `.devbooster/boosters/`
128
- - atualiza `.devbooster/hub/`
129
- - preserva `.devbooster/rules/`
130
- - preserva `DEVBOOSTER_INIT.md`
126
+ The update:
127
+ - updates `.devbooster/boosters/`
128
+ - updates `.devbooster/hub/`
129
+ - preserves `.devbooster/rules/`
130
+ - preserves `DEVBOOSTER_INIT.md`
131
131
 
132
- Isso existe para manter seguras as regras e ajustes locais do projeto.
132
+ This ensures that local project rules and adjustments remain safe.
133
133
  ```
@@ -35,11 +35,24 @@
35
35
  - **Logs, Code, Comments, Variables:** English, unless the project explicitly requires another convention.
36
36
 
37
37
  ## 📚 5. PERSISTENCE (MEMORIALIZATION)
38
- - **THE TRIGGER:** "bota na enciclopédia".
39
- - **THE ACTION:**
38
+ - **THE TRIGGER:** `@SavePattern`
40
39
  1. Extract the technical rule or pattern from the current context.
41
40
  2. Document in Technical English.
42
41
  3. Update/Persist specifically in `./.devbooster/rules/USER_PREFERENCES.md`.
43
42
 
43
+ - **THE ARTIFACT TRIGGER:** `@SaveState`
44
+ 1. When invoked, instantly update the machine-readable state file for the currently active booster (e.g., in `@booster-generated/...`).
45
+ 2. Ensure the state file captures the latest architectural decisions, flow logic, and context in a dense, non-conversational format without prompt ping-pong.
46
+
47
+ ### ✅ 5.1 TASK CAPTURE (DO LATER BACKLOG)
48
+ - **THE TRIGGER:** `@LogTask`
49
+ - **THE ACTION:**
50
+ 1. Capture the identified technical task.
51
+ 2. Update/Persist specifically in `./@booster-generated/tasks.md` (at the project root).
52
+ 3. Follow this strict format when adding new items:
53
+ `- [ ] Short title of the task.`
54
+ ` Resumo: detailed explanation of the task.`
55
+ ` Referências: file paths and concepts related to the task.`
56
+
44
57
  ---
45
58
  *Elite Sovereignty Framework - Conduct Governance 2026*
@@ -1,33 +1,33 @@
1
1
  ---
2
2
  name: user-preferences
3
3
  priority: P0.2 (Preferences)
4
- description: Caderno de Rascunhos Dinâmico - Padrões experimentais e regras recém aprovadas.
4
+ description: Dynamic Scratchpad - Experimental patterns and recently approved rules.
5
5
  ---
6
6
 
7
- # 🧠 PROJECT PATTERNS MEMORY (Rascunho)
7
+ # 🧠 PROJECT PATTERNS MEMORY (Scratchpad)
8
8
 
9
- Este arquivo opera como um "caderno de rascunhos em tempo real" da IA e do Desenvolvedor. O núcleo da arquitetura do projeto vive em `FRONTEND.md`, `BACKEND.md` e `PROJECT.md`.
9
+ This file operates as a "real-time scratchpad" for the AI and the Developer. The core of the project's architecture lives in `FRONTEND.md`, `BACKEND.md`, and `PROJECT.md`.
10
10
 
11
11
  ## 🛠️ THE ENCYCLOPEDIA TRIGGER
12
- Toda vez que o usuário digitar estritamente a frase **"bota na enciclopédia"** (ou variações como "bota na enciclopedia"), referindo-se a um padrão de código que acabamos de resolver e aprovar na sessão atual, a IA **deve extrair a regra técnica** e anotá-la aqui.
12
+ Every time the user strictly types the phrase **"bota na enciclopédia"** (or variations like "bota na enciclopedia"), referring to a code pattern we just resolved and approved in the current session, the AI **must extract the technical rule** and annotate it here.
13
13
 
14
- - Este arquivo capta preferências de desenvolvimento e decisões emergentes para garantir consistência no curto prazo.
15
- - Periodicamente (ou ao refatorar a base), os padrões consolidados que nascerem aqui serão migrados para as pastas oficiais de front-end ou back-end e removidos daqui.
14
+ - This file captures development preferences and emergent decisions to ensure consistency in the short term.
15
+ - Periodically (or when refactoring the base), the consolidated patterns born here will be migrated to the official frontend or backend folders and removed from here.
16
16
 
17
17
  ---
18
18
 
19
19
  ## 📝 EXPERIMENTAL PATTERNS & NEW RULES
20
- *(A IA salvará os recém descobertos padrões abaixo desta linha, categorizando-os apropriadamente)*
20
+ *(The AI will save newly discovered patterns below this line, categorizing them appropriately)*
21
21
 
22
22
  ---
23
23
 
24
- ### 🔄 AUTOMATION: PROMPT DE MIGRAÇÃO (MODO EXPERT)
25
- *Guarde este prompt. Cole no chat quando a área acima começar a ficar cheia para automatizar a limpeza:*
24
+ ### 🔄 AUTOMATION: MIGRATION PROMPT (EXPERT MODE)
25
+ *Save this prompt. Paste it in the chat when the area above starts getting crowded to automate the cleanup:*
26
26
 
27
- > **Prompt para a IA:**
28
- > "Atue como um Arquiteto de Software. Leia a seção 'EXPERIMENTAL PATTERNS' no meu `USER_PREFERENCES.md`. Pegue todas as regras ali listadas e realize a migração seguindo estas diretrizes:
27
+ > **Prompt for the AI:**
28
+ > "Act as a Software Architect. Read the 'EXPERIMENTAL PATTERNS' section in my `USER_PREFERENCES.md`. Take all the rules listed there and perform the migration following these guidelines:
29
29
  >
30
- > 1. **Mapeamento:** Identifique se a regra pertence a `FRONTEND.md`, `BACKEND.md` ou `PROJECT.md`.
31
- > 2. **Documentação Pro-Max:** NÃO faça colagem rasa. Ao mover, escreva a regra seguindo o padrão estabelecido nos arquivos de destino: Explicação densa + Exemplo de Código (se aplicável) + Contexto de 'Por que fazemos assim'.
32
- > 3. **Integração Orgânica:** Encaixe a nova regra em seções existentes ou crie novas categorias que mantenham a hierarquia e organização lógica do documento.
33
- > 4. **Limpeza:** Após confirmar que as informações foram integradas com sucesso nos manuais definitivos e que a integridade dos arquivos foi mantida, limpe a seção 'EXPERIMENTAL PATTERNS' de `USER_PREFERENCES.md` deixando apenas o cabeçalho e este prompt."
30
+ > 1. **Mapping:** Identify whether the rule belongs to `FRONTEND.md`, `BACKEND.md`, or `PROJECT.md`.
31
+ > 2. **Pro-Max Documentation:** DO NOT just copy and paste blindly. When moving, write the rule following the standard established in the destination files: Dense Explanation + Code Example (if applicable) + 'Why we do it this way' Context.
32
+ > 3. **Organic Integration:** Fit the new rule into existing sections or create new categories that maintain the document's hierarchy and logical organization.
33
+ > 4. **Cleanup:** After confirming that the information was successfully integrated into the definitive manuals and that file integrity was maintained, clear the 'EXPERIMENTAL PATTERNS' section of `USER_PREFERENCES.md` leaving only the header and this prompt."
@@ -27,8 +27,8 @@ The file contains a bootstrap prompt. Execute it: scan the frontend stack and ov
27
27
  Read `.devbooster/rules/BACKEND.md`.
28
28
  The file contains a bootstrap prompt. Execute it: scan the backend/API architecture and overwrite the file with stack-specific backend rules.
29
29
 
30
- ### STEP 5 — Bootstrap COMERCIAL.md
31
- Read `.devbooster/rules/COMERCIAL.md`.
30
+ ### STEP 5 — Bootstrap COMMERCIAL.md
31
+ Read `.devbooster/rules/COMMERCIAL.md`.
32
32
  The file contains a bootstrap prompt. Execute it: analyze the product's business model and overwrite the file with commercial positioning documentation.
33
33
 
34
34
  ### STEP 6 — IDE Bridge Fallback