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.md
ADDED
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
# AGENTS.md
|
|
2
|
+
|
|
3
|
+
Arquivo de instrucoes para agentes de IA que atuam neste repositorio.
|
|
4
|
+
|
|
5
|
+
## Visao Geral
|
|
6
|
+
|
|
7
|
+
Este repositorio contem o **Framework Jarvis** - um framework de desenvolvimento orientado por contexto para IDEs de IA (Windsurf, Cursor, Claude Code, VS Code).
|
|
8
|
+
|
|
9
|
+
**Este repo NAO e um app executavel.** E um conjunto de templates, agentes, regras, skills e workflows para auxiliar desenvolvimento assistido por IA.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1) Estrutura do Repositorio
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
prompts/
|
|
17
|
+
├── .windsurf/ # Framework principal
|
|
18
|
+
│ ├── ENV.md # Variaveis de ambiente
|
|
19
|
+
│ ├── README.md # Documentacao completa
|
|
20
|
+
│ ├── JARVIS.md # Guia de uso
|
|
21
|
+
│ ├── MCPs.md # Integracoes MCP
|
|
22
|
+
│ ├── LEGACY_PROJECTS.md # Guia para projetos legados
|
|
23
|
+
│ │
|
|
24
|
+
│ ├── agents/ # 17 ativos + 5 arquivados
|
|
25
|
+
│ │ ├── engineering/ # Agentes de engenharia (14 ativos: 7 main + 6 QA + 1 Data)
|
|
26
|
+
│ │ │ ├── eng.agent.md
|
|
27
|
+
│ │ │ ├── eng.cybersecurity.agent.md # Cybersecurity e AppSec (SENTINEL)
|
|
28
|
+
│ │ │ ├── eng.bug-hunter.md
|
|
29
|
+
│ │ │ ├── eng.dev-code-reviewer.md
|
|
30
|
+
│ │ │ ├── eng.docs-writer.md
|
|
31
|
+
│ │ │ ├── eng.tech-analyst.agent.md
|
|
32
|
+
│ │ │ ├── eng.rpa.agent.md # Agente RPA/Scraping (ARACHNE) — skill técnica
|
|
33
|
+
│ │ │ ├── data/ # 1 agente de Data
|
|
34
|
+
│ │ │ │ └── eng.data-engineer.agent.md
|
|
35
|
+
│ │ │ └── qa/ # 6 agentes de QA
|
|
36
|
+
│ │ ├── product/ # Agentes de produto (1 ativo)
|
|
37
|
+
│ │ │ └── prod.pm-checker.md
|
|
38
|
+
│ │ └── archive/ # Agentes arquivados (uso especializado)
|
|
39
|
+
│ │ ├── architecture-design/ # 2 agentes
|
|
40
|
+
│ │ ├── implementation/ # 2 agentes
|
|
41
|
+
│ │ └── product/ # 5 agentes (WIP)
|
|
42
|
+
│ │
|
|
43
|
+
│ ├── workflows/ # Templates de execucao
|
|
44
|
+
│ │ ├── engineering/ # 25 workflows de engenharia
|
|
45
|
+
│ │ │ ├── data/ # 2 workflows de dados (data.new-pipeline, data.contract)
|
|
46
|
+
│ │ │ └── frontend/ # 3 workflows de frontend (component, review, perf-audit)
|
|
47
|
+
│ │ └── product/ # 6 workflows de produto
|
|
48
|
+
│ │
|
|
49
|
+
│ ├── skills/ # 50 skills
|
|
50
|
+
│ │ ├── claude-plugin-creator/
|
|
51
|
+
│ │ ├── context-detect/
|
|
52
|
+
│ │ ├── docs-index/
|
|
53
|
+
│ │ ├── eng-ai-engineer/
|
|
54
|
+
│ │ ├── eng-arch-c4/
|
|
55
|
+
│ │ ├── eng-backend/ # APIs REST/GraphQL, auth, RabbitMQ, caching
|
|
56
|
+
│ │ ├── eng-ms-trace/ # Rastreamento de bugs cross-service (HTTP + AMQP)
|
|
57
|
+
│ │ ├── eng-browser-extension-builder/
|
|
58
|
+
│ │ ├── eng-docs-write/
|
|
59
|
+
│ │ ├── eng-frontend/ # React/Next.js, UI, performance, a11y
|
|
60
|
+
│ │ ├── eng-microfrontend/ # Module Federation, shell/remote, contratos, event bus
|
|
61
|
+
│ │ ├── eng-design-system/ # Tokens, CVA, Storybook, versionamento, auditoria visual
|
|
62
|
+
│ │ ├── eng-nestjs/ # Framework NestJS: módulos, DI, guards, interceptors
|
|
63
|
+
│ │ ├── eng-performance-engineer/
|
|
64
|
+
│ │ ├── eng-pr/
|
|
65
|
+
│ │ ├── eng-rabbitmq/ # Mensageria RabbitMQ
|
|
66
|
+
│ │ ├── eng-data-engineer/ # Pipelines ETL/ELT, Athena, MySQL, Metabase, contratos de dados
|
|
67
|
+
│ │ ├── eng-scraper/ # Web scraping, Puppeteer, ETL
|
|
68
|
+
│ │ ├── init-jarvis/
|
|
69
|
+
│ │ ├── lovable-prompt-generator/
|
|
70
|
+
│ │ ├── prod-specs/
|
|
71
|
+
│ │ ├── prod-specs-update/
|
|
72
|
+
│ │ ├── eng-qa-bug-report/
|
|
73
|
+
│ │ ├── eng-qa-cypress-e2e/ # Testes E2E Cypress + TypeScript (Page Objects, data-testid, intercept)
|
|
74
|
+
│ │ ├── eng-qa-dev-guide/ # Orienta devs a escreverem seus próprios testes Cypress
|
|
75
|
+
│ │ ├── eng-qa-exploratory/ # Sessões de teste exploratório estruturadas
|
|
76
|
+
│ │ ├── eng-qa-gate/
|
|
77
|
+
│ │ ├── eng-qa-test-plan/
|
|
78
|
+
│ │ ├── eng-qa-testsprite/
|
|
79
|
+
│ │ ├── eng-qa-unit-test/
|
|
80
|
+
│ │ ├── skill-creator/
|
|
81
|
+
│ │ ├── taxonomy-manager/
|
|
82
|
+
│ │ ├── workflow-creator/
|
|
83
|
+
│ │ ├── report-issue/ # Auto-report de bugs no repo do Jarvis (GitLab/GitHub/Bitbucket)
|
|
84
|
+
│ │ ├── eng-task-comment/ # Comentário no card (Jira/Linear/GitHub/Asana)
|
|
85
|
+
│ │ ├── churn-audit/ # Análise de churn SaaS por squad com relatório narrativo via Slack
|
|
86
|
+
│ │
|
|
87
|
+
│ ├── templates/ # Templates de documentos
|
|
88
|
+
│ │ └── engineering/ # ARD, RFC, Tech Spec
|
|
89
|
+
│ │
|
|
90
|
+
│ ├── rules/ # Regras especificas (filtradas por perfil no init-jarvis)
|
|
91
|
+
│ │ ├── rtk-rules.md # RTK Token Killer (opt-in: RTK_ENABLED=true)
|
|
92
|
+
│ │ ├── engineering/ # eng-rules.md + eng-security-rules.md + rules com applies_to por HUB/POSITION/AREA/SQUAD
|
|
93
|
+
│ │ │ └── frontend/ # eng.frontend-rules.md (HUB: FRONTEND)
|
|
94
|
+
│ │ └── product/ # prod-rules.md (AREA=PRODUCT)
|
|
95
|
+
│ │
|
|
96
|
+
│ ├── scripts/ # Scripts utilitarios
|
|
97
|
+
│ └── docs/ # Documentacao adicional
|
|
98
|
+
│
|
|
99
|
+
├── .gitlab/ # Template de MR
|
|
100
|
+
├── docs/ # Documentacao geral
|
|
101
|
+
├── AGENTS.md # Este arquivo
|
|
102
|
+
├── .windsurfrules # Regras globais
|
|
103
|
+
└── .gitignore
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 2) Regras Obrigatorias
|
|
109
|
+
|
|
110
|
+
### Pre-requisito: ENV.md
|
|
111
|
+
|
|
112
|
+
- Validar `$IDE/ENV.md` antes de qualquer comando; excecao: `/init-jarvis`.
|
|
113
|
+
- Se nao existir ou estiver incompleto, orientar o usuario a executar `/init-jarvis`.
|
|
114
|
+
|
|
115
|
+
### Taxonomia Organizacional
|
|
116
|
+
|
|
117
|
+
O framework usa `taxonomy.md` (raiz) como fonte de verdade para opções válidas:
|
|
118
|
+
- **SQUADS** - Times de desenvolvimento
|
|
119
|
+
- **HUBS** - Áreas técnicas (AI, FRONTEND, BACKEND, QA, DATA, FULLCYCLE)
|
|
120
|
+
- **POSITIONS** - Cargos (JUNIOR, PLENO, SENIOR, TECH LEAD, etc.)
|
|
121
|
+
- **AREAS** - Áreas de negócio (ENGINEERING, PRODUCT)
|
|
122
|
+
|
|
123
|
+
**Relação com init-jarvis:**
|
|
124
|
+
1. `taxonomy.md` define as opções válidas
|
|
125
|
+
2. `/init-jarvis` LÊ `taxonomy.md` e cria `ENV.md` com essas opções
|
|
126
|
+
3. Após modificar `taxonomy.md`, executar `/init-jarvis` novamente para atualizar
|
|
127
|
+
|
|
128
|
+
**Gerenciamento via `/taxonomy`:**
|
|
129
|
+
```bash
|
|
130
|
+
/taxonomy list SQUADS # Listar opções
|
|
131
|
+
/taxonomy add SQUADS MOBILE "..." # Adicionar
|
|
132
|
+
/taxonomy update SQUADS RPA "..." # Atualizar
|
|
133
|
+
/taxonomy remove SQUADS LEGACY # Remover
|
|
134
|
+
/taxonomy validate # Validar estrutura
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Variaveis obrigatorias no ENV.md
|
|
138
|
+
|
|
139
|
+
- `WORKSPACE`, `IDE`, `SQUAD`, `HUB`, `AREA`
|
|
140
|
+
- `MAX_AI_EXECUTION_PERCENTAGE` (60-100)
|
|
141
|
+
- `POSITION`
|
|
142
|
+
- `USER` (identidade; se vazio, fallback git / SO)
|
|
143
|
+
|
|
144
|
+
`WORKSPACE` e a pasta que contem `$IDE/` (nao um repo). Vazio = nome dessa pasta.
|
|
145
|
+
`WORKSPACE_REPOS` e allowlist opcional; vazio = todas as subpastas com `.git/`.
|
|
146
|
+
O CLI sobe diretorios a partir do cwd ate achar `$IDE/ENV.md` (abre um repo filho e ainda resolve o workspace).
|
|
147
|
+
Estado local fica em `{workspace}/.jarvis/` (sessions) — nao em `~/.jarvis/`.
|
|
148
|
+
|
|
149
|
+
> **Identidade do usuario**: `USER=` no ENV.md. Se vazio, usa `git config user.email` e, por ultimo, o usuario do SO.
|
|
150
|
+
> Nao ha login OAuth. `jarvis whoami` mostra a identidade resolvida.
|
|
151
|
+
|
|
152
|
+
### Deteccao de IDE
|
|
153
|
+
|
|
154
|
+
A variavel `$IDE` representa a pasta da IDE:
|
|
155
|
+
- `.windsurf/` - Windsurf IDE
|
|
156
|
+
- `.claude/` - Claude Desktop/Code
|
|
157
|
+
- `.cursor/` - Cursor IDE
|
|
158
|
+
- `.codex/` - Codex CLI (OpenAI)
|
|
159
|
+
- `.opencode/` - OpenCode
|
|
160
|
+
- `.agents/` - Gemini CLI / Antigravity (Google)
|
|
161
|
+
- `.kiro/` - Kiro (AWS)
|
|
162
|
+
|
|
163
|
+
O CLI resolve o `ENV.md` na seguinte precedência:
|
|
164
|
+
1. `--env-file <path>` — path explícito
|
|
165
|
+
2. `--ide <ide>` — ex: `--ide windsurf` → `.windsurf/ENV.md`
|
|
166
|
+
3. `JARVIS_ENV_FILE` — variável de ambiente com path
|
|
167
|
+
4. `IDE` — variável de ambiente (ex: `IDE=windsurf`)
|
|
168
|
+
5. Auto-detect — ordem: windsurf → claude → cursor → codex → opencode → gemini → kiro (emite warning se múltiplos encontrados)
|
|
169
|
+
|
|
170
|
+
### Invocacao de Skills por IDE
|
|
171
|
+
|
|
172
|
+
| IDE | Mecanismo | Como invocar um skill |
|
|
173
|
+
|-----|-----------|-----------------------|
|
|
174
|
+
| Claude Code | Slash commands em `.claude/commands/` | `/warm-up-jarvis`, `/eng.start` |
|
|
175
|
+
| Windsurf | Rules + prompts em `.windsurf/` | `/warm-up-jarvis`, `/eng.start` |
|
|
176
|
+
| Cursor | Slash commands em `.cursor/` | `/warm-up-jarvis`, `/eng.start` |
|
|
177
|
+
| **Codex** | Skills TUI em `.codex/skills/` | Linguagem natural ou painel de skills do TUI |
|
|
178
|
+
| OpenCode | Slash commands em `.opencode/` | `/warm-up-jarvis`, `/eng.start` |
|
|
179
|
+
| Gemini CLI | Prompts em `.agents/` | `@warm-up-jarvis`, linguagem natural |
|
|
180
|
+
| **Kiro** | Steering files em `.kiro/steering/` | `#skill-{nome}` no chat (ex: `#skill-eng-backend`) |
|
|
181
|
+
|
|
182
|
+
> **Codex**: Não existe slash command (`/`) no Codex. Skills são descobertas automaticamente
|
|
183
|
+
> em `.codex/skills/` e aparecem no painel TUI. Para invocar, descreva o que quer:
|
|
184
|
+
> _"use o skill eng-backend para criar uma rota POST"_ ou selecione pelo painel.
|
|
185
|
+
|
|
186
|
+
### Idioma
|
|
187
|
+
|
|
188
|
+
- Todo arquivo `.md` gerado deve ser em pt-BR.
|
|
189
|
+
- Termos tecnicos em ingles sao aceitos.
|
|
190
|
+
|
|
191
|
+
### Seguranca
|
|
192
|
+
|
|
193
|
+
- Nao inventar stack, endpoints, ambientes, credenciais ou integracoes.
|
|
194
|
+
- Nao expor tokens/segredos; orientar uso de variaveis de ambiente.
|
|
195
|
+
- Nao sugerir acao destrutiva sem aviso e confirmacao explicita.
|
|
196
|
+
- Priorizar seguranca quando houver conflito com velocidade.
|
|
197
|
+
- Respeitar `MAX_AI_EXECUTION_PERCENTAGE` do ENV.md.
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## 3) Build, Lint e Testes
|
|
202
|
+
|
|
203
|
+
Este repositorio possui `package.json` com o CLI `jarvis` (`bin/jarvis.js`).
|
|
204
|
+
|
|
205
|
+
Comandos disponíveis:
|
|
206
|
+
```bash
|
|
207
|
+
jarvis whoami [--logout] # Exibir identidade (ENV.md / git / SO)
|
|
208
|
+
jarvis logout # Remover auth.json legado (opcional)
|
|
209
|
+
jarvis init # Bootstrap do framework no projeto
|
|
210
|
+
jarvis list # Listar agents, skills e workflows
|
|
211
|
+
jarvis install-rtk # Instalar RTK (token killer — economia 60-90% em tokens de shell)
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
Quando atuar em um projeto alvo, detectar comandos em:
|
|
215
|
+
- JS/TS: `package.json`, `pnpm-lock.yaml`, `yarn.lock`
|
|
216
|
+
- Python: `pyproject.toml`, `requirements.txt`, `tox.ini`
|
|
217
|
+
- Go: `go.mod`, `Makefile`
|
|
218
|
+
- Rust: `Cargo.toml`
|
|
219
|
+
- Outros: `Makefile`, `justfile`, `.github/workflows/*`
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## 4) Hierarquia de Documentos
|
|
224
|
+
|
|
225
|
+
### Prioridade de leitura (da mais alta para a mais baixa)
|
|
226
|
+
|
|
227
|
+
1. `.windsurfrules` / `.cursorrules` - Regras globais do framework
|
|
228
|
+
2. `$IDE/ENV.md` - Contexto do ambiente
|
|
229
|
+
3. `$IDE/JARVIS.md` - Guia principal de uso
|
|
230
|
+
4. `$IDE/rules/` - Regras especificas por dominio
|
|
231
|
+
5. `$IDE/agents/` - Definicoes de agentes
|
|
232
|
+
6. `$IDE/skills/` - Playbooks operacionais
|
|
233
|
+
7. `$IDE/workflows/` - Templates de execucao
|
|
234
|
+
8. `$IDE/templates/` - Templates de documentos
|
|
235
|
+
|
|
236
|
+
### AGENTS.md Aninhados
|
|
237
|
+
|
|
238
|
+
Cada pasta pode ter seu proprio AGENTS.md com instrucoes especificas:
|
|
239
|
+
- `$IDE/agents/AGENTS.md` - Instrucoes sobre agentes
|
|
240
|
+
- `$IDE/rules/AGENTS.md` - Instrucoes sobre regras
|
|
241
|
+
- `$IDE/skills/AGENTS.md` - Instrucoes sobre skills
|
|
242
|
+
- `$IDE/templates/AGENTS.md` - Instrucoes sobre templates
|
|
243
|
+
- `$IDE/workflows/AGENTS.md` - Instrucoes sobre workflows
|
|
244
|
+
- `$IDE/commands/AGENTS.md` - Instrucoes sobre comandos
|
|
245
|
+
|
|
246
|
+
**Regra**: O AGENTS.md mais proximo tem precedencia.
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## 5) Fluxos Principais
|
|
251
|
+
|
|
252
|
+
### Inicializacao
|
|
253
|
+
|
|
254
|
+
```bash
|
|
255
|
+
/init-jarvis # Cria ENV.md lendo taxonomy.md (unico comando sem ENV.md)
|
|
256
|
+
/warm-up # Carrega contexto do projeto
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
### Desenvolvimento de Feature
|
|
260
|
+
|
|
261
|
+
```bash
|
|
262
|
+
/eng.start "feature" # Investigacao e arquitetura (somente planejamento)
|
|
263
|
+
/eng.plan "feature" # Plano de execucao faseado (somente planejamento)
|
|
264
|
+
/eng.work "feature" # Implementacao e testes (sem commits/PR)
|
|
265
|
+
/eng.pre-pr # Validacao pre-PR
|
|
266
|
+
/eng.pr # Cria branch, commit e PR
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
### Documentacao
|
|
270
|
+
|
|
271
|
+
```bash
|
|
272
|
+
/eng.docs # Atualiza documentacao de engenharia
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## 6) Relacao Agents x Skills
|
|
278
|
+
|
|
279
|
+
- **Agents**: definem persona, postura e forma de atuacao.
|
|
280
|
+
- **Skills**: definem playbooks executaveis e padroes detalhados.
|
|
281
|
+
|
|
282
|
+
Quando um agente atua em tema com skill correspondente, o skill e a fonte de verdade operacional.
|
|
283
|
+
|
|
284
|
+
### Mapeamento
|
|
285
|
+
|
|
286
|
+
| Comando/Workflow | Skill |
|
|
287
|
+
|------------------|-------|
|
|
288
|
+
| `/warm-up` | `docs-central` (sync) |
|
|
289
|
+
| `eng.start` | `docs-central` (buscar PRD/ARD) |
|
|
290
|
+
| `eng.docs` | `eng-docs-write`, `docs-index` |
|
|
291
|
+
| `eng.pre-pr` | `eng-qa-test-plan`, `eng-docs-write`, `docs-central` (detectar docs) |
|
|
292
|
+
| `eng.pr` | `eng-pr` (MR/PR via `VERSION_CONTROL`) |
|
|
293
|
+
| Comentário no card | `eng-task-comment` |
|
|
294
|
+
| `jarvis docs sync` | `docs-central` |
|
|
295
|
+
| `jarvis docs publish` | `docs-central` |
|
|
296
|
+
| QA validation | `eng-qa-gate` |
|
|
297
|
+
| Arquitetura C4 | `eng-arch-c4` |
|
|
298
|
+
| Inicializacao | `init-jarvis` |
|
|
299
|
+
| Testes unitarios | `eng-qa-unit-test` |
|
|
300
|
+
| Testes TestSprite | `eng-qa-testsprite` |
|
|
301
|
+
| Taxonomia | `taxonomy-manager` |
|
|
302
|
+
| Mensageria / RabbitMQ | `eng-rabbitmq` |
|
|
303
|
+
| Gerar prompt para Lovable | `lovable-prompt-generator` |
|
|
304
|
+
| APIs, auth, workers, caching | `eng-backend` |
|
|
305
|
+
| Componentes, UI, frontend | `eng-frontend` |
|
|
306
|
+
| Micro frontend, Module Federation, shell/remote | `eng-microfrontend` |
|
|
307
|
+
| Design system, tokens, CVA, Storybook, versionamento | `eng-design-system` |
|
|
308
|
+
| Revisão de PR frontend (TypeScript, a11y, tokens, MFE) | `eng.frontend-review` |
|
|
309
|
+
| Auditoria de performance frontend (Core Web Vitals, bundle) | `eng.frontend-perf-audit` |
|
|
310
|
+
| Framework NestJS (módulos, DI, guards) | `eng-nestjs` |
|
|
311
|
+
| Web scraping, Puppeteer, ETL | `eng-scraper` |
|
|
312
|
+
| Converter fluxo manual (produto/dev) em robô Playwright via Stagehand | `eng-scraper-robot-builder` |
|
|
313
|
+
| Criar ou manter robô RPA (ciclo completo) | `eng.rpa.robot` |
|
|
314
|
+
| Testes E2E em linguagem natural, fluxos de usuário, regressão de UI, smoke tests pós-deploy | `eng-qa-e2e` |
|
|
315
|
+
| Gerar specs Cypress + TypeScript (Page Objects, data-testid, cy.intercept, fixtures) | `eng-qa-cypress-e2e` |
|
|
316
|
+
| Sessão de teste exploratório (charter, roteiro de risco, achados, bug cards) | `eng-qa-exploratory` |
|
|
317
|
+
| Orientar dev sobre cobertura de testes Cypress sem escrever o teste | `eng-qa-dev-guide` |
|
|
318
|
+
| Consolidar sessões exploratórias, bugs e quality gates e gerar relatório de qualidade por sprint/release | `eng-qa-quality-report` |
|
|
319
|
+
| Análise de churn SaaS: coleta Slack, classificação por squad via taxonomy, relatório narrativo para liderança | `churn-audit` |
|
|
320
|
+
| Testes de acessibilidade WCAG 2.1 AA: integra jest-axe em testes unitários existentes | `eng-qa-a11y-audit` |
|
|
321
|
+
| Testes de contrato GraphQL: valida queries frontend contra schema do BFF | `eng-qa-graphql-contract` |
|
|
322
|
+
| Spec E2E para handoff: cenários, Page Objects, fixtures, intercepts, setup de ambiente | `eng-qa-e2e-spec-writer` |
|
|
323
|
+
| Planejar capacidade QA da sprint: risco por task, alocação entre QAs e Quality Champions | `eng-qa-sprint-planning` |
|
|
324
|
+
| Sign-off QA pré-deploy: verifica cobertura, bugs abertos, produz GO/NO-GO + snippet CI para TL | `eng-qa-release-signoff` |
|
|
325
|
+
| Pipelines ETL/ELT, Glue, Airflow, PySpark, Athena, Metabase, bronze/silver/gold, contratos de dados, Great Expectations | `eng-data-engineer` |
|
|
326
|
+
| Criar pipeline novo (docs, qualidade, idempotência, gold) | `data.new-pipeline` |
|
|
327
|
+
| Criar contrato de dados para squad requisitante | `data.contract` |
|
|
328
|
+
| Dashboards BI, queries SQL analíticas, compartilhamento com squads | `eng-data-bi` |
|
|
329
|
+
| Diagnóstico de falhas em pipelines por camada (fonte→bronze→silver→gold) | `eng-data-debug` |
|
|
330
|
+
| Onboarding de fonte nova: schema discovery, bronze, Expectation Suite, doc | `eng-data-onboard` |
|
|
331
|
+
| Criar/manter DAGs, retry strategies, alertas, troubleshooting de orquestração | `eng-data-orchestrator` |
|
|
332
|
+
| Documentação central (GitLab/GitHub/Bitbucket) | `docs-central` |
|
|
333
|
+
| Bug cross-service (HTTP + AMQP) | `eng-ms-trace` |
|
|
334
|
+
| Triagem de chamados HUBS board: diagnóstico, sub-bug linking, frequência, encaminhamento para squad | `eng-tech-analyst` |
|
|
335
|
+
| Auditoria de segurança OWASP, secrets, supply chain, headers, compliance | `eng-cybersecurity` |
|
|
336
|
+
| Resposta a incidentes de segurança, CVEs, vulnerabilidades | `eng.security-incident` |
|
|
337
|
+
| Review de segurança em PRs (gate pré-merge) | `eng.security-review` |
|
|
338
|
+
| Pipeline defensivo completo: threat-model → audit → triage → patch (fluxo guiado) | `eng.security-pipeline` |
|
|
339
|
+
| Produzir threat model estruturado do projeto (bootstrap/interview) | `eng-threat-model` |
|
|
340
|
+
| Deduplicar, verificar com multi-voto e rankear achados de segurança | `eng-security-triage` |
|
|
341
|
+
| Gerar diffs candidatos para achados confirmados de segurança (fechar o loop do triage) | `eng-security-patch` |
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
345
|
+
## 7) Comandos de Processo
|
|
346
|
+
|
|
347
|
+
| Fase | Comando | Restricao |
|
|
348
|
+
|------|---------|-----------|
|
|
349
|
+
| Planejamento | `eng.start`, `eng.plan` | Somente analise, sem codigo |
|
|
350
|
+
| Implementacao | `eng.work` | Codigo e testes, sem commits |
|
|
351
|
+
| Entrega | `eng.pr` | Branch, commit e PR |
|
|
352
|
+
|
|
353
|
+
---
|
|
354
|
+
|
|
355
|
+
## 8) Agentes Disponiveis
|
|
356
|
+
|
|
357
|
+
### Engenharia (Ativos)
|
|
358
|
+
- `eng.agent.md` - Agente principal de engenharia
|
|
359
|
+
- `eng.bug-hunter.md` - Caça e análise de bugs
|
|
360
|
+
- `eng.dev-code-reviewer.md` - Revisao de codigo
|
|
361
|
+
- `eng.docs-writer.md` - Documentacao tecnica
|
|
362
|
+
- `eng.tech-analyst.agent.md` - Triagem e diagnóstico de chamados N2, escalonamento
|
|
363
|
+
- `eng.rpa.agent.md` - Automação e scraping RPA (ARACHNE) — robôs resilientes, análise de sistemas externos
|
|
364
|
+
- `eng.frontend.agent.md` - Especialista frontend: React, micro frontend, design system, a11y
|
|
365
|
+
- `eng.ux-designer.agent.md` - Especialista UX/UI: auditoria heurística, fluxos, microcopy, arquitetura de informação
|
|
366
|
+
- `eng.cybersecurity.agent.md` - Especialista em cybersecurity e AppSec (SENTINEL) — OWASP Top 10, secrets, supply chain, incident response
|
|
367
|
+
|
|
368
|
+
### Data (Ativo)
|
|
369
|
+
- `data/eng.data-engineer.agent.md` - Engenharia de dados: pipelines, contratos, qualidade (HEPHAESTUS)
|
|
370
|
+
|
|
371
|
+
### QA (Ativos)
|
|
372
|
+
- `eng.qa.test-planner.md` - Planejamento de testes
|
|
373
|
+
- `eng.qa.testing-engineer.md` - Implementacao de testes
|
|
374
|
+
- `eng.qa.test-architect.md` - Arquitetura de testes
|
|
375
|
+
- `eng.qa.quality-champion-task-agent.md` - Qualidade de tickets
|
|
376
|
+
- `eng.qa.cypress-specialist.md` - Page Objects, Custom Commands, CI, debugging de testes flaky
|
|
377
|
+
- `eng.qa.quality-strategist.md` - Priorização de esforço QA, risco de feature, distribuição QA/dev
|
|
378
|
+
|
|
379
|
+
### Produto (Ativo)
|
|
380
|
+
- `prod.pm-checker.md` - Validacao de requisitos
|
|
381
|
+
|
|
382
|
+
### Arquivados
|
|
383
|
+
Disponiveis em `$IDE/agents/archive/` organizados por categoria.
|
|
384
|
+
Uso especializado quando necessário.
|
|
385
|
+
|
|
386
|
+
**Categorias:**
|
|
387
|
+
- Product WIP (5): prod.wip.collect, prod.wip.refine, prod.wip.spec.breakdown, etc.
|
|
388
|
+
|
|
389
|
+
📖 **Ver detalhes:** `agents/archive/README.md` para lista completa e instruções de ativação.
|
|
390
|
+
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
## 9) Referencias Rapidas
|
|
394
|
+
|
|
395
|
+
- `.windsurfrules` - Regras globais
|
|
396
|
+
- `$IDE/README.md` - Documentacao completa
|
|
397
|
+
- `$IDE/JARVIS.md` - Guia de uso
|
|
398
|
+
- `$IDE/agents/README.md` - Lista de agentes
|
|
399
|
+
- `$IDE/workflows/README.md` - Lista de workflows
|
|
400
|
+
- `$IDE/skills/AGENTS.md` - Skills disponiveis
|
|
401
|
+
- `$IDE/rules/engineering/` - Regras de engenharia
|
|
402
|
+
- `$IDE/rules/product/` - Regras de produto
|
|
403
|
+
|
|
404
|
+
---
|
|
405
|
+
|
|
406
|
+
## 10) O Que Este Repo NAO Fornece
|
|
407
|
+
|
|
408
|
+
- Comandos reais de build/lint/test para um app especifico.
|
|
409
|
+
- Convencoes de codigo de um produto especifico.
|
|
410
|
+
- Logica de negocio ou implementacao de features.
|
|
411
|
+
|
|
412
|
+
Se o usuario pedir comandos especificos, solicite o projeto alvo ou arquivos de config.
|
|
413
|
+
|
|
414
|
+
---
|
|
415
|
+
|
|
416
|
+
**Última atualização**: 2026-04-26
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Felipe Ribeiro de Andrade
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# Jarvis
|
|
4
|
+
|
|
5
|
+
**Framework de desenvolvimento orientado por contexto para IDEs de IA.**
|
|
6
|
+
|
|
7
|
+
[O que e o Jarvis?](docs/visao-geral.md) • [Estrutura](docs/estrutura/README.md) • [Get Started](#get-started) • [Atualizar](#atualizar--sincronizar) • [GitHub](https://github.com/phelipperibeiro/jarvis-framework)
|
|
8
|
+
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Get Started
|
|
14
|
+
|
|
15
|
+
Por enquanto o Jarvis **não está no npm registry**. Clone o repo e instale a partir do path local.
|
|
16
|
+
|
|
17
|
+
### 1. Clone
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
git clone https://github.com/phelipperibeiro/jarvis-framework.git
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Ou baixe o ZIP e extraia. O path da pasta clonada é o que você usa no passo seguinte.
|
|
24
|
+
|
|
25
|
+
### 2. Instale
|
|
26
|
+
|
|
27
|
+
Global (comando `jarvis` no PATH):
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g /caminho/para/jarvis
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Só neste workspace** (não sobe no PATH):
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
cd workspace-squad/
|
|
37
|
+
npm install /caminho/para/jarvis --save-dev
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**`npm link`** (útil se você altera o clone e quer refletir na hora):
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
cd /caminho/para/jarvis
|
|
44
|
+
npm link
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Isso já registra o comando `jarvis` no global. Opcional, para o workspace resolver o pacote:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
cd workspace-squad/
|
|
51
|
+
npm link jarvis-framework
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Confira **onde** o binário ficou no PATH (útil se houver mais de uma instalação):
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
which jarvis
|
|
58
|
+
jarvis --version
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### 3. Bootstrap da IDE
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
jarvis init --ide cursor
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Se instalou só com `--save-dev` (sem `-g` / `npm link`), use `npx jarvis init --ide cursor`.
|
|
68
|
+
|
|
69
|
+
IDEs: `windsurf` · `claude` · `cursor` · `codex` · `opencode` · `gemini` · `kiro`
|
|
70
|
+
|
|
71
|
+
### 4. No chat da IDE
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
/init-jarvis
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Siga o guia do seu papel. Sem `/init-jarvis`, o `ENV.md` não existe e o resto dos comandos não tem contexto.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Atualizar / sincronizar
|
|
82
|
+
|
|
83
|
+
Quando o repo no GitHub ganhar commits novos (skills, agents, workflows…), sincronize assim:
|
|
84
|
+
|
|
85
|
+
### 1. Atualizar o clone
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
cd /caminho/para/jarvis
|
|
89
|
+
git pull
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### 2. Atualizar o pacote instalado
|
|
93
|
+
|
|
94
|
+
**Global:**
|
|
95
|
+
```bash
|
|
96
|
+
npm install -g /caminho/para/jarvis
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Só no workspace (`--save-dev`):**
|
|
100
|
+
```bash
|
|
101
|
+
cd workspace-squad/
|
|
102
|
+
npm install /caminho/para/jarvis --save-dev
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Com `npm link`:** o `git pull` no clone já basta — o link aponta para a pasta.
|
|
106
|
+
|
|
107
|
+
Antes de seguir, confira se o `jarvis` do PATH é o que você acabou de atualizar:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
which jarvis
|
|
111
|
+
jarvis --version
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### 3. Espelhar assets na pasta da IDE
|
|
115
|
+
|
|
116
|
+
No **workspace** (onde roda o projeto / squad):
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
cd workspace-squad/
|
|
120
|
+
jarvis init --ide cursor
|
|
121
|
+
# confirme com "s" se a pasta .cursor/ (ou equivalente) já existir
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Isso copia de novo `agents/`, `skills/`, `workflows/`, `rules/`, `templates/` para `.$IDE/` e atualiza o `jarvis-lock.json`.
|
|
125
|
+
|
|
126
|
+
Se o workspace usa `--save-dev` e já tem `jarvis-lock.json`, o `npm install` do passo 2 também dispara o **postinstall** e sincroniza sozinho para a IDE do lock.
|
|
127
|
+
|
|
128
|
+
### 4. ENV.md (só se houver variáveis novas)
|
|
129
|
+
|
|
130
|
+
No chat da IDE:
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
/init-jarvis
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Escolha **Upgrade (C)** — adiciona chaves novas do template sem apagar os valores atuais.
|
|
137
|
+
|
|
138
|
+
### O que cada passo atualiza
|
|
139
|
+
|
|
140
|
+
| Passo | O que muda |
|
|
141
|
+
|-------|------------|
|
|
142
|
+
| `git pull` | Código do framework no clone |
|
|
143
|
+
| `npm install -g` / `--save-dev` | Binário `jarvis` + pacote que o `init` lê |
|
|
144
|
+
| `jarvis init` (ou postinstall com lock) | Arquivos em `.$IDE/` (skills, agents, workflows…) |
|
|
145
|
+
| `/init-jarvis` Upgrade | Só `$IDE/ENV.md` (variáveis faltantes) |
|
|
146
|
+
|
|
147
|
+
`ENV.md`, `.jarvis/sessions/` e o `.gitignore` do workspace **não** são sobrescritos pelo sync de assets.
|
|
148
|
+
|
|
149
|
+
| Papel | Descricao | Link |
|
|
150
|
+
|-------|-----------|------|
|
|
151
|
+
| **Produto** | Especificacoes, PRDs e gestao de requisitos | `workflows/product/` |
|
|
152
|
+
| **TechLead** | Arquitetura, tech specs e revisao tecnica | `workflows/engineering/` |
|
|
153
|
+
| **Developer** | Implementacao, testes e entrega de codigo | `workflows/engineering/` |
|
|
154
|
+
| **QA** | Testes E2E, exploratórios, quality gates e relatórios de qualidade | `workflows/engineering/qa/` |
|
|
155
|
+
|
|
156
|
+
| Recurso | Descricao | Link |
|
|
157
|
+
|---------|-----------|------|
|
|
158
|
+
| **Skills** | Playbooks executaveis (`eng-backend`, `eng-frontend`, `eng-pr`, …) | `skills/` |
|
|
159
|
+
| **Identidade** | `USER=` no ENV.md (fallback: git / SO). `jarvis whoami` | — |
|
|
160
|
+
| **Documentacao** | Geracao e organizacao de docs tecnica e de negocio | `templates/` |
|
|
161
|
+
| **Troubleshooting** | Configuracao e uso | `/init-jarvis` |
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## Camadas
|
|
166
|
+
|
|
167
|
+
O Jarvis e organizado em 5 camadas.
|
|
168
|
+
|
|
169
|
+
| Camada | O que faz |
|
|
170
|
+
|--------|-----------|
|
|
171
|
+
| **Agents** | Agentes especializados de IA para engenharia, QA e produto |
|
|
172
|
+
| **Skills** | Playbooks executaveis com logica autonoma |
|
|
173
|
+
| **Templates** | Modelos de documentos (ARD, RFC, Tech Spec, PRD, Epic) |
|
|
174
|
+
| **Rules** | Regras de dominio filtradas por perfil (HUB, POSITION, AREA, SQUAD) no `/init-jarvis` |
|
|
175
|
+
| **Workflows** | Fluxos de execucao dos comandos slash |
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Suporte
|
|
180
|
+
|
|
181
|
+
Precisa de ajuda?
|
|
182
|
+
|
|
183
|
+
- **Documentacao completa (proposta e conceitos)** — [`docs/visao-geral.md`](docs/visao-geral.md)
|
|
184
|
+
- **Estrutura do repo (cada pasta/arquivo)** — [`docs/estrutura/`](docs/estrutura/README.md)
|
|
185
|
+
- **Produto / PM / PO (comandos e exemplos)** — [`docs/produto/`](docs/produto/README.md)
|
|
186
|
+
- **Indice de docs/** — [`docs/README.md`](docs/README.md)
|
|
187
|
+
- **Instrucoes para agentes / mapa de skills** — `AGENTS.md`
|
|
188
|
+
- **Issues/Feedback** — skill `report-issue`
|
|
189
|
+
- **Duvidas sobre comandos** — Pergunte diretamente ao agent:
|
|
190
|
+
`"Como funciona /eng.start?"` | `"Qual a diferenca entre /eng.work e /pr?"` | `"O que e CDD?"`
|