create-genia-os 1.0.1 → 2.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/README.md +106 -0
- package/bin/index.js +36 -6
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# create-genia-os
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/create-genia-os)
|
|
4
|
+
[](https://nodejs.org)
|
|
5
|
+
[](https://github.com/elidyizzy/GENIA-SQUAD-OS/blob/main/LICENSE)
|
|
6
|
+
|
|
7
|
+
> **GEN.IA OS** — Sistema operacional de desenvolvimento com IA para Claude Code.
|
|
8
|
+
> Configure um time completo de 9 agentes especializados, Synapse Engine e governança automática em segundos.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Instalação
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx create-genia-os meu-projeto
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
O wizard interativo vai perguntar: nome do projeto, equipe, GitHub user/repo, idioma e stack. Em menos de 1 minuto você tem tudo configurado.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## O que você recebe
|
|
23
|
+
|
|
24
|
+
- **9 agentes Matrix** com papéis, personas e autoridades únicas (Neo, Trinity, Morpheus, Oracle, Smith, Cypher, Tank, Mouse, Switch)
|
|
25
|
+
- **Synapse Engine** — hook que injeta contexto correto em *cada* prompt automaticamente
|
|
26
|
+
- **5 hooks de governança** — enforcement automático de boas práticas (push bloqueado sem @devops, DDL SQL bloqueado, paths validados)
|
|
27
|
+
- **8 workflows** — do greenfield ao hotfix, com handoffs documentados
|
|
28
|
+
- **7 tasks reutilizáveis** — criar PRD, SPEC, story, implementar, QA, debug, code review
|
|
29
|
+
- **5 contextos** de integração — Kommo CRM, Supabase, WhatsApp Cloud, Next.js, API patterns
|
|
30
|
+
- **8 skills** especializadas — PDF, Excel, Word, PowerPoint, Frontend Design, Canvas, MCP Builder, Webapp Testing
|
|
31
|
+
- **Memória persistente** por agente — cada agente acumula conhecimento do projeto ao longo do tempo
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Os 9 Agentes
|
|
36
|
+
|
|
37
|
+
| Comando | Persona | Papel | Autoridade exclusiva |
|
|
38
|
+
|---------|---------|-------|---------------------|
|
|
39
|
+
| `@analyst` | Cypher | Analista de Negócios | Briefing, requisitos |
|
|
40
|
+
| `@pm` | Morpheus | Product Manager | PRD, épicos, escopo |
|
|
41
|
+
| `@architect` | Trinity | Arquiteta de Sistemas | Arquitetura, **veto técnico** |
|
|
42
|
+
| `@po` | Oracle | Product Owner | **Aprovação de stories** |
|
|
43
|
+
| `@sm` | Mouse | Scrum Master | **Criação de stories** |
|
|
44
|
+
| `@dev` | Neo | Desenvolvedor Full Stack | Implementação |
|
|
45
|
+
| `@qa` | Smith | QA Engineer | Veredictos de qualidade |
|
|
46
|
+
| `@reviewer` | Switch | Code Reviewer | Aprovação de código |
|
|
47
|
+
| `@devops` | Tank | DevOps Engineer | **git push, PR, releases** |
|
|
48
|
+
|
|
49
|
+
Ative qualquer agente mencionando `@agente` no seu prompt no Claude Code.
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Como funciona
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
Você digita: "@dev implemente o login"
|
|
57
|
+
│
|
|
58
|
+
▼
|
|
59
|
+
synapse-engine.cjs detecta "@dev"
|
|
60
|
+
│
|
|
61
|
+
Carrega 3 camadas de contexto:
|
|
62
|
+
L0 — Constituição (sempre)
|
|
63
|
+
L1 — Global + Contexto do projeto
|
|
64
|
+
L2 — Domínio específico de @dev (Neo)
|
|
65
|
+
│
|
|
66
|
+
▼
|
|
67
|
+
Claude recebe: prompt + contexto + regras
|
|
68
|
+
Resultado: resposta precisa como @dev
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
O Synapse Engine roda em **cada prompt** via hook `UserPromptSubmit`. Timeout de 100ms, nunca bloqueia.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Requisitos
|
|
76
|
+
|
|
77
|
+
- **Node.js** ≥ 18.0.0
|
|
78
|
+
- **Claude Code** (CLI da Anthropic)
|
|
79
|
+
- **VS Code** (recomendado)
|
|
80
|
+
- **Python 3.8+** (para os hooks de governança)
|
|
81
|
+
- **Git**
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Primeiros passos após instalar
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
# 1. Abra o projeto no VS Code com Claude Code
|
|
89
|
+
cd meu-projeto && code .
|
|
90
|
+
|
|
91
|
+
# 2. Inicie um projeto do zero
|
|
92
|
+
"@analyst quero criar [descreva seu projeto]"
|
|
93
|
+
|
|
94
|
+
# 3. Ou pule direto para uma story
|
|
95
|
+
"@sm crie a primeira story do projeto"
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Documentação completa
|
|
101
|
+
|
|
102
|
+
[github.com/elidyizzy/GENIA-SQUAD-OS](https://github.com/elidyizzy/GENIA-SQUAD-OS)
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
*GEN.IA OS v1.0 · Be Data · Elidy Izidio · 2026*
|
package/bin/index.js
CHANGED
|
@@ -34,7 +34,7 @@ function bold(msg) { return `${c.bold}${msg}${c.reset}`; }
|
|
|
34
34
|
function banner() {
|
|
35
35
|
log('');
|
|
36
36
|
log(`${c.cyan}${c.bold}╔═══════════════════════════════════════════╗${c.reset}`);
|
|
37
|
-
log(`${c.cyan}${c.bold}║ GEN.IA OS — Setup Wizard v1.
|
|
37
|
+
log(`${c.cyan}${c.bold}║ GEN.IA OS — Setup Wizard v1.1 ║${c.reset}`);
|
|
38
38
|
log(`${c.cyan}${c.bold}║ Sistema operacional de dev com IA ║${c.reset}`);
|
|
39
39
|
log(`${c.cyan}${c.bold}╚═══════════════════════════════════════════╝${c.reset}`);
|
|
40
40
|
log('');
|
|
@@ -159,14 +159,44 @@ async function main() {
|
|
|
159
159
|
copyTemplate(templateDir, targetDir, vars);
|
|
160
160
|
ok(`Projeto criado em ./${projectName}/`);
|
|
161
161
|
|
|
162
|
-
// ── Criar docs/
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
// ── Criar docs/ estrutura profissional obrigatória ──
|
|
163
|
+
const docsDirs = [
|
|
164
|
+
['docs', 'stories'],
|
|
165
|
+
['docs', 'handover'],
|
|
166
|
+
['docs', 'produto'],
|
|
167
|
+
['docs', 'tecnico', 'adr'],
|
|
168
|
+
['docs', 'comercial'],
|
|
169
|
+
];
|
|
170
|
+
for (const parts of docsDirs) {
|
|
171
|
+
fs.mkdirSync(path.join(targetDir, ...parts), { recursive: true });
|
|
172
|
+
fs.writeFileSync(path.join(targetDir, ...parts, '.gitkeep'), '');
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// ── Criar squads/ estrutura ──
|
|
176
|
+
const squadsDirs = [
|
|
177
|
+
['squads', 'advisory-board'],
|
|
178
|
+
['squads', 'copy-squad'],
|
|
179
|
+
['squads', 'hormozi-squad'],
|
|
180
|
+
['squads', 'brand-squad'],
|
|
181
|
+
['squads', 'clevel-squad'],
|
|
182
|
+
['squads', 'data-squad'],
|
|
183
|
+
];
|
|
184
|
+
for (const parts of squadsDirs) {
|
|
185
|
+
fs.mkdirSync(path.join(targetDir, ...parts), { recursive: true });
|
|
186
|
+
fs.writeFileSync(path.join(targetDir, ...parts, '.gitkeep'), '');
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// ── Criar .genia/session/ ──
|
|
165
190
|
fs.mkdirSync(path.join(targetDir, '.genia', 'session'), { recursive: true });
|
|
166
191
|
fs.mkdirSync(path.join(targetDir, '.genia', 'session-digests'), { recursive: true });
|
|
167
192
|
fs.writeFileSync(path.join(targetDir, '.genia', 'session', '.gitkeep'), '');
|
|
168
193
|
fs.writeFileSync(path.join(targetDir, '.genia', 'session-digests', '.gitkeep'), '');
|
|
169
|
-
ok('
|
|
194
|
+
ok('Estrutura docs/ profissional e squads/ criados');
|
|
195
|
+
|
|
196
|
+
// ── Criar .claude/agent-memory/squads/ ──
|
|
197
|
+
fs.mkdirSync(path.join(targetDir, '.claude', 'agent-memory', 'squads'), { recursive: true });
|
|
198
|
+
fs.writeFileSync(path.join(targetDir, '.claude', 'agent-memory', 'squads', '.gitkeep'), '');
|
|
199
|
+
ok('Diretórios de memória e sessão criados');
|
|
170
200
|
|
|
171
201
|
// ── Git init ──
|
|
172
202
|
if (initGit.toLowerCase() !== 'n') {
|
|
@@ -174,7 +204,7 @@ async function main() {
|
|
|
174
204
|
const { execSync } = require('child_process');
|
|
175
205
|
execSync('git init', { cwd: targetDir, stdio: 'ignore' });
|
|
176
206
|
execSync('git add .', { cwd: targetDir, stdio: 'ignore' });
|
|
177
|
-
execSync(`git commit -m "chore: GEN.IA OS v1.
|
|
207
|
+
execSync(`git commit -m "chore: GEN.IA OS v1.1 — setup inicial\n\nCo-Authored-By: GEN.IA OS <genia@bedata.com.br>"`, {
|
|
178
208
|
cwd: targetDir, stdio: 'ignore',
|
|
179
209
|
});
|
|
180
210
|
ok('Repositório git inicializado com commit inicial');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-genia-os",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "GEN.IA OS — Sistema operacional de desenvolvimento com IA para Claude Code. Configura 9 agentes especializados, Synapse Engine e governança automática em segundos.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|