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.
Files changed (240) hide show
  1. package/AGENTS.md +416 -0
  2. package/LICENSE +21 -0
  3. package/README.md +190 -0
  4. package/agents/AGENTS.md +234 -0
  5. package/agents/README.md +309 -0
  6. package/agents/engineering/data/eng.data-engineer.agent.md +309 -0
  7. package/agents/engineering/eng.agent.md +303 -0
  8. package/agents/engineering/eng.bug-hunter.md +386 -0
  9. package/agents/engineering/eng.cybersecurity.agent.md +503 -0
  10. package/agents/engineering/eng.dev-code-reviewer.md +148 -0
  11. package/agents/engineering/eng.docs-writer.md +152 -0
  12. package/agents/engineering/eng.frontend.agent.md +117 -0
  13. package/agents/engineering/eng.rpa.agent.md +215 -0
  14. package/agents/engineering/eng.tech-analyst.agent.md +102 -0
  15. package/agents/engineering/eng.ux-designer.agent.md +193 -0
  16. package/agents/engineering/qa/eng.qa.cypress-specialist.md +109 -0
  17. package/agents/engineering/qa/eng.qa.quality-champion-task-agent.md +85 -0
  18. package/agents/engineering/qa/eng.qa.quality-strategist.md +111 -0
  19. package/agents/engineering/qa/eng.qa.test-architect.md +400 -0
  20. package/agents/engineering/qa/eng.qa.test-planner.md +477 -0
  21. package/agents/engineering/qa/eng.qa.testing-engineer.md +339 -0
  22. package/agents/product/prod.pm-checker.md +52 -0
  23. package/bin/commands/docs-publish.js +184 -0
  24. package/bin/commands/docs-sync.js +139 -0
  25. package/bin/commands/info.js +87 -0
  26. package/bin/commands/init.js +237 -0
  27. package/bin/commands/install-rtk.js +90 -0
  28. package/bin/commands/list.js +48 -0
  29. package/bin/commands/qa-signoff.js +112 -0
  30. package/bin/commands/whoami.js +43 -0
  31. package/bin/jarvis.js +159 -0
  32. package/bin/lib/auth/session.js +56 -0
  33. package/bin/lib/config/constants.js +123 -0
  34. package/bin/lib/config/ide-config.js +233 -0
  35. package/bin/lib/core/scanner.js +124 -0
  36. package/bin/lib/core/sync-engine.js +551 -0
  37. package/bin/lib/docs/fetch-file.sh +41 -0
  38. package/bin/lib/docs/publish-file.sh +284 -0
  39. package/bin/lib/docs/validate-frontmatter.js +157 -0
  40. package/bin/lib/env-loader.js +198 -0
  41. package/bin/lib/tasks/comment.js +131 -0
  42. package/bin/lib/utils/git-parser.js +145 -0
  43. package/bin/lib/utils/logger.js +104 -0
  44. package/bin/lib/utils/npmrc-parser.js +106 -0
  45. package/bin/lib/utils/paths.js +55 -0
  46. package/bin/lib/utils/ui.js +59 -0
  47. package/bin/lib/vcs/api.js +312 -0
  48. package/bin/lib/vcs/create-issue.js +43 -0
  49. package/bin/lib/vcs/create-merge.js +43 -0
  50. package/bin/lib/vcs/fetch-raw.js +30 -0
  51. package/bin/postinstall.js +41 -0
  52. package/members.md +25 -0
  53. package/package.json +55 -0
  54. package/rules/AGENTS.md +205 -0
  55. package/rules/engineering/data/data-rules.md +200 -0
  56. package/rules/engineering/eng-rules.md +243 -0
  57. package/rules/engineering/eng-security-rules.md +186 -0
  58. package/rules/engineering/eng.breakdown-subtasks-rules.md +585 -0
  59. package/rules/engineering/eng.bump-rules.md +27 -0
  60. package/rules/engineering/eng.docs-scraping-rules.md +64 -0
  61. package/rules/engineering/eng.downstream-flow-rules.md +297 -0
  62. package/rules/engineering/eng.integrations-rules.md +73 -0
  63. package/rules/engineering/eng.plan-rules.md +333 -0
  64. package/rules/engineering/eng.pr-rules.md +359 -0
  65. package/rules/engineering/eng.pre-pr-rules.md +103 -0
  66. package/rules/engineering/eng.start-rules.md +246 -0
  67. package/rules/engineering/eng.tech-spec-rules.md +968 -0
  68. package/rules/engineering/eng.work-rules.md +312 -0
  69. package/rules/engineering/frontend/eng.frontend-rules.md +147 -0
  70. package/rules/engineering/qa/eng.qa.cypress-standards-rules.md +259 -0
  71. package/rules/engineering/qa/eng.qa.exploratory-session-rules.md +137 -0
  72. package/rules/engineering/qa/eng.qa.quality-gate-scoring-rules.md +181 -0
  73. package/rules/engineering/qa/eng.qa.tech-spec-validation-criteria-rules.md +120 -0
  74. package/rules/engineering/rpa/eng.rpa-rules.md +230 -0
  75. package/rules/product/README.md +24 -0
  76. package/rules/product/prod-rules.md +151 -0
  77. package/rules/rtk-rules.md +68 -0
  78. package/skills/AGENTS.md +290 -0
  79. package/skills/SKILLS-ROADMAP.md +333 -0
  80. package/skills/churn-audit/SKILL.md +385 -0
  81. package/skills/context-detect/SKILL.md +399 -0
  82. package/skills/context-detect/assets/context-profile-template.md +127 -0
  83. package/skills/docs-central/README.md +310 -0
  84. package/skills/docs-central/SKILL.md +423 -0
  85. package/skills/docs-index/SKILL.md +377 -0
  86. package/skills/eng-ai-engineer/SKILL.md +296 -0
  87. package/skills/eng-arch-c4/SKILL.md +358 -0
  88. package/skills/eng-arch-c4/assets/example-code.md +189 -0
  89. package/skills/eng-arch-c4/assets/example-component.md +105 -0
  90. package/skills/eng-arch-c4/assets/example-container.md +104 -0
  91. package/skills/eng-arch-c4/assets/example-context.md +81 -0
  92. package/skills/eng-backend/SKILL.md +776 -0
  93. package/skills/eng-browser-extension-builder/SKILL.md +385 -0
  94. package/skills/eng-cybersecurity/SKILL.md +645 -0
  95. package/skills/eng-data-bi/SKILL.md +199 -0
  96. package/skills/eng-data-debug/SKILL.md +307 -0
  97. package/skills/eng-data-engineer/SKILL.md +256 -0
  98. package/skills/eng-data-onboard/SKILL.md +310 -0
  99. package/skills/eng-data-orchestrator/SKILL.md +426 -0
  100. package/skills/eng-design-system/SKILL.md +619 -0
  101. package/skills/eng-docs-write/SKILL.md +312 -0
  102. package/skills/eng-frontend/SKILL.md +913 -0
  103. package/skills/eng-jira-comment/SKILL.md +17 -0
  104. package/skills/eng-microfrontend/SKILL.md +602 -0
  105. package/skills/eng-ms-trace/SKILL.md +469 -0
  106. package/skills/eng-nestjs/SKILL.md +791 -0
  107. package/skills/eng-performance-engineer/SKILL.md +312 -0
  108. package/skills/eng-pr/SKILL.md +339 -0
  109. package/skills/eng-qa-a11y-audit/SKILL.md +269 -0
  110. package/skills/eng-qa-bug-report/SKILL.md +1088 -0
  111. package/skills/eng-qa-bug-report/TASK_MANAGERS.md +138 -0
  112. package/skills/eng-qa-cypress-e2e/SKILL.md +177 -0
  113. package/skills/eng-qa-dev-guide/SKILL.md +164 -0
  114. package/skills/eng-qa-e2e/SKILL.md +400 -0
  115. package/skills/eng-qa-e2e-spec-writer/SKILL.md +322 -0
  116. package/skills/eng-qa-exploratory/SKILL.md +188 -0
  117. package/skills/eng-qa-gate/SKILL.md +370 -0
  118. package/skills/eng-qa-gate/assets/checklist-validacao.md +291 -0
  119. package/skills/eng-qa-graphql-contract/SKILL.md +256 -0
  120. package/skills/eng-qa-quality-report/SKILL.md +412 -0
  121. package/skills/eng-qa-test-plan/SKILL.md +466 -0
  122. package/skills/eng-qa-test-plan/assets/test-coverage-template.md +92 -0
  123. package/skills/eng-qa-test-plan/assets/test-patterns.md +178 -0
  124. package/skills/eng-qa-testsprite/SKILL.md +325 -0
  125. package/skills/eng-qa-testsprite/references/testsprite-mcp.md +224 -0
  126. package/skills/eng-qa-unit-test/SKILL.md +471 -0
  127. package/skills/eng-rabbitmq/SKILL.md +661 -0
  128. package/skills/eng-scraper/SKILL.md +683 -0
  129. package/skills/eng-scraper-robot-builder/SKILL.md +370 -0
  130. package/skills/eng-security-patch/SKILL.md +378 -0
  131. package/skills/eng-security-triage/SKILL.md +266 -0
  132. package/skills/eng-task-comment/SKILL.md +60 -0
  133. package/skills/eng-tech-analyst/SKILL.md +529 -0
  134. package/skills/eng-threat-model/SKILL.md +161 -0
  135. package/skills/init-jarvis/SKILL.md +1304 -0
  136. package/skills/init-jarvis/assets/mcp-configs.md +389 -0
  137. package/skills/init-jarvis/assets/onboarding-checklist.md +104 -0
  138. package/skills/init-jarvis/assets/setup-guide.md +360 -0
  139. package/skills/lovable-prompt-generator/SKILL.md +304 -0
  140. package/skills/prod-roadmap-report/README.md +303 -0
  141. package/skills/prod-roadmap-report/SKILL.md +198 -0
  142. package/skills/prod-roadmap-report/commands/status.compiled.single.team.md +23 -0
  143. package/skills/prod-roadmap-report/commands/status.list.projects.md +17 -0
  144. package/skills/prod-roadmap-report/commands/status.memory.md +192 -0
  145. package/skills/prod-roadmap-report/commands/status.roadmap.preview.md +94 -0
  146. package/skills/prod-roadmap-report/references/detailed-guide.md +236 -0
  147. package/skills/prod-roadmap-report/rules/detailed-guide.md +237 -0
  148. package/skills/prod-roadmap-report/rules/status-report-rules.md +44 -0
  149. package/skills/prod-roadmap-report/templates/template-multiple-teams-compiled-status.md +53 -0
  150. package/skills/prod-roadmap-report/templates/template-projects-list.md +23 -0
  151. package/skills/prod-roadmap-report/templates/template-single-team-compiled-status.md +60 -0
  152. package/skills/prod-roadmap-report/templates/template-single-team-status.md +49 -0
  153. package/skills/prod-specs/SKILL.md +108 -0
  154. package/skills/prod-specs/references/prod.spec.clarify.md +176 -0
  155. package/skills/prod-specs/references/prod.spec.epic.md +107 -0
  156. package/skills/prod-specs/references/prod.spec.frd.md +135 -0
  157. package/skills/prod-specs/references/prod.spec.issue.md +145 -0
  158. package/skills/prod-specs/references/prod.spec.prd.md +118 -0
  159. package/skills/prod-specs/rules/prod-spec-rules.md +186 -0
  160. package/skills/prod-specs/templates/prod-breakdown-template.md +136 -0
  161. package/skills/prod-specs/templates/prod-epic-template.md +76 -0
  162. package/skills/prod-specs/templates/prod-frd-template.md +172 -0
  163. package/skills/prod-specs/templates/prod-issue-template.md +68 -0
  164. package/skills/prod-specs/templates/prod-prd-full-template.md +159 -0
  165. package/skills/prod-specs/templates/prod-prd-template.md +173 -0
  166. package/skills/prod-specs-update/SKILL.md +272 -0
  167. package/skills/report-issue/SKILL.md +156 -0
  168. package/taxonomy.md +270 -0
  169. package/templates/AGENTS.md +189 -0
  170. package/templates/CDD aplicado a Prompts.md +182 -0
  171. package/templates/ENV-template.md +187 -0
  172. package/templates/engineering/AGENTS-template.md +71 -0
  173. package/templates/engineering/ARD-template.md +193 -0
  174. package/templates/engineering/CONTACTS-template.md +135 -0
  175. package/templates/engineering/PR-template.md +40 -0
  176. package/templates/engineering/RFC-Playbook.md +325 -0
  177. package/templates/engineering/RFC-template.md +199 -0
  178. package/templates/engineering/architecture-template.md +277 -0
  179. package/templates/engineering/breakdown-subtasks-template.md +582 -0
  180. package/templates/engineering/c4-model-template.md +516 -0
  181. package/templates/engineering/data-contract-template.md +135 -0
  182. package/templates/engineering/data-pipeline-template.md +163 -0
  183. package/templates/engineering/plan-template.md +255 -0
  184. package/templates/engineering/qa/eng.qa.quality-gate-examples-template.md +311 -0
  185. package/templates/engineering/qa/eng.qa.quality-gate-report-template.md +249 -0
  186. package/templates/engineering/qa/qa.cypress-test-template.md +172 -0
  187. package/templates/engineering/qa/qa.exploratory-session-template.md +148 -0
  188. package/templates/engineering/qa/qa.quality-report-template.md +130 -0
  189. package/templates/engineering/qa/qa.release-signoff-template.md +54 -0
  190. package/templates/engineering/qa/qa.sprint-plan-template.md +49 -0
  191. package/templates/engineering/swagger-template.md +145 -0
  192. package/templates/engineering/tech-spec-template.md +497 -0
  193. package/templates/engineering/work-progress-template.md +155 -0
  194. package/workflows/AGENTS.md +240 -0
  195. package/workflows/README.md +160 -0
  196. package/workflows/all-tools.md +11 -0
  197. package/workflows/engineering/data/data.contract.md +202 -0
  198. package/workflows/engineering/data/data.new-pipeline.md +234 -0
  199. package/workflows/engineering/eng.breakdown-subtasks.md +420 -0
  200. package/workflows/engineering/eng.bug-audit.md +591 -0
  201. package/workflows/engineering/eng.build-tech-spec.md +1116 -0
  202. package/workflows/engineering/eng.create-ard-from-code.md +259 -0
  203. package/workflows/engineering/eng.create-ard.md +382 -0
  204. package/workflows/engineering/eng.create-rfc.md +245 -0
  205. package/workflows/engineering/eng.debug.md +479 -0
  206. package/workflows/engineering/eng.docs.md +40 -0
  207. package/workflows/engineering/eng.light-arch.md +84 -0
  208. package/workflows/engineering/eng.plan.md +213 -0
  209. package/workflows/engineering/eng.pr.md +466 -0
  210. package/workflows/engineering/eng.pre-pr.md +167 -0
  211. package/workflows/engineering/eng.review.md +185 -0
  212. package/workflows/engineering/eng.rpa.robot.md +342 -0
  213. package/workflows/engineering/eng.security-audit.md +312 -0
  214. package/workflows/engineering/eng.security-incident.md +275 -0
  215. package/workflows/engineering/eng.security-pipeline.md +210 -0
  216. package/workflows/engineering/eng.security-review.md +235 -0
  217. package/workflows/engineering/eng.start.md +494 -0
  218. package/workflows/engineering/eng.work.md +558 -0
  219. package/workflows/engineering/frontend/eng.frontend-component.md +190 -0
  220. package/workflows/engineering/frontend/eng.frontend-perf-audit.md +375 -0
  221. package/workflows/engineering/frontend/eng.frontend-review.md +185 -0
  222. package/workflows/engineering/qa/eng.qa-dev-quality-guide.md +51 -0
  223. package/workflows/engineering/qa/eng.qa-e2e-test-generation.md +51 -0
  224. package/workflows/engineering/qa/eng.qa-exploratory-session.md +60 -0
  225. package/workflows/engineering/qa/eng.qa-quality-gate-validation.md +202 -0
  226. package/workflows/engineering/qa/eng.qa-quality-report.md +83 -0
  227. package/workflows/engineering/qa/eng.qa-refinement-entry.md +83 -0
  228. package/workflows/engineering/qa/eng.qa-release-signoff.md +170 -0
  229. package/workflows/engineering/qa/eng.qa-sprint-planning.md +100 -0
  230. package/workflows/engineering/ta/eng.ta.atendimento.md +93 -0
  231. package/workflows/product/prod.roadmap.preview.md +110 -0
  232. package/workflows/product/prod.spec.breakdown.md +163 -0
  233. package/workflows/product/prod.spec.clarify.md +178 -0
  234. package/workflows/product/prod.spec.epic.md +154 -0
  235. package/workflows/product/prod.spec.frd.md +96 -0
  236. package/workflows/product/prod.spec.issue.md +145 -0
  237. package/workflows/product/prod.spec.md +60 -0
  238. package/workflows/product/prod.spec.prd.md +100 -0
  239. package/workflows/taxonomy.md +92 -0
  240. package/workflows/warm-up.md +574 -0
@@ -0,0 +1,389 @@
1
+ # Configuração de MCPs por IDE
2
+
3
+ Este documento contém as configurações de MCPs (Model Context Protocol) necessárias para o framework JARVIS.
4
+
5
+ ---
6
+
7
+ ## MCPs
8
+
9
+ | MCP | Propósito | Bloqueante |
10
+ |-----|-----------|------------|
11
+ | **Context7** | Documentação atualizada de bibliotecas | **Sim** |
12
+ | **Jira / Linear / GitHub / Asana** | Task manager — só se `TASK_MANAGER` estiver no ENV.md | **Não** |
13
+ | **TestSprite** | Geração automática de testes | **Não** |
14
+ | **Sentry** | Observabilidade | **Não** |
15
+ | **Redis** | Removido do init (event bus saiu do fork) | — |
16
+
17
+ ---
18
+
19
+ ## Caminhos de Configuração
20
+
21
+ | IDE | Arquivo de Configuração |
22
+ |-----|-------------------------|
23
+ | **Windsurf** | `~/.codeium/windsurf/mcp_config.json` |
24
+ | **Cursor** | `~/.cursor/mcp.json` |
25
+ | **Claude** | `~/.claude/settings.json` |
26
+ | **VS Code** | Depende da extensão |
27
+
28
+ ---
29
+
30
+ ## Configuração Completa (Todos os MCPs)
31
+
32
+ ### Windsurf
33
+
34
+ Arquivo: `~/.codeium/windsurf/mcp_config.json`
35
+
36
+ ```json
37
+ {
38
+ "mcpServers": {
39
+ "context7": {
40
+ "command": "npx",
41
+ "args": ["-y", "@upstash/context7-mcp"]
42
+ },
43
+ "jira": {
44
+ "command": "npx",
45
+ "args": ["-y", "@anthropic/mcp-server-jira"],
46
+ "env": {
47
+ "JIRA_URL": "https://sua-org.atlassian.net",
48
+ "JIRA_EMAIL": "seu-email@sua-empresa.com",
49
+ "JIRA_API_TOKEN": "seu-token-aqui"
50
+ }
51
+ },
52
+ "redis": {
53
+ "command": "uvx",
54
+ "args": [
55
+ "--from", "redis-mcp-server@latest",
56
+ "redis-mcp-server",
57
+ "--url", "redis://default:SENHA@host:porta/0"
58
+ ]
59
+ },
60
+ "sentry": {
61
+ "command": "npx",
62
+ "args": ["-y", "@sentry/mcp-server@latest"],
63
+ "env": {
64
+ "SENTRY_AUTH_TOKEN": "seu-token-aqui"
65
+ }
66
+ },
67
+ "testsprite": {
68
+ "command": "npx",
69
+ "args": ["-y", "@testsprite/mcp-server"]
70
+ }
71
+ }
72
+ }
73
+ ```
74
+
75
+ ### Cursor
76
+
77
+ Arquivo: `~/.cursor/mcp.json`
78
+
79
+ ```json
80
+ {
81
+ "mcpServers": {
82
+ "context7": {
83
+ "command": "npx",
84
+ "args": ["-y", "@upstash/context7-mcp"]
85
+ },
86
+ "jira": {
87
+ "command": "npx",
88
+ "args": ["-y", "@anthropic/mcp-server-jira"],
89
+ "env": {
90
+ "JIRA_URL": "https://sua-org.atlassian.net",
91
+ "JIRA_EMAIL": "seu-email@sua-empresa.com",
92
+ "JIRA_API_TOKEN": "seu-token-aqui"
93
+ }
94
+ },
95
+ "redis": {
96
+ "command": "uvx",
97
+ "args": [
98
+ "--from", "redis-mcp-server@latest",
99
+ "redis-mcp-server",
100
+ "--url", "redis://default:SENHA@host:porta/0"
101
+ ]
102
+ },
103
+ "sentry": {
104
+ "command": "npx",
105
+ "args": ["-y", "@sentry/mcp-server@latest"],
106
+ "env": {
107
+ "SENTRY_AUTH_TOKEN": "seu-token-aqui"
108
+ }
109
+ },
110
+ "testsprite": {
111
+ "command": "npx",
112
+ "args": ["-y", "@testsprite/mcp-server"]
113
+ }
114
+ }
115
+ }
116
+ ```
117
+
118
+ ### Claude
119
+
120
+ Arquivo: `~/.claude/settings.json`
121
+
122
+ ```json
123
+ {
124
+ "mcpServers": {
125
+ "context7": {
126
+ "command": "npx",
127
+ "args": ["-y", "@upstash/context7-mcp"]
128
+ },
129
+ "jira": {
130
+ "command": "npx",
131
+ "args": ["-y", "@anthropic/mcp-server-jira"],
132
+ "env": {
133
+ "JIRA_URL": "https://sua-org.atlassian.net",
134
+ "JIRA_EMAIL": "seu-email@sua-empresa.com",
135
+ "JIRA_API_TOKEN": "seu-token-aqui"
136
+ }
137
+ },
138
+ "redis": {
139
+ "command": "uvx",
140
+ "args": [
141
+ "--from", "redis-mcp-server@latest",
142
+ "redis-mcp-server",
143
+ "--url", "redis://default:SENHA@host:porta/0"
144
+ ]
145
+ },
146
+ "sentry": {
147
+ "command": "npx",
148
+ "args": ["-y", "@sentry/mcp-server@latest"],
149
+ "env": {
150
+ "SENTRY_AUTH_TOKEN": "seu-token-aqui"
151
+ }
152
+ },
153
+ "testsprite": {
154
+ "command": "npx",
155
+ "args": ["-y", "@testsprite/mcp-server"]
156
+ }
157
+ }
158
+ }
159
+ ```
160
+
161
+ ---
162
+
163
+ ## MCPs Opcionais — Code Quality
164
+
165
+ Provisionados automaticamente pelo `/init-jarvis` quando `CODE_QUALITY_TOOL` está preenchido no ENV.md.
166
+
167
+ | CODE_QUALITY_TOOL | Pacote npm | Comando |
168
+ |-------------------|-----------|---------|
169
+ | `sonarqube` | `sonarqube-mcp-server` | path absoluto via `which` |
170
+ | `codeclimate` | — | (não suportado via MCP ainda) |
171
+
172
+ > MCPs de code quality são **locais (stdio)** — requerem binário instalado globalmente,
173
+ > diferente dos MCPs cloud que usam `npx`. O init-jarvis instala automaticamente sob confirmação.
174
+
175
+ ### Configuração por IDE — SonarQube
176
+
177
+ **Instalação:**
178
+ ```bash
179
+ npm install -g sonarqube-mcp-server
180
+ # Verificar path absoluto:
181
+ which sonarqube-mcp-server
182
+ ```
183
+
184
+ **Windsurf** (`~/.codeium/windsurf/mcp_config.json`):
185
+ ```json
186
+ {
187
+ "mcpServers": {
188
+ "sonarqube": {
189
+ "command": "/path/absoluto/sonarqube-mcp-server",
190
+ "args": [],
191
+ "env": {
192
+ "SONARQUBE_TOKEN": "$CODE_QUALITY_TOKEN",
193
+ "SONARQUBE_URL": "$CODE_QUALITY_URL"
194
+ }
195
+ }
196
+ }
197
+ }
198
+ ```
199
+
200
+ **Cursor** (`~/.cursor/mcp.json`):
201
+ ```json
202
+ {
203
+ "mcpServers": {
204
+ "sonarqube": {
205
+ "command": "/path/absoluto/sonarqube-mcp-server",
206
+ "args": [],
207
+ "env": {
208
+ "SONARQUBE_TOKEN": "$CODE_QUALITY_TOKEN",
209
+ "SONARQUBE_URL": "$CODE_QUALITY_URL"
210
+ }
211
+ }
212
+ }
213
+ }
214
+ ```
215
+
216
+ **Claude** (`~/.claude/settings.json`):
217
+ ```json
218
+ {
219
+ "mcpServers": {
220
+ "sonarqube": {
221
+ "command": "/path/absoluto/sonarqube-mcp-server",
222
+ "args": [],
223
+ "env": {
224
+ "SONARQUBE_TOKEN": "$CODE_QUALITY_TOKEN",
225
+ "SONARQUBE_URL": "$CODE_QUALITY_URL"
226
+ }
227
+ }
228
+ }
229
+ }
230
+ ```
231
+
232
+ > **IMPORTANTE**: Substituir `/path/absoluto/sonarqube-mcp-server` pelo output de `which sonarqube-mcp-server`.
233
+ > Usar `npx` não funciona para este pacote — requer instalação global + path absoluto.
234
+
235
+ ### Verificação — SonarQube
236
+
237
+ ```javascript
238
+ // Testar se SonarQube MCP está funcionando
239
+ mcp__sonarqube__list_projects({})
240
+ ```
241
+
242
+ ### Troubleshooting — SonarQube
243
+
244
+ | Problema | Solução |
245
+ |----------|---------|
246
+ | `command not found` | Instalar globalmente: `npm install -g sonarqube-mcp-server` |
247
+ | `npx` não encontra o binário | Não usar `npx` — instalar globalmente e usar path absoluto |
248
+ | Token inválido | Gerar novo token em `$CODE_QUALITY_URL` > My Account > Security > Generate Tokens |
249
+ | Docker não funciona | Usar instalação via npm (mais simples e confiável) |
250
+ | MCP não responde após config | Reiniciar a IDE — MCPs são carregados no boot |
251
+
252
+ ---
253
+
254
+ ## Verificação de MCPs
255
+
256
+ ### Context7 (OBRIGATÓRIO)
257
+
258
+ ```javascript
259
+ // Testar se Context7 está funcionando — sem ele o init para
260
+ mcp__context7__resolve-library-id({
261
+ libraryName: "react"
262
+ })
263
+ ```
264
+
265
+ ### Jira (opcional — só se `TASK_MANAGER=jira`)
266
+
267
+ ```javascript
268
+ // Uma tentativa. Falhou? Avisar e seguir — não bloqueia o init.
269
+ mcp__claude_ai_Atlassian__getJiraIssue({
270
+ issueKey: "PROJ-1" // Usar qualquer issue existente para teste
271
+ })
272
+ ```
273
+
274
+ ### Redis
275
+
276
+ Não é mais requisito do Jarvis (event bus removido). Se o projeto alvo usar Redis, configure fora do init.
277
+
278
+ ### Sentry (opcional)
279
+
280
+ ```javascript
281
+ // Testar se Sentry MCP está funcionando
282
+ mcp__claude_ai_Sentry__whoami({})
283
+ ```
284
+
285
+ ### TestSprite
286
+
287
+ ```javascript
288
+ // Testar se TestSprite está funcionando
289
+ mcp__TestSprite__testsprite_check_account_info({})
290
+ ```
291
+
292
+ ---
293
+
294
+ ## Configuração dos Tokens
295
+
296
+ ### Token Jira
297
+
298
+ 1. Acesse: https://id.atlassian.com/manage-profile/security/api-tokens
299
+ 2. Clique em "Create API token"
300
+ 3. Dê um nome descritivo (ex: "MCP Windsurf")
301
+ 4. Copie o token gerado
302
+ 5. Cole no campo `JIRA_API_TOKEN` da configuração
303
+
304
+ ### Token Sentry
305
+
306
+ 1. Acesse: https://sentry.io/settings/account/api/auth-tokens/
307
+ 2. Clique em "Create New Token"
308
+ 3. Selecione os escopos: `org:read`, `project:read`, `event:read`, `issue:read`
309
+ 4. Copie o token gerado
310
+ 5. Cole no campo `SENTRY_AUTH_TOKEN` da configuração
311
+
312
+ **⚠️ IMPORTANTE**:
313
+ - **NUNCA** commitar tokens ou senhas no repositório
314
+ - Os tokens são pessoais e intransferíveis
315
+ - Regenere se suspeitar de vazamento
316
+
317
+ ---
318
+
319
+ ## Troubleshooting
320
+
321
+ ### MCP não responde
322
+
323
+ 1. Verificar se IDE foi reiniciada após configurar MCPs
324
+ 2. Verificar se npx/uvx está funcionando: `npx --version` / `uvx --version`
325
+ 3. Verificar conexão com internet
326
+ 4. Verificar se o JSON está válido (sem vírgulas extras)
327
+
328
+ ### Jira retorna erro de autenticação
329
+
330
+ 1. Verificar se o email está correto
331
+ 2. Verificar se o token não expirou
332
+ 3. Verificar se a URL do Jira está correta
333
+ 4. Testar o token via curl:
334
+
335
+ ```bash
336
+ curl -u "seu-email@sua-empresa.com:seu-token" \
337
+ "https://sua-org.atlassian.net/rest/api/3/myself"
338
+ ```
339
+
340
+ ### Redis não conecta
341
+
342
+ 1. Verificar se a URL está no formato correto
343
+ 2. Verificar se a senha não tem caracteres especiais sem encode
344
+ 3. Verificar se o IP está na allowlist do Redis Cloud
345
+ 4. Testar conexão direta: `redis-cli -u "redis://..." ping`
346
+
347
+ ### Sentry retorna erro de permissão
348
+
349
+ 1. Verificar se o token tem os escopos corretos
350
+ 2. Verificar se o token não expirou
351
+ 3. Regenerar token em https://sentry.io/settings/account/api/auth-tokens/
352
+
353
+ ### Context7 não encontra biblioteca
354
+
355
+ 1. Verificar se o nome da biblioteca está correto
356
+ 2. Algumas bibliotecas podem não estar indexadas
357
+ 3. Tentar variações do nome (ex: "nextjs" vs "next.js")
358
+
359
+ ---
360
+
361
+ ## Perfil opt-in — Plugins Claude Code
362
+
363
+ > **Somente Claude Code.** Plugins de marketplace nao existem em outras IDEs (Cursor, Windsurf, Codex).
364
+ > Nao instalar por padrao — cada plugin carrega contexto extra em toda sessao.
365
+ > Oferecido como passo opcional no `/init-jarvis` quando `IDE=claude`.
366
+
367
+ | Plugin | Proposito | ROI seguranca | Custo de contexto | Recomendacao |
368
+ |---|---|---|---|---|
369
+ | **Codegraph** | Grafo AST: impact/callers/trace | Alto — taint analysis, direciona fan-out de audit | Baixo em uso (substitui grep+read) | Recomendado p/ CC |
370
+ | **Claude-Mem** | Memoria persistente entre sessoes | Medio — findings e threat-model sobrevivem entre sessoes | Injeta contexto no inicio de toda sessao | Opt-in avancado |
371
+ | **Token Optimizer** | Auditoria de contexto e token | Baixo (meta-tool) | Hooks + statusline sempre ativos | Escolha individual |
372
+
373
+ ### Instalacao
374
+
375
+ Todos via Claude Code Marketplace (nao via `npx` ou npm):
376
+
377
+ 1. Abrir Claude Code
378
+ 2. Acessar **Extensions / Marketplace**
379
+ 3. Buscar pelo nome do plugin
380
+ 4. Instalar e reiniciar sessao
381
+
382
+ ### Por que Codegraph e recomendado para seguranca
383
+
384
+ `codegraph_impact`, `codegraph_callers` e `codegraph_trace` respondem em sub-milissegundos queries que o grep levaria dezenas de chamadas para responder. No contexto de audit de seguranca, isso permite:
385
+ - Identificar todas as funcoes que chamam um endpoint vulneravel
386
+ - Rastrear o fluxo de dados de um input ate um sink
387
+ - Encontrar o impacto em cascata de uma mudanca de auth
388
+
389
+ Subagentes de verificacao de seguranca (multi-voto) rodam **sem** esses plugins por design — o orquestrador usa; os juizes nao.
@@ -0,0 +1,104 @@
1
+ # Checklist de Onboarding
2
+
3
+ Este documento contém os checklists detalhados para o processo de onboarding de novos membros.
4
+
5
+ ---
6
+
7
+ ## Checklist de MCPs
8
+
9
+ - [ ] IDE detectada corretamente
10
+ - [ ] Caminho do arquivo MCP identificado (se for configurar)
11
+ - [ ] **Context7** instalado e respondendo (**obrigatório**)
12
+ - [ ] **Task manager MCP** (Jira/Linear/…) só se `TASK_MANAGER` estiver definido — **não bloqueante**
13
+ - [ ] **TestSprite** instalado e respondendo (opcional)
14
+ - [ ] Arquivo MCP configurado corretamente (quando aplicável)
15
+ - [ ] IDE reiniciada após configurar MCPs (quando aplicável)
16
+
17
+ > **Context7 é obrigatório.** Sem ele o `/init-jarvis` para e orienta a config. Task manager / Jira / Redis **não** bloqueiam. `TASK_MANAGER` vazio = freelance.
18
+
19
+ ---
20
+
21
+ ## Checklist de Ferramentas e Acessos
22
+
23
+ - [ ] **Repositório Git** - GitLab/GitHub/Bitbucket (conforme `VERSION_CONTROL`)
24
+ - [ ] **Task manager** - só se `TASK_MANAGER` estiver preenchido
25
+ - [ ] **Chat** - só se `MESSAGE_COMUNICATOR` estiver preenchido
26
+ - [ ] **Ambiente de Dev** - Credenciais e VPN (se o time usar)
27
+ - [ ] **Documentação** - Central docs / wiki (se houver)
28
+ - [ ] **CI/CD** - Pipeline de deploy (se houver)
29
+ - [ ] **Observabilidade** - Logs e métricas (se houver)
30
+
31
+ ---
32
+
33
+ ## Checklist por Período
34
+
35
+ ### Dia 1 - Setup
36
+
37
+ - [ ] Ambiente de desenvolvimento configurado
38
+ - [ ] Projeto rodando localmente
39
+ - [ ] **Identidade definida** (`USER=` no ENV.md — sem login)
40
+ - [ ] **MCPs: Context7 obrigatório; task manager só se configurado (não bloqueia)**
41
+ - [ ] **AGENTS.md criado/atualizado na raiz do projeto**
42
+ - [ ] Acessos básicos liberados (Git; task manager se usar)
43
+ - [ ] Conhecer o time (daily/reunião) — se aplicável
44
+
45
+ ### Semana 1 - Contexto
46
+
47
+ - [ ] Ler documentação principal (README, ARDs)
48
+ - [ ] Entender arquitetura geral
49
+ - [ ] Fazer primeira tarefa simples (bug fix ou small feature)
50
+ - [ ] Participar de code review
51
+
52
+ ### Mês 1 - Autonomia
53
+
54
+ - [ ] Completar tarefa de média complexidade
55
+ - [ ] Fazer code review de outros
56
+ - [ ] Conhecer processos de deploy
57
+ - [ ] Entender métricas e observabilidade
58
+
59
+ ---
60
+
61
+ ## Checklist de Conclusão do Init
62
+
63
+ - [ ] `USER=` preenchido no ENV.md (sem login)
64
+ - [ ] IDE detectada corretamente
65
+ - [ ] ENV.md criado/verificado
66
+ - [ ] MCPs: Context7 OK; task manager checado sem bloquear (ou pulado se vazio)
67
+ - [ ] Ambiente de desenvolvimento configurado
68
+ - [ ] AGENTS.md criado na raiz do projeto
69
+ - [ ] Documentação principal apresentada
70
+ - [ ] Processos do time explicados
71
+ - [ ] Acessos verificados (quando existirem)
72
+ - [ ] Contatos apresentados (quando existirem)
73
+ - [ ] Checklist de onboarding entregue
74
+
75
+ ---
76
+
77
+ ## Contatos Importantes
78
+
79
+ | Papel | Responsabilidade | Quando Procurar |
80
+ |-------|------------------|-----------------|
81
+ | **Tech Lead** | Decisões técnicas | Dúvidas de arquitetura |
82
+ | **Product Owner** | Requisitos de negócio | Dúvidas sobre features |
83
+ | **DevOps** | Infraestrutura | Problemas de ambiente |
84
+ | **QA** | Qualidade | Dúvidas sobre testes |
85
+
86
+ ---
87
+
88
+ ## Documentos de Referência
89
+
90
+ | Documento | Propósito | Localização |
91
+ |-----------|-----------|------------|
92
+ | **README.md** | Visão geral, setup, como rodar | Raiz do projeto |
93
+ | **AGENTS.md** | Instruções para agentes de IA | Raiz do projeto |
94
+ | **docs/** | Documentação detalhada | `docs/` |
95
+
96
+ ---
97
+
98
+ ## Dicas para o Novo Membro
99
+
100
+ 1. **Não tenha medo de perguntar** - Melhor perguntar do que assumir errado
101
+ 2. **Documente suas dúvidas** - Pode virar documentação para próximos
102
+ 3. **Faça pair programming** - Acelera o aprendizado
103
+ 4. **Leia o código** - Entenda os padrões antes de criar novos
104
+ 5. **Use os workflows** - `/eng.start`, `/eng.plan`, `/eng.work` são seus amigos