jarvis-ai-framework 1.0.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/AGENTS.md +416 -0
- package/LICENSE +21 -0
- package/README.md +190 -0
- package/agents/AGENTS.md +234 -0
- package/agents/README.md +309 -0
- package/agents/engineering/data/eng.data-engineer.agent.md +309 -0
- package/agents/engineering/eng.agent.md +303 -0
- package/agents/engineering/eng.bug-hunter.md +386 -0
- package/agents/engineering/eng.cybersecurity.agent.md +503 -0
- package/agents/engineering/eng.dev-code-reviewer.md +148 -0
- package/agents/engineering/eng.docs-writer.md +152 -0
- package/agents/engineering/eng.frontend.agent.md +117 -0
- package/agents/engineering/eng.rpa.agent.md +215 -0
- package/agents/engineering/eng.tech-analyst.agent.md +102 -0
- package/agents/engineering/eng.ux-designer.agent.md +193 -0
- package/agents/engineering/qa/eng.qa.cypress-specialist.md +109 -0
- package/agents/engineering/qa/eng.qa.quality-champion-task-agent.md +85 -0
- package/agents/engineering/qa/eng.qa.quality-strategist.md +111 -0
- package/agents/engineering/qa/eng.qa.test-architect.md +400 -0
- package/agents/engineering/qa/eng.qa.test-planner.md +477 -0
- package/agents/engineering/qa/eng.qa.testing-engineer.md +339 -0
- package/agents/product/prod.pm-checker.md +52 -0
- package/bin/commands/docs-publish.js +184 -0
- package/bin/commands/docs-sync.js +139 -0
- package/bin/commands/info.js +87 -0
- package/bin/commands/init.js +237 -0
- package/bin/commands/install-rtk.js +90 -0
- package/bin/commands/list.js +48 -0
- package/bin/commands/qa-signoff.js +112 -0
- package/bin/commands/whoami.js +43 -0
- package/bin/jarvis.js +159 -0
- package/bin/lib/auth/session.js +56 -0
- package/bin/lib/config/constants.js +123 -0
- package/bin/lib/config/ide-config.js +233 -0
- package/bin/lib/core/scanner.js +124 -0
- package/bin/lib/core/sync-engine.js +551 -0
- package/bin/lib/docs/fetch-file.sh +41 -0
- package/bin/lib/docs/publish-file.sh +284 -0
- package/bin/lib/docs/validate-frontmatter.js +157 -0
- package/bin/lib/env-loader.js +198 -0
- package/bin/lib/tasks/comment.js +131 -0
- package/bin/lib/utils/git-parser.js +145 -0
- package/bin/lib/utils/logger.js +104 -0
- package/bin/lib/utils/npmrc-parser.js +106 -0
- package/bin/lib/utils/paths.js +55 -0
- package/bin/lib/utils/ui.js +59 -0
- package/bin/lib/vcs/api.js +312 -0
- package/bin/lib/vcs/create-issue.js +43 -0
- package/bin/lib/vcs/create-merge.js +43 -0
- package/bin/lib/vcs/fetch-raw.js +30 -0
- package/bin/postinstall.js +41 -0
- package/members.md +25 -0
- package/package.json +55 -0
- package/rules/AGENTS.md +205 -0
- package/rules/engineering/data/data-rules.md +200 -0
- package/rules/engineering/eng-rules.md +243 -0
- package/rules/engineering/eng-security-rules.md +186 -0
- package/rules/engineering/eng.breakdown-subtasks-rules.md +585 -0
- package/rules/engineering/eng.bump-rules.md +27 -0
- package/rules/engineering/eng.docs-scraping-rules.md +64 -0
- package/rules/engineering/eng.downstream-flow-rules.md +297 -0
- package/rules/engineering/eng.integrations-rules.md +73 -0
- package/rules/engineering/eng.plan-rules.md +333 -0
- package/rules/engineering/eng.pr-rules.md +359 -0
- package/rules/engineering/eng.pre-pr-rules.md +103 -0
- package/rules/engineering/eng.start-rules.md +246 -0
- package/rules/engineering/eng.tech-spec-rules.md +968 -0
- package/rules/engineering/eng.work-rules.md +312 -0
- package/rules/engineering/frontend/eng.frontend-rules.md +147 -0
- package/rules/engineering/qa/eng.qa.cypress-standards-rules.md +259 -0
- package/rules/engineering/qa/eng.qa.exploratory-session-rules.md +137 -0
- package/rules/engineering/qa/eng.qa.quality-gate-scoring-rules.md +181 -0
- package/rules/engineering/qa/eng.qa.tech-spec-validation-criteria-rules.md +120 -0
- package/rules/engineering/rpa/eng.rpa-rules.md +230 -0
- package/rules/product/README.md +24 -0
- package/rules/product/prod-rules.md +151 -0
- package/rules/rtk-rules.md +68 -0
- package/skills/AGENTS.md +290 -0
- package/skills/SKILLS-ROADMAP.md +333 -0
- package/skills/churn-audit/SKILL.md +385 -0
- package/skills/context-detect/SKILL.md +399 -0
- package/skills/context-detect/assets/context-profile-template.md +127 -0
- package/skills/docs-central/README.md +310 -0
- package/skills/docs-central/SKILL.md +423 -0
- package/skills/docs-index/SKILL.md +377 -0
- package/skills/eng-ai-engineer/SKILL.md +296 -0
- package/skills/eng-arch-c4/SKILL.md +358 -0
- package/skills/eng-arch-c4/assets/example-code.md +189 -0
- package/skills/eng-arch-c4/assets/example-component.md +105 -0
- package/skills/eng-arch-c4/assets/example-container.md +104 -0
- package/skills/eng-arch-c4/assets/example-context.md +81 -0
- package/skills/eng-backend/SKILL.md +776 -0
- package/skills/eng-browser-extension-builder/SKILL.md +385 -0
- package/skills/eng-cybersecurity/SKILL.md +645 -0
- package/skills/eng-data-bi/SKILL.md +199 -0
- package/skills/eng-data-debug/SKILL.md +307 -0
- package/skills/eng-data-engineer/SKILL.md +256 -0
- package/skills/eng-data-onboard/SKILL.md +310 -0
- package/skills/eng-data-orchestrator/SKILL.md +426 -0
- package/skills/eng-design-system/SKILL.md +619 -0
- package/skills/eng-docs-write/SKILL.md +312 -0
- package/skills/eng-frontend/SKILL.md +913 -0
- package/skills/eng-jira-comment/SKILL.md +17 -0
- package/skills/eng-microfrontend/SKILL.md +602 -0
- package/skills/eng-ms-trace/SKILL.md +469 -0
- package/skills/eng-nestjs/SKILL.md +791 -0
- package/skills/eng-performance-engineer/SKILL.md +312 -0
- package/skills/eng-pr/SKILL.md +339 -0
- package/skills/eng-qa-a11y-audit/SKILL.md +269 -0
- package/skills/eng-qa-bug-report/SKILL.md +1088 -0
- package/skills/eng-qa-bug-report/TASK_MANAGERS.md +138 -0
- package/skills/eng-qa-cypress-e2e/SKILL.md +177 -0
- package/skills/eng-qa-dev-guide/SKILL.md +164 -0
- package/skills/eng-qa-e2e/SKILL.md +400 -0
- package/skills/eng-qa-e2e-spec-writer/SKILL.md +322 -0
- package/skills/eng-qa-exploratory/SKILL.md +188 -0
- package/skills/eng-qa-gate/SKILL.md +370 -0
- package/skills/eng-qa-gate/assets/checklist-validacao.md +291 -0
- package/skills/eng-qa-graphql-contract/SKILL.md +256 -0
- package/skills/eng-qa-quality-report/SKILL.md +412 -0
- package/skills/eng-qa-test-plan/SKILL.md +466 -0
- package/skills/eng-qa-test-plan/assets/test-coverage-template.md +92 -0
- package/skills/eng-qa-test-plan/assets/test-patterns.md +178 -0
- package/skills/eng-qa-testsprite/SKILL.md +325 -0
- package/skills/eng-qa-testsprite/references/testsprite-mcp.md +224 -0
- package/skills/eng-qa-unit-test/SKILL.md +471 -0
- package/skills/eng-rabbitmq/SKILL.md +661 -0
- package/skills/eng-scraper/SKILL.md +683 -0
- package/skills/eng-scraper-robot-builder/SKILL.md +370 -0
- package/skills/eng-security-patch/SKILL.md +378 -0
- package/skills/eng-security-triage/SKILL.md +266 -0
- package/skills/eng-task-comment/SKILL.md +60 -0
- package/skills/eng-tech-analyst/SKILL.md +529 -0
- package/skills/eng-threat-model/SKILL.md +161 -0
- package/skills/init-jarvis/SKILL.md +1304 -0
- package/skills/init-jarvis/assets/mcp-configs.md +389 -0
- package/skills/init-jarvis/assets/onboarding-checklist.md +104 -0
- package/skills/init-jarvis/assets/setup-guide.md +360 -0
- package/skills/lovable-prompt-generator/SKILL.md +304 -0
- package/skills/prod-roadmap-report/README.md +303 -0
- package/skills/prod-roadmap-report/SKILL.md +198 -0
- package/skills/prod-roadmap-report/commands/status.compiled.single.team.md +23 -0
- package/skills/prod-roadmap-report/commands/status.list.projects.md +17 -0
- package/skills/prod-roadmap-report/commands/status.memory.md +192 -0
- package/skills/prod-roadmap-report/commands/status.roadmap.preview.md +94 -0
- package/skills/prod-roadmap-report/references/detailed-guide.md +236 -0
- package/skills/prod-roadmap-report/rules/detailed-guide.md +237 -0
- package/skills/prod-roadmap-report/rules/status-report-rules.md +44 -0
- package/skills/prod-roadmap-report/templates/template-multiple-teams-compiled-status.md +53 -0
- package/skills/prod-roadmap-report/templates/template-projects-list.md +23 -0
- package/skills/prod-roadmap-report/templates/template-single-team-compiled-status.md +60 -0
- package/skills/prod-roadmap-report/templates/template-single-team-status.md +49 -0
- package/skills/prod-specs/SKILL.md +108 -0
- package/skills/prod-specs/references/prod.spec.clarify.md +176 -0
- package/skills/prod-specs/references/prod.spec.epic.md +107 -0
- package/skills/prod-specs/references/prod.spec.frd.md +135 -0
- package/skills/prod-specs/references/prod.spec.issue.md +145 -0
- package/skills/prod-specs/references/prod.spec.prd.md +118 -0
- package/skills/prod-specs/rules/prod-spec-rules.md +186 -0
- package/skills/prod-specs/templates/prod-breakdown-template.md +136 -0
- package/skills/prod-specs/templates/prod-epic-template.md +76 -0
- package/skills/prod-specs/templates/prod-frd-template.md +172 -0
- package/skills/prod-specs/templates/prod-issue-template.md +68 -0
- package/skills/prod-specs/templates/prod-prd-full-template.md +159 -0
- package/skills/prod-specs/templates/prod-prd-template.md +173 -0
- package/skills/prod-specs-update/SKILL.md +272 -0
- package/skills/report-issue/SKILL.md +156 -0
- package/taxonomy.md +270 -0
- package/templates/AGENTS.md +189 -0
- package/templates/CDD aplicado a Prompts.md +182 -0
- package/templates/ENV-template.md +187 -0
- package/templates/engineering/AGENTS-template.md +71 -0
- package/templates/engineering/ARD-template.md +193 -0
- package/templates/engineering/CONTACTS-template.md +135 -0
- package/templates/engineering/PR-template.md +40 -0
- package/templates/engineering/RFC-Playbook.md +325 -0
- package/templates/engineering/RFC-template.md +199 -0
- package/templates/engineering/architecture-template.md +277 -0
- package/templates/engineering/breakdown-subtasks-template.md +582 -0
- package/templates/engineering/c4-model-template.md +516 -0
- package/templates/engineering/data-contract-template.md +135 -0
- package/templates/engineering/data-pipeline-template.md +163 -0
- package/templates/engineering/plan-template.md +255 -0
- package/templates/engineering/qa/eng.qa.quality-gate-examples-template.md +311 -0
- package/templates/engineering/qa/eng.qa.quality-gate-report-template.md +249 -0
- package/templates/engineering/qa/qa.cypress-test-template.md +172 -0
- package/templates/engineering/qa/qa.exploratory-session-template.md +148 -0
- package/templates/engineering/qa/qa.quality-report-template.md +130 -0
- package/templates/engineering/qa/qa.release-signoff-template.md +54 -0
- package/templates/engineering/qa/qa.sprint-plan-template.md +49 -0
- package/templates/engineering/swagger-template.md +145 -0
- package/templates/engineering/tech-spec-template.md +497 -0
- package/templates/engineering/work-progress-template.md +155 -0
- package/workflows/AGENTS.md +240 -0
- package/workflows/README.md +160 -0
- package/workflows/all-tools.md +11 -0
- package/workflows/engineering/data/data.contract.md +202 -0
- package/workflows/engineering/data/data.new-pipeline.md +234 -0
- package/workflows/engineering/eng.breakdown-subtasks.md +420 -0
- package/workflows/engineering/eng.bug-audit.md +591 -0
- package/workflows/engineering/eng.build-tech-spec.md +1116 -0
- package/workflows/engineering/eng.create-ard-from-code.md +259 -0
- package/workflows/engineering/eng.create-ard.md +382 -0
- package/workflows/engineering/eng.create-rfc.md +245 -0
- package/workflows/engineering/eng.debug.md +479 -0
- package/workflows/engineering/eng.docs.md +40 -0
- package/workflows/engineering/eng.light-arch.md +84 -0
- package/workflows/engineering/eng.plan.md +213 -0
- package/workflows/engineering/eng.pr.md +466 -0
- package/workflows/engineering/eng.pre-pr.md +167 -0
- package/workflows/engineering/eng.review.md +185 -0
- package/workflows/engineering/eng.rpa.robot.md +342 -0
- package/workflows/engineering/eng.security-audit.md +312 -0
- package/workflows/engineering/eng.security-incident.md +275 -0
- package/workflows/engineering/eng.security-pipeline.md +210 -0
- package/workflows/engineering/eng.security-review.md +235 -0
- package/workflows/engineering/eng.start.md +494 -0
- package/workflows/engineering/eng.work.md +558 -0
- package/workflows/engineering/frontend/eng.frontend-component.md +190 -0
- package/workflows/engineering/frontend/eng.frontend-perf-audit.md +375 -0
- package/workflows/engineering/frontend/eng.frontend-review.md +185 -0
- package/workflows/engineering/qa/eng.qa-dev-quality-guide.md +51 -0
- package/workflows/engineering/qa/eng.qa-e2e-test-generation.md +51 -0
- package/workflows/engineering/qa/eng.qa-exploratory-session.md +60 -0
- package/workflows/engineering/qa/eng.qa-quality-gate-validation.md +202 -0
- package/workflows/engineering/qa/eng.qa-quality-report.md +83 -0
- package/workflows/engineering/qa/eng.qa-refinement-entry.md +83 -0
- package/workflows/engineering/qa/eng.qa-release-signoff.md +170 -0
- package/workflows/engineering/qa/eng.qa-sprint-planning.md +100 -0
- package/workflows/engineering/ta/eng.ta.atendimento.md +93 -0
- package/workflows/product/prod.roadmap.preview.md +110 -0
- package/workflows/product/prod.spec.breakdown.md +163 -0
- package/workflows/product/prod.spec.clarify.md +178 -0
- package/workflows/product/prod.spec.epic.md +154 -0
- package/workflows/product/prod.spec.frd.md +96 -0
- package/workflows/product/prod.spec.issue.md +145 -0
- package/workflows/product/prod.spec.md +60 -0
- package/workflows/product/prod.spec.prd.md +100 -0
- package/workflows/taxonomy.md +92 -0
- package/workflows/warm-up.md +574 -0
package/agents/AGENTS.md
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# AGENTS.md - Pasta agents/
|
|
2
|
+
|
|
3
|
+
Instrucoes especificas para agentes de IA que manipulam a pasta de agentes.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Proposito desta Pasta
|
|
8
|
+
|
|
9
|
+
A pasta `agents/` contem **definicoes de agentes especializados** que atuam no framework Jarvis. Cada agente tem uma persona, postura e forma de atuacao especifica.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Estrutura
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
agents/
|
|
17
|
+
├── engineering/ # Agentes ativos de engenharia (12 agents)
|
|
18
|
+
│ ├── eng.agent.md
|
|
19
|
+
│ ├── eng.bug-hunter.md
|
|
20
|
+
│ ├── eng.dev-code-reviewer.md
|
|
21
|
+
│ ├── eng.docs-writer.md
|
|
22
|
+
│ ├── eng.tech-analyst.agent.md
|
|
23
|
+
│ ├── data/ # Agentes de Data (1 agent)
|
|
24
|
+
│ │ └── eng.data-engineer.agent.md
|
|
25
|
+
│ └── qa/ # Agentes de QA (6 agents)
|
|
26
|
+
│ ├── eng.qa.test-planner.md
|
|
27
|
+
│ ├── eng.qa.testing-engineer.md
|
|
28
|
+
│ ├── eng.qa.test-architect.md
|
|
29
|
+
│ ├── eng.qa.quality-champion-task-agent.md
|
|
30
|
+
│ ├── eng.qa.cypress-specialist.md
|
|
31
|
+
│ └── eng.qa.quality-strategist.md
|
|
32
|
+
├── product/ # Agentes ativos de produto (1 agent)
|
|
33
|
+
│ └── prod.pm-checker.md
|
|
34
|
+
└── archive/ # Biblioteca de agentes arquivados (9 agents)
|
|
35
|
+
├── architecture-design/ # 2 agents
|
|
36
|
+
├── implementation/ # 2 agents
|
|
37
|
+
└── product/ # 5 agents
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Convencoes de Nomenclatura
|
|
43
|
+
|
|
44
|
+
| Tipo | Padrao | Exemplos |
|
|
45
|
+
|------|--------|----------|
|
|
46
|
+
| Engenharia | `eng.{componente}.md` | `eng.agent.md`, `eng.docs-writer.md` |
|
|
47
|
+
| QA | `eng.qa.{componente}.md` | `eng.qa.test-planner.md` |
|
|
48
|
+
| Produto | `prod.{componente}.md` | `prod.pm-checker.md` |
|
|
49
|
+
| Generico | `{nome-descritivo}.md` | `backend-architect.md` |
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Regras ao Criar/Editar Agentes
|
|
54
|
+
|
|
55
|
+
### Estrutura Obrigatoria de um Agente
|
|
56
|
+
|
|
57
|
+
Todo arquivo de agente deve conter:
|
|
58
|
+
|
|
59
|
+
1. **Cabecalho** - Nome e descricao curta
|
|
60
|
+
2. **Persona** - Quem e o agente (expertise, postura)
|
|
61
|
+
3. **Objetivo** - O que o agente faz
|
|
62
|
+
4. **Quando Usar** - Cenarios de ativacao
|
|
63
|
+
5. **Entrada/Saida** - O que recebe e produz
|
|
64
|
+
6. **Restricoes** - O que NAO deve fazer
|
|
65
|
+
|
|
66
|
+
### Exemplo de Estrutura
|
|
67
|
+
|
|
68
|
+
```markdown
|
|
69
|
+
# @nome-do-agente
|
|
70
|
+
|
|
71
|
+
Descricao curta do agente.
|
|
72
|
+
|
|
73
|
+
## Persona
|
|
74
|
+
...
|
|
75
|
+
|
|
76
|
+
## Objetivo
|
|
77
|
+
...
|
|
78
|
+
|
|
79
|
+
## Quando Usar
|
|
80
|
+
...
|
|
81
|
+
|
|
82
|
+
## Entrada
|
|
83
|
+
...
|
|
84
|
+
|
|
85
|
+
## Saida
|
|
86
|
+
...
|
|
87
|
+
|
|
88
|
+
## Restricoes
|
|
89
|
+
...
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Diferenca entre Agents e Skills
|
|
95
|
+
|
|
96
|
+
| Aspecto | Agents | Skills |
|
|
97
|
+
|---------|--------|--------|
|
|
98
|
+
| Define | Persona e postura | Playbook executavel |
|
|
99
|
+
| Foco | Quem e o agente | Como executar a tarefa |
|
|
100
|
+
| Detalhe | Alto nivel | Passo a passo |
|
|
101
|
+
| Fonte de verdade | Comportamento | Operacional |
|
|
102
|
+
|
|
103
|
+
**Regra**: Quando um agente atua em tema com skill correspondente, o skill tem precedencia para detalhes operacionais.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Ativacao de Agentes
|
|
108
|
+
|
|
109
|
+
### Automatica (via comandos)
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
/eng.start "feature" # Ativa agentes de arquitetura
|
|
113
|
+
/eng.pre-pr # Ativa agentes de revisao e QA
|
|
114
|
+
/eng.work # Ativa agentes de implementacao
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Manual (via @)
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
@eng.qa.test-planner "analisar cobertura"
|
|
121
|
+
@backend-architect "design de API"
|
|
122
|
+
@eng.dev-code-reviewer "revisar PR #123"
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Context-Driven Development (CDD)
|
|
128
|
+
|
|
129
|
+
Os agentes do framework sao **conscientes de contexto** quando o CDD esta habilitado (`ENABLE_CDD=true` no ENV.md).
|
|
130
|
+
|
|
131
|
+
### Como CDD Afeta os Agentes
|
|
132
|
+
|
|
133
|
+
Quando habilitado, agentes leem o `CONTEXT_PROFILE` gerado pelo skill `/context-detect`:
|
|
134
|
+
|
|
135
|
+
```yaml
|
|
136
|
+
CONTEXT_PROFILE:
|
|
137
|
+
tipo: [hotfix|bugfix|feature|refactor]
|
|
138
|
+
urgencia: [alta|normal|baixa]
|
|
139
|
+
rigor: [minimo|padrao|alto]
|
|
140
|
+
comunicacao: [didatico|direto|estrategico]
|
|
141
|
+
autonomia: [baixa|media|alta]
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
**Calibracao por Contexto:**
|
|
145
|
+
|
|
146
|
+
| Aspecto | Impacto no Agente |
|
|
147
|
+
|---------|-------------------|
|
|
148
|
+
| `tipo: hotfix` | Foco cirurgico, menos validacoes, documentacao minima |
|
|
149
|
+
| `tipo: feature` | Fluxo completo, todas as validacoes, documentacao detalhada |
|
|
150
|
+
| `urgencia: alta` | Priorizacao de velocidade, less is more |
|
|
151
|
+
| `urgencia: baixa` | Analise profunda, considerar melhorias estruturais |
|
|
152
|
+
| `comunicacao: didatico` | Explicar decisoes, incluir referencias, usar exemplos |
|
|
153
|
+
| `comunicacao: direto` | Conciso, focar em trade-offs e riscos |
|
|
154
|
+
| `autonomia: alta` | Executar decisoes, reportar ao final |
|
|
155
|
+
| `autonomia: baixa` | Apresentar opcoes, aguardar aprovacao |
|
|
156
|
+
|
|
157
|
+
### Desabilitando CDD
|
|
158
|
+
|
|
159
|
+
Se `ENABLE_CDD=false` (padrao), agentes operam sem calibracao contextual:
|
|
160
|
+
- Comportamento padrao para todas as tarefas
|
|
161
|
+
- Sem leitura de `CONTEXT_PROFILE`
|
|
162
|
+
- Sem adaptacao de rigor ou comunicacao
|
|
163
|
+
|
|
164
|
+
**Para habilitar CDD**, adicione ao `ENV.md`:
|
|
165
|
+
```
|
|
166
|
+
ENABLE_CDD=true
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
> 📚 **Skill relacionado**: `.windsurf/skills/context-detect/SKILL.md`
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Agentes Ativos vs Arquivados
|
|
174
|
+
|
|
175
|
+
### Ativos (em uso regular)
|
|
176
|
+
- `engineering/` - Agentes de engenharia (12 agents: 5 main + 6 QA + 1 Data)
|
|
177
|
+
- `product/` - Agentes de produto (1 agent)
|
|
178
|
+
|
|
179
|
+
### Arquivados (biblioteca de referência)
|
|
180
|
+
- `archive/` - Agentes genéricos organizados por área funcional (11 agents)
|
|
181
|
+
- Podem ser ativados manualmente quando necessário
|
|
182
|
+
- Servem como referência para criar novos agentes
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Fluxo de Trabalho Tipico
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
1. ARQUITETURA
|
|
190
|
+
└─> @backend-architect, @frontend-architect
|
|
191
|
+
|
|
192
|
+
2. IMPLEMENTACAO
|
|
193
|
+
└─> @backend-python-specialist, @react-developer
|
|
194
|
+
|
|
195
|
+
3. TESTES
|
|
196
|
+
└─> @eng.qa.test-planner, @eng.qa.testing-engineer
|
|
197
|
+
|
|
198
|
+
4. REVISAO
|
|
199
|
+
└─> @eng.dev-code-reviewer
|
|
200
|
+
|
|
201
|
+
5. DOCUMENTACAO
|
|
202
|
+
└─> @eng.docs-writer
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Nunca
|
|
208
|
+
|
|
209
|
+
- Criar agente sem definir persona clara
|
|
210
|
+
- Duplicar funcionalidade de agente existente
|
|
211
|
+
- Misturar responsabilidades de dominios diferentes
|
|
212
|
+
- Colocar detalhes operacionais (isso vai no skill)
|
|
213
|
+
- Criar agente para tarefa unica (use skill)
|
|
214
|
+
|
|
215
|
+
## Sempre
|
|
216
|
+
|
|
217
|
+
- Verificar se ja existe agente similar antes de criar
|
|
218
|
+
- Seguir convencoes de nomenclatura
|
|
219
|
+
- Documentar quando usar e quando NAO usar
|
|
220
|
+
- Manter agentes focados em uma responsabilidade
|
|
221
|
+
- Atualizar README.md ao adicionar novo agente
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## Referencias
|
|
226
|
+
|
|
227
|
+
- `README.md` - Lista completa de agentes
|
|
228
|
+
- `../skills/` - Skills correspondentes
|
|
229
|
+
- `../workflows/` - Workflows que ativam agentes
|
|
230
|
+
- `../rules/` - Regras que agentes devem seguir
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
**Última atualização**: 2026-04-26
|
package/agents/README.md
ADDED
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
# README
|
|
2
|
+
|
|
3
|
+
Este diretório contém **agentes especializados** organizados por domínio.
|
|
4
|
+
|
|
5
|
+
**Agentes ativos:** Usados automaticamente pelos workflows
|
|
6
|
+
**Agentes arquivados:** Disponíveis para uso especializado quando necessário
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 📂 Estrutura Organizada
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
agents/
|
|
14
|
+
├── engineering/ # ⚙️ Agentes do domínio de Engenharia (ATIVOS)
|
|
15
|
+
│ ├── eng.agent.md # Agent principal de engenharia
|
|
16
|
+
│ ├── eng.bug-hunter.md # Caça e análise de bugs
|
|
17
|
+
│ ├── eng.dev-code-reviewer.md # Code reviewer
|
|
18
|
+
│ ├── eng.docs-writer.md # Escritor de documentação
|
|
19
|
+
│ ├── eng.tech-analyst.agent.md # Triagem e diagnóstico de chamados N2
|
|
20
|
+
│ ├── eng.rpa.agent.md # Automação RPA (ARACHNE)
|
|
21
|
+
│ ├── eng.frontend.agent.md # Especialista frontend: React, MFE, design system, a11y
|
|
22
|
+
│ ├── eng.ux-designer.agent.md # Especialista UX/UI: heurísticas, jornada, microcopy
|
|
23
|
+
│ ├── data/ # Data Engineering (1 agent)
|
|
24
|
+
│ │ └── eng.data-engineer.agent.md
|
|
25
|
+
│ └── qa/ # QA específico de engenharia (6 agents)
|
|
26
|
+
├── product/ # 🎯 Agentes do domínio de Produto (ATIVOS)
|
|
27
|
+
│ └── prod.pm-checker.md # Product Manager checker
|
|
28
|
+
└── archive/ # 📦 Biblioteca de agentes arquivados
|
|
29
|
+
└── product/ # Product WIP (5)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**📊 Total:**
|
|
33
|
+
- **16 agents ativos** (prontos para uso)
|
|
34
|
+
- Engineering main: 8 (6 main + 1 data + subpasta qa)
|
|
35
|
+
- QA: 6
|
|
36
|
+
- Product: 1
|
|
37
|
+
- **5 agents arquivados** (uso especializado quando necessário)
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## ⚙️ 1. Engenharia (15 agents)
|
|
42
|
+
|
|
43
|
+
**Pasta**: `engineering/`
|
|
44
|
+
|
|
45
|
+
Agentes específicos para fluxos e regras do domínio de Engenharia.
|
|
46
|
+
|
|
47
|
+
### Agents Principais (9)
|
|
48
|
+
- `eng.agent.md` - `@eng.agent` - Agent principal de engenharia
|
|
49
|
+
- `eng.bug-hunter.md` - `@eng.bug-hunter` - Caça e análise de bugs
|
|
50
|
+
- `eng.dev-code-reviewer.md` - `@eng.dev-code-reviewer` - Code review
|
|
51
|
+
- `eng.docs-writer.md` - `@eng.docs-writer` - Documentação técnica
|
|
52
|
+
- `eng.tech-analyst.agent.md` - `@eng.tech-analyst` - Triagem e diagnóstico de chamados N2
|
|
53
|
+
- `eng.rpa.agent.md` - `@eng.rpa` - Automação e scraping RPA (ARACHNE)
|
|
54
|
+
- `eng.frontend.agent.md` - `@eng.frontend` - Especialista frontend: React, micro frontend, design system, a11y
|
|
55
|
+
- `eng.ux-designer.agent.md` - `@eng.ux-designer` - Especialista UX/UI: heurísticas Nielsen, jornada, microcopy
|
|
56
|
+
- `eng.cybersecurity.agent.md` - `@eng.cybersecurity` - Especialista em cybersecurity e AppSec (SENTINEL): OWASP Top 10, secrets, supply chain, incident response
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Data Agents (1)
|
|
60
|
+
**Subpasta**: `engineering/data/`
|
|
61
|
+
|
|
62
|
+
- `eng.data-engineer.agent.md` - `@eng.data-engineer` - Pipelines ETL/ELT, contratos de dados, qualidade (HEPHAESTUS)
|
|
63
|
+
|
|
64
|
+
### QA Agents (6)
|
|
65
|
+
**Subpasta**: `engineering/qa/`
|
|
66
|
+
|
|
67
|
+
- `eng.qa.quality-champion-task-agent.md` - `@eng.qa.quality-champion-task-agent`
|
|
68
|
+
- `eng.qa.test-planner.md` - `@eng.qa.test-planner`
|
|
69
|
+
- `eng.qa.testing-engineer.md` - `@eng.qa.testing-engineer` _(stack primária: Cypress + TypeScript)_
|
|
70
|
+
- `eng.qa.test-architect.md` - `@eng.qa.test-architect`
|
|
71
|
+
- `eng.qa.cypress-specialist.md` - `@eng.qa.cypress-specialist` — Page Objects, Custom Commands, CI, debugging
|
|
72
|
+
- `eng.qa.quality-strategist.md` - `@eng.qa.quality-strategist` — priorização de esforço, risco de feature, distribuição QA/dev
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 🎯 2. Produto (1 agente)
|
|
77
|
+
|
|
78
|
+
**Pasta**: `product/`
|
|
79
|
+
|
|
80
|
+
Agentes específicos para fluxos e validações do domínio de Produto.
|
|
81
|
+
|
|
82
|
+
- `prod.pm-checker.md` - `@prod.pm-checker`
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## 📦 3. Agentes Arquivados
|
|
87
|
+
|
|
88
|
+
**Pasta**: `archive/`
|
|
89
|
+
|
|
90
|
+
**Total:** 9 agentes especializados para uso quando necessário
|
|
91
|
+
|
|
92
|
+
⚠️ **Importante:** Estes agentes estão **desativados por padrão** para simplificar o onboarding.
|
|
93
|
+
|
|
94
|
+
**Quando usar:**
|
|
95
|
+
- ✅ Caso de uso específico e bem definido
|
|
96
|
+
- ✅ Necessidade de especialização profunda
|
|
97
|
+
- ✅ Agents ativos não cobrem a necessidade
|
|
98
|
+
|
|
99
|
+
**📖 [Ver guia completo →](archive/README.md)**
|
|
100
|
+
|
|
101
|
+
### Categorias disponíveis:
|
|
102
|
+
|
|
103
|
+
| Categoria | Agents | Exemplos |
|
|
104
|
+
|-----------|--------|----------|
|
|
105
|
+
| 🏗️ **Arquitetura & Design** | 2 | frontend-architect, ux-ui-design-expert |
|
|
106
|
+
| 💻 **Implementação** | 2 | react-developer, frontend-react-specialist |
|
|
107
|
+
| 🎯 **Produto WIP** | 5 | prod.wip.collect, prod.wip.refine, prod.wip.spec.breakdown, etc. |
|
|
108
|
+
|
|
109
|
+
**Como ativar:** Ver `archive/README.md` para instruções detalhadas
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## 📊 Distribuição dos Agentes
|
|
114
|
+
|
|
115
|
+
### Agentes Ativos (9)
|
|
116
|
+
|
|
117
|
+
| Domínio | Agentes | Uso |
|
|
118
|
+
|---------|---------|-----|
|
|
119
|
+
| ⚙️ **Engineering** | 5 | Agent principal, bug hunter, code review, docs, tech analyst |
|
|
120
|
+
| 🧪 **QA** (sub-eng) | 6 | Test planning, testing, quality gate, Cypress specialist, quality strategist |
|
|
121
|
+
| 📊 **Data** (sub-eng) | 1 | Pipelines, contratos de dados, qualidade |
|
|
122
|
+
| 🎯 **Product** | 1 | PM checker |
|
|
123
|
+
|
|
124
|
+
**Total ativos:** 13 agents
|
|
125
|
+
|
|
126
|
+
### Agentes Arquivados (9)
|
|
127
|
+
|
|
128
|
+
| Categoria | Agentes | Quando usar |
|
|
129
|
+
|-----------|---------|-------------|
|
|
130
|
+
| 🏗️ **Arquitetura** | 2 | Frontend architecture, UX/UI design |
|
|
131
|
+
| 💻 **Implementação** | 2 | React especializado |
|
|
132
|
+
| 🎯 **Produto WIP** | 5 | Product workflows em desenvolvimento |
|
|
133
|
+
|
|
134
|
+
**Total arquivados:** 9 agents
|
|
135
|
+
|
|
136
|
+
**📖 Detalhes completos:** `archive/README.md`
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 🎯 Como Usar os Agentes
|
|
141
|
+
|
|
142
|
+
### 🔗 Relação entre Agents e Skills
|
|
143
|
+
|
|
144
|
+
- **Agents**: definem persona, postura e forma de atuação.
|
|
145
|
+
- **Skills**: definem playbooks executáveis e padrões detalhados (fonte de verdade operacional).
|
|
146
|
+
|
|
147
|
+
Quando um agente estiver atuando em um tema que possui skill correspondente, ele deve seguir o skill como referência principal.
|
|
148
|
+
|
|
149
|
+
### Mapeamento recomendado (Workflows/Comandos → Skills)
|
|
150
|
+
|
|
151
|
+
- **eng.docs** → `eng-docs-write` (principal) e `docs-index` (quando houver índice).
|
|
152
|
+
- **eng.pre-pr** → `eng-qa-test-plan` (cobertura) e `eng-docs-write` (docs).
|
|
153
|
+
- **eng.pr** → `eng-pr`.
|
|
154
|
+
- **qa-quality-gate-validation** → `eng-qa-gate`.
|
|
155
|
+
- **Sessão de teste exploratório (charter, risco, achados, bug cards)** → `eng-qa-exploratory`.
|
|
156
|
+
- **Gerar specs Cypress + TypeScript (Page Objects, data-testid, intercept)** → `eng-qa-cypress-e2e`.
|
|
157
|
+
- **Orientar dev sobre cobertura Cypress sem escrever o teste** → `eng-qa-dev-guide`.
|
|
158
|
+
- **Consolidar sessões, bugs e quality gates e gerar relatório de qualidade por período** → `eng-qa-quality-report`.
|
|
159
|
+
- **APIs, auth, workers, RabbitMQ, caching** → `eng-backend`.
|
|
160
|
+
- **Componentes, UI, estado, SSR/SSG, performance, acessibilidade** → `eng-frontend`.
|
|
161
|
+
- **Módulos NestJS, DI, guards, interceptors, Passport/JWT** → `eng-nestjs`.
|
|
162
|
+
- **Web scraping, Puppeteer, extração de dados, ETL** → `eng-scraper`.
|
|
163
|
+
- **Converter fluxo manual (produto/dev) em robô Playwright via Stagehand** → `eng-scraper-robot-builder`.
|
|
164
|
+
- **Criar ou manter robô RPA** → `eng.rpa.robot new|update {card}` (workflow).
|
|
165
|
+
- **Testes E2E em linguagem natural, fluxos de usuário, smoke tests pós-deploy** → `eng-qa-e2e`.
|
|
166
|
+
- **Atendimento técnico N2, triagem de chamados, diagnóstico, classificação de bugs, escalonamento** → `eng-tech-analyst`.
|
|
167
|
+
- **Pipelines de dados, ETL/ELT, Glue, Airflow, Athena, bronze/silver/gold, contratos de dados, Great Expectations** → `eng-data-engineer`.
|
|
168
|
+
|
|
169
|
+
### Ativação Automática (Agents Ativos)
|
|
170
|
+
|
|
171
|
+
Os agentes ativos ativam automaticamente baseado no contexto dos workflows:
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
# Exemplo: /eng.start ativa agentes de engenharia
|
|
175
|
+
/eng.start JIRA-123
|
|
176
|
+
# → @eng.agent coordena análise e arquitetura
|
|
177
|
+
|
|
178
|
+
# Exemplo: /eng.pre-pr ativa múltiplos agentes de qualidade
|
|
179
|
+
/eng.pre-pr JIRA-123
|
|
180
|
+
# → @eng.dev-code-reviewer, @eng.qa.test-planner, @eng.docs-writer
|
|
181
|
+
|
|
182
|
+
# Exemplo: /eng-qa-gate ativa agentes de QA
|
|
183
|
+
/eng-qa-gate
|
|
184
|
+
# → @eng.qa.quality-champion-task-agent valida qualidade
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Uso de Agents Arquivados
|
|
188
|
+
|
|
189
|
+
Agents arquivados precisam ser invocados explicitamente:
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
# Opção 1: Invocar pontualmente
|
|
193
|
+
"Use o agent backend-architect (agents/archive/architecture-design/backend-architect.md)
|
|
194
|
+
para revisar a arquitetura de microservices"
|
|
195
|
+
|
|
196
|
+
# Opção 2: Ativar permanentemente
|
|
197
|
+
mv agents/archive/architecture-design/backend-architect.md agents/engineering/
|
|
198
|
+
|
|
199
|
+
# Opção 3: Criar skill customizado
|
|
200
|
+
/skill-creator # criar skill que usa agent arquivado
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Invocação Manual
|
|
204
|
+
|
|
205
|
+
Você também pode invocar agentes manualmente usando `@`:
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
# Invocar agente específico
|
|
209
|
+
@eng.qa.test-planner "analisar cobertura de testes da branch"
|
|
210
|
+
|
|
211
|
+
# Múltiplos agentes em paralelo
|
|
212
|
+
@backend-architect @database-architect "design de API para sistema multi-tenant"
|
|
213
|
+
|
|
214
|
+
# Agentes especializados
|
|
215
|
+
@lovable-frontend-prompt-generator
|
|
216
|
+
@eng.qa.testing-engineer
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## 🔄 Fluxo de Trabalho Típico
|
|
222
|
+
|
|
223
|
+
```
|
|
224
|
+
1. 🏗️ PLANEJAMENTO
|
|
225
|
+
└─> /eng.start, /eng.plan → @eng.agent coordena
|
|
226
|
+
|
|
227
|
+
2. 💻 IMPLEMENTAÇÃO
|
|
228
|
+
└─> /eng.work → @eng.agent (+ @react-developer se archived ativado)
|
|
229
|
+
|
|
230
|
+
3. 🧪 TESTES
|
|
231
|
+
└─> @eng.qa.test-planner, @eng.qa.testing-engineer, @eng.qa.test-architect
|
|
232
|
+
|
|
233
|
+
4. ✅ REVISÃO
|
|
234
|
+
└─> @eng.dev-code-reviewer
|
|
235
|
+
|
|
236
|
+
5. 📚 DOCUMENTAÇÃO
|
|
237
|
+
└─> @eng.docs-writer → /eng.docs
|
|
238
|
+
|
|
239
|
+
6. 🔧 ENTREGA
|
|
240
|
+
└─> /eng.pre-pr, /eng.pr
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## 🎓 Benefícios da Organização
|
|
246
|
+
|
|
247
|
+
### ✅ Navegação Mais Fácil
|
|
248
|
+
- Encontre o agente certo rapidamente
|
|
249
|
+
- Estrutura lógica por função
|
|
250
|
+
|
|
251
|
+
### ✅ Melhor Compreensão
|
|
252
|
+
- README em cada categoria explica propósito
|
|
253
|
+
- Casos de uso documentados
|
|
254
|
+
|
|
255
|
+
### ✅ Manutenção Facilitada
|
|
256
|
+
- Adicionar novos agentes fica mais claro
|
|
257
|
+
- Identificar gaps de cobertura
|
|
258
|
+
|
|
259
|
+
### ✅ Onboarding Mais Rápido
|
|
260
|
+
- Desenvolvedores entendem o sistema rapidamente
|
|
261
|
+
- Documentação contextual por área
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## 📝 Notas Importantes
|
|
266
|
+
|
|
267
|
+
- **Todos os agentes são compatíveis** com os comandos slash existentes
|
|
268
|
+
- **Ativação automática** baseada em contexto continua funcionando
|
|
269
|
+
- **Invocação manual** com `@nome-do-agente` permanece a mesma
|
|
270
|
+
- **Agentes de QA consolidados** em `engineering/qa/` (antes estavam em stand-by)
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## 🔗 Links Relacionados
|
|
275
|
+
|
|
276
|
+
- [Workflows](../workflows/README.md)
|
|
277
|
+
- JARVIS.md (`$IDE/JARVIS.md`)
|
|
278
|
+
- ENV.md (`$IDE/ENV.md`)
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## 🎯 Recomendação de Uso
|
|
285
|
+
|
|
286
|
+
### Para times PEQUENOS (< 5 devs):
|
|
287
|
+
```
|
|
288
|
+
✅ Use apenas agents ativos (9 agents)
|
|
289
|
+
❌ Mantenha arquivados sem ativar
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Para times MÉDIOS (5-15 devs):
|
|
293
|
+
```
|
|
294
|
+
✅ Use agents ativos
|
|
295
|
+
⚠️ Ative 1-2 agents arquivados SE necessário
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### Para times GRANDES (> 15 devs):
|
|
299
|
+
```
|
|
300
|
+
✅ Use agents ativos
|
|
301
|
+
✅ Ative agents arquivados por especialização/squad
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
**Última atualização**: 2026-04-26
|
|
307
|
+
**Agents ativos:** 13 (Engineering: 5 main + 6 QA + 1 Data, Product: 1)
|
|
308
|
+
**Agents arquivados:** 9 (Architecture: 2, Implementation: 2, Product WIP: 5)
|
|
309
|
+
**Total:** 22 agents
|