@maestro-ai/mcp-server 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/README.md +266 -227
  2. package/dist/content/design-system/README.md +231 -231
  3. package/dist/content/design-system/indexes/README.md +211 -211
  4. package/dist/content/design-system/indexes/colors-index.md +156 -156
  5. package/dist/content/design-system/indexes/quick-search.md +111 -111
  6. package/dist/content/design-system/indexes/stacks-index.md +341 -341
  7. package/dist/content/examples/Exemplo de Fluxo Completo com Java e Spring Boot.md +249 -249
  8. package/dist/content/examples/Exemplo de Fluxo Completo com Laravel e Filament.md +277 -277
  9. package/dist/content/examples/Exemplo de Fluxo Completo com Laravel e Livewire.md +260 -260
  10. package/dist/content/examples/Exemplo de Fluxo Completo com Node e NestJS.md +257 -257
  11. package/dist/content/guides/Cat/303/241logo de Stacks para Cloud Moderna.md" +119 -119
  12. package/dist/content/guides/Cat/303/241logo de Stacks para Hospedagem Compartilhada.md" +147 -147
  13. package/dist/content/guides/Checklist Mestre de Entrega.md +68 -68
  14. package/dist/content/guides/Gates de Qualidade.md +209 -209
  15. package/dist/content/guides/Guia de Adi/303/247/303/243o de Novas Funcionalidades.md" +355 -355
  16. package/dist/content/guides/Guia de Chaos Engineering.md +267 -267
  17. package/dist/content/guides/Guia de Debugging com IA.md +135 -135
  18. package/dist/content/guides/Guia de Estrat/303/251gias de Cache.md" +352 -352
  19. package/dist/content/guides/Guia de Migrations Zero-Downtime.md +311 -311
  20. package/dist/content/guides/Guia de Multi-tenancy.md +368 -368
  21. package/dist/content/guides/Guia de Otimiza/303/247/303/243o de Custos Cloud.md" +195 -195
  22. package/dist/content/guides/Guia de Refatora/303/247/303/243o de C/303/263digo Legado com IA.md" +162 -162
  23. package/dist/content/guides/Guia de SLOs e Error Budgets.md +315 -315
  24. package/dist/content/guides/M/303/251tricas de Efici/303/252ncia do Desenvolvimento com IA.md" +93 -93
  25. package/dist/content/guides/Rules base.md +90 -90
  26. package/dist/content/playbook/Playbook de Desenvolvimento com IA.md +364 -364
  27. package/dist/content/prompts/README.md +203 -203
  28. package/dist/content/prompts/acessibilidade/analise-acessibilidade.md +257 -257
  29. package/dist/content/prompts/apis/design-api-rest.md +303 -303
  30. package/dist/content/prompts/apis/idempotencia.md +254 -254
  31. package/dist/content/prompts/apis/versionamento.md +313 -313
  32. package/dist/content/prompts/arquitetura/arquitetura-c4-completo.md +190 -190
  33. package/dist/content/prompts/arquitetura/clean-architecture.md +151 -151
  34. package/dist/content/prompts/arquitetura/ddd-bounded-contexts.md +183 -183
  35. package/dist/content/prompts/arquitetura/ddd-cqrs.md +176 -176
  36. package/dist/content/prompts/arquitetura/modelo-dominio.md +207 -207
  37. package/dist/content/prompts/arquitetura/multi-tenancy.md +235 -235
  38. package/dist/content/prompts/database/migrations-zero-downtime.md +192 -192
  39. package/dist/content/prompts/database/otimizacao-queries.md +296 -296
  40. package/dist/content/prompts/desenvolvimento/code-review.md +301 -301
  41. package/dist/content/prompts/desenvolvimento/gerar-servico.md +271 -271
  42. package/dist/content/prompts/devops/docker-compose.md +336 -336
  43. package/dist/content/prompts/devops/feature-flags.md +374 -374
  44. package/dist/content/prompts/devops/kubernetes-deploy.md +460 -460
  45. package/dist/content/prompts/devops/pipeline-cicd.md +358 -358
  46. package/dist/content/prompts/devops/terraform-iac.md +502 -502
  47. package/dist/content/prompts/escalabilidade/analise-performance.md +240 -240
  48. package/dist/content/prompts/escalabilidade/analise-performance.txt +94 -94
  49. package/dist/content/prompts/escalabilidade/caching.md +255 -255
  50. package/dist/content/prompts/observabilidade/chaos-testing.md +237 -237
  51. package/dist/content/prompts/observabilidade/estrategia-observabilidade.md +263 -263
  52. package/dist/content/prompts/observabilidade/estrategia-observabilidade.txt +134 -134
  53. package/dist/content/prompts/observabilidade/slos.md +215 -215
  54. package/dist/content/prompts/produto/discovery-inicial.md +203 -203
  55. package/dist/content/prompts/produto/discovery-inicial.txt +33 -33
  56. package/dist/content/prompts/requisitos/refinar-requisitos.md +232 -232
  57. package/dist/content/prompts/requisitos/refinar-requisitos.txt +40 -40
  58. package/dist/content/prompts/seguranca/analise-seguranca.md +243 -243
  59. package/dist/content/prompts/seguranca/pentest-checklist.md +333 -333
  60. package/dist/content/prompts/seguranca/rate-limiting.md +356 -356
  61. package/dist/content/prompts/seguranca/revisao-lgpd.md +227 -227
  62. package/dist/content/prompts/seguranca/threat-modeling.md +224 -224
  63. package/dist/content/prompts/testes/contract-testing.md +340 -340
  64. package/dist/content/prompts/testes/gerar-testes-unitarios.md +474 -474
  65. package/dist/content/prompts/testes/testes-e2e.md +460 -460
  66. package/dist/content/prompts/testes/testes-integracao.md +418 -418
  67. package/dist/content/prompts/testes/testes-performance.md +458 -458
  68. package/dist/content/prompts/ux/gerar-ui-stitch.md +151 -151
  69. package/dist/content/rules/RULES.md +835 -835
  70. package/dist/content/rules/adapters/copilot.md +10 -10
  71. package/dist/content/rules/adapters/cursor.md +10 -10
  72. package/dist/content/rules/adapters/gemini.md +13 -13
  73. package/dist/content/rules/adapters/windsurf.md +10 -10
  74. package/dist/content/specialists/Especialista em Acessibilidade.md +266 -266
  75. package/dist/content/specialists/Especialista em An/303/241lise de Testes.md" +434 -434
  76. package/dist/content/specialists/Especialista em Arquitetura Avan/303/247ada.md" +358 -358
  77. package/dist/content/specialists/Especialista em Arquitetura de Software.md +177 -177
  78. package/dist/content/specialists/Especialista em Banco de Dados.md +260 -260
  79. package/dist/content/specialists/Especialista em Contrato de API.md +172 -172
  80. package/dist/content/specialists/Especialista em Dados e Analytics com IA.md +246 -246
  81. package/dist/content/specialists/Especialista em Debugging e Troubleshooting.md +191 -191
  82. package/dist/content/specialists/Especialista em Desenvolvimento Frontend.md +477 -477
  83. package/dist/content/specialists/Especialista em Desenvolvimento Mobile.md +241 -241
  84. package/dist/content/specialists/Especialista em Desenvolvimento e Vibe Coding Estruturado.md +417 -417
  85. package/dist/content/specialists/Especialista em DevOps e Infraestrutura.md +294 -294
  86. package/dist/content/specialists/Especialista em Documenta/303/247/303/243o T/303/251cnica.md" +227 -227
  87. package/dist/content/specialists/Especialista em Engenharia de Requisitos com IA.md +299 -299
  88. package/dist/content/specialists/Especialista em Explora/303/247/303/243o de Codebase.md" +179 -179
  89. package/dist/content/specialists/Especialista em Gest/303/243o de Produto.md" +179 -179
  90. package/dist/content/specialists/Especialista em Migra/303/247/303/243o e Moderniza/303/247/303/243o.md" +410 -410
  91. package/dist/content/specialists/Especialista em Modelagem e Arquitetura de Dom/303/255nio com IA.md" +248 -248
  92. package/dist/content/specialists/Especialista em Observabilidade.md +415 -415
  93. package/dist/content/specialists/Especialista em Performance e Escalabilidade.md +373 -373
  94. package/dist/content/specialists/Especialista em Plano de Execu/303/247/303/243o com IA.md" +341 -341
  95. package/dist/content/specialists/Especialista em Prototipagem R/303/241pida com Google Stitch.md" +419 -419
  96. package/dist/content/specialists/Especialista em Seguran/303/247a da Informa/303/247/303/243o.md" +508 -508
  97. package/dist/content/specialists/Especialista em UX Design.md +453 -453
  98. package/dist/content/specialists/INDEX.md +43 -43
  99. package/dist/content/templates/PRD.md +165 -165
  100. package/dist/content/templates/README.md +65 -65
  101. package/dist/content/templates/adr.md +103 -103
  102. package/dist/content/templates/arquitetura.md +279 -279
  103. package/dist/content/templates/backlog.md +185 -185
  104. package/dist/content/templates/checklist-seguranca.md +180 -180
  105. package/dist/content/templates/contexto.md +120 -120
  106. package/dist/content/templates/criterios-aceite.md +99 -99
  107. package/dist/content/templates/design-banco.md +270 -270
  108. package/dist/content/templates/design-doc.md +240 -240
  109. package/dist/content/templates/feature.md +88 -88
  110. package/dist/content/templates/historia-backend.md +84 -84
  111. package/dist/content/templates/historia-frontend.md +75 -75
  112. package/dist/content/templates/historia-usuario.md +125 -125
  113. package/dist/content/templates/mapa-navegacao.md +133 -133
  114. package/dist/content/templates/matriz-rastreabilidade.md +121 -121
  115. package/dist/content/templates/modelo-dominio.md +219 -219
  116. package/dist/content/templates/plano-testes.md +199 -199
  117. package/dist/content/templates/prototipo-stitch.md +138 -138
  118. package/dist/content/templates/requisitos.md +162 -162
  119. package/dist/content/templates/slo-sli.md +197 -197
  120. package/dist/content/workflows/README-MCP.md +363 -363
  121. package/dist/content/workflows/mcp-debug.md +506 -506
  122. package/dist/content/workflows/mcp-feature.md +385 -385
  123. package/dist/content/workflows/mcp-gate.md +413 -413
  124. package/dist/content/workflows/mcp-next.md +388 -388
  125. package/dist/content/workflows/mcp-refactor.md +600 -600
  126. package/dist/content/workflows/mcp-start.md +304 -304
  127. package/dist/content/workflows/mcp-status.md +400 -400
  128. package/dist/gates/tiers.test.js +14 -14
  129. package/dist/index.js +133 -133
  130. package/dist/resources/index.js +61 -61
  131. package/dist/stdio.js +39 -32
  132. package/dist/stdio.js.map +1 -1
  133. package/dist/tools/analise/performance.js +23 -23
  134. package/dist/tools/analise/qualidade.js +23 -23
  135. package/dist/tools/analise/relatorio.js +24 -24
  136. package/dist/tools/analise/seguranca.js +28 -28
  137. package/dist/tools/aprovar-gate.js +81 -81
  138. package/dist/tools/atualizar-codebase.js +18 -18
  139. package/dist/tools/avaliar-entregavel.js +18 -18
  140. package/dist/tools/carregar-projeto.js +103 -103
  141. package/dist/tools/classificar.js +36 -36
  142. package/dist/tools/confirmar-classificacao.js +36 -36
  143. package/dist/tools/confirmar-stitch.js +75 -75
  144. package/dist/tools/contexto.js +56 -56
  145. package/dist/tools/fluxos-alternativos.js +98 -98
  146. package/dist/tools/implementar-historia.js +63 -63
  147. package/dist/tools/iniciar-projeto.js +174 -174
  148. package/dist/tools/proximo.js +239 -239
  149. package/dist/tools/salvar.js +59 -59
  150. package/dist/tools/status.js +76 -76
  151. package/dist/tools/validar-gate.js +35 -35
  152. package/dist/types/response.js +11 -11
  153. package/dist/utils/instructions.js +48 -48
  154. package/dist/utils/prompt-mapper.js +16 -16
  155. package/dist/utils/system-md.js +33 -33
  156. package/package.json +67 -67
  157. package/dist/content/content/design-system/README.md +0 -231
  158. package/dist/content/content/design-system/data/charts.csv +0 -26
  159. package/dist/content/content/design-system/data/colors.csv +0 -97
  160. package/dist/content/content/design-system/data/icons.csv +0 -101
  161. package/dist/content/content/design-system/data/landing.csv +0 -31
  162. package/dist/content/content/design-system/data/products.csv +0 -97
  163. package/dist/content/content/design-system/data/prompts.csv +0 -24
  164. package/dist/content/content/design-system/data/react-performance.csv +0 -45
  165. package/dist/content/content/design-system/data/styles.csv +0 -59
  166. package/dist/content/content/design-system/data/typography.csv +0 -58
  167. package/dist/content/content/design-system/data/ui-reasoning.csv +0 -101
  168. package/dist/content/content/design-system/data/ux-guidelines.csv +0 -100
  169. package/dist/content/content/design-system/data/web-interface.csv +0 -31
  170. package/dist/content/content/design-system/indexes/README.md +0 -211
  171. package/dist/content/content/design-system/indexes/colors-index.md +0 -156
  172. package/dist/content/content/design-system/indexes/quick-search.md +0 -111
  173. package/dist/content/content/design-system/indexes/stacks-index.md +0 -341
  174. package/dist/content/content/design-system/stacks/flutter.csv +0 -53
  175. package/dist/content/content/design-system/stacks/html-tailwind.csv +0 -56
  176. package/dist/content/content/design-system/stacks/jetpack-compose.csv +0 -53
  177. package/dist/content/content/design-system/stacks/nextjs.csv +0 -53
  178. package/dist/content/content/design-system/stacks/nuxt-ui.csv +0 -51
  179. package/dist/content/content/design-system/stacks/nuxtjs.csv +0 -59
  180. package/dist/content/content/design-system/stacks/react-native.csv +0 -52
  181. package/dist/content/content/design-system/stacks/react.csv +0 -54
  182. package/dist/content/content/design-system/stacks/shadcn.csv +0 -61
  183. package/dist/content/content/design-system/stacks/svelte.csv +0 -54
  184. package/dist/content/content/design-system/stacks/swiftui.csv +0 -51
  185. package/dist/content/content/design-system/stacks/vue.csv +0 -50
  186. package/dist/content/content/examples/Exemplo de Fluxo Completo com Java e Spring Boot.md +0 -250
  187. package/dist/content/content/examples/Exemplo de Fluxo Completo com Laravel e Filament.md +0 -278
  188. package/dist/content/content/examples/Exemplo de Fluxo Completo com Laravel e Livewire.md +0 -261
  189. package/dist/content/content/examples/Exemplo de Fluxo Completo com Node e NestJS.md +0 -258
  190. package/dist/content/content/guides/Cat/303/241logo de Stacks para Cloud Moderna.md" +0 -119
  191. package/dist/content/content/guides/Cat/303/241logo de Stacks para Hospedagem Compartilhada.md" +0 -147
  192. package/dist/content/content/guides/Checklist Mestre de Entrega.md +0 -68
  193. package/dist/content/content/guides/Gates de Qualidade.md +0 -209
  194. package/dist/content/content/guides/Guia de Adi/303/247/303/243o de Novas Funcionalidades.md" +0 -355
  195. package/dist/content/content/guides/Guia de Chaos Engineering.md +0 -267
  196. package/dist/content/content/guides/Guia de Debugging com IA.md +0 -135
  197. package/dist/content/content/guides/Guia de Estrat/303/251gias de Cache.md" +0 -352
  198. package/dist/content/content/guides/Guia de Migrations Zero-Downtime.md +0 -311
  199. package/dist/content/content/guides/Guia de Multi-tenancy.md +0 -368
  200. package/dist/content/content/guides/Guia de Otimiza/303/247/303/243o de Custos Cloud.md" +0 -195
  201. package/dist/content/content/guides/Guia de Refatora/303/247/303/243o de C/303/263digo Legado com IA.md" +0 -162
  202. package/dist/content/content/guides/Guia de SLOs e Error Budgets.md +0 -315
  203. package/dist/content/content/guides/M/303/251tricas de Efici/303/252ncia do Desenvolvimento com IA.md" +0 -93
  204. package/dist/content/content/guides/Rules base.md +0 -90
  205. package/dist/content/content/playbook/Playbook de Desenvolvimento com IA.md +0 -364
  206. package/dist/content/content/prompts/README.md +0 -203
  207. package/dist/content/content/prompts/acessibilidade/analise-acessibilidade.md +0 -257
  208. package/dist/content/content/prompts/apis/design-api-rest.md +0 -303
  209. package/dist/content/content/prompts/apis/idempotencia.md +0 -254
  210. package/dist/content/content/prompts/apis/versionamento.md +0 -313
  211. package/dist/content/content/prompts/arquitetura/arquitetura-c4-completo.md +0 -190
  212. package/dist/content/content/prompts/arquitetura/clean-architecture.md +0 -151
  213. package/dist/content/content/prompts/arquitetura/ddd-bounded-contexts.md +0 -183
  214. package/dist/content/content/prompts/arquitetura/ddd-cqrs.md +0 -176
  215. package/dist/content/content/prompts/arquitetura/modelo-dominio.md +0 -207
  216. package/dist/content/content/prompts/arquitetura/multi-tenancy.md +0 -235
  217. package/dist/content/content/prompts/database/migrations-zero-downtime.md +0 -192
  218. package/dist/content/content/prompts/database/otimizacao-queries.md +0 -296
  219. package/dist/content/content/prompts/desenvolvimento/code-review.md +0 -301
  220. package/dist/content/content/prompts/desenvolvimento/gerar-servico.md +0 -271
  221. package/dist/content/content/prompts/devops/docker-compose.md +0 -336
  222. package/dist/content/content/prompts/devops/feature-flags.md +0 -374
  223. package/dist/content/content/prompts/devops/kubernetes-deploy.md +0 -460
  224. package/dist/content/content/prompts/devops/pipeline-cicd.md +0 -358
  225. package/dist/content/content/prompts/devops/terraform-iac.md +0 -502
  226. package/dist/content/content/prompts/escalabilidade/analise-performance.md +0 -240
  227. package/dist/content/content/prompts/escalabilidade/analise-performance.txt +0 -94
  228. package/dist/content/content/prompts/escalabilidade/caching.md +0 -255
  229. package/dist/content/content/prompts/observabilidade/chaos-testing.md +0 -237
  230. package/dist/content/content/prompts/observabilidade/estrategia-observabilidade.md +0 -263
  231. package/dist/content/content/prompts/observabilidade/estrategia-observabilidade.txt +0 -134
  232. package/dist/content/content/prompts/observabilidade/slos.md +0 -215
  233. package/dist/content/content/prompts/produto/discovery-inicial.md +0 -203
  234. package/dist/content/content/prompts/produto/discovery-inicial.txt +0 -33
  235. package/dist/content/content/prompts/requisitos/refinar-requisitos.md +0 -232
  236. package/dist/content/content/prompts/requisitos/refinar-requisitos.txt +0 -40
  237. package/dist/content/content/prompts/seguranca/analise-seguranca.md +0 -243
  238. package/dist/content/content/prompts/seguranca/pentest-checklist.md +0 -333
  239. package/dist/content/content/prompts/seguranca/rate-limiting.md +0 -356
  240. package/dist/content/content/prompts/seguranca/revisao-lgpd.md +0 -227
  241. package/dist/content/content/prompts/seguranca/threat-modeling.md +0 -224
  242. package/dist/content/content/prompts/testes/contract-testing.md +0 -340
  243. package/dist/content/content/prompts/testes/gerar-testes-unitarios.md +0 -474
  244. package/dist/content/content/prompts/testes/testes-e2e.md +0 -460
  245. package/dist/content/content/prompts/testes/testes-integracao.md +0 -418
  246. package/dist/content/content/prompts/testes/testes-performance.md +0 -458
  247. package/dist/content/content/prompts/ux/gerar-ui-stitch.md +0 -151
  248. package/dist/content/content/rules/GEMINI.md +0 -841
  249. package/dist/content/content/rules/RULES.md +0 -835
  250. package/dist/content/content/rules/adapters/copilot.md +0 -10
  251. package/dist/content/content/rules/adapters/cursor.md +0 -10
  252. package/dist/content/content/rules/adapters/gemini.md +0 -13
  253. package/dist/content/content/rules/adapters/windsurf.md +0 -10
  254. package/dist/content/content/skills/api-patterns/SKILL.md +0 -81
  255. package/dist/content/content/skills/api-patterns/api-style.md +0 -42
  256. package/dist/content/content/skills/api-patterns/auth.md +0 -24
  257. package/dist/content/content/skills/api-patterns/documentation.md +0 -26
  258. package/dist/content/content/skills/api-patterns/graphql.md +0 -41
  259. package/dist/content/content/skills/api-patterns/rate-limiting.md +0 -31
  260. package/dist/content/content/skills/api-patterns/response.md +0 -37
  261. package/dist/content/content/skills/api-patterns/rest.md +0 -40
  262. package/dist/content/content/skills/api-patterns/scripts/api_validator.py +0 -211
  263. package/dist/content/content/skills/api-patterns/security-testing.md +0 -122
  264. package/dist/content/content/skills/api-patterns/trpc.md +0 -41
  265. package/dist/content/content/skills/api-patterns/versioning.md +0 -22
  266. package/dist/content/content/skills/app-builder/SKILL.md +0 -75
  267. package/dist/content/content/skills/app-builder/agent-coordination.md +0 -71
  268. package/dist/content/content/skills/app-builder/feature-building.md +0 -53
  269. package/dist/content/content/skills/app-builder/project-detection.md +0 -34
  270. package/dist/content/content/skills/app-builder/scaffolding.md +0 -118
  271. package/dist/content/content/skills/app-builder/tech-stack.md +0 -40
  272. package/dist/content/content/skills/app-builder/templates/SKILL.md +0 -39
  273. package/dist/content/content/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  274. package/dist/content/content/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  275. package/dist/content/content/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  276. package/dist/content/content/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  277. package/dist/content/content/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  278. package/dist/content/content/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  279. package/dist/content/content/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  280. package/dist/content/content/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -82
  281. package/dist/content/content/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -100
  282. package/dist/content/content/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -106
  283. package/dist/content/content/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -101
  284. package/dist/content/content/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  285. package/dist/content/content/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -93
  286. package/dist/content/content/skills/architecture/SKILL.md +0 -55
  287. package/dist/content/content/skills/architecture/context-discovery.md +0 -43
  288. package/dist/content/content/skills/architecture/examples.md +0 -94
  289. package/dist/content/content/skills/architecture/pattern-selection.md +0 -68
  290. package/dist/content/content/skills/architecture/patterns-reference.md +0 -50
  291. package/dist/content/content/skills/architecture/trade-off-analysis.md +0 -77
  292. package/dist/content/content/skills/bash-linux/SKILL.md +0 -199
  293. package/dist/content/content/skills/behavioral-modes/SKILL.md +0 -242
  294. package/dist/content/content/skills/brainstorming/SKILL.md +0 -163
  295. package/dist/content/content/skills/brainstorming/dynamic-questioning.md +0 -350
  296. package/dist/content/content/skills/clean-code/SKILL.md +0 -201
  297. package/dist/content/content/skills/code-review-checklist/SKILL.md +0 -109
  298. package/dist/content/content/skills/database-design/SKILL.md +0 -52
  299. package/dist/content/content/skills/database-design/database-selection.md +0 -43
  300. package/dist/content/content/skills/database-design/indexing.md +0 -39
  301. package/dist/content/content/skills/database-design/migrations.md +0 -48
  302. package/dist/content/content/skills/database-design/optimization.md +0 -36
  303. package/dist/content/content/skills/database-design/orm-selection.md +0 -30
  304. package/dist/content/content/skills/database-design/schema-design.md +0 -56
  305. package/dist/content/content/skills/database-design/scripts/schema_validator.py +0 -172
  306. package/dist/content/content/skills/deployment-procedures/SKILL.md +0 -241
  307. package/dist/content/content/skills/doc.md +0 -177
  308. package/dist/content/content/skills/documentation-templates/SKILL.md +0 -194
  309. package/dist/content/content/skills/frontend-design/SKILL.md +0 -396
  310. package/dist/content/content/skills/frontend-design/animation-guide.md +0 -331
  311. package/dist/content/content/skills/frontend-design/color-system.md +0 -311
  312. package/dist/content/content/skills/frontend-design/decision-trees.md +0 -418
  313. package/dist/content/content/skills/frontend-design/motion-graphics.md +0 -306
  314. package/dist/content/content/skills/frontend-design/scripts/accessibility_checker.py +0 -183
  315. package/dist/content/content/skills/frontend-design/scripts/ux_audit.py +0 -722
  316. package/dist/content/content/skills/frontend-design/typography-system.md +0 -345
  317. package/dist/content/content/skills/frontend-design/ux-psychology.md +0 -541
  318. package/dist/content/content/skills/frontend-design/visual-effects.md +0 -383
  319. package/dist/content/content/skills/game-development/2d-games/SKILL.md +0 -119
  320. package/dist/content/content/skills/game-development/3d-games/SKILL.md +0 -135
  321. package/dist/content/content/skills/game-development/SKILL.md +0 -167
  322. package/dist/content/content/skills/game-development/game-art/SKILL.md +0 -185
  323. package/dist/content/content/skills/game-development/game-audio/SKILL.md +0 -190
  324. package/dist/content/content/skills/game-development/game-design/SKILL.md +0 -129
  325. package/dist/content/content/skills/game-development/mobile-games/SKILL.md +0 -108
  326. package/dist/content/content/skills/game-development/multiplayer/SKILL.md +0 -132
  327. package/dist/content/content/skills/game-development/pc-games/SKILL.md +0 -144
  328. package/dist/content/content/skills/game-development/vr-ar/SKILL.md +0 -123
  329. package/dist/content/content/skills/game-development/web-games/SKILL.md +0 -150
  330. package/dist/content/content/skills/geo-fundamentals/SKILL.md +0 -156
  331. package/dist/content/content/skills/geo-fundamentals/scripts/geo_checker.py +0 -289
  332. package/dist/content/content/skills/i18n-localization/SKILL.md +0 -154
  333. package/dist/content/content/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  334. package/dist/content/content/skills/intelligent-routing/SKILL.md +0 -334
  335. package/dist/content/content/skills/lint-and-validate/SKILL.md +0 -45
  336. package/dist/content/content/skills/lint-and-validate/scripts/lint_runner.py +0 -172
  337. package/dist/content/content/skills/lint-and-validate/scripts/type_coverage.py +0 -173
  338. package/dist/content/content/skills/mcp-builder/SKILL.md +0 -176
  339. package/dist/content/content/skills/mobile-design/SKILL.md +0 -394
  340. package/dist/content/content/skills/mobile-design/decision-trees.md +0 -516
  341. package/dist/content/content/skills/mobile-design/mobile-backend.md +0 -491
  342. package/dist/content/content/skills/mobile-design/mobile-color-system.md +0 -420
  343. package/dist/content/content/skills/mobile-design/mobile-debugging.md +0 -122
  344. package/dist/content/content/skills/mobile-design/mobile-design-thinking.md +0 -357
  345. package/dist/content/content/skills/mobile-design/mobile-navigation.md +0 -458
  346. package/dist/content/content/skills/mobile-design/mobile-performance.md +0 -767
  347. package/dist/content/content/skills/mobile-design/mobile-testing.md +0 -356
  348. package/dist/content/content/skills/mobile-design/mobile-typography.md +0 -433
  349. package/dist/content/content/skills/mobile-design/platform-android.md +0 -666
  350. package/dist/content/content/skills/mobile-design/platform-ios.md +0 -561
  351. package/dist/content/content/skills/mobile-design/scripts/mobile_audit.py +0 -670
  352. package/dist/content/content/skills/mobile-design/touch-psychology.md +0 -537
  353. package/dist/content/content/skills/nextjs-best-practices/SKILL.md +0 -203
  354. package/dist/content/content/skills/nodejs-best-practices/SKILL.md +0 -333
  355. package/dist/content/content/skills/parallel-agents/SKILL.md +0 -175
  356. package/dist/content/content/skills/performance-profiling/SKILL.md +0 -143
  357. package/dist/content/content/skills/performance-profiling/scripts/lighthouse_audit.py +0 -76
  358. package/dist/content/content/skills/plan-writing/SKILL.md +0 -152
  359. package/dist/content/content/skills/powershell-windows/SKILL.md +0 -167
  360. package/dist/content/content/skills/python-patterns/SKILL.md +0 -441
  361. package/dist/content/content/skills/react-patterns/SKILL.md +0 -198
  362. package/dist/content/content/skills/red-team-tactics/SKILL.md +0 -199
  363. package/dist/content/content/skills/seo-fundamentals/SKILL.md +0 -129
  364. package/dist/content/content/skills/seo-fundamentals/scripts/seo_checker.py +0 -219
  365. package/dist/content/content/skills/server-management/SKILL.md +0 -161
  366. package/dist/content/content/skills/systematic-debugging/SKILL.md +0 -109
  367. package/dist/content/content/skills/tailwind-patterns/SKILL.md +0 -269
  368. package/dist/content/content/skills/tdd-workflow/SKILL.md +0 -149
  369. package/dist/content/content/skills/testing-patterns/SKILL.md +0 -178
  370. package/dist/content/content/skills/testing-patterns/scripts/test_runner.py +0 -219
  371. package/dist/content/content/skills/vulnerability-scanner/SKILL.md +0 -276
  372. package/dist/content/content/skills/vulnerability-scanner/checklists.md +0 -121
  373. package/dist/content/content/skills/vulnerability-scanner/scripts/security_scan.py +0 -458
  374. package/dist/content/content/skills/webapp-testing/SKILL.md +0 -187
  375. package/dist/content/content/skills/webapp-testing/scripts/playwright_runner.py +0 -173
  376. package/dist/content/content/specialists/Especialista em Acessibilidade.md +0 -266
  377. package/dist/content/content/specialists/Especialista em An/303/241lise de Testes.md" +0 -434
  378. package/dist/content/content/specialists/Especialista em Arquitetura Avan/303/247ada.md" +0 -358
  379. package/dist/content/content/specialists/Especialista em Arquitetura de Software.md +0 -177
  380. package/dist/content/content/specialists/Especialista em Banco de Dados.md +0 -260
  381. package/dist/content/content/specialists/Especialista em Contrato de API.md +0 -172
  382. package/dist/content/content/specialists/Especialista em Dados e Analytics com IA.md +0 -246
  383. package/dist/content/content/specialists/Especialista em Debugging e Troubleshooting.md +0 -191
  384. package/dist/content/content/specialists/Especialista em Desenvolvimento Frontend.md +0 -477
  385. package/dist/content/content/specialists/Especialista em Desenvolvimento Mobile.md +0 -241
  386. package/dist/content/content/specialists/Especialista em Desenvolvimento e Vibe Coding Estruturado.md +0 -417
  387. package/dist/content/content/specialists/Especialista em DevOps e Infraestrutura.md +0 -294
  388. package/dist/content/content/specialists/Especialista em Documenta/303/247/303/243o T/303/251cnica.md" +0 -227
  389. package/dist/content/content/specialists/Especialista em Engenharia de Requisitos com IA.md +0 -299
  390. package/dist/content/content/specialists/Especialista em Explora/303/247/303/243o de Codebase.md" +0 -179
  391. package/dist/content/content/specialists/Especialista em Gest/303/243o de Produto.md" +0 -179
  392. package/dist/content/content/specialists/Especialista em Migra/303/247/303/243o e Moderniza/303/247/303/243o.md" +0 -410
  393. package/dist/content/content/specialists/Especialista em Modelagem e Arquitetura de Dom/303/255nio com IA.md" +0 -248
  394. package/dist/content/content/specialists/Especialista em Observabilidade.md +0 -415
  395. package/dist/content/content/specialists/Especialista em Performance e Escalabilidade.md +0 -373
  396. package/dist/content/content/specialists/Especialista em Plano de Execu/303/247/303/243o com IA.md" +0 -341
  397. package/dist/content/content/specialists/Especialista em Prototipagem R/303/241pida com Google Stitch.md" +0 -419
  398. package/dist/content/content/specialists/Especialista em Seguran/303/247a da Informa/303/247/303/243o.md" +0 -508
  399. package/dist/content/content/specialists/Especialista em UX Design.md +0 -453
  400. package/dist/content/content/specialists/INDEX.md +0 -43
  401. package/dist/content/content/templates/PRD.md +0 -165
  402. package/dist/content/content/templates/README.md +0 -65
  403. package/dist/content/content/templates/adr.md +0 -103
  404. package/dist/content/content/templates/arquitetura.md +0 -279
  405. package/dist/content/content/templates/backlog.md +0 -185
  406. package/dist/content/content/templates/checklist-seguranca.md +0 -180
  407. package/dist/content/content/templates/contexto.md +0 -120
  408. package/dist/content/content/templates/criterios-aceite.md +0 -99
  409. package/dist/content/content/templates/design-banco.md +0 -270
  410. package/dist/content/content/templates/design-doc.md +0 -240
  411. package/dist/content/content/templates/feature.md +0 -88
  412. package/dist/content/content/templates/historia-backend.md +0 -84
  413. package/dist/content/content/templates/historia-frontend.md +0 -75
  414. package/dist/content/content/templates/historia-usuario.md +0 -125
  415. package/dist/content/content/templates/mapa-navegacao.md +0 -133
  416. package/dist/content/content/templates/matriz-rastreabilidade.md +0 -121
  417. package/dist/content/content/templates/modelo-dominio.md +0 -219
  418. package/dist/content/content/templates/plano-testes.md +0 -199
  419. package/dist/content/content/templates/prototipo-stitch.md +0 -138
  420. package/dist/content/content/templates/requisitos.md +0 -162
  421. package/dist/content/content/templates/slo-sli.md +0 -197
  422. package/dist/content/content/workflows/README-MCP.md +0 -363
  423. package/dist/content/content/workflows/brainstorm.md +0 -113
  424. package/dist/content/content/workflows/create.md +0 -59
  425. package/dist/content/content/workflows/debug.md +0 -103
  426. package/dist/content/content/workflows/deploy.md +0 -176
  427. package/dist/content/content/workflows/enhance.md +0 -63
  428. package/dist/content/content/workflows/mcp-debug.md +0 -506
  429. package/dist/content/content/workflows/mcp-feature.md +0 -385
  430. package/dist/content/content/workflows/mcp-gate.md +0 -413
  431. package/dist/content/content/workflows/mcp-next.md +0 -388
  432. package/dist/content/content/workflows/mcp-refactor.md +0 -600
  433. package/dist/content/content/workflows/mcp-start.md +0 -304
  434. package/dist/content/content/workflows/mcp-status.md +0 -400
  435. package/dist/content/content/workflows/orchestrate.md +0 -237
  436. package/dist/content/content/workflows/plan.md +0 -89
  437. package/dist/content/content/workflows/preview.md +0 -81
  438. package/dist/content/content/workflows/status.md +0 -86
  439. package/dist/content/content/workflows/test.md +0 -144
  440. package/dist/content/content/workflows/ui-ux-pro-max.md +0 -296
@@ -1,199 +0,0 @@
1
- ---
2
- name: red-team-tactics
3
- description: Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.
4
- allowed-tools: Read, Glob, Grep
5
- ---
6
-
7
- # Red Team Tactics
8
-
9
- > Adversary simulation principles based on MITRE ATT&CK framework.
10
-
11
- ---
12
-
13
- ## 1. MITRE ATT&CK Phases
14
-
15
- ### Attack Lifecycle
16
-
17
- ```
18
- RECONNAISSANCE → INITIAL ACCESS → EXECUTION → PERSISTENCE
19
- ↓ ↓ ↓ ↓
20
- PRIVILEGE ESC → DEFENSE EVASION → CRED ACCESS → DISCOVERY
21
- ↓ ↓ ↓ ↓
22
- LATERAL MOVEMENT → COLLECTION → C2 → EXFILTRATION → IMPACT
23
- ```
24
-
25
- ### Phase Objectives
26
-
27
- | Phase | Objective |
28
- |-------|-----------|
29
- | **Recon** | Map attack surface |
30
- | **Initial Access** | Get first foothold |
31
- | **Execution** | Run code on target |
32
- | **Persistence** | Survive reboots |
33
- | **Privilege Escalation** | Get admin/root |
34
- | **Defense Evasion** | Avoid detection |
35
- | **Credential Access** | Harvest credentials |
36
- | **Discovery** | Map internal network |
37
- | **Lateral Movement** | Spread to other systems |
38
- | **Collection** | Gather target data |
39
- | **C2** | Maintain command channel |
40
- | **Exfiltration** | Extract data |
41
-
42
- ---
43
-
44
- ## 2. Reconnaissance Principles
45
-
46
- ### Passive vs Active
47
-
48
- | Type | Trade-off |
49
- |------|-----------|
50
- | **Passive** | No target contact, limited info |
51
- | **Active** | Direct contact, more detection risk |
52
-
53
- ### Information Targets
54
-
55
- | Category | Value |
56
- |----------|-------|
57
- | Technology stack | Attack vector selection |
58
- | Employee info | Social engineering |
59
- | Network ranges | Scanning scope |
60
- | Third parties | Supply chain attack |
61
-
62
- ---
63
-
64
- ## 3. Initial Access Vectors
65
-
66
- ### Selection Criteria
67
-
68
- | Vector | When to Use |
69
- |--------|-------------|
70
- | **Phishing** | Human target, email access |
71
- | **Public exploits** | Vulnerable services exposed |
72
- | **Valid credentials** | Leaked or cracked |
73
- | **Supply chain** | Third-party access |
74
-
75
- ---
76
-
77
- ## 4. Privilege Escalation Principles
78
-
79
- ### Windows Targets
80
-
81
- | Check | Opportunity |
82
- |-------|-------------|
83
- | Unquoted service paths | Write to path |
84
- | Weak service permissions | Modify service |
85
- | Token privileges | Abuse SeDebug, etc. |
86
- | Stored credentials | Harvest |
87
-
88
- ### Linux Targets
89
-
90
- | Check | Opportunity |
91
- |-------|-------------|
92
- | SUID binaries | Execute as owner |
93
- | Sudo misconfiguration | Command execution |
94
- | Kernel vulnerabilities | Kernel exploits |
95
- | Cron jobs | Writable scripts |
96
-
97
- ---
98
-
99
- ## 5. Defense Evasion Principles
100
-
101
- ### Key Techniques
102
-
103
- | Technique | Purpose |
104
- |-----------|---------|
105
- | LOLBins | Use legitimate tools |
106
- | Obfuscation | Hide malicious code |
107
- | Timestomping | Hide file modifications |
108
- | Log clearing | Remove evidence |
109
-
110
- ### Operational Security
111
-
112
- - Work during business hours
113
- - Mimic legitimate traffic patterns
114
- - Use encrypted channels
115
- - Blend with normal behavior
116
-
117
- ---
118
-
119
- ## 6. Lateral Movement Principles
120
-
121
- ### Credential Types
122
-
123
- | Type | Use |
124
- |------|-----|
125
- | Password | Standard auth |
126
- | Hash | Pass-the-hash |
127
- | Ticket | Pass-the-ticket |
128
- | Certificate | Certificate auth |
129
-
130
- ### Movement Paths
131
-
132
- - Admin shares
133
- - Remote services (RDP, SSH, WinRM)
134
- - Exploitation of internal services
135
-
136
- ---
137
-
138
- ## 7. Active Directory Attacks
139
-
140
- ### Attack Categories
141
-
142
- | Attack | Target |
143
- |--------|--------|
144
- | Kerberoasting | Service account passwords |
145
- | AS-REP Roasting | Accounts without pre-auth |
146
- | DCSync | Domain credentials |
147
- | Golden Ticket | Persistent domain access |
148
-
149
- ---
150
-
151
- ## 8. Reporting Principles
152
-
153
- ### Attack Narrative
154
-
155
- Document the full attack chain:
156
- 1. How initial access was gained
157
- 2. What techniques were used
158
- 3. What objectives were achieved
159
- 4. Where detection failed
160
-
161
- ### Detection Gaps
162
-
163
- For each successful technique:
164
- - What should have detected it?
165
- - Why didn't detection work?
166
- - How to improve detection
167
-
168
- ---
169
-
170
- ## 9. Ethical Boundaries
171
-
172
- ### Always
173
-
174
- - Stay within scope
175
- - Minimize impact
176
- - Report immediately if real threat found
177
- - Document all actions
178
-
179
- ### Never
180
-
181
- - Destroy production data
182
- - Cause denial of service (unless scoped)
183
- - Access beyond proof of concept
184
- - Retain sensitive data
185
-
186
- ---
187
-
188
- ## 10. Anti-Patterns
189
-
190
- | ❌ Don't | ✅ Do |
191
- |----------|-------|
192
- | Rush to exploitation | Follow methodology |
193
- | Cause damage | Minimize impact |
194
- | Skip reporting | Document everything |
195
- | Ignore scope | Stay within boundaries |
196
-
197
- ---
198
-
199
- > **Remember:** Red team simulates attackers to improve defenses, not to cause harm.
@@ -1,129 +0,0 @@
1
- ---
2
- name: seo-fundamentals
3
- description: SEO fundamentals, E-E-A-T, Core Web Vitals, and Google algorithm principles.
4
- allowed-tools: Read, Glob, Grep
5
- ---
6
-
7
- # SEO Fundamentals
8
-
9
- > Principles for search engine visibility.
10
-
11
- ---
12
-
13
- ## 1. E-E-A-T Framework
14
-
15
- | Principle | Signals |
16
- |-----------|---------|
17
- | **Experience** | First-hand knowledge, real examples |
18
- | **Expertise** | Credentials, depth of knowledge |
19
- | **Authoritativeness** | Backlinks, mentions, industry recognition |
20
- | **Trustworthiness** | HTTPS, transparency, accurate info |
21
-
22
- ---
23
-
24
- ## 2. Core Web Vitals
25
-
26
- | Metric | Target | Measures |
27
- |--------|--------|----------|
28
- | **LCP** | < 2.5s | Loading performance |
29
- | **INP** | < 200ms | Interactivity |
30
- | **CLS** | < 0.1 | Visual stability |
31
-
32
- ---
33
-
34
- ## 3. Technical SEO Principles
35
-
36
- ### Site Structure
37
-
38
- | Element | Purpose |
39
- |---------|---------|
40
- | XML sitemap | Help crawling |
41
- | robots.txt | Control access |
42
- | Canonical tags | Prevent duplicates |
43
- | HTTPS | Security signal |
44
-
45
- ### Performance
46
-
47
- | Factor | Impact |
48
- |--------|--------|
49
- | Page speed | Core Web Vital |
50
- | Mobile-friendly | Ranking factor |
51
- | Clean URLs | Crawlability |
52
-
53
- ---
54
-
55
- ## 4. Content SEO Principles
56
-
57
- ### Page Elements
58
-
59
- | Element | Best Practice |
60
- |---------|---------------|
61
- | Title tag | 50-60 chars, keyword front |
62
- | Meta description | 150-160 chars, compelling |
63
- | H1 | One per page, main keyword |
64
- | H2-H6 | Logical hierarchy |
65
- | Alt text | Descriptive, not stuffed |
66
-
67
- ### Content Quality
68
-
69
- | Factor | Importance |
70
- |--------|------------|
71
- | Depth | Comprehensive coverage |
72
- | Freshness | Regular updates |
73
- | Uniqueness | Original value |
74
- | Readability | Clear writing |
75
-
76
- ---
77
-
78
- ## 5. Schema Markup Types
79
-
80
- | Type | Use |
81
- |------|-----|
82
- | Article | Blog posts, news |
83
- | Organization | Company info |
84
- | Person | Author profiles |
85
- | FAQPage | Q&A content |
86
- | Product | E-commerce |
87
- | Review | Ratings |
88
- | BreadcrumbList | Navigation |
89
-
90
- ---
91
-
92
- ## 6. AI Content Guidelines
93
-
94
- ### What Google Looks For
95
-
96
- | ✅ Do | ❌ Don't |
97
- |-------|----------|
98
- | AI draft + human edit | Publish raw AI content |
99
- | Add original insights | Copy without value |
100
- | Expert review | Skip fact-checking |
101
- | Follow E-E-A-T | Keyword stuffing |
102
-
103
- ---
104
-
105
- ## 7. Ranking Factors (Prioritized)
106
-
107
- | Priority | Factor |
108
- |----------|--------|
109
- | 1 | Quality, relevant content |
110
- | 2 | Backlinks from authority sites |
111
- | 3 | Page experience (Core Web Vitals) |
112
- | 4 | Mobile optimization |
113
- | 5 | Technical SEO fundamentals |
114
-
115
- ---
116
-
117
- ## 8. Measurement
118
-
119
- | Metric | Tool |
120
- |--------|------|
121
- | Rankings | Search Console, Ahrefs |
122
- | Traffic | Analytics |
123
- | Core Web Vitals | PageSpeed Insights |
124
- | Indexing | Search Console |
125
- | Backlinks | Ahrefs, Semrush |
126
-
127
- ---
128
-
129
- > **Remember:** SEO is a long-term game. Quality content + technical excellence + patience = results.
@@ -1,219 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- SEO Checker - Search Engine Optimization Audit
4
- Checks HTML/JSX/TSX pages for SEO best practices.
5
-
6
- PURPOSE:
7
- - Verify meta tags, titles, descriptions
8
- - Check Open Graph tags for social sharing
9
- - Validate heading hierarchy
10
- - Check image accessibility (alt attributes)
11
-
12
- WHAT IT CHECKS:
13
- - HTML files (actual web pages)
14
- - JSX/TSX files (React page components)
15
- - Only files that are likely PUBLIC pages
16
-
17
- Usage:
18
- python seo_checker.py <project_path>
19
- """
20
- import sys
21
- import json
22
- import re
23
- from pathlib import Path
24
- from datetime import datetime
25
-
26
- # Fix Windows console encoding
27
- try:
28
- sys.stdout.reconfigure(encoding='utf-8', errors='replace')
29
- except:
30
- pass
31
-
32
-
33
- # Directories to skip
34
- SKIP_DIRS = {
35
- 'node_modules', '.next', 'dist', 'build', '.git', '.github',
36
- '__pycache__', '.vscode', '.idea', 'coverage', 'test', 'tests',
37
- '__tests__', 'spec', 'docs', 'documentation', 'examples'
38
- }
39
-
40
- # Files to skip (not pages)
41
- SKIP_PATTERNS = [
42
- 'config', 'setup', 'util', 'helper', 'hook', 'context', 'store',
43
- 'service', 'api', 'lib', 'constant', 'type', 'interface', 'mock',
44
- '.test.', '.spec.', '_test.', '_spec.'
45
- ]
46
-
47
-
48
- def is_page_file(file_path: Path) -> bool:
49
- """Check if this file is likely a public-facing page."""
50
- name = file_path.name.lower()
51
- stem = file_path.stem.lower()
52
-
53
- # Skip utility/config files
54
- if any(skip in name for skip in SKIP_PATTERNS):
55
- return False
56
-
57
- # Check path - pages in specific directories are likely pages
58
- parts = [p.lower() for p in file_path.parts]
59
- page_dirs = ['pages', 'app', 'routes', 'views', 'screens']
60
-
61
- if any(d in parts for d in page_dirs):
62
- return True
63
-
64
- # Filename indicators for pages
65
- page_names = ['page', 'index', 'home', 'about', 'contact', 'blog',
66
- 'post', 'article', 'product', 'landing', 'layout']
67
-
68
- if any(p in stem for p in page_names):
69
- return True
70
-
71
- # HTML files are usually pages
72
- if file_path.suffix.lower() in ['.html', '.htm']:
73
- return True
74
-
75
- return False
76
-
77
-
78
- def find_pages(project_path: Path) -> list:
79
- """Find page files to check."""
80
- patterns = ['**/*.html', '**/*.htm', '**/*.jsx', '**/*.tsx']
81
-
82
- files = []
83
- for pattern in patterns:
84
- for f in project_path.glob(pattern):
85
- # Skip excluded directories
86
- if any(skip in f.parts for skip in SKIP_DIRS):
87
- continue
88
-
89
- # Check if it's likely a page
90
- if is_page_file(f):
91
- files.append(f)
92
-
93
- return files[:50] # Limit to 50 files
94
-
95
-
96
- def check_page(file_path: Path) -> dict:
97
- """Check a single page for SEO issues."""
98
- issues = []
99
-
100
- try:
101
- content = file_path.read_text(encoding='utf-8', errors='ignore')
102
- except Exception as e:
103
- return {"file": str(file_path.name), "issues": [f"Error: {e}"]}
104
-
105
- # Detect if this is a layout/template file (has Head component)
106
- is_layout = 'Head>' in content or '<head' in content.lower()
107
-
108
- # 1. Title tag
109
- has_title = '<title' in content.lower() or 'title=' in content or 'Head>' in content
110
- if not has_title and is_layout:
111
- issues.append("Missing <title> tag")
112
-
113
- # 2. Meta description
114
- has_description = 'name="description"' in content.lower() or 'name=\'description\'' in content.lower()
115
- if not has_description and is_layout:
116
- issues.append("Missing meta description")
117
-
118
- # 3. Open Graph tags
119
- has_og = 'og:' in content or 'property="og:' in content.lower()
120
- if not has_og and is_layout:
121
- issues.append("Missing Open Graph tags")
122
-
123
- # 4. Heading hierarchy - multiple H1s
124
- h1_matches = re.findall(r'<h1[^>]*>', content, re.I)
125
- if len(h1_matches) > 1:
126
- issues.append(f"Multiple H1 tags ({len(h1_matches)})")
127
-
128
- # 5. Images without alt
129
- img_pattern = r'<img[^>]+>'
130
- imgs = re.findall(img_pattern, content, re.I)
131
- for img in imgs:
132
- if 'alt=' not in img.lower():
133
- issues.append("Image missing alt attribute")
134
- break
135
- if 'alt=""' in img or "alt=''" in img:
136
- issues.append("Image has empty alt attribute")
137
- break
138
-
139
- # 6. Check for canonical link (nice to have)
140
- # has_canonical = 'rel="canonical"' in content.lower()
141
-
142
- return {
143
- "file": str(file_path.name),
144
- "issues": issues
145
- }
146
-
147
-
148
- def main():
149
- project_path = Path(sys.argv[1] if len(sys.argv) > 1 else ".").resolve()
150
-
151
- print(f"\n{'='*60}")
152
- print(f" SEO CHECKER - Search Engine Optimization Audit")
153
- print(f"{'='*60}")
154
- print(f"Project: {project_path}")
155
- print(f"Time: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}")
156
- print("-"*60)
157
-
158
- # Find pages
159
- pages = find_pages(project_path)
160
-
161
- if not pages:
162
- print("\n[!] No page files found.")
163
- print(" Looking for: HTML, JSX, TSX in pages/app/routes directories")
164
- output = {"script": "seo_checker", "files_checked": 0, "passed": True}
165
- print("\n" + json.dumps(output, indent=2))
166
- sys.exit(0)
167
-
168
- print(f"Found {len(pages)} page files to analyze\n")
169
-
170
- # Check each page
171
- all_issues = []
172
- for f in pages:
173
- result = check_page(f)
174
- if result["issues"]:
175
- all_issues.append(result)
176
-
177
- # Summary
178
- print("=" * 60)
179
- print("SEO ANALYSIS RESULTS")
180
- print("=" * 60)
181
-
182
- if all_issues:
183
- # Group by issue type
184
- issue_counts = {}
185
- for item in all_issues:
186
- for issue in item["issues"]:
187
- issue_counts[issue] = issue_counts.get(issue, 0) + 1
188
-
189
- print("\nIssue Summary:")
190
- for issue, count in sorted(issue_counts.items(), key=lambda x: -x[1]):
191
- print(f" [{count}] {issue}")
192
-
193
- print(f"\nAffected files ({len(all_issues)}):")
194
- for item in all_issues[:5]:
195
- print(f" - {item['file']}")
196
- if len(all_issues) > 5:
197
- print(f" ... and {len(all_issues) - 5} more")
198
- else:
199
- print("\n[OK] No SEO issues found!")
200
-
201
- total_issues = sum(len(item["issues"]) for item in all_issues)
202
- passed = total_issues == 0
203
-
204
- output = {
205
- "script": "seo_checker",
206
- "project": str(project_path),
207
- "files_checked": len(pages),
208
- "files_with_issues": len(all_issues),
209
- "issues_found": total_issues,
210
- "passed": passed
211
- }
212
-
213
- print("\n" + json.dumps(output, indent=2))
214
-
215
- sys.exit(0 if passed else 1)
216
-
217
-
218
- if __name__ == "__main__":
219
- main()
@@ -1,161 +0,0 @@
1
- ---
2
- name: server-management
3
- description: Server management principles and decision-making. Process management, monitoring strategy, and scaling decisions. Teaches thinking, not commands.
4
- allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
- ---
6
-
7
- # Server Management
8
-
9
- > Server management principles for production operations.
10
- > **Learn to THINK, not memorize commands.**
11
-
12
- ---
13
-
14
- ## 1. Process Management Principles
15
-
16
- ### Tool Selection
17
-
18
- | Scenario | Tool |
19
- |----------|------|
20
- | **Node.js app** | PM2 (clustering, reload) |
21
- | **Any app** | systemd (Linux native) |
22
- | **Containers** | Docker/Podman |
23
- | **Orchestration** | Kubernetes, Docker Swarm |
24
-
25
- ### Process Management Goals
26
-
27
- | Goal | What It Means |
28
- |------|---------------|
29
- | **Restart on crash** | Auto-recovery |
30
- | **Zero-downtime reload** | No service interruption |
31
- | **Clustering** | Use all CPU cores |
32
- | **Persistence** | Survive server reboot |
33
-
34
- ---
35
-
36
- ## 2. Monitoring Principles
37
-
38
- ### What to Monitor
39
-
40
- | Category | Key Metrics |
41
- |----------|-------------|
42
- | **Availability** | Uptime, health checks |
43
- | **Performance** | Response time, throughput |
44
- | **Errors** | Error rate, types |
45
- | **Resources** | CPU, memory, disk |
46
-
47
- ### Alert Severity Strategy
48
-
49
- | Level | Response |
50
- |-------|----------|
51
- | **Critical** | Immediate action |
52
- | **Warning** | Investigate soon |
53
- | **Info** | Review daily |
54
-
55
- ### Monitoring Tool Selection
56
-
57
- | Need | Options |
58
- |------|---------|
59
- | Simple/Free | PM2 metrics, htop |
60
- | Full observability | Grafana, Datadog |
61
- | Error tracking | Sentry |
62
- | Uptime | UptimeRobot, Pingdom |
63
-
64
- ---
65
-
66
- ## 3. Log Management Principles
67
-
68
- ### Log Strategy
69
-
70
- | Log Type | Purpose |
71
- |----------|---------|
72
- | **Application logs** | Debug, audit |
73
- | **Access logs** | Traffic analysis |
74
- | **Error logs** | Issue detection |
75
-
76
- ### Log Principles
77
-
78
- 1. **Rotate logs** to prevent disk fill
79
- 2. **Structured logging** (JSON) for parsing
80
- 3. **Appropriate levels** (error/warn/info/debug)
81
- 4. **No sensitive data** in logs
82
-
83
- ---
84
-
85
- ## 4. Scaling Decisions
86
-
87
- ### When to Scale
88
-
89
- | Symptom | Solution |
90
- |---------|----------|
91
- | High CPU | Add instances (horizontal) |
92
- | High memory | Increase RAM or fix leak |
93
- | Slow response | Profile first, then scale |
94
- | Traffic spikes | Auto-scaling |
95
-
96
- ### Scaling Strategy
97
-
98
- | Type | When to Use |
99
- |------|-------------|
100
- | **Vertical** | Quick fix, single instance |
101
- | **Horizontal** | Sustainable, distributed |
102
- | **Auto** | Variable traffic |
103
-
104
- ---
105
-
106
- ## 5. Health Check Principles
107
-
108
- ### What Constitutes Healthy
109
-
110
- | Check | Meaning |
111
- |-------|---------|
112
- | **HTTP 200** | Service responding |
113
- | **Database connected** | Data accessible |
114
- | **Dependencies OK** | External services reachable |
115
- | **Resources OK** | CPU/memory not exhausted |
116
-
117
- ### Health Check Implementation
118
-
119
- - Simple: Just return 200
120
- - Deep: Check all dependencies
121
- - Choose based on load balancer needs
122
-
123
- ---
124
-
125
- ## 6. Security Principles
126
-
127
- | Area | Principle |
128
- |------|-----------|
129
- | **Access** | SSH keys only, no passwords |
130
- | **Firewall** | Only needed ports open |
131
- | **Updates** | Regular security patches |
132
- | **Secrets** | Environment vars, not files |
133
- | **Audit** | Log access and changes |
134
-
135
- ---
136
-
137
- ## 7. Troubleshooting Priority
138
-
139
- When something's wrong:
140
-
141
- 1. **Check if running** (process status)
142
- 2. **Check logs** (error messages)
143
- 3. **Check resources** (disk, memory, CPU)
144
- 4. **Check network** (ports, DNS)
145
- 5. **Check dependencies** (database, APIs)
146
-
147
- ---
148
-
149
- ## 8. Anti-Patterns
150
-
151
- | ❌ Don't | ✅ Do |
152
- |----------|-------|
153
- | Run as root | Use non-root user |
154
- | Ignore logs | Set up log rotation |
155
- | Skip monitoring | Monitor from day one |
156
- | Manual restarts | Auto-restart config |
157
- | No backups | Regular backup schedule |
158
-
159
- ---
160
-
161
- > **Remember:** A well-managed server is boring. That's the goal.