@maestro-ai/mcp-server 1.0.0 → 1.1.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 (448) 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.d.ts.map +1 -1
  141. package/dist/tools/carregar-projeto.js +91 -116
  142. package/dist/tools/carregar-projeto.js.map +1 -1
  143. package/dist/tools/classificar.js +36 -36
  144. package/dist/tools/confirmar-classificacao.js +36 -36
  145. package/dist/tools/confirmar-stitch.js +75 -75
  146. package/dist/tools/contexto.js +56 -56
  147. package/dist/tools/fluxos-alternativos.js +98 -98
  148. package/dist/tools/implementar-historia.js +63 -63
  149. package/dist/tools/iniciar-projeto.d.ts.map +1 -1
  150. package/dist/tools/iniciar-projeto.js +139 -224
  151. package/dist/tools/iniciar-projeto.js.map +1 -1
  152. package/dist/tools/proximo.d.ts.map +1 -1
  153. package/dist/tools/proximo.js +224 -252
  154. package/dist/tools/proximo.js.map +1 -1
  155. package/dist/tools/salvar.js +59 -59
  156. package/dist/tools/status.d.ts.map +1 -1
  157. package/dist/tools/status.js +64 -93
  158. package/dist/tools/status.js.map +1 -1
  159. package/dist/tools/validar-gate.js +35 -35
  160. package/dist/types/response.js +11 -11
  161. package/dist/utils/instructions.js +48 -48
  162. package/dist/utils/prompt-mapper.js +16 -16
  163. package/dist/utils/system-md.js +33 -33
  164. package/package.json +67 -67
  165. package/dist/content/content/design-system/README.md +0 -231
  166. package/dist/content/content/design-system/data/charts.csv +0 -26
  167. package/dist/content/content/design-system/data/colors.csv +0 -97
  168. package/dist/content/content/design-system/data/icons.csv +0 -101
  169. package/dist/content/content/design-system/data/landing.csv +0 -31
  170. package/dist/content/content/design-system/data/products.csv +0 -97
  171. package/dist/content/content/design-system/data/prompts.csv +0 -24
  172. package/dist/content/content/design-system/data/react-performance.csv +0 -45
  173. package/dist/content/content/design-system/data/styles.csv +0 -59
  174. package/dist/content/content/design-system/data/typography.csv +0 -58
  175. package/dist/content/content/design-system/data/ui-reasoning.csv +0 -101
  176. package/dist/content/content/design-system/data/ux-guidelines.csv +0 -100
  177. package/dist/content/content/design-system/data/web-interface.csv +0 -31
  178. package/dist/content/content/design-system/indexes/README.md +0 -211
  179. package/dist/content/content/design-system/indexes/colors-index.md +0 -156
  180. package/dist/content/content/design-system/indexes/quick-search.md +0 -111
  181. package/dist/content/content/design-system/indexes/stacks-index.md +0 -341
  182. package/dist/content/content/design-system/stacks/flutter.csv +0 -53
  183. package/dist/content/content/design-system/stacks/html-tailwind.csv +0 -56
  184. package/dist/content/content/design-system/stacks/jetpack-compose.csv +0 -53
  185. package/dist/content/content/design-system/stacks/nextjs.csv +0 -53
  186. package/dist/content/content/design-system/stacks/nuxt-ui.csv +0 -51
  187. package/dist/content/content/design-system/stacks/nuxtjs.csv +0 -59
  188. package/dist/content/content/design-system/stacks/react-native.csv +0 -52
  189. package/dist/content/content/design-system/stacks/react.csv +0 -54
  190. package/dist/content/content/design-system/stacks/shadcn.csv +0 -61
  191. package/dist/content/content/design-system/stacks/svelte.csv +0 -54
  192. package/dist/content/content/design-system/stacks/swiftui.csv +0 -51
  193. package/dist/content/content/design-system/stacks/vue.csv +0 -50
  194. package/dist/content/content/examples/Exemplo de Fluxo Completo com Java e Spring Boot.md +0 -250
  195. package/dist/content/content/examples/Exemplo de Fluxo Completo com Laravel e Filament.md +0 -278
  196. package/dist/content/content/examples/Exemplo de Fluxo Completo com Laravel e Livewire.md +0 -261
  197. package/dist/content/content/examples/Exemplo de Fluxo Completo com Node e NestJS.md +0 -258
  198. package/dist/content/content/guides/Cat/303/241logo de Stacks para Cloud Moderna.md" +0 -119
  199. package/dist/content/content/guides/Cat/303/241logo de Stacks para Hospedagem Compartilhada.md" +0 -147
  200. package/dist/content/content/guides/Checklist Mestre de Entrega.md +0 -68
  201. package/dist/content/content/guides/Gates de Qualidade.md +0 -209
  202. package/dist/content/content/guides/Guia de Adi/303/247/303/243o de Novas Funcionalidades.md" +0 -355
  203. package/dist/content/content/guides/Guia de Chaos Engineering.md +0 -267
  204. package/dist/content/content/guides/Guia de Debugging com IA.md +0 -135
  205. package/dist/content/content/guides/Guia de Estrat/303/251gias de Cache.md" +0 -352
  206. package/dist/content/content/guides/Guia de Migrations Zero-Downtime.md +0 -311
  207. package/dist/content/content/guides/Guia de Multi-tenancy.md +0 -368
  208. package/dist/content/content/guides/Guia de Otimiza/303/247/303/243o de Custos Cloud.md" +0 -195
  209. package/dist/content/content/guides/Guia de Refatora/303/247/303/243o de C/303/263digo Legado com IA.md" +0 -162
  210. package/dist/content/content/guides/Guia de SLOs e Error Budgets.md +0 -315
  211. package/dist/content/content/guides/M/303/251tricas de Efici/303/252ncia do Desenvolvimento com IA.md" +0 -93
  212. package/dist/content/content/guides/Rules base.md +0 -90
  213. package/dist/content/content/playbook/Playbook de Desenvolvimento com IA.md +0 -364
  214. package/dist/content/content/prompts/README.md +0 -203
  215. package/dist/content/content/prompts/acessibilidade/analise-acessibilidade.md +0 -257
  216. package/dist/content/content/prompts/apis/design-api-rest.md +0 -303
  217. package/dist/content/content/prompts/apis/idempotencia.md +0 -254
  218. package/dist/content/content/prompts/apis/versionamento.md +0 -313
  219. package/dist/content/content/prompts/arquitetura/arquitetura-c4-completo.md +0 -190
  220. package/dist/content/content/prompts/arquitetura/clean-architecture.md +0 -151
  221. package/dist/content/content/prompts/arquitetura/ddd-bounded-contexts.md +0 -183
  222. package/dist/content/content/prompts/arquitetura/ddd-cqrs.md +0 -176
  223. package/dist/content/content/prompts/arquitetura/modelo-dominio.md +0 -207
  224. package/dist/content/content/prompts/arquitetura/multi-tenancy.md +0 -235
  225. package/dist/content/content/prompts/database/migrations-zero-downtime.md +0 -192
  226. package/dist/content/content/prompts/database/otimizacao-queries.md +0 -296
  227. package/dist/content/content/prompts/desenvolvimento/code-review.md +0 -301
  228. package/dist/content/content/prompts/desenvolvimento/gerar-servico.md +0 -271
  229. package/dist/content/content/prompts/devops/docker-compose.md +0 -336
  230. package/dist/content/content/prompts/devops/feature-flags.md +0 -374
  231. package/dist/content/content/prompts/devops/kubernetes-deploy.md +0 -460
  232. package/dist/content/content/prompts/devops/pipeline-cicd.md +0 -358
  233. package/dist/content/content/prompts/devops/terraform-iac.md +0 -502
  234. package/dist/content/content/prompts/escalabilidade/analise-performance.md +0 -240
  235. package/dist/content/content/prompts/escalabilidade/analise-performance.txt +0 -94
  236. package/dist/content/content/prompts/escalabilidade/caching.md +0 -255
  237. package/dist/content/content/prompts/observabilidade/chaos-testing.md +0 -237
  238. package/dist/content/content/prompts/observabilidade/estrategia-observabilidade.md +0 -263
  239. package/dist/content/content/prompts/observabilidade/estrategia-observabilidade.txt +0 -134
  240. package/dist/content/content/prompts/observabilidade/slos.md +0 -215
  241. package/dist/content/content/prompts/produto/discovery-inicial.md +0 -203
  242. package/dist/content/content/prompts/produto/discovery-inicial.txt +0 -33
  243. package/dist/content/content/prompts/requisitos/refinar-requisitos.md +0 -232
  244. package/dist/content/content/prompts/requisitos/refinar-requisitos.txt +0 -40
  245. package/dist/content/content/prompts/seguranca/analise-seguranca.md +0 -243
  246. package/dist/content/content/prompts/seguranca/pentest-checklist.md +0 -333
  247. package/dist/content/content/prompts/seguranca/rate-limiting.md +0 -356
  248. package/dist/content/content/prompts/seguranca/revisao-lgpd.md +0 -227
  249. package/dist/content/content/prompts/seguranca/threat-modeling.md +0 -224
  250. package/dist/content/content/prompts/testes/contract-testing.md +0 -340
  251. package/dist/content/content/prompts/testes/gerar-testes-unitarios.md +0 -474
  252. package/dist/content/content/prompts/testes/testes-e2e.md +0 -460
  253. package/dist/content/content/prompts/testes/testes-integracao.md +0 -418
  254. package/dist/content/content/prompts/testes/testes-performance.md +0 -458
  255. package/dist/content/content/prompts/ux/gerar-ui-stitch.md +0 -151
  256. package/dist/content/content/rules/GEMINI.md +0 -841
  257. package/dist/content/content/rules/RULES.md +0 -835
  258. package/dist/content/content/rules/adapters/copilot.md +0 -10
  259. package/dist/content/content/rules/adapters/cursor.md +0 -10
  260. package/dist/content/content/rules/adapters/gemini.md +0 -13
  261. package/dist/content/content/rules/adapters/windsurf.md +0 -10
  262. package/dist/content/content/skills/api-patterns/SKILL.md +0 -81
  263. package/dist/content/content/skills/api-patterns/api-style.md +0 -42
  264. package/dist/content/content/skills/api-patterns/auth.md +0 -24
  265. package/dist/content/content/skills/api-patterns/documentation.md +0 -26
  266. package/dist/content/content/skills/api-patterns/graphql.md +0 -41
  267. package/dist/content/content/skills/api-patterns/rate-limiting.md +0 -31
  268. package/dist/content/content/skills/api-patterns/response.md +0 -37
  269. package/dist/content/content/skills/api-patterns/rest.md +0 -40
  270. package/dist/content/content/skills/api-patterns/scripts/api_validator.py +0 -211
  271. package/dist/content/content/skills/api-patterns/security-testing.md +0 -122
  272. package/dist/content/content/skills/api-patterns/trpc.md +0 -41
  273. package/dist/content/content/skills/api-patterns/versioning.md +0 -22
  274. package/dist/content/content/skills/app-builder/SKILL.md +0 -75
  275. package/dist/content/content/skills/app-builder/agent-coordination.md +0 -71
  276. package/dist/content/content/skills/app-builder/feature-building.md +0 -53
  277. package/dist/content/content/skills/app-builder/project-detection.md +0 -34
  278. package/dist/content/content/skills/app-builder/scaffolding.md +0 -118
  279. package/dist/content/content/skills/app-builder/tech-stack.md +0 -40
  280. package/dist/content/content/skills/app-builder/templates/SKILL.md +0 -39
  281. package/dist/content/content/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  282. package/dist/content/content/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  283. package/dist/content/content/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  284. package/dist/content/content/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  285. package/dist/content/content/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  286. package/dist/content/content/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  287. package/dist/content/content/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  288. package/dist/content/content/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -82
  289. package/dist/content/content/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -100
  290. package/dist/content/content/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -106
  291. package/dist/content/content/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -101
  292. package/dist/content/content/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  293. package/dist/content/content/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -93
  294. package/dist/content/content/skills/architecture/SKILL.md +0 -55
  295. package/dist/content/content/skills/architecture/context-discovery.md +0 -43
  296. package/dist/content/content/skills/architecture/examples.md +0 -94
  297. package/dist/content/content/skills/architecture/pattern-selection.md +0 -68
  298. package/dist/content/content/skills/architecture/patterns-reference.md +0 -50
  299. package/dist/content/content/skills/architecture/trade-off-analysis.md +0 -77
  300. package/dist/content/content/skills/bash-linux/SKILL.md +0 -199
  301. package/dist/content/content/skills/behavioral-modes/SKILL.md +0 -242
  302. package/dist/content/content/skills/brainstorming/SKILL.md +0 -163
  303. package/dist/content/content/skills/brainstorming/dynamic-questioning.md +0 -350
  304. package/dist/content/content/skills/clean-code/SKILL.md +0 -201
  305. package/dist/content/content/skills/code-review-checklist/SKILL.md +0 -109
  306. package/dist/content/content/skills/database-design/SKILL.md +0 -52
  307. package/dist/content/content/skills/database-design/database-selection.md +0 -43
  308. package/dist/content/content/skills/database-design/indexing.md +0 -39
  309. package/dist/content/content/skills/database-design/migrations.md +0 -48
  310. package/dist/content/content/skills/database-design/optimization.md +0 -36
  311. package/dist/content/content/skills/database-design/orm-selection.md +0 -30
  312. package/dist/content/content/skills/database-design/schema-design.md +0 -56
  313. package/dist/content/content/skills/database-design/scripts/schema_validator.py +0 -172
  314. package/dist/content/content/skills/deployment-procedures/SKILL.md +0 -241
  315. package/dist/content/content/skills/doc.md +0 -177
  316. package/dist/content/content/skills/documentation-templates/SKILL.md +0 -194
  317. package/dist/content/content/skills/frontend-design/SKILL.md +0 -396
  318. package/dist/content/content/skills/frontend-design/animation-guide.md +0 -331
  319. package/dist/content/content/skills/frontend-design/color-system.md +0 -311
  320. package/dist/content/content/skills/frontend-design/decision-trees.md +0 -418
  321. package/dist/content/content/skills/frontend-design/motion-graphics.md +0 -306
  322. package/dist/content/content/skills/frontend-design/scripts/accessibility_checker.py +0 -183
  323. package/dist/content/content/skills/frontend-design/scripts/ux_audit.py +0 -722
  324. package/dist/content/content/skills/frontend-design/typography-system.md +0 -345
  325. package/dist/content/content/skills/frontend-design/ux-psychology.md +0 -541
  326. package/dist/content/content/skills/frontend-design/visual-effects.md +0 -383
  327. package/dist/content/content/skills/game-development/2d-games/SKILL.md +0 -119
  328. package/dist/content/content/skills/game-development/3d-games/SKILL.md +0 -135
  329. package/dist/content/content/skills/game-development/SKILL.md +0 -167
  330. package/dist/content/content/skills/game-development/game-art/SKILL.md +0 -185
  331. package/dist/content/content/skills/game-development/game-audio/SKILL.md +0 -190
  332. package/dist/content/content/skills/game-development/game-design/SKILL.md +0 -129
  333. package/dist/content/content/skills/game-development/mobile-games/SKILL.md +0 -108
  334. package/dist/content/content/skills/game-development/multiplayer/SKILL.md +0 -132
  335. package/dist/content/content/skills/game-development/pc-games/SKILL.md +0 -144
  336. package/dist/content/content/skills/game-development/vr-ar/SKILL.md +0 -123
  337. package/dist/content/content/skills/game-development/web-games/SKILL.md +0 -150
  338. package/dist/content/content/skills/geo-fundamentals/SKILL.md +0 -156
  339. package/dist/content/content/skills/geo-fundamentals/scripts/geo_checker.py +0 -289
  340. package/dist/content/content/skills/i18n-localization/SKILL.md +0 -154
  341. package/dist/content/content/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  342. package/dist/content/content/skills/intelligent-routing/SKILL.md +0 -334
  343. package/dist/content/content/skills/lint-and-validate/SKILL.md +0 -45
  344. package/dist/content/content/skills/lint-and-validate/scripts/lint_runner.py +0 -172
  345. package/dist/content/content/skills/lint-and-validate/scripts/type_coverage.py +0 -173
  346. package/dist/content/content/skills/mcp-builder/SKILL.md +0 -176
  347. package/dist/content/content/skills/mobile-design/SKILL.md +0 -394
  348. package/dist/content/content/skills/mobile-design/decision-trees.md +0 -516
  349. package/dist/content/content/skills/mobile-design/mobile-backend.md +0 -491
  350. package/dist/content/content/skills/mobile-design/mobile-color-system.md +0 -420
  351. package/dist/content/content/skills/mobile-design/mobile-debugging.md +0 -122
  352. package/dist/content/content/skills/mobile-design/mobile-design-thinking.md +0 -357
  353. package/dist/content/content/skills/mobile-design/mobile-navigation.md +0 -458
  354. package/dist/content/content/skills/mobile-design/mobile-performance.md +0 -767
  355. package/dist/content/content/skills/mobile-design/mobile-testing.md +0 -356
  356. package/dist/content/content/skills/mobile-design/mobile-typography.md +0 -433
  357. package/dist/content/content/skills/mobile-design/platform-android.md +0 -666
  358. package/dist/content/content/skills/mobile-design/platform-ios.md +0 -561
  359. package/dist/content/content/skills/mobile-design/scripts/mobile_audit.py +0 -670
  360. package/dist/content/content/skills/mobile-design/touch-psychology.md +0 -537
  361. package/dist/content/content/skills/nextjs-best-practices/SKILL.md +0 -203
  362. package/dist/content/content/skills/nodejs-best-practices/SKILL.md +0 -333
  363. package/dist/content/content/skills/parallel-agents/SKILL.md +0 -175
  364. package/dist/content/content/skills/performance-profiling/SKILL.md +0 -143
  365. package/dist/content/content/skills/performance-profiling/scripts/lighthouse_audit.py +0 -76
  366. package/dist/content/content/skills/plan-writing/SKILL.md +0 -152
  367. package/dist/content/content/skills/powershell-windows/SKILL.md +0 -167
  368. package/dist/content/content/skills/python-patterns/SKILL.md +0 -441
  369. package/dist/content/content/skills/react-patterns/SKILL.md +0 -198
  370. package/dist/content/content/skills/red-team-tactics/SKILL.md +0 -199
  371. package/dist/content/content/skills/seo-fundamentals/SKILL.md +0 -129
  372. package/dist/content/content/skills/seo-fundamentals/scripts/seo_checker.py +0 -219
  373. package/dist/content/content/skills/server-management/SKILL.md +0 -161
  374. package/dist/content/content/skills/systematic-debugging/SKILL.md +0 -109
  375. package/dist/content/content/skills/tailwind-patterns/SKILL.md +0 -269
  376. package/dist/content/content/skills/tdd-workflow/SKILL.md +0 -149
  377. package/dist/content/content/skills/testing-patterns/SKILL.md +0 -178
  378. package/dist/content/content/skills/testing-patterns/scripts/test_runner.py +0 -219
  379. package/dist/content/content/skills/vulnerability-scanner/SKILL.md +0 -276
  380. package/dist/content/content/skills/vulnerability-scanner/checklists.md +0 -121
  381. package/dist/content/content/skills/vulnerability-scanner/scripts/security_scan.py +0 -458
  382. package/dist/content/content/skills/webapp-testing/SKILL.md +0 -187
  383. package/dist/content/content/skills/webapp-testing/scripts/playwright_runner.py +0 -173
  384. package/dist/content/content/specialists/Especialista em Acessibilidade.md +0 -266
  385. package/dist/content/content/specialists/Especialista em An/303/241lise de Testes.md" +0 -434
  386. package/dist/content/content/specialists/Especialista em Arquitetura Avan/303/247ada.md" +0 -358
  387. package/dist/content/content/specialists/Especialista em Arquitetura de Software.md +0 -177
  388. package/dist/content/content/specialists/Especialista em Banco de Dados.md +0 -260
  389. package/dist/content/content/specialists/Especialista em Contrato de API.md +0 -172
  390. package/dist/content/content/specialists/Especialista em Dados e Analytics com IA.md +0 -246
  391. package/dist/content/content/specialists/Especialista em Debugging e Troubleshooting.md +0 -191
  392. package/dist/content/content/specialists/Especialista em Desenvolvimento Frontend.md +0 -477
  393. package/dist/content/content/specialists/Especialista em Desenvolvimento Mobile.md +0 -241
  394. package/dist/content/content/specialists/Especialista em Desenvolvimento e Vibe Coding Estruturado.md +0 -417
  395. package/dist/content/content/specialists/Especialista em DevOps e Infraestrutura.md +0 -294
  396. package/dist/content/content/specialists/Especialista em Documenta/303/247/303/243o T/303/251cnica.md" +0 -227
  397. package/dist/content/content/specialists/Especialista em Engenharia de Requisitos com IA.md +0 -299
  398. package/dist/content/content/specialists/Especialista em Explora/303/247/303/243o de Codebase.md" +0 -179
  399. package/dist/content/content/specialists/Especialista em Gest/303/243o de Produto.md" +0 -179
  400. package/dist/content/content/specialists/Especialista em Migra/303/247/303/243o e Moderniza/303/247/303/243o.md" +0 -410
  401. package/dist/content/content/specialists/Especialista em Modelagem e Arquitetura de Dom/303/255nio com IA.md" +0 -248
  402. package/dist/content/content/specialists/Especialista em Observabilidade.md +0 -415
  403. package/dist/content/content/specialists/Especialista em Performance e Escalabilidade.md +0 -373
  404. package/dist/content/content/specialists/Especialista em Plano de Execu/303/247/303/243o com IA.md" +0 -341
  405. package/dist/content/content/specialists/Especialista em Prototipagem R/303/241pida com Google Stitch.md" +0 -419
  406. package/dist/content/content/specialists/Especialista em Seguran/303/247a da Informa/303/247/303/243o.md" +0 -508
  407. package/dist/content/content/specialists/Especialista em UX Design.md +0 -453
  408. package/dist/content/content/specialists/INDEX.md +0 -43
  409. package/dist/content/content/templates/PRD.md +0 -165
  410. package/dist/content/content/templates/README.md +0 -65
  411. package/dist/content/content/templates/adr.md +0 -103
  412. package/dist/content/content/templates/arquitetura.md +0 -279
  413. package/dist/content/content/templates/backlog.md +0 -185
  414. package/dist/content/content/templates/checklist-seguranca.md +0 -180
  415. package/dist/content/content/templates/contexto.md +0 -120
  416. package/dist/content/content/templates/criterios-aceite.md +0 -99
  417. package/dist/content/content/templates/design-banco.md +0 -270
  418. package/dist/content/content/templates/design-doc.md +0 -240
  419. package/dist/content/content/templates/feature.md +0 -88
  420. package/dist/content/content/templates/historia-backend.md +0 -84
  421. package/dist/content/content/templates/historia-frontend.md +0 -75
  422. package/dist/content/content/templates/historia-usuario.md +0 -125
  423. package/dist/content/content/templates/mapa-navegacao.md +0 -133
  424. package/dist/content/content/templates/matriz-rastreabilidade.md +0 -121
  425. package/dist/content/content/templates/modelo-dominio.md +0 -219
  426. package/dist/content/content/templates/plano-testes.md +0 -199
  427. package/dist/content/content/templates/prototipo-stitch.md +0 -138
  428. package/dist/content/content/templates/requisitos.md +0 -162
  429. package/dist/content/content/templates/slo-sli.md +0 -197
  430. package/dist/content/content/workflows/README-MCP.md +0 -363
  431. package/dist/content/content/workflows/brainstorm.md +0 -113
  432. package/dist/content/content/workflows/create.md +0 -59
  433. package/dist/content/content/workflows/debug.md +0 -103
  434. package/dist/content/content/workflows/deploy.md +0 -176
  435. package/dist/content/content/workflows/enhance.md +0 -63
  436. package/dist/content/content/workflows/mcp-debug.md +0 -506
  437. package/dist/content/content/workflows/mcp-feature.md +0 -385
  438. package/dist/content/content/workflows/mcp-gate.md +0 -413
  439. package/dist/content/content/workflows/mcp-next.md +0 -388
  440. package/dist/content/content/workflows/mcp-refactor.md +0 -600
  441. package/dist/content/content/workflows/mcp-start.md +0 -304
  442. package/dist/content/content/workflows/mcp-status.md +0 -400
  443. package/dist/content/content/workflows/orchestrate.md +0 -237
  444. package/dist/content/content/workflows/plan.md +0 -89
  445. package/dist/content/content/workflows/preview.md +0 -81
  446. package/dist/content/content/workflows/status.md +0 -86
  447. package/dist/content/content/workflows/test.md +0 -144
  448. package/dist/content/content/workflows/ui-ux-pro-max.md +0 -296
@@ -1,537 +0,0 @@
1
- # Touch Psychology Reference
2
-
3
- > Deep dive into mobile touch interaction, Fitts' Law for touch, thumb zone anatomy, gesture psychology, and haptic feedback.
4
- > **This is the mobile equivalent of ux-psychology.md - CRITICAL for all mobile work.**
5
-
6
- ---
7
-
8
- ## 1. Fitts' Law for Touch
9
-
10
- ### The Fundamental Difference
11
-
12
- ```
13
- DESKTOP (Mouse/Trackpad):
14
- ├── Cursor size: 1 pixel (precision)
15
- ├── Visual feedback: Hover states
16
- ├── Error cost: Low (easy to retry)
17
- └── Target acquisition: Fast, precise
18
-
19
- MOBILE (Finger):
20
- ├── Contact area: ~7mm diameter (imprecise)
21
- ├── Visual feedback: No hover, only tap
22
- ├── Error cost: High (frustrating retries)
23
- ├── Occlusion: Finger covers the target
24
- └── Target acquisition: Slower, needs larger targets
25
- ```
26
-
27
- ### Fitts' Law Formula Adapted
28
-
29
- ```
30
- Touch acquisition time = a + b × log₂(1 + D/W)
31
-
32
- Where:
33
- ├── D = Distance to target
34
- ├── W = Width of target
35
- └── For touch: W must be MUCH larger than desktop
36
- ```
37
-
38
- ### Minimum Touch Target Sizes
39
-
40
- | Platform | Minimum | Recommended | Use For |
41
- |----------|---------|-------------|---------|
42
- | **iOS (HIG)** | 44pt × 44pt | 48pt+ | All tappable elements |
43
- | **Android (Material)** | 48dp × 48dp | 56dp+ | All tappable elements |
44
- | **WCAG 2.2** | 44px × 44px | - | Accessibility compliance |
45
- | **Critical Actions** | - | 56-64px | Primary CTAs, destructive actions |
46
-
47
- ### Visual Size vs Hit Area
48
-
49
- ```
50
- ┌─────────────────────────────────────┐
51
- │ │
52
- │ ┌─────────────────────────┐ │
53
- │ │ │ │
54
- │ │ [ BUTTON ] │ ← Visual: 36px
55
- │ │ │ │
56
- │ └─────────────────────────┘ │
57
- │ │ ← Hit area: 48px (padding extends)
58
- └─────────────────────────────────────┘
59
-
60
- ✅ CORRECT: Visual can be smaller if hit area is minimum 44-48px
61
- ❌ WRONG: Making hit area same as small visual element
62
- ```
63
-
64
- ### Application Rules
65
-
66
- | Element | Visual Size | Hit Area |
67
- |---------|-------------|----------|
68
- | Icon buttons | 24-32px | 44-48px (padding) |
69
- | Text links | Any | 44px height minimum |
70
- | List items | Full width | 48-56px height |
71
- | Checkboxes/Radio | 20-24px | 44-48px tap area |
72
- | Close/X buttons | 24px | 44px minimum |
73
- | Tab bar items | Icon 24-28px | Full tab width, 49px height (iOS) |
74
-
75
- ---
76
-
77
- ## 2. Thumb Zone Anatomy
78
-
79
- ### One-Handed Phone Usage
80
-
81
- ```
82
- Research shows: 49% of users hold phone one-handed.
83
-
84
- ┌─────────────────────────────────────┐
85
- │ │
86
- │ ┌─────────────────────────────┐ │
87
- │ │ HARD TO REACH │ │ ← Status bar, top nav
88
- │ │ (requires stretch) │ │ Put: Back, menu, settings
89
- │ │ │ │
90
- │ ├─────────────────────────────┤ │
91
- │ │ │ │
92
- │ │ OK TO REACH │ │ ← Content area
93
- │ │ (comfortable) │ │ Put: Secondary actions, content
94
- │ │ │ │
95
- │ ├─────────────────────────────┤ │
96
- │ │ │ │
97
- │ │ EASY TO REACH │ │ ← Tab bar, FAB zone
98
- │ │ (thumb's arc) │ │ Put: PRIMARY CTAs!
99
- │ │ │ │
100
- │ └─────────────────────────────┘ │
101
- │ │
102
- │ [ HOME ] │
103
- └─────────────────────────────────────┘
104
- ```
105
-
106
- ### Thumb Arc (Right-Handed User)
107
-
108
- ```
109
- Right hand holding phone:
110
-
111
- ┌───────────────────────────────┐
112
- │ STRETCH STRETCH OK │
113
- │ │
114
- │ STRETCH OK EASY │
115
- │ │
116
- │ OK EASY EASY │
117
- │ │
118
- │ EASY EASY EASY │
119
- └───────────────────────────────┘
120
-
121
- Left hand is mirrored.
122
- → Design for BOTH hands or assume right-dominant
123
- ```
124
-
125
- ### Placement Guidelines
126
-
127
- | Element Type | Ideal Position | Reason |
128
- |--------------|----------------|--------|
129
- | **Primary CTA** | Bottom center/right | Easy thumb reach |
130
- | **Tab bar** | Bottom | Natural thumb position |
131
- | **FAB** | Bottom right | Easy for right hand |
132
- | **Navigation** | Top (stretch) | Less frequent use |
133
- | **Destructive actions** | Top left | Hard to reach = harder to accidentally tap |
134
- | **Dismiss/Cancel** | Top left | Convention + safety |
135
- | **Confirm/Done** | Top right or bottom | Convention |
136
-
137
- ### Large Phone Considerations (>6")
138
-
139
- ```
140
- On large phones, top 40% becomes "dead zone" for one-handed use.
141
-
142
- Solutions:
143
- ├── Reachability features (iOS)
144
- ├── Pull-down interfaces (drawer pulls content down)
145
- ├── Bottom sheet navigation
146
- ├── Floating action buttons
147
- └── Gesture-based alternatives to top actions
148
- ```
149
-
150
- ---
151
-
152
- ## 3. Touch vs Click Psychology
153
-
154
- ### Expectation Differences
155
-
156
- | Aspect | Click (Desktop) | Touch (Mobile) |
157
- |--------|-----------------|----------------|
158
- | **Feedback timing** | Can wait 100ms | Expect instant (<50ms) |
159
- | **Visual feedback** | Hover → Click | Immediate tap response |
160
- | **Error tolerance** | Easy retry | Frustrating, feels broken |
161
- | **Precision** | High | Low |
162
- | **Context menu** | Right-click | Long press |
163
- | **Cancel action** | ESC key | Swipe away, outside tap |
164
-
165
- ### Touch Feedback Requirements
166
-
167
- ```
168
- Tap → Immediate visual change (< 50ms)
169
- ├── Highlight state (background color change)
170
- ├── Scale down slightly (0.95-0.98)
171
- ├── Ripple effect (Android Material)
172
- ├── Haptic feedback for confirmation
173
- └── Never nothing!
174
-
175
- Loading → Show within 100ms
176
- ├── If action takes > 100ms
177
- ├── Show spinner/progress
178
- ├── Disable button (prevent double tap)
179
- └── Optimistic UI when possible
180
- ```
181
-
182
- ### The "Fat Finger" Problem
183
-
184
- ```
185
- Problem: Finger occludes target during tap
186
- ├── User can't see exactly where they're tapping
187
- ├── Visual feedback appears UNDER finger
188
- └── Increases error rate
189
-
190
- Solutions:
191
- ├── Show feedback ABOVE touch point (tooltips)
192
- ├── Use cursor-like offset for precision tasks
193
- ├── Magnification loupe for text selection
194
- └── Large enough targets that precision doesn't matter
195
- ```
196
-
197
- ---
198
-
199
- ## 4. Gesture Psychology
200
-
201
- ### Gesture Discoverability Problem
202
-
203
- ```
204
- Problem: Gestures are INVISIBLE.
205
- ├── User must discover/remember them
206
- ├── No hover/visual hint
207
- ├── Different mental model than tap
208
- └── Many users never discover gestures
209
-
210
- Solution: Always provide visible alternative
211
- ├── Swipe to delete → Also show delete button or menu
212
- ├── Pull to refresh → Also show refresh button
213
- ├── Pinch to zoom → Also show zoom controls
214
- └── Gestures as shortcuts, not only way
215
- ```
216
-
217
- ### Common Gesture Conventions
218
-
219
- | Gesture | Universal Meaning | Usage |
220
- |---------|-------------------|-------|
221
- | **Tap** | Select, activate | Primary action |
222
- | **Double tap** | Zoom in, like/favorite | Quick action |
223
- | **Long press** | Context menu, selection mode | Secondary options |
224
- | **Swipe horizontal** | Navigation, delete, actions | List actions |
225
- | **Swipe down** | Refresh, dismiss | Pull to refresh |
226
- | **Pinch** | Zoom in/out | Maps, images |
227
- | **Two-finger scroll** | Scroll within scroll | Nested scrolls |
228
-
229
- ### Gesture Affordance Design
230
-
231
- ```
232
- Swipe actions need visual hints:
233
-
234
- ┌─────────────────────────────────────────┐
235
- │ ┌───┐ │
236
- │ │ ≡ │ Item with hidden actions... → │ ← Edge hint (partial color)
237
- │ └───┘ │
238
- └─────────────────────────────────────────┘
239
-
240
- ✅ Good: Slight color peek at edge suggesting swipe
241
- ✅ Good: Drag handle icon ( ≡ ) suggesting reorder
242
- ✅ Good: Onboarding tooltip explaining gesture
243
- ❌ Bad: Hidden gestures with no visual affordance
244
- ```
245
-
246
- ### Platform Gesture Differences
247
-
248
- | Gesture | iOS | Android |
249
- |---------|-----|---------|
250
- | **Back** | Edge swipe from left | System back button/gesture |
251
- | **Share** | Action sheet | Share sheet |
252
- | **Context menu** | Long press / Force touch | Long press |
253
- | **Dismiss modal** | Swipe down | Back button or swipe |
254
- | **Delete in list** | Swipe left, tap delete | Swipe left, immediate or undo |
255
-
256
- ---
257
-
258
- ## 5. Haptic Feedback Patterns
259
-
260
- ### Why Haptics Matter
261
-
262
- ```
263
- Haptics provide:
264
- ├── Confirmation without looking
265
- ├── Richer, more premium feel
266
- ├── Accessibility (blind users)
267
- ├── Reduced error rate
268
- └── Emotional satisfaction
269
-
270
- Without haptics:
271
- ├── Feels "cheap" or web-like
272
- ├── User unsure if action registered
273
- └── Missed opportunity for delight
274
- ```
275
-
276
- ### iOS Haptic Types
277
-
278
- | Type | Intensity | Use Case |
279
- |------|-----------|----------|
280
- | `selection` | Light | Picker scroll, toggle, selection |
281
- | `light` | Light | Minor actions, hover equivalent |
282
- | `medium` | Medium | Standard tap confirmation |
283
- | `heavy` | Strong | Important completed, drop |
284
- | `success` | Pattern | Task completed successfully |
285
- | `warning` | Pattern | Warning, attention needed |
286
- | `error` | Pattern | Error occurred |
287
-
288
- ### Android Haptic Types
289
-
290
- | Type | Use Case |
291
- |------|----------|
292
- | `CLICK` | Standard tap feedback |
293
- | `HEAVY_CLICK` | Important actions |
294
- | `DOUBLE_CLICK` | Confirm actions |
295
- | `TICK` | Scroll/scrub feedback |
296
- | `LONG_PRESS` | Long press activation |
297
- | `REJECT` | Error/invalid action |
298
-
299
- ### Haptic Usage Guidelines
300
-
301
- ```
302
- ✅ DO use haptics for:
303
- ├── Button taps
304
- ├── Toggle switches
305
- ├── Picker/slider values
306
- ├── Pull to refresh trigger
307
- ├── Successful action completion
308
- ├── Errors and warnings
309
- ├── Swipe action thresholds
310
- └── Important state changes
311
-
312
- ❌ DON'T use haptics for:
313
- ├── Every scroll position
314
- ├── Every list item
315
- ├── Background events
316
- ├── Passive displays
317
- └── Too frequently (haptic fatigue)
318
- ```
319
-
320
- ### Haptic Intensity Mapping
321
-
322
- | Action Importance | Haptic Level | Example |
323
- |-------------------|--------------|---------|
324
- | Minor/Browsing | Light / None | Scrolling, hovering |
325
- | Standard Action | Medium / Selection | Tap, toggle |
326
- | Significant Action | Heavy / Success | Complete, confirm |
327
- | Critical/Destructive | Heavy / Warning | Delete, payment |
328
- | Error | Error pattern | Failed action |
329
-
330
- ---
331
-
332
- ## 6. Mobile Cognitive Load
333
-
334
- ### How Mobile Differs from Desktop
335
-
336
- | Factor | Desktop | Mobile | Implication |
337
- |--------|---------|--------|-------------|
338
- | **Attention** | Focused sessions | Interrupted constantly | Design for micro-sessions |
339
- | **Context** | Controlled environment | Anywhere, any condition | Handle bad lighting, noise |
340
- | **Multitasking** | Multiple windows | One app visible | Complete task in-app |
341
- | **Input speed** | Fast (keyboard) | Slow (touch typing) | Minimize input, smart defaults |
342
- | **Error recovery** | Easy (undo, back) | Harder (no keyboard shortcuts) | Prevent errors, easy recovery |
343
-
344
- ### Reducing Mobile Cognitive Load
345
-
346
- ```
347
- 1. ONE PRIMARY ACTION per screen
348
- └── Clear what to do next
349
-
350
- 2. PROGRESSIVE DISCLOSURE
351
- └── Show only what's needed now
352
-
353
- 3. SMART DEFAULTS
354
- └── Pre-fill what you can
355
-
356
- 4. CHUNKING
357
- └── Break long forms into steps
358
-
359
- 5. RECOGNITION over RECALL
360
- └── Show options, don't make user remember
361
-
362
- 6. CONTEXT PERSISTENCE
363
- └── Save state on interrupt/background
364
- ```
365
-
366
- ### Miller's Law for Mobile
367
-
368
- ```
369
- Desktop: 7±2 items in working memory
370
- Mobile: Reduce to 5±1 (more distractions)
371
-
372
- Navigation: Max 5 tab bar items
373
- Options: Max 5 per menu level
374
- Steps: Max 5 visible steps in progress
375
- ```
376
-
377
- ### Hick's Law for Mobile
378
-
379
- ```
380
- More choices = slower decisions
381
-
382
- Mobile impact: Even worse than desktop
383
- ├── Smaller screen = less overview
384
- ├── Scrolling required = items forgotten
385
- ├── Interruptions = lost context
386
- └── Decision fatigue faster
387
-
388
- Solution: Progressive disclosure
389
- ├── Start with 3-5 options
390
- ├── "More" for additional
391
- ├── Smart ordering (most used first)
392
- └── Previous selections remembered
393
- ```
394
-
395
- ---
396
-
397
- ## 7. Touch Accessibility
398
-
399
- ### Motor Impairment Considerations
400
-
401
- ```
402
- Users with motor impairments may:
403
- ├── Have tremors (need larger targets)
404
- ├── Use assistive devices (different input method)
405
- ├── Have limited reach (one-handed necessity)
406
- ├── Need more time (avoid timeouts)
407
- └── Make accidental touches (need confirmation)
408
-
409
- Design responses:
410
- ├── Generous touch targets (48dp+)
411
- ├── Adjustable timing for gestures
412
- ├── Undo for destructive actions
413
- ├── Switch control support
414
- └── Voice control support
415
- ```
416
-
417
- ### Touch Target Spacing (A11y)
418
-
419
- ```
420
- WCAG 2.2 Success Criterion 2.5.8:
421
-
422
- Touch targets MUST have:
423
- ├── Width: ≥ 44px
424
- ├── Height: ≥ 44px
425
- ├── Spacing: ≥ 8px from adjacent targets
426
-
427
- OR the target is:
428
- ├── Inline (within text)
429
- ├── User-controlled (user can resize)
430
- ├── Essential (no alternative design)
431
- ```
432
-
433
- ### Accessible Touch Patterns
434
-
435
- | Pattern | Accessible Implementation |
436
- |---------|---------------------------|
437
- | Swipe actions | Provide menu alternative |
438
- | Drag and drop | Provide select + move option |
439
- | Pinch zoom | Provide zoom buttons |
440
- | Force touch | Provide long press alternative |
441
- | Shake gesture | Provide button alternative |
442
-
443
- ---
444
-
445
- ## 8. Emotion in Touch
446
-
447
- ### The Premium Feel
448
-
449
- ```
450
- What makes touch feel "premium":
451
- ├── Instant response (< 50ms)
452
- ├── Appropriate haptic feedback
453
- ├── Smooth 60fps animations
454
- ├── Correct resistance/physics
455
- ├── Sound feedback (when appropriate)
456
- └── Attention to spring physics
457
- ```
458
-
459
- ### Emotional Touch Feedback
460
-
461
- | Emotion | Touch Response |
462
- |---------|----------------|
463
- | Success | Haptic success + confetti/check |
464
- | Error | Haptic error + shake animation |
465
- | Warning | Haptic warning + attention color |
466
- | Delight | Unexpected smooth animation |
467
- | Power | Heavy haptic on significant action |
468
-
469
- ### Trust Building Through Touch
470
-
471
- ```
472
- Trust signals in touch interactions:
473
- ├── Consistent behavior (same action = same response)
474
- ├── Reliable feedback (never fails silently)
475
- ├── Secure feel for sensitive actions
476
- ├── Professional animations (not janky)
477
- └── No accidental actions (confirmation for destructive)
478
- ```
479
-
480
- ---
481
-
482
- ## 9. Touch Psychology Checklist
483
-
484
- ### Before Every Screen
485
-
486
- - [ ] **All touch targets ≥ 44-48px?**
487
- - [ ] **Primary CTA in thumb zone?**
488
- - [ ] **Destructive actions require confirmation?**
489
- - [ ] **Gesture alternatives exist (visible buttons)?**
490
- - [ ] **Haptic feedback on important actions?**
491
- - [ ] **Immediate visual feedback on tap?**
492
- - [ ] **Loading states for actions > 100ms?**
493
-
494
- ### Before Release
495
-
496
- - [ ] **Tested on smallest supported device?**
497
- - [ ] **Tested one-handed on large phone?**
498
- - [ ] **All gestures have visible alternatives?**
499
- - [ ] **Haptics work correctly (test on device)?**
500
- - [ ] **Touch targets tested with accessibility settings?**
501
- - [ ] **No tiny close buttons or icons?**
502
-
503
- ---
504
-
505
- ## 10. Quick Reference Card
506
-
507
- ### Touch Target Sizes
508
-
509
- ```
510
- iOS Android WCAG
511
- Minimum: 44pt 48dp 44px
512
- Recommended: 48pt+ 56dp+ -
513
- Spacing: 8pt+ 8dp+ 8px+
514
- ```
515
-
516
- ### Thumb Zone Actions
517
-
518
- ```
519
- TOP: Navigation, settings, back (infrequent)
520
- MIDDLE: Content, secondary actions
521
- BOTTOM: Primary CTA, tab bar, FAB (frequent)
522
- ```
523
-
524
- ### Haptic Selection
525
-
526
- ```
527
- Light: Selection, toggle, minor
528
- Medium: Tap, standard action
529
- Heavy: Confirm, complete, drop
530
- Success: Task done
531
- Error: Failed action
532
- Warning: Attention needed
533
- ```
534
-
535
- ---
536
-
537
- > **Remember:** Every touch is a conversation between user and device. Make it feel natural, responsive, and respectful of human fingers—not precise cursor points.