@synapta/skills 0.1.0 → 0.1.2

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 (353) hide show
  1. package/dist/index.js +11 -4
  2. package/package.json +3 -4
  3. package/skills/ATTRIBUTION.md +80 -0
  4. package/skills/accessibility-audit/SKILL.md +325 -0
  5. package/skills/accessibility-audit/reference/wcag-checklist.md +103 -0
  6. package/skills/apns-notifier/SKILL.md +86 -0
  7. package/skills/approval-policy-enforcer/SKILL.md +66 -0
  8. package/skills/apps-sdk-builder/LICENSE.txt +201 -0
  9. package/skills/apps-sdk-builder/SKILL.md +328 -0
  10. package/skills/apps-sdk-builder/agents/openai.yaml +13 -0
  11. package/skills/apps-sdk-builder/references/app-archetypes.md +132 -0
  12. package/skills/apps-sdk-builder/references/apps-sdk-docs-workflow.md +135 -0
  13. package/skills/apps-sdk-builder/references/interactive-state-sync-patterns.md +113 -0
  14. package/skills/apps-sdk-builder/references/repo-contract-and-validation.md +93 -0
  15. package/skills/apps-sdk-builder/references/search-fetch-standard.md +67 -0
  16. package/skills/apps-sdk-builder/references/upstream-example-workflow.md +79 -0
  17. package/skills/apps-sdk-builder/references/window-openai-patterns.md +79 -0
  18. package/skills/apps-sdk-builder/scripts/scaffold_node_ext_apps.mjs +606 -0
  19. package/skills/architecture-selector/SKILL.md +64 -0
  20. package/skills/backlog-planner/SKILL.md +68 -0
  21. package/skills/carplay-entitlement-checker/SKILL.md +82 -0
  22. package/skills/concept-discovery/SKILL.md +517 -0
  23. package/skills/concept-discovery/assets/sample-analysis.json +81 -0
  24. package/skills/concept-discovery/expected_outputs/sample-enum-dictionary.md +25 -0
  25. package/skills/concept-discovery/expected_outputs/sample-page-user-list.md +83 -0
  26. package/skills/concept-discovery/expected_outputs/sample-prd-readme.md +43 -0
  27. package/skills/concept-discovery/references/framework-patterns.md +228 -0
  28. package/skills/concept-discovery/references/prd-quality-checklist.md +65 -0
  29. package/skills/concept-discovery/scripts/codebase_analyzer.py +732 -0
  30. package/skills/concept-discovery/scripts/prd_scaffolder.py +435 -0
  31. package/skills/dast-zap/SKILL.md +453 -0
  32. package/skills/dast-zap/assets/.gitkeep +9 -0
  33. package/skills/dast-zap/assets/github_action.yml +207 -0
  34. package/skills/dast-zap/assets/gitlab_ci.yml +226 -0
  35. package/skills/dast-zap/assets/zap_automation.yaml +196 -0
  36. package/skills/dast-zap/assets/zap_context.xml +192 -0
  37. package/skills/dast-zap/references/EXAMPLE.md +40 -0
  38. package/skills/dast-zap/references/api_testing_guide.md +475 -0
  39. package/skills/dast-zap/references/authentication_guide.md +431 -0
  40. package/skills/dast-zap/references/false_positive_handling.md +427 -0
  41. package/skills/dast-zap/references/owasp_mapping.md +255 -0
  42. package/skills/dep-sbom-scan/SKILL.md +466 -0
  43. package/skills/deploy-cloudflare/SKILL.md +930 -0
  44. package/skills/deploy-docker/SKILL.md +55 -0
  45. package/skills/deploy-fly/SKILL.md +228 -0
  46. package/skills/deploy-k8s/SKILL.md +108 -0
  47. package/skills/deploy-k8s/assets/logo.png +0 -0
  48. package/skills/deploy-k8s/docs/README.md +29 -0
  49. package/skills/deploy-k8s/docs/SUMMARY.md +56 -0
  50. package/skills/deploy-k8s/docs/advanced/token-efficiency.md +61 -0
  51. package/skills/deploy-k8s/docs/architecture/multi-tenancy.md +96 -0
  52. package/skills/deploy-k8s/docs/architecture/storage-and-state.md +102 -0
  53. package/skills/deploy-k8s/docs/architecture/workload-patterns.md +87 -0
  54. package/skills/deploy-k8s/docs/book.json +16 -0
  55. package/skills/deploy-k8s/docs/community/changelog.md +34 -0
  56. package/skills/deploy-k8s/docs/community/contributing.md +67 -0
  57. package/skills/deploy-k8s/docs/core-concepts/failure-modes.md +153 -0
  58. package/skills/deploy-k8s/docs/core-concepts/philosophy.md +83 -0
  59. package/skills/deploy-k8s/docs/core-concepts/workflow.md +124 -0
  60. package/skills/deploy-k8s/docs/examples/bad-patterns.md +47 -0
  61. package/skills/deploy-k8s/docs/examples/do-dont-checklist.md +37 -0
  62. package/skills/deploy-k8s/docs/examples/good-patterns.md +49 -0
  63. package/skills/deploy-k8s/docs/failure-modes/api-drift.md +104 -0
  64. package/skills/deploy-k8s/docs/failure-modes/fragile-rollouts.md +99 -0
  65. package/skills/deploy-k8s/docs/failure-modes/insecure-workload-defaults.md +80 -0
  66. package/skills/deploy-k8s/docs/failure-modes/network-exposure.md +98 -0
  67. package/skills/deploy-k8s/docs/failure-modes/privilege-sprawl.md +91 -0
  68. package/skills/deploy-k8s/docs/failure-modes/resource-starvation.md +85 -0
  69. package/skills/deploy-k8s/docs/getting-started/installation.md +152 -0
  70. package/skills/deploy-k8s/docs/getting-started/quick-start.md +115 -0
  71. package/skills/deploy-k8s/docs/guides/helm-patterns.md +71 -0
  72. package/skills/deploy-k8s/docs/guides/kustomize-patterns.md +65 -0
  73. package/skills/deploy-k8s/docs/guides/observability.md +67 -0
  74. package/skills/deploy-k8s/docs/guides/security-hardening.md +59 -0
  75. package/skills/deploy-k8s/docs/guides/validation-and-policy.md +66 -0
  76. package/skills/deploy-k8s/docs/integrations/mcp-integration.md +52 -0
  77. package/skills/deploy-k8s/docs/package-lock.json +2892 -0
  78. package/skills/deploy-k8s/docs/package.json +13 -0
  79. package/skills/deploy-k8s/references/api-drift.md +298 -0
  80. package/skills/deploy-k8s/references/conditional/aks-patterns.md +70 -0
  81. package/skills/deploy-k8s/references/conditional/eks-patterns.md +79 -0
  82. package/skills/deploy-k8s/references/conditional/gitops-controllers.md +71 -0
  83. package/skills/deploy-k8s/references/conditional/gke-patterns.md +74 -0
  84. package/skills/deploy-k8s/references/conditional/observability-stacks.md +80 -0
  85. package/skills/deploy-k8s/references/conditional/openshift-patterns.md +67 -0
  86. package/skills/deploy-k8s/references/daemonset-operator-patterns.md +155 -0
  87. package/skills/deploy-k8s/references/deployment-patterns.md +146 -0
  88. package/skills/deploy-k8s/references/do-dont-patterns.md +87 -0
  89. package/skills/deploy-k8s/references/examples-bad.md +282 -0
  90. package/skills/deploy-k8s/references/examples-good.md +440 -0
  91. package/skills/deploy-k8s/references/fragile-rollouts.md +303 -0
  92. package/skills/deploy-k8s/references/helm-patterns.md +203 -0
  93. package/skills/deploy-k8s/references/insecure-workload-defaults.md +300 -0
  94. package/skills/deploy-k8s/references/job-patterns.md +120 -0
  95. package/skills/deploy-k8s/references/kustomize-patterns.md +239 -0
  96. package/skills/deploy-k8s/references/multi-tenancy.md +343 -0
  97. package/skills/deploy-k8s/references/network-exposure.md +481 -0
  98. package/skills/deploy-k8s/references/observability.md +302 -0
  99. package/skills/deploy-k8s/references/privilege-sprawl.md +273 -0
  100. package/skills/deploy-k8s/references/resource-starvation.md +374 -0
  101. package/skills/deploy-k8s/references/security-hardening.md +209 -0
  102. package/skills/deploy-k8s/references/stateful-patterns.md +130 -0
  103. package/skills/deploy-k8s/references/storage-and-state.md +330 -0
  104. package/skills/deploy-k8s/references/validation-and-policy.md +242 -0
  105. package/skills/deploy-railway/SKILL.md +235 -0
  106. package/skills/deploy-railway/references/analyze-db-mongo.md +84 -0
  107. package/skills/deploy-railway/references/analyze-db-mysql.md +254 -0
  108. package/skills/deploy-railway/references/analyze-db-postgres.md +479 -0
  109. package/skills/deploy-railway/references/analyze-db-redis.md +208 -0
  110. package/skills/deploy-railway/references/analyze-db.md +344 -0
  111. package/skills/deploy-railway/references/configure.md +309 -0
  112. package/skills/deploy-railway/references/deploy.md +195 -0
  113. package/skills/deploy-railway/references/operate.md +214 -0
  114. package/skills/deploy-railway/references/request.md +248 -0
  115. package/skills/deploy-railway/references/setup.md +312 -0
  116. package/skills/deploy-railway/scripts/analyze-mongo.py +1549 -0
  117. package/skills/deploy-railway/scripts/analyze-mysql.py +1195 -0
  118. package/skills/deploy-railway/scripts/analyze-postgres.py +3058 -0
  119. package/skills/deploy-railway/scripts/analyze-redis.py +1090 -0
  120. package/skills/deploy-railway/scripts/dal.py +671 -0
  121. package/skills/deploy-railway/scripts/enable-pg-stats.py +170 -0
  122. package/skills/deploy-railway/scripts/pg-extensions.py +370 -0
  123. package/skills/deploy-railway/scripts/railway-api.sh +52 -0
  124. package/skills/deploy-ssh/SKILL.md +91 -0
  125. package/skills/deploy-vercel/SKILL.md +304 -0
  126. package/skills/deploy-vercel/resources/deploy-codex.sh +301 -0
  127. package/skills/deploy-vercel/resources/deploy.sh +301 -0
  128. package/skills/docs-runbooks/SKILL.md +399 -0
  129. package/skills/drive-status-renderer/SKILL.md +62 -0
  130. package/skills/iac-scan/SKILL.md +680 -0
  131. package/skills/iac-scan/assets/.gitkeep +9 -0
  132. package/skills/iac-scan/assets/checkov_config.yaml +94 -0
  133. package/skills/iac-scan/assets/github_actions.yml +199 -0
  134. package/skills/iac-scan/assets/gitlab_ci.yml +218 -0
  135. package/skills/iac-scan/assets/pre_commit_config.yaml +92 -0
  136. package/skills/iac-scan/references/EXAMPLE.md +40 -0
  137. package/skills/iac-scan/references/compliance_mapping.md +237 -0
  138. package/skills/iac-scan/references/custom_policies.md +460 -0
  139. package/skills/iac-scan/references/suppression_guide.md +431 -0
  140. package/skills/incident-briefing/SKILL.md +66 -0
  141. package/skills/incident-triage/SKILL.md +481 -0
  142. package/{LICENSE → skills/mcp-builder/LICENSE.txt} +15 -14
  143. package/skills/mcp-builder/SKILL.md +244 -0
  144. package/skills/mcp-builder/reference/evaluation.md +602 -0
  145. package/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
  146. package/skills/mcp-builder/reference/node_mcp_server.md +970 -0
  147. package/skills/mcp-builder/reference/python_mcp_server.md +719 -0
  148. package/skills/mcp-builder/scripts/connections.py +151 -0
  149. package/skills/mcp-builder/scripts/evaluation.py +373 -0
  150. package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  151. package/skills/mcp-builder/scripts/requirements.txt +2 -0
  152. package/skills/mobile-pairing/SKILL.md +52 -0
  153. package/skills/ops-sre/SKILL.md +297 -0
  154. package/skills/playwright-qa/LICENSE.txt +201 -0
  155. package/skills/playwright-qa/NOTICE.txt +14 -0
  156. package/skills/playwright-qa/SKILL.md +156 -0
  157. package/skills/playwright-qa/agents/openai.yaml +6 -0
  158. package/skills/playwright-qa/assets/playwright-small.svg +3 -0
  159. package/skills/playwright-qa/assets/playwright.png +0 -0
  160. package/skills/playwright-qa/references/cli.md +116 -0
  161. package/skills/playwright-qa/references/workflows.md +95 -0
  162. package/skills/playwright-qa/scripts/playwright_cli.sh +25 -0
  163. package/skills/release-publish/SKILL.md +85 -0
  164. package/skills/repo-bootstrap/SKILL.md +92 -0
  165. package/skills/repo-bootstrap/assets/example-workflows/validate-agents.yml +89 -0
  166. package/skills/repo-bootstrap/assets/root-thin.md +141 -0
  167. package/skills/repo-bootstrap/assets/root-verbose.md +149 -0
  168. package/skills/repo-bootstrap/assets/scoped/backend-go.md +107 -0
  169. package/skills/repo-bootstrap/assets/scoped/backend-php.md +94 -0
  170. package/skills/repo-bootstrap/assets/scoped/backend-python.md +84 -0
  171. package/skills/repo-bootstrap/assets/scoped/backend-typescript.md +89 -0
  172. package/skills/repo-bootstrap/assets/scoped/claude-code-skill.md +101 -0
  173. package/skills/repo-bootstrap/assets/scoped/cli.md +83 -0
  174. package/skills/repo-bootstrap/assets/scoped/concourse.md +196 -0
  175. package/skills/repo-bootstrap/assets/scoped/ddev.md +68 -0
  176. package/skills/repo-bootstrap/assets/scoped/docker.md +160 -0
  177. package/skills/repo-bootstrap/assets/scoped/documentation.md +98 -0
  178. package/skills/repo-bootstrap/assets/scoped/examples.md +96 -0
  179. package/skills/repo-bootstrap/assets/scoped/frontend-typescript.md +88 -0
  180. package/skills/repo-bootstrap/assets/scoped/github-actions.md +174 -0
  181. package/skills/repo-bootstrap/assets/scoped/gitlab-ci.md +174 -0
  182. package/skills/repo-bootstrap/assets/scoped/oro-bundle.md +209 -0
  183. package/skills/repo-bootstrap/assets/scoped/oro-project.md +170 -0
  184. package/skills/repo-bootstrap/assets/scoped/python-modern.md +170 -0
  185. package/skills/repo-bootstrap/assets/scoped/resources.md +96 -0
  186. package/skills/repo-bootstrap/assets/scoped/skill-repo.md +139 -0
  187. package/skills/repo-bootstrap/assets/scoped/symfony.md +168 -0
  188. package/skills/repo-bootstrap/assets/scoped/testing.md +87 -0
  189. package/skills/repo-bootstrap/assets/scoped/typo3-docs.md +103 -0
  190. package/skills/repo-bootstrap/assets/scoped/typo3-extension.md +133 -0
  191. package/skills/repo-bootstrap/assets/scoped/typo3-project.md +137 -0
  192. package/skills/repo-bootstrap/assets/scoped/typo3-testing.md +80 -0
  193. package/skills/repo-bootstrap/checkpoints.yaml +279 -0
  194. package/skills/repo-bootstrap/evals/evals.json +385 -0
  195. package/skills/repo-bootstrap/references/ai-contribution-guidelines.md +63 -0
  196. package/skills/repo-bootstrap/references/ai-tool-compatibility.md +223 -0
  197. package/skills/repo-bootstrap/references/directory-coverage.md +82 -0
  198. package/skills/repo-bootstrap/references/examples/coding-agent-cli/AGENTS.md +70 -0
  199. package/skills/repo-bootstrap/references/examples/coding-agent-cli/go.mod +3 -0
  200. package/skills/repo-bootstrap/references/examples/coding-agent-cli/scripts-AGENTS.md +389 -0
  201. package/skills/repo-bootstrap/references/examples/express-api-ts/.env.example +13 -0
  202. package/skills/repo-bootstrap/references/examples/express-api-ts/AGENTS.md +91 -0
  203. package/skills/repo-bootstrap/references/examples/express-api-ts/package.json +33 -0
  204. package/skills/repo-bootstrap/references/examples/express-api-ts/pnpm-lock.yaml +3 -0
  205. package/skills/repo-bootstrap/references/examples/express-api-ts/src/AGENTS.md +91 -0
  206. package/skills/repo-bootstrap/references/examples/express-api-ts/src/config.ts +28 -0
  207. package/skills/repo-bootstrap/references/examples/express-api-ts/src/controllers/userController.ts +74 -0
  208. package/skills/repo-bootstrap/references/examples/express-api-ts/src/index.ts +26 -0
  209. package/skills/repo-bootstrap/references/examples/express-api-ts/src/middleware/errorHandler.ts +45 -0
  210. package/skills/repo-bootstrap/references/examples/express-api-ts/src/middleware/requestLogger.ts +18 -0
  211. package/skills/repo-bootstrap/references/examples/express-api-ts/src/routes/health.ts +18 -0
  212. package/skills/repo-bootstrap/references/examples/express-api-ts/src/routes/users.ts +13 -0
  213. package/skills/repo-bootstrap/references/examples/express-api-ts/src/utils/errors.ts +40 -0
  214. package/skills/repo-bootstrap/references/examples/express-api-ts/src/utils/logger.ts +14 -0
  215. package/skills/repo-bootstrap/references/examples/express-api-ts/tsconfig.json +24 -0
  216. package/skills/repo-bootstrap/references/examples/fastapi-app/.env.example +19 -0
  217. package/skills/repo-bootstrap/references/examples/fastapi-app/AGENTS.md +92 -0
  218. package/skills/repo-bootstrap/references/examples/fastapi-app/pyproject.toml +88 -0
  219. package/skills/repo-bootstrap/references/examples/fastapi-app/src/AGENTS.md +85 -0
  220. package/skills/repo-bootstrap/references/examples/fastapi-app/src/__init__.py +3 -0
  221. package/skills/repo-bootstrap/references/examples/fastapi-app/src/config.py +49 -0
  222. package/skills/repo-bootstrap/references/examples/fastapi-app/src/main.py +66 -0
  223. package/skills/repo-bootstrap/references/examples/fastapi-app/src/models/__init__.py +13 -0
  224. package/skills/repo-bootstrap/references/examples/fastapi-app/src/models/item.py +43 -0
  225. package/skills/repo-bootstrap/references/examples/fastapi-app/src/models/user.py +40 -0
  226. package/skills/repo-bootstrap/references/examples/fastapi-app/src/routes/__init__.py +5 -0
  227. package/skills/repo-bootstrap/references/examples/fastapi-app/src/routes/health.py +20 -0
  228. package/skills/repo-bootstrap/references/examples/fastapi-app/src/routes/items.py +61 -0
  229. package/skills/repo-bootstrap/references/examples/fastapi-app/src/routes/users.py +55 -0
  230. package/skills/repo-bootstrap/references/examples/fastapi-app/src/services/__init__.py +6 -0
  231. package/skills/repo-bootstrap/references/examples/fastapi-app/src/services/item_service.py +77 -0
  232. package/skills/repo-bootstrap/references/examples/fastapi-app/src/services/user_service.py +69 -0
  233. package/skills/repo-bootstrap/references/examples/fastapi-app/uv.lock +4 -0
  234. package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/.scopes +3 -0
  235. package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/AGENTS.md +86 -0
  236. package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/admin/package.json +20 -0
  237. package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/admin/src/App.tsx +5 -0
  238. package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/cmd/api/main.go +7 -0
  239. package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/go.mod +2 -0
  240. package/skills/repo-bootstrap/references/examples/go-api-with-react-admin/main.go +7 -0
  241. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/.scopes +3 -0
  242. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/AGENTS.md +89 -0
  243. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/go.mod +2 -0
  244. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/AGENTS.md +90 -0
  245. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/package.json +17 -0
  246. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/App.tsx +1 -0
  247. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/Button.tsx +1 -0
  248. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/Footer.tsx +1 -0
  249. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/Header.tsx +1 -0
  250. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/internal/web/src/Sidebar.tsx +1 -0
  251. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/main.go +7 -0
  252. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/package-lock.json +0 -0
  253. package/skills/repo-bootstrap/references/examples/go-with-internal-web-tsx/package.json +12 -0
  254. package/skills/repo-bootstrap/references/examples/ldap-selfservice/AGENTS.md +70 -0
  255. package/skills/repo-bootstrap/references/examples/ldap-selfservice/go.mod +3 -0
  256. package/skills/repo-bootstrap/references/examples/ldap-selfservice/internal-AGENTS.md +371 -0
  257. package/skills/repo-bootstrap/references/examples/ldap-selfservice/internal-web-AGENTS.md +448 -0
  258. package/skills/repo-bootstrap/references/examples/php-with-frontend/.scopes +3 -0
  259. package/skills/repo-bootstrap/references/examples/php-with-frontend/AGENTS.md +91 -0
  260. package/skills/repo-bootstrap/references/examples/php-with-frontend/composer.json +8 -0
  261. package/skills/repo-bootstrap/references/examples/php-with-frontend/package.json +15 -0
  262. package/skills/repo-bootstrap/references/examples/php-with-frontend/pnpm-lock.yaml +0 -0
  263. package/skills/repo-bootstrap/references/examples/php-with-frontend/src/Controller.php +3 -0
  264. package/skills/repo-bootstrap/references/examples/php-with-frontend/web/AGENTS.md +92 -0
  265. package/skills/repo-bootstrap/references/examples/php-with-frontend/web/package.json +26 -0
  266. package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/App.tsx +3 -0
  267. package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/Button.tsx +10 -0
  268. package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/Footer.tsx +9 -0
  269. package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/Header.tsx +9 -0
  270. package/skills/repo-bootstrap/references/examples/php-with-frontend/web/src/main.tsx +3 -0
  271. package/skills/repo-bootstrap/references/examples/php-with-frontend/web/tsconfig.json +13 -0
  272. package/skills/repo-bootstrap/references/examples/pnpm-workspace/AGENTS.md +75 -0
  273. package/skills/repo-bootstrap/references/examples/pnpm-workspace/package.json +7 -0
  274. package/skills/repo-bootstrap/references/examples/pnpm-workspace/packages/web/package.json +11 -0
  275. package/skills/repo-bootstrap/references/examples/pnpm-workspace/packages/web/src/index.ts +11 -0
  276. package/skills/repo-bootstrap/references/examples/pnpm-workspace/pnpm-lock.yaml +42 -0
  277. package/skills/repo-bootstrap/references/examples/pnpm-workspace/pnpm-workspace.yaml +2 -0
  278. package/skills/repo-bootstrap/references/examples/simple-ldap-go/AGENTS.md +70 -0
  279. package/skills/repo-bootstrap/references/examples/simple-ldap-go/examples-AGENTS.md +45 -0
  280. package/skills/repo-bootstrap/references/examples/simple-ldap-go/go.mod +3 -0
  281. package/skills/repo-bootstrap/references/examples/t3x-rte-ckeditor-image/AGENTS.md +70 -0
  282. package/skills/repo-bootstrap/references/examples/t3x-rte-ckeditor-image/Classes-AGENTS.md +392 -0
  283. package/skills/repo-bootstrap/references/examples/t3x-rte-ckeditor-image/composer.json +8 -0
  284. package/skills/repo-bootstrap/references/feedback-memory-schema.md +135 -0
  285. package/skills/repo-bootstrap/references/git-hooks-setup.md +79 -0
  286. package/skills/repo-bootstrap/references/output-structure.md +124 -0
  287. package/skills/repo-bootstrap/references/scripts-guide.md +175 -0
  288. package/skills/repo-bootstrap/references/verification-guide.md +137 -0
  289. package/skills/repo-bootstrap/scripts/analyze-git-history.sh +315 -0
  290. package/skills/repo-bootstrap/scripts/check-freshness.sh +230 -0
  291. package/skills/repo-bootstrap/scripts/detect-golden-samples.sh +161 -0
  292. package/skills/repo-bootstrap/scripts/detect-heuristics.sh +93 -0
  293. package/skills/repo-bootstrap/scripts/detect-project.sh +486 -0
  294. package/skills/repo-bootstrap/scripts/detect-scopes.sh +330 -0
  295. package/skills/repo-bootstrap/scripts/detect-utilities.sh +133 -0
  296. package/skills/repo-bootstrap/scripts/extract-adrs.sh +194 -0
  297. package/skills/repo-bootstrap/scripts/extract-agent-configs.sh +331 -0
  298. package/skills/repo-bootstrap/scripts/extract-architecture-rules.sh +522 -0
  299. package/skills/repo-bootstrap/scripts/extract-ci-commands.sh +385 -0
  300. package/skills/repo-bootstrap/scripts/extract-ci-rules.sh +384 -0
  301. package/skills/repo-bootstrap/scripts/extract-commands.sh +358 -0
  302. package/skills/repo-bootstrap/scripts/extract-documentation.sh +308 -0
  303. package/skills/repo-bootstrap/scripts/extract-github-rulesets.sh +96 -0
  304. package/skills/repo-bootstrap/scripts/extract-github-settings.sh +88 -0
  305. package/skills/repo-bootstrap/scripts/extract-ide-settings.sh +228 -0
  306. package/skills/repo-bootstrap/scripts/extract-platform-files.sh +290 -0
  307. package/skills/repo-bootstrap/scripts/extract-quality-configs.sh +442 -0
  308. package/skills/repo-bootstrap/scripts/generate-agents.sh +2424 -0
  309. package/skills/repo-bootstrap/scripts/generate-file-map.sh +153 -0
  310. package/skills/repo-bootstrap/scripts/lib/config-root.sh +211 -0
  311. package/skills/repo-bootstrap/scripts/lib/summary.sh +244 -0
  312. package/skills/repo-bootstrap/scripts/lib/template.sh +397 -0
  313. package/skills/repo-bootstrap/scripts/validate-structure.sh +324 -0
  314. package/skills/repo-bootstrap/scripts/verify-commands.sh +615 -0
  315. package/skills/repo-bootstrap/scripts/verify-content.sh +302 -0
  316. package/skills/schema-api-contracts/SKILL.md +56 -0
  317. package/skills/secret-hygiene/SKILL.md +511 -0
  318. package/skills/secret-hygiene/assets/.gitkeep +9 -0
  319. package/skills/secret-hygiene/assets/config-balanced.toml +81 -0
  320. package/skills/secret-hygiene/assets/config-custom.toml +178 -0
  321. package/skills/secret-hygiene/assets/config-strict.toml +48 -0
  322. package/skills/secret-hygiene/assets/github-action.yml +181 -0
  323. package/skills/secret-hygiene/assets/gitlab-ci.yml +257 -0
  324. package/skills/secret-hygiene/assets/precommit-config.yaml +70 -0
  325. package/skills/secret-hygiene/references/EXAMPLE.md +40 -0
  326. package/skills/secret-hygiene/references/compliance_mapping.md +538 -0
  327. package/skills/secret-hygiene/references/detection_rules.md +276 -0
  328. package/skills/secret-hygiene/references/false_positives.md +598 -0
  329. package/skills/secret-hygiene/references/remediation_guide.md +530 -0
  330. package/skills/stack-selector/SKILL.md +56 -0
  331. package/skills/telegram-control/SKILL.md +110 -0
  332. package/skills/telegram-control/references/architecture.md +184 -0
  333. package/skills/telegram-control/references/convex.md +173 -0
  334. package/skills/telegram-control/references/error_handling.md +212 -0
  335. package/skills/telegram-control/references/initial_setup.md +165 -0
  336. package/skills/telegram-control/references/telegram_api.md +156 -0
  337. package/skills/telegram-control/scripts/cancel_message.ts +53 -0
  338. package/skills/telegram-control/scripts/list_scheduled.ts +103 -0
  339. package/skills/telegram-control/scripts/logger.ts +121 -0
  340. package/skills/telegram-control/scripts/proxy-util.ts +11 -0
  341. package/skills/telegram-control/scripts/schedule_message.ts +216 -0
  342. package/skills/telegram-control/scripts/send_message.ts +115 -0
  343. package/skills/telegram-control/scripts/setup.ts +185 -0
  344. package/skills/telegram-control/scripts/types.ts +75 -0
  345. package/skills/telegram-control/scripts/view_history.ts +74 -0
  346. package/skills/test-strategy/SKILL.md +352 -0
  347. package/skills/threat-model/SKILL.md +303 -0
  348. package/skills/threat-model/examples/example-output.md +196 -0
  349. package/skills/threat-model/template.md +96 -0
  350. package/skills/ts-lint/SKILL.md +80 -0
  351. package/skills/ui-flow/SKILL.md +668 -0
  352. package/skills/voice-command-router/SKILL.md +51 -0
  353. package/skills/widget-live-activity-sync/SKILL.md +66 -0
@@ -0,0 +1,668 @@
1
+ ---
2
+ name: ui-flow
3
+ synapta_original_name: ui-ux-pro-max
4
+ triggers: [synapta ui flow, screens, states, transitions, empty error loading, design system]
5
+ network: off
6
+ source:
7
+ origin: https://github.com/nextlevelbuilder/ui-ux-pro-max-skill
8
+ path: .claude/skills/ui-ux-pro-max
9
+ commit: b7e3af80f6e3
10
+ license: MIT (Next Level Builder)
11
+ adapted: light-touch
12
+ description: "UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, and check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, and mobile app. Elements: button, modal, navbar, sidebar, card, table, form, and chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, and flat design. Topics: color systems, accessibility, animation, layout, typography, font pairing, spacing, interaction states, shadow, and gradient. Integrations: shadcn/ui MCP for component search and examples."
13
+ ---
14
+
15
+ # UI/UX Pro Max - Design Intelligence
16
+
17
+ Comprehensive design guide for web and mobile applications. Contains 50+ styles, 161 color palettes, 57 font pairings, 161 product types with reasoning rules, 99 UX guidelines, and 25 chart types across 10 technology stacks. Searchable database with priority-based recommendations.
18
+
19
+ ## When to Apply
20
+
21
+ This Skill should be used when the task involves **UI structure, visual design decisions, interaction patterns, or user experience quality control**.
22
+
23
+ ### Must Use
24
+
25
+ This Skill must be invoked in the following situations:
26
+
27
+ - Designing new pages (Landing Page, Dashboard, Admin, SaaS, Mobile App)
28
+ - Creating or refactoring UI components (buttons, modals, forms, tables, charts, etc.)
29
+ - Choosing color schemes, typography systems, spacing standards, or layout systems
30
+ - Reviewing UI code for user experience, accessibility, or visual consistency
31
+ - Implementing navigation structures, animations, or responsive behavior
32
+ - Making product-level design decisions (style, information hierarchy, brand expression)
33
+ - Improving perceived quality, clarity, or usability of interfaces
34
+
35
+ ### Recommended
36
+
37
+ This Skill is recommended in the following situations:
38
+
39
+ - UI looks "not professional enough" but the reason is unclear
40
+ - Receiving feedback on usability or experience
41
+ - Pre-launch UI quality optimization
42
+ - Aligning cross-platform design (Web / iOS / Android)
43
+ - Building design systems or reusable component libraries
44
+
45
+ ### Skip
46
+
47
+ This Skill is not needed in the following situations:
48
+
49
+ - Pure backend logic development
50
+ - Only involving API or database design
51
+ - Performance optimization unrelated to the interface
52
+ - Infrastructure or DevOps work
53
+ - Non-visual scripts or automation tasks
54
+
55
+ **Decision criteria**: If the task will change how a feature **looks, feels, moves, or is interacted with**, this Skill should be used.
56
+
57
+ ## Rule Categories by Priority
58
+
59
+ *For human/AI reference: follow priority 1→10 to decide which rule category to focus on first; use `--domain <Domain>` to query details when needed. Scripts do not read this table.*
60
+
61
+ | Priority | Category | Impact | Domain | Key Checks (Must Have) | Anti-Patterns (Avoid) |
62
+ |----------|----------|--------|--------|------------------------|------------------------|
63
+ | 1 | Accessibility | CRITICAL | `ux` | Contrast 4.5:1, Alt text, Keyboard nav, Aria-labels | Removing focus rings, Icon-only buttons without labels |
64
+ | 2 | Touch & Interaction | CRITICAL | `ux` | Min size 44×44px, 8px+ spacing, Loading feedback | Reliance on hover only, Instant state changes (0ms) |
65
+ | 3 | Performance | HIGH | `ux` | WebP/AVIF, Lazy loading, Reserve space (CLS &lt; 0.1) | Layout thrashing, Cumulative Layout Shift |
66
+ | 4 | Style Selection | HIGH | `style`, `product` | Match product type, Consistency, SVG icons (no emoji) | Mixing flat & skeuomorphic randomly, Emoji as icons |
67
+ | 5 | Layout & Responsive | HIGH | `ux` | Mobile-first breakpoints, Viewport meta, No horizontal scroll | Horizontal scroll, Fixed px container widths, Disable zoom |
68
+ | 6 | Typography & Color | MEDIUM | `typography`, `color` | Base 16px, Line-height 1.5, Semantic color tokens | Text &lt; 12px body, Gray-on-gray, Raw hex in components |
69
+ | 7 | Animation | MEDIUM | `ux` | Duration 150–300ms, Motion conveys meaning, Spatial continuity | Decorative-only animation, Animating width/height, No reduced-motion |
70
+ | 8 | Forms & Feedback | MEDIUM | `ux` | Visible labels, Error near field, Helper text, Progressive disclosure | Placeholder-only label, Errors only at top, Overwhelm upfront |
71
+ | 9 | Navigation Patterns | HIGH | `ux` | Predictable back, Bottom nav ≤5, Deep linking | Overloaded nav, Broken back behavior, No deep links |
72
+ | 10 | Charts & Data | LOW | `chart` | Legends, Tooltips, Accessible colors | Relying on color alone to convey meaning |
73
+
74
+ ## Quick Reference
75
+
76
+ ### 1. Accessibility (CRITICAL)
77
+
78
+ - `color-contrast` - Minimum 4.5:1 ratio for normal text (large text 3:1); Material Design
79
+ - `focus-states` - Visible focus rings on interactive elements (2–4px; Apple HIG, MD)
80
+ - `alt-text` - Descriptive alt text for meaningful images
81
+ - `aria-labels` - aria-label for icon-only buttons; accessibilityLabel in native (Apple HIG)
82
+ - `keyboard-nav` - Tab order matches visual order; full keyboard support (Apple HIG)
83
+ - `form-labels` - Use label with for attribute
84
+ - `skip-links` - Skip to main content for keyboard users
85
+ - `heading-hierarchy` - Sequential h1→h6, no level skip
86
+ - `color-not-only` - Don't convey info by color alone (add icon/text)
87
+ - `dynamic-type` - Support system text scaling; avoid truncation as text grows (Apple Dynamic Type, MD)
88
+ - `reduced-motion` - Respect prefers-reduced-motion; reduce/disable animations when requested (Apple Reduced Motion API, MD)
89
+ - `voiceover-sr` - Meaningful accessibilityLabel/accessibilityHint; logical reading order for VoiceOver/screen readers (Apple HIG, MD)
90
+ - `escape-routes` - Provide cancel/back in modals and multi-step flows (Apple HIG)
91
+ - `keyboard-shortcuts` - Preserve system and a11y shortcuts; offer keyboard alternatives for drag-and-drop (Apple HIG)
92
+
93
+ ### 2. Touch & Interaction (CRITICAL)
94
+
95
+ - `touch-target-size` - Min 44×44pt (Apple) / 48×48dp (Material); extend hit area beyond visual bounds if needed
96
+ - `touch-spacing` - Minimum 8px/8dp gap between touch targets (Apple HIG, MD)
97
+ - `hover-vs-tap` - Use click/tap for primary interactions; don't rely on hover alone
98
+ - `loading-buttons` - Disable button during async operations; show spinner or progress
99
+ - `error-feedback` - Clear error messages near problem
100
+ - `cursor-pointer` - Add cursor-pointer to clickable elements (Web)
101
+ - `gesture-conflicts` - Avoid horizontal swipe on main content; prefer vertical scroll
102
+ - `tap-delay` - Use touch-action: manipulation to reduce 300ms delay (Web)
103
+ - `standard-gestures` - Use platform standard gestures consistently; don't redefine (e.g. swipe-back, pinch-zoom) (Apple HIG)
104
+ - `system-gestures` - Don't block system gestures (Control Center, back swipe, etc.) (Apple HIG)
105
+ - `press-feedback` - Visual feedback on press (ripple/highlight; MD state layers)
106
+ - `haptic-feedback` - Use haptic for confirmations and important actions; avoid overuse (Apple HIG)
107
+ - `gesture-alternative` - Don't rely on gesture-only interactions; always provide visible controls for critical actions
108
+ - `safe-area-awareness` - Keep primary touch targets away from notch, Dynamic Island, gesture bar and screen edges
109
+ - `no-precision-required` - Avoid requiring pixel-perfect taps on small icons or thin edges
110
+ - `swipe-clarity` - Swipe actions must show clear affordance or hint (chevron, label, tutorial)
111
+ - `drag-threshold` - Use a movement threshold before starting drag to avoid accidental drags
112
+
113
+ ### 3. Performance (HIGH)
114
+
115
+ - `image-optimization` - Use WebP/AVIF, responsive images (srcset/sizes), lazy load non-critical assets
116
+ - `image-dimension` - Declare width/height or use aspect-ratio to prevent layout shift (Core Web Vitals: CLS)
117
+ - `font-loading` - Use font-display: swap/optional to avoid invisible text (FOIT); reserve space to reduce layout shift (MD)
118
+ - `font-preload` - Preload only critical fonts; avoid overusing preload on every variant
119
+ - `critical-css` - Prioritize above-the-fold CSS (inline critical CSS or early-loaded stylesheet)
120
+ - `lazy-loading` - Lazy load non-hero components via dynamic import / route-level splitting
121
+ - `bundle-splitting` - Split code by route/feature (React Suspense / Next.js dynamic) to reduce initial load and TTI
122
+ - `third-party-scripts` - Load third-party scripts async/defer; audit and remove unnecessary ones (MD)
123
+ - `reduce-reflows` - Avoid frequent layout reads/writes; batch DOM reads then writes
124
+ - `content-jumping` - Reserve space for async content to avoid layout jumps (Core Web Vitals: CLS)
125
+ - `lazy-load-below-fold` - Use loading="lazy" for below-the-fold images and heavy media
126
+ - `virtualize-lists` - Virtualize lists with 50+ items to improve memory efficiency and scroll performance
127
+ - `main-thread-budget` - Keep per-frame work under ~16ms for 60fps; move heavy tasks off main thread (HIG, MD)
128
+ - `progressive-loading` - Use skeleton screens / shimmer instead of long blocking spinners for >1s operations (Apple HIG)
129
+ - `input-latency` - Keep input latency under ~100ms for taps/scrolls (Material responsiveness standard)
130
+ - `tap-feedback-speed` - Provide visual feedback within 100ms of tap (Apple HIG)
131
+ - `debounce-throttle` - Use debounce/throttle for high-frequency events (scroll, resize, input)
132
+ - `offline-support` - Provide offline state messaging and basic fallback (PWA / mobile)
133
+ - `network-fallback` - Offer degraded modes for slow networks (lower-res images, fewer animations)
134
+
135
+ ### 4. Style Selection (HIGH)
136
+
137
+ - `style-match` - Match style to product type (use `--design-system` for recommendations)
138
+ - `consistency` - Use same style across all pages
139
+ - `no-emoji-icons` - Use SVG icons (Heroicons, Lucide), not emojis
140
+ - `color-palette-from-product` - Choose palette from product/industry (search `--domain color`)
141
+ - `effects-match-style` - Shadows, blur, radius aligned with chosen style (glass / flat / clay etc.)
142
+ - `platform-adaptive` - Respect platform idioms (iOS HIG vs Material): navigation, controls, typography, motion
143
+ - `state-clarity` - Make hover/pressed/disabled states visually distinct while staying on-style (Material state layers)
144
+ - `elevation-consistent` - Use a consistent elevation/shadow scale for cards, sheets, modals; avoid random shadow values
145
+ - `dark-mode-pairing` - Design light/dark variants together to keep brand, contrast, and style consistent
146
+ - `icon-style-consistent` - Use one icon set/visual language (stroke width, corner radius) across the product
147
+ - `system-controls` - Prefer native/system controls over fully custom ones; only customize when branding requires it (Apple HIG)
148
+ - `blur-purpose` - Use blur to indicate background dismissal (modals, sheets), not as decoration (Apple HIG)
149
+ - `primary-action` - Each screen should have only one primary CTA; secondary actions visually subordinate (Apple HIG)
150
+
151
+ ### 5. Layout & Responsive (HIGH)
152
+
153
+ - `viewport-meta` - width=device-width initial-scale=1 (never disable zoom)
154
+ - `mobile-first` - Design mobile-first, then scale up to tablet and desktop
155
+ - `breakpoint-consistency` - Use systematic breakpoints (e.g. 375 / 768 / 1024 / 1440)
156
+ - `readable-font-size` - Minimum 16px body text on mobile (avoids iOS auto-zoom)
157
+ - `line-length-control` - Mobile 35–60 chars per line; desktop 60–75 chars
158
+ - `horizontal-scroll` - No horizontal scroll on mobile; ensure content fits viewport width
159
+ - `spacing-scale` - Use 4pt/8dp incremental spacing system (Material Design)
160
+ - `touch-density` - Keep component spacing comfortable for touch: not cramped, not causing mis-taps
161
+ - `container-width` - Consistent max-width on desktop (max-w-6xl / 7xl)
162
+ - `z-index-management` - Define layered z-index scale (e.g. 0 / 10 / 20 / 40 / 100 / 1000)
163
+ - `fixed-element-offset` - Fixed navbar/bottom bar must reserve safe padding for underlying content
164
+ - `scroll-behavior` - Avoid nested scroll regions that interfere with the main scroll experience
165
+ - `viewport-units` - Prefer min-h-dvh over 100vh on mobile
166
+ - `orientation-support` - Keep layout readable and operable in landscape mode
167
+ - `content-priority` - Show core content first on mobile; fold or hide secondary content
168
+ - `visual-hierarchy` - Establish hierarchy via size, spacing, contrast — not color alone
169
+
170
+ ### 6. Typography & Color (MEDIUM)
171
+
172
+ - `line-height` - Use 1.5-1.75 for body text
173
+ - `line-length` - Limit to 65-75 characters per line
174
+ - `font-pairing` - Match heading/body font personalities
175
+ - `font-scale` - Consistent type scale (e.g. 12 14 16 18 24 32)
176
+ - `contrast-readability` - Darker text on light backgrounds (e.g. slate-900 on white)
177
+ - `text-styles-system` - Use platform type system: iOS 11 Dynamic Type styles / Material 5 type roles (display, headline, title, body, label) (HIG, MD)
178
+ - `weight-hierarchy` - Use font-weight to reinforce hierarchy: Bold headings (600–700), Regular body (400), Medium labels (500) (MD)
179
+ - `color-semantic` - Define semantic color tokens (primary, secondary, error, surface, on-surface) not raw hex in components (Material color system)
180
+ - `color-dark-mode` - Dark mode uses desaturated / lighter tonal variants, not inverted colors; test contrast separately (HIG, MD)
181
+ - `color-accessible-pairs` - Foreground/background pairs must meet 4.5:1 (AA) or 7:1 (AAA); use tools to verify (WCAG, MD)
182
+ - `color-not-decorative-only` - Functional color (error red, success green) must include icon/text; avoid color-only meaning (HIG, MD)
183
+ - `truncation-strategy` - Prefer wrapping over truncation; when truncating use ellipsis and provide full text via tooltip/expand (Apple HIG)
184
+ - `letter-spacing` - Respect default letter-spacing per platform; avoid tight tracking on body text (HIG, MD)
185
+ - `number-tabular` - Use tabular/monospaced figures for data columns, prices, and timers to prevent layout shift
186
+ - `whitespace-balance` - Use whitespace intentionally to group related items and separate sections; avoid visual clutter (Apple HIG)
187
+
188
+ ### 7. Animation (MEDIUM)
189
+
190
+ - `duration-timing` - Use 150–300ms for micro-interactions; complex transitions ≤400ms; avoid >500ms (MD)
191
+ - `transform-performance` - Use transform/opacity only; avoid animating width/height/top/left
192
+ - `loading-states` - Show skeleton or progress indicator when loading exceeds 300ms
193
+ - `excessive-motion` - Animate 1-2 key elements per view max
194
+ - `easing` - Use ease-out for entering, ease-in for exiting; avoid linear for UI transitions
195
+ - `motion-meaning` - Every animation must express a cause-effect relationship, not just be decorative (Apple HIG)
196
+ - `state-transition` - State changes (hover / active / expanded / collapsed / modal) should animate smoothly, not snap
197
+ - `continuity` - Page/screen transitions should maintain spatial continuity (shared element, directional slide) (Apple HIG)
198
+ - `parallax-subtle` - Use parallax sparingly; must respect reduced-motion and not cause disorientation (Apple HIG)
199
+ - `spring-physics` - Prefer spring/physics-based curves over linear or cubic-bezier for natural feel (Apple HIG fluid animations)
200
+ - `exit-faster-than-enter` - Exit animations shorter than enter (~60–70% of enter duration) to feel responsive (MD motion)
201
+ - `stagger-sequence` - Stagger list/grid item entrance by 30–50ms per item; avoid all-at-once or too-slow reveals (MD)
202
+ - `shared-element-transition` - Use shared element / hero transitions for visual continuity between screens (MD, HIG)
203
+ - `interruptible` - Animations must be interruptible; user tap/gesture cancels in-progress animation immediately (Apple HIG)
204
+ - `no-blocking-animation` - Never block user input during an animation; UI must stay interactive (Apple HIG)
205
+ - `fade-crossfade` - Use crossfade for content replacement within the same container (MD)
206
+ - `scale-feedback` - Subtle scale (0.95–1.05) on press for tappable cards/buttons; restore on release (HIG, MD)
207
+ - `gesture-feedback` - Drag, swipe, and pinch must provide real-time visual response tracking the finger (MD Motion)
208
+ - `hierarchy-motion` - Use translate/scale direction to express hierarchy: enter from below = deeper, exit upward = back (MD)
209
+ - `motion-consistency` - Unify duration/easing tokens globally; all animations share the same rhythm and feel
210
+ - `opacity-threshold` - Fading elements should not linger below opacity 0.2; either fade fully or remain visible
211
+ - `modal-motion` - Modals/sheets should animate from their trigger source (scale+fade or slide-in) for spatial context (HIG, MD)
212
+ - `navigation-direction` - Forward navigation animates left/up; backward animates right/down — keep direction logically consistent (HIG)
213
+ - `layout-shift-avoid` - Animations must not cause layout reflow or CLS; use transform for position changes
214
+
215
+ ### 8. Forms & Feedback (MEDIUM)
216
+
217
+ - `input-labels` - Visible label per input (not placeholder-only)
218
+ - `error-placement` - Show error below the related field
219
+ - `submit-feedback` - Loading then success/error state on submit
220
+ - `required-indicators` - Mark required fields (e.g. asterisk)
221
+ - `empty-states` - Helpful message and action when no content
222
+ - `toast-dismiss` - Auto-dismiss toasts in 3-5s
223
+ - `confirmation-dialogs` - Confirm before destructive actions
224
+ - `input-helper-text` - Provide persistent helper text below complex inputs, not just placeholder (Material Design)
225
+ - `disabled-states` - Disabled elements use reduced opacity (0.38–0.5) + cursor change + semantic attribute (MD)
226
+ - `progressive-disclosure` - Reveal complex options progressively; don't overwhelm users upfront (Apple HIG)
227
+ - `inline-validation` - Validate on blur (not keystroke); show error only after user finishes input (MD)
228
+ - `input-type-keyboard` - Use semantic input types (email, tel, number) to trigger the correct mobile keyboard (HIG, MD)
229
+ - `password-toggle` - Provide show/hide toggle for password fields (MD)
230
+ - `autofill-support` - Use autocomplete / textContentType attributes so the system can autofill (HIG, MD)
231
+ - `undo-support` - Allow undo for destructive or bulk actions (e.g. "Undo delete" toast) (Apple HIG)
232
+ - `success-feedback` - Confirm completed actions with brief visual feedback (checkmark, toast, color flash) (MD)
233
+ - `error-recovery` - Error messages must include a clear recovery path (retry, edit, help link) (HIG, MD)
234
+ - `multi-step-progress` - Multi-step flows show step indicator or progress bar; allow back navigation (MD)
235
+ - `form-autosave` - Long forms should auto-save drafts to prevent data loss on accidental dismissal (Apple HIG)
236
+ - `sheet-dismiss-confirm` - Confirm before dismissing a sheet/modal with unsaved changes (Apple HIG)
237
+ - `error-clarity` - Error messages must state cause + how to fix (not just "Invalid input") (HIG, MD)
238
+ - `field-grouping` - Group related fields logically (fieldset/legend or visual grouping) (MD)
239
+ - `read-only-distinction` - Read-only state should be visually and semantically different from disabled (MD)
240
+ - `focus-management` - After submit error, auto-focus the first invalid field (WCAG, MD)
241
+ - `error-summary` - For multiple errors, show summary at top with anchor links to each field (WCAG)
242
+ - `touch-friendly-input` - Mobile input height ≥44px to meet touch target requirements (Apple HIG)
243
+ - `destructive-emphasis` - Destructive actions use semantic danger color (red) and are visually separated from primary actions (HIG, MD)
244
+ - `toast-accessibility` - Toasts must not steal focus; use aria-live="polite" for screen reader announcement (WCAG)
245
+ - `aria-live-errors` - Form errors use aria-live region or role="alert" to notify screen readers (WCAG)
246
+ - `contrast-feedback` - Error and success state colors must meet 4.5:1 contrast ratio (WCAG, MD)
247
+ - `timeout-feedback` - Request timeout must show clear feedback with retry option (MD)
248
+
249
+ ### 9. Navigation Patterns (HIGH)
250
+
251
+ - `bottom-nav-limit` - Bottom navigation max 5 items; use labels with icons (Material Design)
252
+ - `drawer-usage` - Use drawer/sidebar for secondary navigation, not primary actions (Material Design)
253
+ - `back-behavior` - Back navigation must be predictable and consistent; preserve scroll/state (Apple HIG, MD)
254
+ - `deep-linking` - All key screens must be reachable via deep link / URL for sharing and notifications (Apple HIG, MD)
255
+ - `tab-bar-ios` - iOS: use bottom Tab Bar for top-level navigation (Apple HIG)
256
+ - `top-app-bar-android` - Android: use Top App Bar with navigation icon for primary structure (Material Design)
257
+ - `nav-label-icon` - Navigation items must have both icon and text label; icon-only nav harms discoverability (MD)
258
+ - `nav-state-active` - Current location must be visually highlighted (color, weight, indicator) in navigation (HIG, MD)
259
+ - `nav-hierarchy` - Primary nav (tabs/bottom bar) vs secondary nav (drawer/settings) must be clearly separated (MD)
260
+ - `modal-escape` - Modals and sheets must offer a clear close/dismiss affordance; swipe-down to dismiss on mobile (Apple HIG)
261
+ - `search-accessible` - Search must be easily reachable (top bar or tab); provide recent/suggested queries (MD)
262
+ - `breadcrumb-web` - Web: use breadcrumbs for 3+ level deep hierarchies to aid orientation (MD)
263
+ - `state-preservation` - Navigating back must restore previous scroll position, filter state, and input (HIG, MD)
264
+ - `gesture-nav-support` - Support system gesture navigation (iOS swipe-back, Android predictive back) without conflict (HIG, MD)
265
+ - `tab-badge` - Use badges on nav items sparingly to indicate unread/pending; clear after user visits (HIG, MD)
266
+ - `overflow-menu` - When actions exceed available space, use overflow/more menu instead of cramming (MD)
267
+ - `bottom-nav-top-level` - Bottom nav is for top-level screens only; never nest sub-navigation inside it (MD)
268
+ - `adaptive-navigation` - Large screens (≥1024px) prefer sidebar; small screens use bottom/top nav (Material Adaptive)
269
+ - `back-stack-integrity` - Never silently reset the navigation stack or unexpectedly jump to home (HIG, MD)
270
+ - `navigation-consistency` - Navigation placement must stay the same across all pages; don't change by page type
271
+ - `avoid-mixed-patterns` - Don't mix Tab + Sidebar + Bottom Nav at the same hierarchy level
272
+ - `modal-vs-navigation` - Modals must not be used for primary navigation flows; they break the user's path (HIG)
273
+ - `focus-on-route-change` - After page transition, move focus to main content region for screen reader users (WCAG)
274
+ - `persistent-nav` - Core navigation must remain reachable from deep pages; don't hide it entirely in sub-flows (HIG, MD)
275
+ - `destructive-nav-separation` - Dangerous actions (delete account, logout) must be visually and spatially separated from normal nav items (HIG, MD)
276
+ - `empty-nav-state` - When a nav destination is unavailable, explain why instead of silently hiding it (MD)
277
+
278
+ ### 10. Charts & Data (LOW)
279
+
280
+ - `chart-type` - Match chart type to data type (trend → line, comparison → bar, proportion → pie/donut)
281
+ - `color-guidance` - Use accessible color palettes; avoid red/green only pairs for colorblind users (WCAG, MD)
282
+ - `data-table` - Provide table alternative for accessibility; charts alone are not screen-reader friendly (WCAG)
283
+ - `pattern-texture` - Supplement color with patterns, textures, or shapes so data is distinguishable without color (WCAG, MD)
284
+ - `legend-visible` - Always show legend; position near the chart, not detached below a scroll fold (MD)
285
+ - `tooltip-on-interact` - Provide tooltips/data labels on hover (Web) or tap (mobile) showing exact values (HIG, MD)
286
+ - `axis-labels` - Label axes with units and readable scale; avoid truncated or rotated labels on mobile
287
+ - `responsive-chart` - Charts must reflow or simplify on small screens (e.g. horizontal bar instead of vertical, fewer ticks)
288
+ - `empty-data-state` - Show meaningful empty state when no data exists ("No data yet" + guidance), not a blank chart (MD)
289
+ - `loading-chart` - Use skeleton or shimmer placeholder while chart data loads; don't show an empty axis frame
290
+ - `animation-optional` - Chart entrance animations must respect prefers-reduced-motion; data should be readable immediately (HIG)
291
+ - `large-dataset` - For 1000+ data points, aggregate or sample; provide drill-down for detail instead of rendering all (MD)
292
+ - `number-formatting` - Use locale-aware formatting for numbers, dates, currencies on axes and labels (HIG, MD)
293
+ - `touch-target-chart` - Interactive chart elements (points, segments) must have ≥44pt tap area or expand on touch (Apple HIG)
294
+ - `no-pie-overuse` - Avoid pie/donut for >5 categories; switch to bar chart for clarity
295
+ - `contrast-data` - Data lines/bars vs background ≥3:1; data text labels ≥4.5:1 (WCAG)
296
+ - `legend-interactive` - Legends should be clickable to toggle series visibility (MD)
297
+ - `direct-labeling` - For small datasets, label values directly on the chart to reduce eye travel
298
+ - `tooltip-keyboard` - Tooltip content must be keyboard-reachable and not rely on hover alone (WCAG)
299
+ - `sortable-table` - Data tables must support sorting with aria-sort indicating current sort state (WCAG)
300
+ - `axis-readability` - Axis ticks must not be cramped; maintain readable spacing, auto-skip on small screens
301
+ - `data-density` - Limit information density per chart to avoid cognitive overload; split into multiple charts if needed
302
+ - `trend-emphasis` - Emphasize data trends over decoration; avoid heavy gradients/shadows that obscure the data
303
+ - `gridline-subtle` - Grid lines should be low-contrast (e.g. gray-200) so they don't compete with data
304
+ - `focusable-elements` - Interactive chart elements (points, bars, slices) must be keyboard-navigable (WCAG)
305
+ - `screen-reader-summary` - Provide a text summary or aria-label describing the chart's key insight for screen readers (WCAG)
306
+ - `error-state-chart` - Data load failure must show error message with retry action, not a broken/empty chart
307
+ - `export-option` - For data-heavy products, offer CSV/image export of chart data
308
+ - `drill-down-consistency` - Drill-down interactions must maintain a clear back-path and hierarchy breadcrumb
309
+ - `time-scale-clarity` - Time series charts must clearly label time granularity (day/week/month) and allow switching
310
+
311
+ ## How to Use
312
+
313
+ Search specific domains using the CLI tool below.
314
+
315
+ ---
316
+
317
+ ## Prerequisites
318
+
319
+ Check if Python is installed:
320
+
321
+ ```bash
322
+ python3 --version || python --version
323
+ ```
324
+
325
+ If Python is not installed, install it based on user's OS:
326
+
327
+ **macOS:**
328
+ ```bash
329
+ brew install python3
330
+ ```
331
+
332
+ **Ubuntu/Debian:**
333
+ ```bash
334
+ sudo apt update && sudo apt install python3
335
+ ```
336
+
337
+ **Windows:**
338
+ ```powershell
339
+ winget install Python.Python.3.12
340
+ ```
341
+
342
+ ---
343
+
344
+ ## How to Use This Skill
345
+
346
+ Use this skill when the user requests any of the following:
347
+
348
+ | Scenario | Trigger Examples | Start From |
349
+ |----------|-----------------|------------|
350
+ | **New project / page** | "Build a landing page", "Build a dashboard" | Step 1 → Step 2 (design system) |
351
+ | **New component** | "Create a pricing card", "Add a modal" | Step 3 (domain search: style, ux) |
352
+ | **Choose style / color / font** | "What style fits a fintech app?", "Recommend a color palette" | Step 2 (design system) |
353
+ | **Review existing UI** | "Review this page for UX issues", "Check accessibility" | Quick Reference checklist above |
354
+ | **Fix a UI bug** | "Button hover is broken", "Layout shifts on load" | Quick Reference → relevant section |
355
+ | **Improve / optimize** | "Make this faster", "Improve mobile experience" | Step 3 (domain search: ux, react) |
356
+ | **Implement dark mode** | "Add dark mode support" | Step 3 (domain: style "dark mode") |
357
+ | **Add charts / data viz** | "Add an analytics dashboard chart" | Step 3 (domain: chart) |
358
+ | **Stack best practices** | "React performance tips"、"SwiftUI navigation" | Step 4 (stack search) |
359
+
360
+ Follow this workflow:
361
+
362
+ ### Step 1: Analyze User Requirements
363
+
364
+ Extract key information from user request:
365
+ - **Product type**: Entertainment (social, video, music, gaming), Tool (scanner, editor, converter), Productivity (task manager, notes, calendar), or hybrid
366
+ - **Target audience**: C-end consumer users; consider age group, usage context (commute, leisure, work)
367
+ - **Style keywords**: playful, vibrant, minimal, dark mode, content-first, immersive, etc.
368
+ - **Stack**: React Native (this project's only tech stack)
369
+
370
+ ### Step 2: Generate Design System (REQUIRED)
371
+
372
+ **Always start with `--design-system`** to get comprehensive recommendations with reasoning:
373
+
374
+ ```bash
375
+ python3 skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
376
+ ```
377
+
378
+ This command:
379
+ 1. Searches domains in parallel (product, style, color, landing, typography)
380
+ 2. Applies reasoning rules from `ui-reasoning.csv` to select best matches
381
+ 3. Returns complete design system: pattern, style, colors, typography, effects
382
+ 4. Includes anti-patterns to avoid
383
+
384
+ **Example:**
385
+ ```bash
386
+ python3 skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
387
+ ```
388
+
389
+ ### Step 2b: Persist Design System (Master + Overrides Pattern)
390
+
391
+ To save the design system for **hierarchical retrieval across sessions**, add `--persist`:
392
+
393
+ ```bash
394
+ python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
395
+ ```
396
+
397
+ This creates:
398
+ - `design-system/MASTER.md` — Global Source of Truth with all design rules
399
+ - `design-system/pages/` — Folder for page-specific overrides
400
+
401
+ **With page-specific override:**
402
+ ```bash
403
+ python3 skills/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
404
+ ```
405
+
406
+ This also creates:
407
+ - `design-system/pages/dashboard.md` — Page-specific deviations from Master
408
+
409
+ **How hierarchical retrieval works:**
410
+ 1. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`
411
+ 2. If the page file exists, its rules **override** the Master file
412
+ 3. If not, use `design-system/MASTER.md` exclusively
413
+
414
+ **Context-aware retrieval prompt:**
415
+ ```
416
+ I am building the [Page Name] page. Please read design-system/MASTER.md.
417
+ Also check if design-system/pages/[page-name].md exists.
418
+ If the page file exists, prioritize its rules.
419
+ If not, use the Master rules exclusively.
420
+ Now, generate the code...
421
+ ```
422
+
423
+ ### Step 3: Supplement with Detailed Searches (as needed)
424
+
425
+ After getting the design system, use domain searches to get additional details:
426
+
427
+ ```bash
428
+ python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
429
+ ```
430
+
431
+ **When to use detailed searches:**
432
+
433
+ | Need | Domain | Example |
434
+ |------|--------|---------|
435
+ | Product type patterns | `product` | `--domain product "entertainment social"` |
436
+ | More style options | `style` | `--domain style "glassmorphism dark"` |
437
+ | Color palettes | `color` | `--domain color "entertainment vibrant"` |
438
+ | Font pairings | `typography` | `--domain typography "playful modern"` |
439
+ | Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
440
+ | UX best practices | `ux` | `--domain ux "animation accessibility"` |
441
+ | Alternative fonts | `typography` | `--domain typography "elegant luxury"` |
442
+ | Individual Google Fonts | `google-fonts` | `--domain google-fonts "sans serif popular variable"` |
443
+ | Landing structure | `landing` | `--domain landing "hero social-proof"` |
444
+ | React Native perf | `react` | `--domain react "rerender memo list"` |
445
+ | App interface a11y | `web` | `--domain web "accessibilityLabel touch safe-areas"` |
446
+ | AI prompt / CSS keywords | `prompt` | `--domain prompt "minimalism"` |
447
+
448
+ ### Step 4: Stack Guidelines (React Native)
449
+
450
+ Get React Native implementation-specific best practices:
451
+
452
+ ```bash
453
+ python3 skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack react-native
454
+ ```
455
+
456
+ ---
457
+
458
+ ## Search Reference
459
+
460
+ ### Available Domains
461
+
462
+ | Domain | Use For | Example Keywords |
463
+ |--------|---------|------------------|
464
+ | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
465
+ | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
466
+ | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
467
+ | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
468
+ | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
469
+ | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
470
+ | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
471
+ | `google-fonts` | Individual Google Fonts lookup | sans serif, monospace, japanese, variable font, popular |
472
+ | `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
473
+ | `web` | App interface guidelines (iOS/Android/React Native) | accessibilityLabel, touch targets, safe areas, Dynamic Type |
474
+ | `prompt` | AI prompts, CSS keywords | (style name) |
475
+
476
+ ### Available Stacks
477
+
478
+ | Stack | Focus |
479
+ |-------|-------|
480
+ | `react-native` | Components, Navigation, Lists |
481
+
482
+ ---
483
+
484
+ ## Example Workflow
485
+
486
+ **User request:** "Make an AI search homepage."
487
+
488
+ ### Step 1: Analyze Requirements
489
+ - Product type: Tool (AI search engine)
490
+ - Target audience: C-end users looking for fast, intelligent search
491
+ - Style keywords: modern, minimal, content-first, dark mode
492
+ - Stack: React Native
493
+
494
+ ### Step 2: Generate Design System (REQUIRED)
495
+
496
+ ```bash
497
+ python3 skills/ui-ux-pro-max/scripts/search.py "AI search tool modern minimal" --design-system -p "AI Search"
498
+ ```
499
+
500
+ **Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
501
+
502
+ ### Step 3: Supplement with Detailed Searches (as needed)
503
+
504
+ ```bash
505
+ # Get style options for a modern tool product
506
+ python3 skills/ui-ux-pro-max/scripts/search.py "minimalism dark mode" --domain style
507
+
508
+ # Get UX best practices for search interaction and loading
509
+ python3 skills/ui-ux-pro-max/scripts/search.py "search loading animation" --domain ux
510
+ ```
511
+
512
+ ### Step 4: Stack Guidelines
513
+
514
+ ```bash
515
+ python3 skills/ui-ux-pro-max/scripts/search.py "list performance navigation" --stack react-native
516
+ ```
517
+
518
+ **Then:** Synthesize design system + detailed searches and implement the design.
519
+
520
+ ---
521
+
522
+ ## Output Formats
523
+
524
+ The `--design-system` flag supports two output formats:
525
+
526
+ ```bash
527
+ # ASCII box (default) - best for terminal display
528
+ python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
529
+
530
+ # Markdown - best for documentation
531
+ python3 skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
532
+ ```
533
+
534
+ ---
535
+
536
+ ## Tips for Better Results
537
+
538
+ ### Query Strategy
539
+
540
+ - Use **multi-dimensional keywords** — combine product + industry + tone + density: `"entertainment social vibrant content-dense"` not just `"app"`
541
+ - Try different keywords for the same need: `"playful neon"` → `"vibrant dark"` → `"content-first minimal"`
542
+ - Use `--design-system` first for full recommendations, then `--domain` to deep-dive any dimension you're unsure about
543
+ - Always add `--stack react-native` for implementation-specific guidance
544
+
545
+ ### Common Sticking Points
546
+
547
+ | Problem | What to Do |
548
+ |---------|------------|
549
+ | Can't decide on style/color | Re-run `--design-system` with different keywords |
550
+ | Dark mode contrast issues | Quick Reference §6: `color-dark-mode` + `color-accessible-pairs` |
551
+ | Animations feel unnatural | Quick Reference §7: `spring-physics` + `easing` + `exit-faster-than-enter` |
552
+ | Form UX is poor | Quick Reference §8: `inline-validation` + `error-clarity` + `focus-management` |
553
+ | Navigation feels confusing | Quick Reference §9: `nav-hierarchy` + `bottom-nav-limit` + `back-behavior` |
554
+ | Layout breaks on small screens | Quick Reference §5: `mobile-first` + `breakpoint-consistency` |
555
+ | Performance / jank | Quick Reference §3: `virtualize-lists` + `main-thread-budget` + `debounce-throttle` |
556
+
557
+ ### Pre-Delivery Checklist
558
+
559
+ - Run `--domain ux "animation accessibility z-index loading"` as a UX validation pass before implementation
560
+ - Run through Quick Reference **§1–§3** (CRITICAL + HIGH) as a final review
561
+ - Test on 375px (small phone) and landscape orientation
562
+ - Verify behavior with **reduced-motion** enabled and **Dynamic Type** at largest size
563
+ - Check dark mode contrast independently (don't assume light mode values work)
564
+ - Confirm all touch targets ≥44pt and no content hidden behind safe areas
565
+
566
+ ---
567
+
568
+ ## Common Rules for Professional UI
569
+
570
+ These are frequently overlooked issues that make UI look unprofessional:
571
+ Scope notice: The rules below are for App UI (iOS/Android/React Native/Flutter), not desktop-web interaction patterns.
572
+
573
+ ### Icons & Visual Elements
574
+
575
+ | Rule | Standard | Avoid | Why It Matters |
576
+ |------|----------|--------|----------------|
577
+ | **No Emoji as Structural Icons** | Use vector-based icons (e.g., Lucide, react-native-vector-icons, @expo/vector-icons). | Using emojis (🎨 🚀 ⚙️) for navigation, settings, or system controls. | Emojis are font-dependent, inconsistent across platforms, and cannot be controlled via design tokens. |
578
+ | **Vector-Only Assets** | Use SVG or platform vector icons that scale cleanly and support theming. | Raster PNG icons that blur or pixelate. | Ensures scalability, crisp rendering, and dark/light mode adaptability. |
579
+ | **Stable Interaction States** | Use color, opacity, or elevation transitions for press states without changing layout bounds. | Layout-shifting transforms that move surrounding content or trigger visual jitter. | Prevents unstable interactions and preserves smooth motion/perceived quality on mobile. |
580
+ | **Correct Brand Logos** | Use official brand assets and follow their usage guidelines (spacing, color, clear space). | Guessing logo paths, recoloring unofficially, or modifying proportions. | Prevents brand misuse and ensures legal/platform compliance. |
581
+ | **Consistent Icon Sizing** | Define icon sizes as design tokens (e.g., icon-sm, icon-md = 24pt, icon-lg). | Mixing arbitrary values like 20pt / 24pt / 28pt randomly. | Maintains rhythm and visual hierarchy across the interface. |
582
+ | **Stroke Consistency** | Use a consistent stroke width within the same visual layer (e.g., 1.5px or 2px). | Mixing thick and thin stroke styles arbitrarily. | Inconsistent strokes reduce perceived polish and cohesion. |
583
+ | **Filled vs Outline Discipline** | Use one icon style per hierarchy level. | Mixing filled and outline icons at the same hierarchy level. | Maintains semantic clarity and stylistic coherence. |
584
+ | **Touch Target Minimum** | Minimum 44×44pt interactive area (use hitSlop if icon is smaller). | Small icons without expanded tap area. | Meets accessibility and platform usability standards. |
585
+ | **Icon Alignment** | Align icons to text baseline and maintain consistent padding. | Misaligned icons or inconsistent spacing around them. | Prevents subtle visual imbalance that reduces perceived quality. |
586
+ | **Icon Contrast** | Follow WCAG contrast standards: 4.5:1 for small elements, 3:1 minimum for larger UI glyphs. | Low-contrast icons that blend into the background. | Ensures accessibility in both light and dark modes. |
587
+
588
+
589
+ ### Interaction (App)
590
+
591
+ | Rule | Do | Don't |
592
+ |------|----|----- |
593
+ | **Tap feedback** | Provide clear pressed feedback (ripple/opacity/elevation) within 80-150ms | No visual response on tap |
594
+ | **Animation timing** | Keep micro-interactions around 150-300ms with platform-native easing | Instant transitions or slow animations (>500ms) |
595
+ | **Accessibility focus** | Ensure screen reader focus order matches visual order and labels are descriptive | Unlabeled controls or confusing focus traversal |
596
+ | **Disabled state clarity** | Use disabled semantics (`disabled`/native disabled props), reduced emphasis, and no tap action | Controls that look tappable but do nothing |
597
+ | **Touch target minimum** | Keep tap areas >=44x44pt (iOS) or >=48x48dp (Android), expand hit area when icon is smaller | Tiny tap targets or icon-only hit areas without padding |
598
+ | **Gesture conflict prevention** | Keep one primary gesture per region and avoid nested tap/drag conflicts | Overlapping gestures causing accidental actions |
599
+ | **Semantic native controls** | Prefer native interactive primitives (`Button`, `Pressable`, platform equivalents) with proper accessibility roles | Generic containers used as primary controls without semantics |
600
+
601
+ ### Light/Dark Mode Contrast
602
+
603
+ | Rule | Do | Don't |
604
+ |------|----|----- |
605
+ | **Surface readability (light)** | Keep cards/surfaces clearly separated from background with sufficient opacity/elevation | Overly transparent surfaces that blur hierarchy |
606
+ | **Text contrast (light)** | Maintain body text contrast >=4.5:1 against light surfaces | Low-contrast gray body text |
607
+ | **Text contrast (dark)** | Maintain primary text contrast >=4.5:1 and secondary text >=3:1 on dark surfaces | Dark mode text that blends into background |
608
+ | **Border and divider visibility** | Ensure separators are visible in both themes (not just light mode) | Theme-specific borders disappearing in one mode |
609
+ | **State contrast parity** | Keep pressed/focused/disabled states equally distinguishable in light and dark themes | Defining interaction states for one theme only |
610
+ | **Token-driven theming** | Use semantic color tokens mapped per theme across app surfaces/text/icons | Hardcoded per-screen hex values |
611
+ | **Scrim and modal legibility** | Use a modal scrim strong enough to isolate foreground content (typically 40-60% black) | Weak scrim that leaves background visually competing |
612
+
613
+ ### Layout & Spacing
614
+
615
+ | Rule | Do | Don't |
616
+ |------|----|----- |
617
+ | **Safe-area compliance** | Respect top/bottom safe areas for all fixed headers, tab bars, and CTA bars | Placing fixed UI under notch, status bar, or gesture area |
618
+ | **System bar clearance** | Add spacing for status/navigation bars and gesture home indicator | Let tappable content collide with OS chrome |
619
+ | **Consistent content width** | Keep predictable content width per device class (phone/tablet) | Mixing arbitrary widths between screens |
620
+ | **8dp spacing rhythm** | Use a consistent 4/8dp spacing system for padding/gaps/section spacing | Random spacing increments with no rhythm |
621
+ | **Readable text measure** | Keep long-form text readable on large devices (avoid edge-to-edge paragraphs on tablets) | Full-width long text that hurts readability |
622
+ | **Section spacing hierarchy** | Define clear vertical rhythm tiers (e.g., 16/24/32/48) by hierarchy | Similar UI levels with inconsistent spacing |
623
+ | **Adaptive gutters by breakpoint** | Increase horizontal insets on larger widths and in landscape | Same narrow gutter on all device sizes/orientations |
624
+ | **Scroll and fixed element coexistence** | Add bottom/top content insets so lists are not hidden behind fixed bars | Scroll content obscured by sticky headers/footers |
625
+
626
+ ---
627
+
628
+ ## Pre-Delivery Checklist
629
+
630
+ Before delivering UI code, verify these items:
631
+ Scope notice: This checklist is for App UI (iOS/Android/React Native/Flutter).
632
+
633
+ ### Visual Quality
634
+ - [ ] No emojis used as icons (use SVG instead)
635
+ - [ ] All icons come from a consistent icon family and style
636
+ - [ ] Official brand assets are used with correct proportions and clear space
637
+ - [ ] Pressed-state visuals do not shift layout bounds or cause jitter
638
+ - [ ] Semantic theme tokens are used consistently (no ad-hoc per-screen hardcoded colors)
639
+
640
+ ### Interaction
641
+ - [ ] All tappable elements provide clear pressed feedback (ripple/opacity/elevation)
642
+ - [ ] Touch targets meet minimum size (>=44x44pt iOS, >=48x48dp Android)
643
+ - [ ] Micro-interaction timing stays in the 150-300ms range with native-feeling easing
644
+ - [ ] Disabled states are visually clear and non-interactive
645
+ - [ ] Screen reader focus order matches visual order, and interactive labels are descriptive
646
+ - [ ] Gesture regions avoid nested/conflicting interactions (tap/drag/back-swipe conflicts)
647
+
648
+ ### Light/Dark Mode
649
+ - [ ] Primary text contrast >=4.5:1 in both light and dark mode
650
+ - [ ] Secondary text contrast >=3:1 in both light and dark mode
651
+ - [ ] Dividers/borders and interaction states are distinguishable in both modes
652
+ - [ ] Modal/drawer scrim opacity is strong enough to preserve foreground legibility (typically 40-60% black)
653
+ - [ ] Both themes are tested before delivery (not inferred from a single theme)
654
+
655
+ ### Layout
656
+ - [ ] Safe areas are respected for headers, tab bars, and bottom CTA bars
657
+ - [ ] Scroll content is not hidden behind fixed/sticky bars
658
+ - [ ] Verified on small phone, large phone, and tablet (portrait + landscape)
659
+ - [ ] Horizontal insets/gutters adapt correctly by device size and orientation
660
+ - [ ] 4/8dp spacing rhythm is maintained across component, section, and page levels
661
+ - [ ] Long-form text measure remains readable on larger devices (no edge-to-edge paragraphs)
662
+
663
+ ### Accessibility
664
+ - [ ] All meaningful images/icons have accessibility labels
665
+ - [ ] Form fields have labels, hints, and clear error messages
666
+ - [ ] Color is not the only indicator
667
+ - [ ] Reduced motion and dynamic text size are supported without layout breakage
668
+ - [ ] Accessibility traits/roles/states (selected, disabled, expanded) are announced correctly