wegho-agentes 7.0.0 → 7.0.1

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.
Files changed (108) hide show
  1. package/.agent/skills/wegho-global-rules/SKILL.md +20 -0
  2. package/.agent/workflows/PROMPT_GUIDE.md +7 -4
  3. package/.agents/cli.ts +29 -21
  4. package/.agents/core/base-agent.ts +28 -12
  5. package/.agents/core/memory-system.ts +45 -13
  6. package/.agents/core/report-generator.ts +26 -19
  7. package/.agents/orchestrator.ts +104 -74
  8. package/.clinerules +318 -1229
  9. package/.cursorrules +0 -189
  10. package/README.md +3 -3
  11. package/docs/VERSION.md +3 -2
  12. package/package.json +3 -3
  13. package/.agents/agents/ai-agents/README.md +0 -175
  14. package/.agents/agents/ai-agents/agent.ts +0 -83
  15. package/.agents/agents/ai-agents/specialty.md +0 -14
  16. package/.agents/agents/architecture/README.md +0 -61
  17. package/.agents/agents/architecture/agent.ts +0 -238
  18. package/.agents/agents/architecture/memory.md +0 -111
  19. package/.agents/agents/architecture/specialty.md +0 -31
  20. package/.agents/agents/automation/README.md +0 -60
  21. package/.agents/agents/automation/agent.ts +0 -61
  22. package/.agents/agents/automation/specialty.md +0 -14
  23. package/.agents/agents/backend/README.md +0 -155
  24. package/.agents/agents/backend/agent.ts +0 -100
  25. package/.agents/agents/backend/specialty.md +0 -14
  26. package/.agents/agents/cloud/README.md +0 -73
  27. package/.agents/agents/cloud/agent.ts +0 -53
  28. package/.agents/agents/cloud/specialty.md +0 -14
  29. package/.agents/agents/code-auditor/README.md +0 -37
  30. package/.agents/agents/code-auditor/agent.ts +0 -334
  31. package/.agents/agents/code-auditor/specialty.md +0 -14
  32. package/.agents/agents/cro/README.md +0 -200
  33. package/.agents/agents/cro/agent.ts +0 -61
  34. package/.agents/agents/cro/specialty.md +0 -14
  35. package/.agents/agents/database/README.md +0 -67
  36. package/.agents/agents/database/agent.ts +0 -93
  37. package/.agents/agents/database/specialty.md +0 -14
  38. package/.agents/agents/devops/README.md +0 -84
  39. package/.agents/agents/devops/agent.ts +0 -54
  40. package/.agents/agents/devops/specialty.md +0 -14
  41. package/.agents/agents/documentation/README.md +0 -107
  42. package/.agents/agents/documentation/agent.ts +0 -253
  43. package/.agents/agents/documentation/memory.md +0 -56
  44. package/.agents/agents/documentation/specialty.md +0 -33
  45. package/.agents/agents/frontend/README.md +0 -188
  46. package/.agents/agents/frontend/agent.ts +0 -211
  47. package/.agents/agents/frontend/memory.md +0 -139
  48. package/.agents/agents/frontend/specialty.md +0 -30
  49. package/.agents/agents/inventory/README.md +0 -35
  50. package/.agents/agents/inventory/agent.ts +0 -758
  51. package/.agents/agents/inventory/memory.md +0 -50
  52. package/.agents/agents/inventory/specialty.md +0 -129
  53. package/.agents/agents/nextjs/README.md +0 -58
  54. package/.agents/agents/nextjs/agent.ts +0 -114
  55. package/.agents/agents/nextjs/specialty.md +0 -14
  56. package/.agents/agents/pentest/README.md +0 -228
  57. package/.agents/agents/pentest/agent.ts +0 -96
  58. package/.agents/agents/pentest/specialty.md +0 -14
  59. package/.agents/agents/planning/README.md +0 -107
  60. package/.agents/agents/planning/agent.ts +0 -389
  61. package/.agents/agents/planning/specialty.md +0 -14
  62. package/.agents/agents/project-discovery/README.md +0 -35
  63. package/.agents/agents/project-discovery/agent.ts +0 -344
  64. package/.agents/agents/project-discovery/specialty.md +0 -14
  65. package/.agents/agents/quality/README.md +0 -81
  66. package/.agents/agents/quality/agent.ts +0 -269
  67. package/.agents/agents/quality/memory.md +0 -110
  68. package/.agents/agents/quality/specialty.md +0 -31
  69. package/.agents/agents/rag/README.md +0 -41
  70. package/.agents/agents/rag/agent.ts +0 -85
  71. package/.agents/agents/rag/specialty.md +0 -14
  72. package/.agents/agents/security/README.md +0 -152
  73. package/.agents/agents/security/agent.ts +0 -218
  74. package/.agents/agents/security/memory.md +0 -91
  75. package/.agents/agents/security/specialty.md +0 -31
  76. package/.agents/agents/task-analyzer/README.md +0 -36
  77. package/.agents/agents/task-analyzer/agent.ts +0 -462
  78. package/.agents/agents/task-analyzer/specialty.md +0 -14
  79. package/.agents/agents/testing/README.md +0 -161
  80. package/.agents/agents/testing/agent.ts +0 -61
  81. package/.agents/agents/testing/specialty.md +0 -14
  82. package/.agents/agents/uiux/README.md +0 -68
  83. package/.agents/agents/uiux/agent.ts +0 -95
  84. package/.agents/agents/uiux/specialty.md +0 -14
  85. package/.agents/base/base-agent.ts +0 -331
  86. package/.agents/base/memory-system.ts +0 -397
  87. package/.agents/base/skill-manager.ts +0 -95
  88. package/.agents/convert-memory.ps1 +0 -153
  89. package/.agents/examples/reporting-example.md +0 -203
  90. package/.agents/managers/build-manager.ts +0 -304
  91. package/.agents/managers/cache-manager.ts +0 -184
  92. package/.agents/managers/checkpoint-manager.ts +0 -299
  93. package/.agents/migrate-agents.ps1 +0 -117
  94. package/.agents/templates/change-report.md +0 -55
  95. package/.agents/templates/execution-plan.md +0 -36
  96. package/.agents/unmapped-skills.txt +0 -0
  97. package/.agents/utils/agent-migrator.ts +0 -360
  98. package/.agents/utils/agent-monitor.ts +0 -102
  99. package/.agents/utils/agent-parallelizer.ts +0 -108
  100. package/.agents/utils/context-monitor.ts +0 -140
  101. package/.agents/utils/feedback-collector.ts +0 -207
  102. package/.agents/utils/file-generator.ts +0 -304
  103. package/.agents/utils/memory-converter.ts +0 -217
  104. package/.agents/utils/memory-dashboard.ts +0 -147
  105. package/.agents/utils/performance-tracker.ts +0 -275
  106. package/.agents/utils/report-generator.ts +0 -193
  107. package/.agents/utils/retry-utility.ts +0 -140
  108. package/.agents/utils/workflow-validator.ts +0 -158
@@ -1,200 +0,0 @@
1
- # CRO Agent
2
-
3
- ## 🎯 Responsabilidade
4
-
5
- Especialista em Conversion Rate Optimization (CRO) através de testes A/B, análise de funil, otimização de landing pages e aumento de conversões baseado em dados.
6
-
7
- ## 🛠️ Skills Disponíveis
8
-
9
- ### 🧪 Experimentação & Testing
10
-
11
- #### [ab-test-setup](../../skills/ab-test-setup/)
12
- **Propósito**: Planejamento e execução de testes A/B
13
- **Quando usar**: Criar experimentos de conversão
14
- **Capacidades**:
15
- - Design de hipóteses estruturadas
16
- - Cálculo de sample size e duração
17
- - Análise estatística de resultados
18
- - Documentação de testes e learnings
19
- - Client-side e server-side testing
20
-
21
- #### [analytics-tracking](../../skills/analytics-tracking/)
22
- **Propósito**: Configuração de rastreamento de eventos
23
- **Quando usar**: Implementar tracking de conversões
24
- **Capacidades**:
25
- - Event tracking (GTM, PostHog, etc)
26
- - Funnel analysis setup
27
- - Custom dimensions/metrics
28
- - Data layer implementation
29
-
30
- ### 📊 Otimização de Conversão
31
-
32
- #### [landing-page-cro](../../skills/landing-page-cro/)
33
- **Propósito**: Otimização de landing pages
34
- **Quando usar**: Melhorar taxa de conversão de páginas
35
- **Capacidades**:
36
- - Above-the-fold optimization
37
- - CTA placement e copy
38
- - Social proof strategies
39
- - Form optimization
40
-
41
- #### [page-cro](../../skills/page-cro/)
42
- **Propósito**: Análise e otimização geral de páginas
43
- **Quando usar**: Auditoria CRO completa
44
- **Capacidades**:
45
- - Heuristic evaluation
46
- - Conversion funnel analysis
47
- - UX friction identification
48
- - Data-driven recommendations
49
-
50
- #### [conversion-optimization](../../skills/conversion-optimization/)
51
- **Propósito**: Estratégias de otimização
52
- **Quando usar**: Aumentar conversões gerais
53
- **Capacidades**:
54
- - Psychology principles
55
- - Persuasion techniques
56
- - Trust signals
57
- - Urgency/scarcity tactics
58
-
59
- ### 📱 Mobile & App Store
60
-
61
- #### [app-store-optimization](../../skills/app-store-optimization/)
62
- **Propósito**: ASO - App Store Optimization
63
- **Quando usar**: Otimizar apps na loja
64
- **Capacidades**:
65
- - Keyword research
66
- - Screenshot optimization
67
- - App description copy
68
- - Review management
69
-
70
- ### 🔍 Research & Analysis
71
-
72
- #### [user-research](../../skills/user-research/)
73
- **Propósito**: Pesquisa com usuários
74
- **Quando usar**: Entender comportamento
75
- **Capacidades**:
76
- - User interviews
77
- - Surveys e questionários
78
- - Heatmaps e session recordings
79
- - User testing
80
-
81
- #### [funnel-analysis](../../skills/funnel-analysis/)
82
- **Propósito**: Análise de funis de conversão
83
- **Quando usar**: Identificar drop-off points
84
- **Capacidades**:
85
- - Funnel visualization
86
- - Drop-off analysis
87
- - Cohort comparison
88
- - Optimization opportunities
89
-
90
- #### [form-cro](../../skills/form-cro/)
91
- **Propósito**: Otimização de formulários
92
- **Quando usar**: Melhorar conversão de forms
93
-
94
- #### [marketing-ideas](../../skills/marketing-ideas/)
95
- **Propósito**: Ideias de marketing
96
- **Quando usar**: Brainstorming campaigns
97
-
98
- #### [marketing-psychology](../../skills/marketing-psychology/)
99
- **Propósito**: Psicologia de marketing
100
- **Quando usar**: Aplicar princípios de persuasão
101
-
102
- #### [email-sequence](../../skills/email-sequence/)
103
- **Propósito**: Sequências de email
104
- **Quando usar**: Nurturing campaigns
105
-
106
- #### [email-systems](../../skills/email-systems/)
107
- **Propósito**: Sistemas de email
108
- **Quando usar**: Setup de email marketing
109
-
110
- #### [content-creator](../../skills/content-creator/)
111
- **Propósito**: Criação de conteúdo
112
- **Quando usar**: Copywrit ing e conteúdo
113
-
114
- #### [copy-editing](../../skills/copy-editing/)
115
- **Propósito**: Revisão de copy
116
- **Quando usar**: Melhorar textos
117
-
118
- #### [competitor-alternatives](../../skills/competitor-alternatives/)
119
- **Propósito**: Análise de concorrentes
120
- **Quando usar**: Comparação competitiva
121
-
122
- #### [free-tool-strategy](../../skills/free-tool-strategy/)
123
- **Propósito**: Estratégia de tools gratuitas
124
- **Quando usar**: Lead magnets e freemium
125
-
126
- #### [onboarding-cro](../../skills/onboarding-cro/)
127
- **Propósito**: CRO de onboarding
128
-
129
- #### [paid-ads](../../skills/paid-ads/)
130
- **Propósito**: Publicidade paga
131
-
132
- #### [paywall-upgrade-cro](../../skills/paywall-upgrade-cro/)
133
- **Propósito**: CRO de paywalls
134
-
135
- #### [popup-cro](../../skills/popup-cro/)
136
- **Propósito**: CRO de popups
137
-
138
- #### [signup-flow-cro](../../skills/signup-flow-cro/)
139
- **Propósito**: CRO de signup
140
-
141
- #### [pricing-strategy](../../skills/pricing-strategy/)
142
- **Propósito**: Estratégias de preço
143
-
144
- #### [referral-program](../../skills/referral-program/)
145
- **Propósito**: Programas de referral
146
-
147
- #### [seo-audit](../../skills/seo-audit/)
148
- **Propósito**: Auditoria SEO
149
-
150
- #### [seo-fundamentals](../../skills/seo-fundamentals/)
151
- **Propósito**: SEO básico
152
-
153
- #### [schema-markup](../../skills/schema-markup/)
154
- **Propósito**: Schema.org markup
155
-
156
- #### [programmatic-seo](../../skills/programmatic-seo/)
157
- **Propósito**: SEO programático
158
-
159
- #### [social-content](../../skills/social-content/)
160
- **Propósito**: Conteúdo social
161
-
162
- #### [viral-generator-builder](../../skills/viral-generator-builder/)
163
- **Propósito**: Ferramentas virais
164
-
165
- #### [web-design-guidelines](../../skills/web-design-guidelines/)
166
- **Propósito**: Guidelines de web design
167
-
168
- ## 📋 Tarefas Típicas
169
-
170
- - ✅ Planejar testes A/B estatisticamente válidos
171
- - ✅ Auditar landing pages para oportunidades CRO
172
- - ✅ Configurar tracking de eventos de conversão
173
- - ✅ Analisar funis e identificar friction points
174
- - ✅ Recomendar melhorias de copy e design
175
- - ✅ Calcular sample size e duração de testes
176
- - ✅ Analisar resultados com significância estatística
177
- - ✅ Documentar experimentos e learnings
178
-
179
- ## 🔗 Dependências
180
-
181
- - `BaseAgent`
182
- - `MemorySystem`
183
- - `SkillManager`
184
-
185
- ## 🔄 Fluxo de Trabalho
186
-
187
- 1. **Consulta memória**: Busca testes A/B similares e resultados
188
- 2. **Carrega skills**: Seleciona ab-test, analytics, page-cro
189
- 3. **Executa otimização**: Analisa funil, propõe experimentos
190
- 4. **Registra learnings**: Salva hipóteses e resultados em memory.md
191
-
192
- ## 📊 Memória
193
-
194
- Ver [memory.md](./memory.md) para histórico de testes A/B, hipóteses validadas e lift obtido.
195
-
196
- ## 🎓 Skills Relacionadas
197
-
198
- - [analytics-tracking](../../skills/analytics-tracking/) - Para implementação de tracking
199
- - [copywriting](../../skills/copywriting/) - Para variantes de copy em testes
200
- - [user-research](../../skills/user-research/) - Para insights qualitativos
@@ -1,61 +0,0 @@
1
- import { BaseAgent, TaskContext, TaskResult } from '../../base/base-agent.js';
2
-
3
- /**
4
- * CRO Agent - Especialista em Conversion Rate Optimization
5
- *
6
- * Responsabilidades:
7
- * - Conversion rate optimization
8
- * - A/B testing
9
- * - User onboarding
10
- * - Growth hacking
11
- *
12
- * Skills: ab-test-setup, form-cro, page-cro, signup-flow-cro,
13
- * onboarding-cro, popup-cro
14
- */
15
-
16
- export class CROAgent extends BaseAgent {
17
- constructor(memoryPath: string) {
18
- super('cro-agent', memoryPath);
19
- }
20
-
21
- async executeTask(taskDescription: string, context: TaskContext): Promise<TaskResult> {
22
- console.log(`\n📈 CRO Agent analisando tarefa...\n`);
23
-
24
- const recommendations: string[] = [];
25
-
26
- if (taskDescription.toLowerCase().includes('conversion') || taskDescription.toLowerCase().includes('cro')) {
27
- recommendations.push('✅ Analisar funil de conversão');
28
- recommendations.push('✅ Identificar pontos de fricção');
29
- recommendations.push('✅ Implementar analytics tracking');
30
- recommendations.push('✅ Testar hipóteses com A/B tests');
31
- }
32
-
33
- if (taskDescription.toLowerCase().includes('a/b test')) {
34
- recommendations.push('✅ Definir métrica primária clara');
35
- recommendations.push('✅ Calcular sample size necessário');
36
- recommendations.push('✅ Rodar teste por tempo suficiente');
37
- recommendations.push('✅ Validar significância estatística');
38
- }
39
-
40
- if (taskDescription.toLowerCase().includes('form') || taskDescription.toLowerCase().includes('formulário')) {
41
- recommendations.push('✅ Minimizar campos obrigatórios');
42
- recommendations.push('✅ Usar validação inline');
43
- recommendations.push('✅ Mostrar progresso em multi-step forms');
44
- recommendations.push('✅ Adicionar social proof');
45
- }
46
-
47
- if (taskDescription.toLowerCase().includes('onboarding')) {
48
- recommendations.push('✅ Simplificar processo de signup');
49
- recommendations.push('✅ Mostrar valor rapidamente');
50
- recommendations.push('✅ Usar progressive disclosure');
51
- recommendations.push('✅ Implementar email sequences');
52
- }
53
-
54
- return {
55
- success: true,
56
- details: `CRO Agent: ${recommendations.length} recomendações`,
57
- recommendations
58
- };
59
- }
60
- }
61
-
@@ -1,14 +0,0 @@
1
- # CRO Agent - Especialidade
2
-
3
- ## Responsabilidades
4
- - Definir responsabilidades específicas
5
-
6
- ## Expertise
7
- - Definir áreas de expertise
8
-
9
- ## Regras
10
- - Arquivos < 500 linhas
11
- - Não alucinar APIs
12
-
13
- ## Tarefas Típicas
14
- - Listar tarefas típicas
@@ -1,67 +0,0 @@
1
- # Database Agent
2
-
3
- ## 🎯 Responsabilidade
4
-
5
- Especialista em design de schemas, otimização de queries, migrations, índices e segurança de bancos de dados PostgreSQL e Supabase.
6
-
7
- ## 🛠️ Skills Disponíveis
8
-
9
- ### 🐘 PostgreSQL
10
-
11
- #### [postgres-best-practices](../../skills/postgres-best-practices/)
12
- **Propósito**: Melhores práticas PostgreSQL
13
- **Quando usar**: Design/otimização de banco
14
- **Capacidades**:
15
- - Schema design
16
- - Indexing strategies
17
- - Query optimization
18
- - Performance tuning
19
- - Connection pooling
20
-
21
- #### [neon-postgres](../../skills/neon-postgres/)
22
- **Propósito**: Neon Postgres serverless
23
- **Quando usar**: Usar Neon como database
24
- **Capacidades**:
25
- - Branching databases
26
- - Autoscaling
27
- - Serverless drivers
28
- - Connection management
29
-
30
- #### [postgres-security](../../skills/postgres-security/)
31
- **Propósito**: Segurança PostgreSQL
32
- **Quando usar**: Implementar RLS/policies
33
- **Capacidades**:
34
- - Row Level Security (RLS)
35
- - Roles e permissions
36
- - Encryption
37
- - Audit logging
38
-
39
- #### [cc-skill-clickhouse-io](../../skills/cc-skill-clickhouse-io/)
40
- **Propósito**: ClickHouse database
41
- **Quando usar**: Analytics DB de alta performance
42
-
43
- ## 📋 Tarefas Típicas
44
-
45
- - ✅ Criar schemas e migrations
46
- - ✅ Implementar RLS policies
47
- - ✅ Otimizar queries lentas
48
- - ✅ Criar índices apropriados
49
- - ✅ Configurar roles e permissions
50
- - ✅ Validar segurança de dados
51
-
52
- ## 🔗 Dependências
53
-
54
- - `BaseAgent`
55
- - `MemorySystem`
56
- - `SkillManager`
57
-
58
- ## 🔄 Fluxo de Trabalho
59
-
60
- 1. **Consulta memória**: Busca schemas similares
61
- 2. **Carrega skills**: postgres-best-practices, security
62
- 3. **Executa design**: Cria migrations seguras
63
- 4. **Registra resultado**: Salva schema em memory.md
64
-
65
- ## 📊 Memória
66
-
67
- Ver [memory.md](./memory.md) para histórico de schemas e otimizações.
@@ -1,93 +0,0 @@
1
- import { BaseAgent, TaskContext, TaskResult } from '../../base/base-agent.js';
2
- import * as fs from 'fs';
3
- import * as path from 'path';
4
-
5
- /**
6
- * Database Agent - Especialista em Databases
7
- *
8
- * Responsabilidades:
9
- * - Database design e optimization
10
- * - PostgreSQL, Prisma, NoSQL
11
- * - Query optimization
12
- * - Data modeling
13
- *
14
- * Skills: database-design, postgres-best-practices, prisma-expert,
15
- * neon-postgres, nosql-expert
16
- */
17
-
18
- export class DatabaseAgent extends BaseAgent {
19
- private skillsPath: string;
20
-
21
- constructor(memoryPath: string) {
22
- super('database-agent', memoryPath);
23
- this.skillsPath = path.join(process.cwd(), 'skills');
24
- }
25
-
26
- async executeTask(taskDescription: string, context: TaskContext): Promise<TaskResult> {
27
- console.log(`\n🗄️ Database Agent analisando tarefa...\n`);
28
-
29
- const issues: string[] = [];
30
- const recommendations: string[] = [];
31
-
32
- // Análise de Database Design
33
- if (taskDescription.toLowerCase().includes('database') ||
34
- taskDescription.toLowerCase().includes('schema') ||
35
- taskDescription.toLowerCase().includes('tabela')) {
36
-
37
- recommendations.push('✅ Normalizar dados adequadamente');
38
- recommendations.push('✅ Definir foreign keys e constraints');
39
- recommendations.push('✅ Criar índices para queries frequentes');
40
- recommendations.push('✅ Usar tipos de dados apropriados');
41
- recommendations.push('✅ Implementar soft deletes quando necessário');
42
- }
43
-
44
- // Análise de PostgreSQL
45
- if (taskDescription.toLowerCase().includes('postgres') ||
46
- taskDescription.toLowerCase().includes('postgresql')) {
47
-
48
- recommendations.push('✅ Usar JSONB para dados semi-estruturados');
49
- recommendations.push('✅ Implementar partitioning para tabelas grandes');
50
- recommendations.push('✅ Usar materialized views para queries complexas');
51
- recommendations.push('✅ Configurar connection pooling');
52
- }
53
-
54
- // Análise de Prisma
55
- if (taskDescription.toLowerCase().includes('prisma')) {
56
- recommendations.push('✅ Definir schema.prisma com tipos corretos');
57
- recommendations.push('✅ Usar relations adequadamente');
58
- recommendations.push('✅ Implementar migrations versionadas');
59
- recommendations.push('✅ Usar Prisma Client para type safety');
60
- }
61
-
62
- // Análise de Performance
63
- if (taskDescription.toLowerCase().includes('performance') ||
64
- taskDescription.toLowerCase().includes('otimização')) {
65
-
66
- recommendations.push('✅ Criar índices compostos quando necessário');
67
- recommendations.push('✅ Usar EXPLAIN ANALYZE para otimizar queries');
68
- recommendations.push('✅ Implementar caching de queries');
69
- recommendations.push('✅ Evitar N+1 queries');
70
- recommendations.push('✅ Usar batch operations');
71
- }
72
-
73
- // Análise de Migrations
74
- if (taskDescription.toLowerCase().includes('migration')) {
75
- recommendations.push('✅ Criar migrations reversíveis');
76
- recommendations.push('✅ Testar migrations em staging primeiro');
77
- recommendations.push('✅ Fazer backup antes de migrations');
78
- recommendations.push('✅ Versionar migrations adequadamente');
79
- }
80
-
81
- const success = issues.length === 0;
82
-
83
- return {
84
- success,
85
- details: success
86
- ? `Database Agent: ${recommendations.length} recomendações`
87
- : `Database Agent: ${issues.length} problemas encontrados`,
88
- recommendations,
89
- blockers: issues
90
- };
91
- }
92
- }
93
-
@@ -1,14 +0,0 @@
1
- # Database Agent - Especialidade
2
-
3
- ## Responsabilidades
4
- - Definir responsabilidades específicas
5
-
6
- ## Expertise
7
- - Definir áreas de expertise
8
-
9
- ## Regras
10
- - Arquivos < 500 linhas
11
- - Não alucinar APIs
12
-
13
- ## Tarefas Típicas
14
- - Listar tarefas típicas
@@ -1,84 +0,0 @@
1
- # DevOps Agent
2
-
3
- ## 🎯 Responsabilidade
4
-
5
- Especialista em CI/CD, containerização, deploy, monitoramento e automação de infraestrutura.
6
-
7
- ## 🛠️ Skills Disponíveis
8
-
9
- ### 🐳 Containerização
10
-
11
- #### [docker-expert](../../skills/docker-expert/)
12
- **Propósito**: Docker e containerização
13
- **Quando usar**: Criar/otimizar containers
14
- **Capacidades**:
15
- - Dockerfile best practices
16
- - Multi-stage builds
17
- - Docker Compose
18
- - Image optimization
19
- - Security scanning
20
-
21
- #### [github-workflow-automation](../../skills/github-workflow-automation/)
22
- **Propósito**: Automação GitHub Actions
23
- **Quando usar**: CI/CD com GitHub
24
-
25
- #### [git-pushing](../../skills/git-pushing/)
26
- **Propósito**: Git workflows
27
- **Quando usar**: Padrões de commit/push
28
-
29
- #### [finishing-a-development-branch](../../skills/finishing-a-development-branch/)
30
- **Propósito**: Finalizar branches
31
- **Quando usar**: Merge/deploy de branches
32
-
33
- #### [environment-setup-guide](../../skills/environment-setup-guide/)
34
- **Propósito**: Setup de ambientes
35
- **Quando usar**: Configurar dev/staging/prod
36
-
37
- #### [bash-linux](../../skills/bash-linux/)
38
- **Propósito**: Bash scripting
39
- **Quando usar**: Scripts de automação
40
-
41
- #### [linux-shell-scripting](../../skills/linux-shell-scripting/)
42
- **Propósito**: Shell scripting avançado
43
- **Quando usar**: Automação complexa
44
-
45
- #### [vercel-deployment](../../skills/vercel-deployment/)
46
- **Propósito**: Deploy Vercel
47
-
48
- #### [using-git-worktrees](../../skills/using-git-worktrees/)
49
- **Propósito**: Git worktrees
50
-
51
- #### [server-management](../../skills/server-management/)
52
- **Propósito**: Administração de servidores
53
-
54
- #### [powershell-windows](../../skills/powershell-windows/)
55
- **Propósito**: PowerShell
56
-
57
- #### [workflow-automation](../../skills/workflow-automation/)
58
- **Propósito**: Automação de workflows
59
-
60
- ## 📋 Tarefas Típicas
61
-
62
- - ✅ Criar Dockerfiles otimizados
63
- - ✅ Configurar CI/CD pipelines
64
- - ✅ Deploy em produção
65
- - ✅ Monitorar aplicações
66
- - ✅ Automação de infraestrutura
67
- - ✅ Rollback e recovery
68
-
69
- ## 🔗 Dependências
70
-
71
- - `BaseAgent`
72
- - `MemorySystem`
73
- - `SkillManager`
74
-
75
- ## 🔄 Fluxo de Trabalho
76
-
77
- 1. **Consulta memória**: Busca deploys similares
78
- 2. **Carrega skills**: docker-expert
79
- 3. **Executa deployment**: Segue best practices
80
- 4. **Registra resultado**: Salva configs em memory.md
81
-
82
- ## 📊 Memória
83
-
84
- Ver [memory.md](./memory.md) para histórico de deploys.
@@ -1,54 +0,0 @@
1
- import { BaseAgent, TaskContext, TaskResult } from '../../base/base-agent.js';
2
-
3
- /**
4
- * DevOps Agent - Especialista em DevOps e CI/CD
5
- *
6
- * Responsabilidades:
7
- * - Docker, containerization
8
- * - CI/CD pipelines
9
- * - Infrastructure as Code
10
- * - Deployment automation
11
- *
12
- * Skills: docker-expert, deployment-procedures, github-workflow-automation,
13
- * environment-setup-guide
14
- */
15
-
16
- export class DevOpsAgent extends BaseAgent {
17
- constructor(memoryPath: string) {
18
- super('devops-agent', memoryPath);
19
- }
20
-
21
- async executeTask(taskDescription: string, context: TaskContext): Promise<TaskResult> {
22
- console.log(`\n🔧 DevOps Agent analisando tarefa...\n`);
23
-
24
- const recommendations: string[] = [];
25
-
26
- if (taskDescription.toLowerCase().includes('docker')) {
27
- recommendations.push('✅ Usar multi-stage builds');
28
- recommendations.push('✅ Minimizar layers no Dockerfile');
29
- recommendations.push('✅ Usar .dockerignore');
30
- recommendations.push('✅ Não rodar como root');
31
- }
32
-
33
- if (taskDescription.toLowerCase().includes('ci/cd') || taskDescription.toLowerCase().includes('pipeline')) {
34
- recommendations.push('✅ Implementar testes automatizados');
35
- recommendations.push('✅ Usar caching para dependencies');
36
- recommendations.push('✅ Implementar deploy previews');
37
- recommendations.push('✅ Adicionar quality gates');
38
- }
39
-
40
- if (taskDescription.toLowerCase().includes('deploy')) {
41
- recommendations.push('✅ Usar blue-green deployment');
42
- recommendations.push('✅ Implementar health checks');
43
- recommendations.push('✅ Configurar rollback automático');
44
- recommendations.push('✅ Monitorar métricas pós-deploy');
45
- }
46
-
47
- return {
48
- success: true,
49
- details: `DevOps Agent: ${recommendations.length} recomendações`,
50
- recommendations
51
- };
52
- }
53
- }
54
-
@@ -1,14 +0,0 @@
1
- # DevOps Agent - Especialidade
2
-
3
- ## Responsabilidades
4
- - Definir responsabilidades específicas
5
-
6
- ## Expertise
7
- - Definir áreas de expertise
8
-
9
- ## Regras
10
- - Arquivos < 500 linhas
11
- - Não alucinar APIs
12
-
13
- ## Tarefas Típicas
14
- - Listar tarefas típicas