@jaimevalasek/aioson 1.3.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/LICENSE +661 -21
  3. package/README.md +22 -3
  4. package/docs/en/squad-dashboard.md +372 -0
  5. package/docs/openclaw-bridge.md +308 -0
  6. package/docs/pt/README.md +62 -2
  7. package/docs/pt/advisor-spec.md +5 -5
  8. package/docs/pt/agentes-customizados.md +670 -0
  9. package/docs/pt/agentes.md +235 -23
  10. package/docs/pt/automacao-squads.md +407 -0
  11. package/docs/pt/cenarios.md +49 -5
  12. package/docs/pt/clientes-ai.md +62 -0
  13. package/docs/pt/comandos-cli.md +226 -17
  14. package/docs/pt/deyvin.md +115 -0
  15. package/docs/pt/genome-3.0-spec.md +11 -11
  16. package/docs/pt/inicio-rapido.md +63 -2
  17. package/docs/pt/memoria-contexto.md +255 -0
  18. package/docs/pt/output-strategy-delivery.md +655 -0
  19. package/docs/pt/profiler-system.md +17 -17
  20. package/docs/pt/runtime-observability.md +5 -1
  21. package/docs/pt/skills.md +175 -0
  22. package/docs/pt/squad-dashboard.md +373 -0
  23. package/docs/pt/{squad-genoma.md → squad-genome.md} +81 -75
  24. package/docs/testing/genome-2.0-matrix.md +5 -5
  25. package/docs/testing/genome-2.0-rollout.md +10 -10
  26. package/package.json +4 -4
  27. package/src/agents.js +21 -5
  28. package/src/backup-local.js +74 -0
  29. package/src/backup-provider.js +303 -0
  30. package/src/cli.js +276 -2
  31. package/src/commands/agents.js +22 -4
  32. package/src/commands/backup-local-cmd.js +25 -0
  33. package/src/commands/backup.js +533 -0
  34. package/src/commands/cloud.js +17 -17
  35. package/src/commands/context-pack.js +45 -0
  36. package/src/commands/implementation-plan.js +340 -0
  37. package/src/commands/learning.js +134 -0
  38. package/src/commands/live.js +1583 -0
  39. package/src/commands/runtime.js +1075 -2
  40. package/src/commands/scan-project.js +288 -24
  41. package/src/commands/setup-context.js +30 -2
  42. package/src/commands/skill.js +558 -0
  43. package/src/commands/squad-agent-create.js +788 -0
  44. package/src/commands/squad-daemon.js +209 -0
  45. package/src/commands/squad-dashboard.js +39 -0
  46. package/src/commands/squad-deploy.js +64 -0
  47. package/src/commands/squad-doctor.js +103 -1
  48. package/src/commands/squad-investigate.js +261 -0
  49. package/src/commands/squad-learning.js +209 -0
  50. package/src/commands/squad-mcp.js +270 -0
  51. package/src/commands/squad-pipeline.js +247 -1
  52. package/src/commands/squad-plan.js +329 -0
  53. package/src/commands/squad-processes.js +56 -0
  54. package/src/commands/squad-recovery.js +42 -0
  55. package/src/commands/squad-roi.js +291 -0
  56. package/src/commands/squad-score.js +250 -0
  57. package/src/commands/squad-status.js +38 -2
  58. package/src/commands/squad-validate.js +118 -1
  59. package/src/commands/squad-webhook.js +160 -0
  60. package/src/commands/squad-worker.js +191 -0
  61. package/src/commands/squad-worktrees.js +75 -0
  62. package/src/commands/test-agents.js +6 -1
  63. package/src/commands/web-map.js +70 -0
  64. package/src/commands/web-scrape.js +71 -0
  65. package/src/commands/workflow-next.js +8 -1
  66. package/src/commands/workflow-status.js +250 -0
  67. package/src/constants.js +88 -16
  68. package/src/context-memory.js +837 -0
  69. package/src/context-writer.js +47 -1
  70. package/src/delivery-runner.js +319 -0
  71. package/src/genome-files.js +1 -1
  72. package/src/genome-format.js +1 -1
  73. package/src/i18n/messages/en.js +333 -8
  74. package/src/i18n/messages/es.js +240 -6
  75. package/src/i18n/messages/fr.js +239 -5
  76. package/src/i18n/messages/pt-BR.js +330 -12
  77. package/src/installer.js +30 -2
  78. package/src/lib/genomes/compat.js +1 -1
  79. package/src/lib/webhook-server.js +328 -0
  80. package/src/mcp-connectors/registry.js +602 -0
  81. package/src/runtime-store.js +1037 -42
  82. package/src/session-handoff.js +77 -0
  83. package/src/squad/external-session.js +180 -0
  84. package/src/squad/inter-squad.js +74 -0
  85. package/src/squad/recovery-context.js +201 -0
  86. package/src/squad/worktree-manager.js +114 -0
  87. package/src/squad-daemon.js +490 -0
  88. package/src/squad-dashboard/api.js +223 -0
  89. package/src/squad-dashboard/attachment-handler.js +93 -0
  90. package/src/squad-dashboard/context-monitor.js +157 -0
  91. package/src/squad-dashboard/execution-logs.js +115 -0
  92. package/src/squad-dashboard/hunk-review.js +209 -0
  93. package/src/squad-dashboard/metrics.js +133 -0
  94. package/src/squad-dashboard/process-monitor.js +125 -0
  95. package/src/squad-dashboard/renderer.js +858 -0
  96. package/src/squad-dashboard/server.js +232 -0
  97. package/src/squad-dashboard/styles.js +525 -0
  98. package/src/squad-dashboard/token-tracker.js +99 -0
  99. package/src/web.js +284 -0
  100. package/src/worker-runner.js +339 -0
  101. package/template/.aioson/agents/analyst.md +40 -9
  102. package/template/.aioson/agents/architect.md +24 -5
  103. package/template/.aioson/agents/dev.md +254 -25
  104. package/template/.aioson/agents/deyvin.md +174 -0
  105. package/template/.aioson/agents/discovery-design-doc.md +25 -1
  106. package/template/.aioson/agents/{genoma.md → genome.md} +20 -20
  107. package/template/.aioson/agents/neo.md +152 -0
  108. package/template/.aioson/agents/orache.md +388 -0
  109. package/template/.aioson/agents/orchestrator.md +63 -2
  110. package/template/.aioson/agents/pair.md +5 -0
  111. package/template/.aioson/agents/pm.md +17 -5
  112. package/template/.aioson/agents/product.md +113 -29
  113. package/template/.aioson/agents/profiler-enricher.md +1 -1
  114. package/template/.aioson/agents/profiler-forge.md +9 -9
  115. package/template/.aioson/agents/profiler-researcher.md +1 -1
  116. package/template/.aioson/agents/qa.md +18 -5
  117. package/template/.aioson/agents/setup.md +138 -18
  118. package/template/.aioson/agents/sheldon.md +603 -0
  119. package/template/.aioson/agents/squad.md +866 -28
  120. package/template/.aioson/agents/tester.md +254 -0
  121. package/template/.aioson/agents/ux-ui.md +289 -34
  122. package/template/.aioson/config.md +181 -0
  123. package/template/.aioson/context/spec.md.template +17 -0
  124. package/template/.aioson/genomes/.gitkeep +0 -0
  125. package/template/.aioson/installed-skills/.gitkeep +0 -0
  126. package/template/.aioson/locales/en/agents/analyst.md +34 -4
  127. package/template/.aioson/locales/en/agents/architect.md +18 -0
  128. package/template/.aioson/locales/en/agents/dev.md +155 -11
  129. package/template/.aioson/locales/en/agents/deyvin.md +137 -0
  130. package/template/.aioson/locales/en/agents/{genoma.md → genome.md} +14 -14
  131. package/template/.aioson/locales/en/agents/neo.md +8 -0
  132. package/template/.aioson/locales/en/agents/orchestrator.md +62 -2
  133. package/template/.aioson/locales/en/agents/pair.md +5 -0
  134. package/template/.aioson/locales/en/agents/pm.md +7 -0
  135. package/template/.aioson/locales/en/agents/product.md +35 -17
  136. package/template/.aioson/locales/en/agents/qa.md +56 -0
  137. package/template/.aioson/locales/en/agents/setup.md +53 -6
  138. package/template/.aioson/locales/en/agents/sheldon.md +340 -0
  139. package/template/.aioson/locales/en/agents/squad.md +203 -15
  140. package/template/.aioson/locales/en/agents/ux-ui.md +383 -35
  141. package/template/.aioson/locales/es/agents/analyst.md +24 -4
  142. package/template/.aioson/locales/es/agents/architect.md +18 -0
  143. package/template/.aioson/locales/es/agents/dev.md +136 -9
  144. package/template/.aioson/locales/es/agents/deyvin.md +97 -0
  145. package/template/.aioson/locales/es/agents/{genoma.md → genome.md} +13 -13
  146. package/template/.aioson/locales/es/agents/neo.md +48 -0
  147. package/template/.aioson/locales/es/agents/orache.md +103 -0
  148. package/template/.aioson/locales/es/agents/orchestrator.md +62 -2
  149. package/template/.aioson/locales/es/agents/pair.md +5 -0
  150. package/template/.aioson/locales/es/agents/pm.md +7 -0
  151. package/template/.aioson/locales/es/agents/product.md +13 -3
  152. package/template/.aioson/locales/es/agents/qa.md +33 -0
  153. package/template/.aioson/locales/es/agents/setup.md +30 -6
  154. package/template/.aioson/locales/es/agents/sheldon.md +192 -0
  155. package/template/.aioson/locales/es/agents/squad.md +284 -15
  156. package/template/.aioson/locales/es/agents/ux-ui.md +34 -25
  157. package/template/.aioson/locales/fr/agents/analyst.md +24 -4
  158. package/template/.aioson/locales/fr/agents/architect.md +18 -0
  159. package/template/.aioson/locales/fr/agents/dev.md +136 -9
  160. package/template/.aioson/locales/fr/agents/deyvin.md +97 -0
  161. package/template/.aioson/locales/fr/agents/{genoma.md → genome.md} +7 -7
  162. package/template/.aioson/locales/fr/agents/neo.md +48 -0
  163. package/template/.aioson/locales/fr/agents/orache.md +104 -0
  164. package/template/.aioson/locales/fr/agents/orchestrator.md +62 -2
  165. package/template/.aioson/locales/fr/agents/pair.md +5 -0
  166. package/template/.aioson/locales/fr/agents/pm.md +7 -0
  167. package/template/.aioson/locales/fr/agents/product.md +13 -3
  168. package/template/.aioson/locales/fr/agents/qa.md +33 -0
  169. package/template/.aioson/locales/fr/agents/setup.md +30 -6
  170. package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
  171. package/template/.aioson/locales/fr/agents/squad.md +279 -10
  172. package/template/.aioson/locales/fr/agents/ux-ui.md +34 -25
  173. package/template/.aioson/locales/pt-BR/agents/analyst.md +45 -4
  174. package/template/.aioson/locales/pt-BR/agents/architect.md +29 -0
  175. package/template/.aioson/locales/pt-BR/agents/dev.md +167 -15
  176. package/template/.aioson/locales/pt-BR/agents/deyvin.md +137 -0
  177. package/template/.aioson/locales/pt-BR/agents/{genoma.md → genome.md} +49 -49
  178. package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
  179. package/template/.aioson/locales/pt-BR/agents/orache.md +137 -0
  180. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +62 -2
  181. package/template/.aioson/locales/pt-BR/agents/pair.md +5 -0
  182. package/template/.aioson/locales/pt-BR/agents/pm.md +7 -0
  183. package/template/.aioson/locales/pt-BR/agents/product.md +43 -20
  184. package/template/.aioson/locales/pt-BR/agents/qa.md +67 -0
  185. package/template/.aioson/locales/pt-BR/agents/setup.md +53 -6
  186. package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
  187. package/template/.aioson/locales/pt-BR/agents/squad.md +591 -47
  188. package/template/.aioson/locales/pt-BR/agents/ux-ui.md +369 -22
  189. package/template/.aioson/my-agents/.gitkeep +0 -0
  190. package/template/.aioson/rules/.gitkeep +0 -0
  191. package/template/.aioson/rules/squad/.gitkeep +0 -0
  192. package/template/.aioson/rules/squad/README.md +50 -0
  193. package/template/.aioson/schemas/genome-meta.schema.json +1 -1
  194. package/template/.aioson/schemas/genome.schema.json +1 -1
  195. package/template/.aioson/schemas/squad-blueprint.schema.json +32 -0
  196. package/template/.aioson/schemas/squad-manifest.schema.json +434 -1
  197. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +205 -0
  198. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -0
  199. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -0
  200. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -0
  201. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -0
  202. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -0
  203. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -0
  204. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -0
  205. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +210 -0
  206. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -0
  207. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -0
  208. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -0
  209. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -0
  210. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -0
  211. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -0
  212. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -0
  213. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +203 -0
  214. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -0
  215. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +407 -0
  216. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +272 -0
  217. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +524 -0
  218. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +277 -0
  219. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +289 -0
  220. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +437 -0
  221. package/template/.aioson/skills/design/interface-design/SKILL.md +47 -0
  222. package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -0
  223. package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -0
  224. package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +71 -0
  225. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -0
  226. package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -0
  227. package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +62 -0
  228. package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -0
  229. package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -0
  230. package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -0
  231. package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -0
  232. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +209 -0
  233. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -0
  234. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -0
  235. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -0
  236. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -0
  237. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -0
  238. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -0
  239. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -0
  240. package/template/.aioson/skills/design-system/SKILL.md +92 -0
  241. package/template/.aioson/skills/design-system/cognitive-core-ui.skill +0 -0
  242. package/template/.aioson/skills/design-system/components/SKILL.md +274 -0
  243. package/template/.aioson/skills/design-system/components/SKILL.md:Zone.Identifier +0 -0
  244. package/template/.aioson/skills/design-system/dashboards/SKILL.md +184 -0
  245. package/template/.aioson/skills/design-system/dashboards/SKILL.md:Zone.Identifier +0 -0
  246. package/template/.aioson/skills/design-system/foundations/SKILL.md +250 -0
  247. package/template/.aioson/skills/design-system/foundations/SKILL.md:Zone.Identifier +0 -0
  248. package/template/.aioson/skills/design-system/motion/SKILL.md +197 -0
  249. package/template/.aioson/skills/design-system/motion/SKILL.md:Zone.Identifier +0 -0
  250. package/template/.aioson/skills/design-system/patterns/SKILL.md +231 -0
  251. package/template/.aioson/skills/design-system/patterns/SKILL.md:Zone.Identifier +0 -0
  252. package/template/.aioson/skills/premium-visual-design/SKILL.md +83 -0
  253. package/template/.aioson/skills/premium-visual-design/components/agent-badge.md +92 -0
  254. package/template/.aioson/skills/premium-visual-design/components/dependency-node.md +102 -0
  255. package/template/.aioson/skills/premium-visual-design/components/mention-autocomplete.md +136 -0
  256. package/template/.aioson/skills/premium-visual-design/components/notification-center.md +136 -0
  257. package/template/.aioson/skills/premium-visual-design/components/review-action-bar.md +188 -0
  258. package/template/.aioson/skills/premium-visual-design/components/team-switcher.md +131 -0
  259. package/template/.aioson/skills/premium-visual-design/patterns/agent-message-thread.md +198 -0
  260. package/template/.aioson/skills/premium-visual-design/patterns/notification-panel.md +275 -0
  261. package/template/.aioson/skills/premium-visual-design/patterns/review-workflow-ui.md +234 -0
  262. package/template/.aioson/skills/premium-visual-design/patterns/task-dependency-graph.md +147 -0
  263. package/template/.aioson/skills/premium-visual-design/tokens/status-extended.md +142 -0
  264. package/template/.aioson/skills/squad/SKILL.md +58 -0
  265. package/template/.aioson/skills/squad/domains/.gitkeep +0 -0
  266. package/template/.aioson/skills/squad/formats/.gitkeep +0 -0
  267. package/template/.aioson/skills/squad/formats/catalog.json +15 -0
  268. package/template/.aioson/skills/squad/formats/content/blog-post.md +47 -0
  269. package/template/.aioson/skills/squad/formats/content/newsletter.md +47 -0
  270. package/template/.aioson/skills/squad/formats/creative/podcast-script.md +43 -0
  271. package/template/.aioson/skills/squad/formats/creative/video-script.md +41 -0
  272. package/template/.aioson/skills/squad/formats/social/instagram-feed.md +42 -0
  273. package/template/.aioson/skills/squad/formats/social/linkedin-post.md +42 -0
  274. package/template/.aioson/skills/squad/formats/social/tiktok.md +39 -0
  275. package/template/.aioson/skills/squad/formats/social/twitter-thread.md +39 -0
  276. package/template/.aioson/skills/squad/formats/social/youtube-long.md +47 -0
  277. package/template/.aioson/skills/squad/formats/social/youtube-shorts.md +39 -0
  278. package/template/.aioson/skills/squad/patterns/.gitkeep +0 -0
  279. package/template/.aioson/skills/squad/patterns/multi-platform-pattern.md +108 -0
  280. package/template/.aioson/skills/squad/patterns/persona-based-pattern.md +98 -0
  281. package/template/.aioson/skills/squad/patterns/pipeline-pattern.md +106 -0
  282. package/template/.aioson/skills/squad/patterns/review-loop-pattern.md +81 -0
  283. package/template/.aioson/skills/squad/references/.gitkeep +0 -0
  284. package/template/.aioson/skills/squad/references/checklist-templates.md +122 -0
  285. package/template/.aioson/skills/squad/references/executor-archetypes.md +123 -0
  286. package/template/.aioson/skills/squad/references/workflow-templates.md +169 -0
  287. package/template/.aioson/skills/static/debugging-protocol.md +42 -0
  288. package/template/.aioson/skills/static/git-worktrees.md +36 -0
  289. package/template/.aioson/tasks/implementation-plan.md +307 -0
  290. package/template/.aioson/tasks/squad-create.md +1 -1
  291. package/template/.aioson/tasks/squad-design.md +28 -0
  292. package/template/.aioson/tasks/squad-execution-plan.md +279 -0
  293. package/template/.aioson/tasks/squad-export.md +1 -1
  294. package/template/.aioson/tasks/squad-investigate.md +44 -0
  295. package/template/.aioson/tasks/squad-learning-review.md +44 -0
  296. package/template/.aioson/tasks/squad-output-config.md +177 -0
  297. package/template/.aioson/tasks/squad-profile.md +48 -0
  298. package/template/.aioson/tasks/squad-review.md +61 -0
  299. package/template/.aioson/tasks/squad-task-decompose.md +66 -0
  300. package/template/.aioson/tasks/squad-validate.md +1 -1
  301. package/template/.claude/commands/aioson/agent/deyvin.md +5 -0
  302. package/template/.claude/commands/aioson/agent/discovery-design-doc.md +5 -0
  303. package/template/.claude/commands/aioson/agent/genome.md +5 -0
  304. package/template/.claude/commands/aioson/agent/neo.md +5 -0
  305. package/template/.claude/commands/aioson/agent/product.md +5 -0
  306. package/template/.claude/commands/aioson/agent/profiler-enricher.md +5 -0
  307. package/template/.claude/commands/aioson/agent/profiler-forge.md +5 -0
  308. package/template/.claude/commands/aioson/agent/profiler-researcher.md +5 -0
  309. package/template/.claude/commands/aioson/agent/squad.md +5 -0
  310. package/template/.claude/commands/aioson/agent/tester.md +5 -0
  311. package/template/.gemini/GEMINI.md +3 -0
  312. package/template/.gemini/commands/aios-deyvin.toml +6 -0
  313. package/template/.gemini/commands/aios-neo.toml +4 -0
  314. package/template/.gemini/commands/aios-pair.toml +6 -0
  315. package/template/.gemini/commands/aios-tester.toml +6 -0
  316. package/template/AGENTS.md +37 -6
  317. package/template/CLAUDE.md +34 -4
  318. package/template/OPENCODE.md +8 -2
  319. package/template/squad-searches/.gitkeep +0 -0
  320. package/template/.aioson/skills/static/interface-design.md +0 -372
  321. package/template/.aioson/skills/static/premium-command-center-ui.md +0 -190
  322. /package/template/.aioson/{genomas → docs}/.gitkeep +0 -0
  323. /package/template/.claude/commands/aioson/{analyst.md → agent/analyst.md} +0 -0
  324. /package/template/.claude/commands/aioson/{architect.md → agent/architect.md} +0 -0
  325. /package/template/.claude/commands/aioson/{dev.md → agent/dev.md} +0 -0
  326. /package/template/.claude/commands/aioson/{orchestrator.md → agent/orchestrator.md} +0 -0
  327. /package/template/.claude/commands/aioson/{pm.md → agent/pm.md} +0 -0
  328. /package/template/.claude/commands/aioson/{qa.md → agent/qa.md} +0 -0
  329. /package/template/.claude/commands/aioson/{setup.md → agent/setup.md} +0 -0
  330. /package/template/.claude/commands/aioson/{ux-ui.md → agent/ux-ui.md} +0 -0
@@ -1,372 +0,0 @@
1
- # Interface Design — Craft Guide
2
-
3
- > Read this in full before producing any UI/UX output.
4
- > Correct ships. Crafted impresses. This guide closes the gap.
5
-
6
- ---
7
-
8
- ## The mandate
9
-
10
- If another AI, given the same prompt, would produce substantially the same output — you have failed.
11
- Generic is the enemy. Defaults disguise themselves as infrastructure. Every spacing value, every typeface choice, every depth strategy is a decision. Own every one of them.
12
-
13
- ---
14
-
15
- ## AIOS rule — design memory and continuity
16
-
17
- If `.interface-design/system.md` exists, treat it as the visual source of truth:
18
- - Load it before changing direction, tokens, or component patterns.
19
- - Respect it unless the user explicitly wants a redesign.
20
- - Update it when you introduce a reusable pattern, token rule, or layout decision.
21
-
22
- If the file does not exist and the task covers more than one screen or component family, create it with:
23
- - Product context and UI intent
24
- - Chosen design direction and anti-goals
25
- - Token decisions (color, type, spacing, radius, depth, motion)
26
- - Core component patterns (navigation, card, table, form, modal, empty state)
27
- - Open constraints or decisions still pending
28
-
29
- The point is simple: one product should not look like it was designed from scratch on every screen.
30
-
31
- ---
32
-
33
- ## If the UI already exists
34
-
35
- When refining an existing product:
36
- - Identify the current visual direction before proposing a new one.
37
- - Diagnose token drift first: off-grid spacing, repeated hardcoded colors, mixed radii, mixed depth strategies, missing interactive states.
38
- - Improve consistency before re-theming.
39
- - Replace the direction only when the current system blocks the product intent or the user explicitly asked for a redesign.
40
-
41
- ---
42
-
43
- ## Phase 0 — Intent first (mandatory, cannot skip)
44
-
45
- Before touching layout or tokens, answer three questions with specificity:
46
-
47
- 1. **Who is this human?** — Actual person, actual context.
48
- Bad: "a user." Good: "a finance manager reviewing budget reports at 8am before a board meeting."
49
- 2. **What must they accomplish?** — A specific verb, not a vague goal.
50
- Bad: "manage their projects." Good: "approve or reject 15 expense requests before end of day."
51
- 3. **What should this feel like?** — Concrete texture, not an adjective.
52
- Bad: "clean and modern." Good: "a Bloomberg terminal that doesn't exhaust you."
53
-
54
- **If you cannot answer all three with specifics — stop. Ask. Do not guess. Do not default.**
55
-
56
- ---
57
-
58
- ## Phase 1 — Domain exploration (4 required outputs)
59
-
60
- Before proposing any visual direction, produce:
61
-
62
- 1. **Domain concepts** — 5+ metaphors, patterns, or ideas from the product's world.
63
- Example (clinic scheduling): appointment slots, patient flow, triage priority, clinical notes, white coat.
64
-
65
- 2. **Color world** — 5+ colors that exist naturally in that domain.
66
- Example (clinic): antiseptic white, calm blue (trust, clinical), soft green (go/available), amber (warning/urgent), warm gray (neutral).
67
-
68
- 3. **Signature element** — One thing that could only belong to THIS product.
69
- Example: a subtle "pulse" animation on available time slots, echoing a heartbeat.
70
-
71
- 4. **Defaults to avoid** — 3 obvious, generic choices that must be replaced.
72
- Example: blue primary button → calm teal; card shadows → border-only depth; Inter font → IBM Plex Sans (clinical precision).
73
-
74
- **The identity test:** Remove the product name. Could someone identify what this is for?
75
-
76
- ---
77
-
78
- ## Phase 2 — Pick a design direction
79
-
80
- Choose ONE direction. Never mix. Mixing produces visual noise.
81
-
82
- ### Precision & Density
83
- *For: dashboards, admin panels, developer tools, power-user interfaces.*
84
-
85
- ```
86
- Foundation : Cool slate (borders-only depth)
87
- Spacing : 4px base — scale: 4, 8, 12, 16, 24, 32
88
- Colors : foreground=slate-900, secondary=slate-600, muted=slate-400,
89
- faint=slate-200, border=rgba(0,0,0,0.08), accent=blue-600
90
- Radius : 4px / 6px / 8px (sharp, technical)
91
- Typography : system-ui, 11–18px, weights 400/500/600
92
- monospace: SF Mono, Consolas (for data/code)
93
- Components :
94
- Button → 32px height, 8px/12px padding, 4px radius, 13px 500-weight
95
- Card → 0.5px faint border, 12px padding, 6px radius, NO shadows
96
- Table → 8px/12px cell padding, tabular-nums, 13px font, 1px bottom border
97
- Rationale : borders-only maximizes density; compact sizing serves power users;
98
- system fonts feel native and load instantly.
99
- ```
100
-
101
- ### Warmth & Approachability
102
- *For: consumer apps, collaborative tools, onboarding flows, customer-facing products.*
103
-
104
- ```
105
- Foundation : Warm stone (subtle shadows)
106
- Spacing : 4px base — scale: 8, 12, 16, 24, 32, 48 (generous)
107
- Colors : foreground=stone-900, secondary=stone-600, accent=orange-500,
108
- surface=white on stone-50
109
- Radius : 8px / 12px / 16px (rounded, friendly)
110
- Typography : Inter, 13–24px, weights 400/500/600
111
- Components :
112
- Button → 40px height, 12px/20px padding, 8px radius
113
- Card → 20px padding, 12px radius, white on stone-50
114
- Input → 44px height, 12px/16px padding, 1.5px faint border
115
- Rationale : subtle shadows add approachable depth; generous spacing enables
116
- focused tasks; warm tones feel human and inviting.
117
- ```
118
-
119
- ### Sophistication & Trust
120
- *For: fintech, enterprise SaaS, operational products where clarity and trust matter more than novelty.*
121
-
122
- ```
123
- Foundation : Cool mineral (restrained layers)
124
- Spacing : 4px base — scale: 4, 8, 12, 16, 24, 32
125
- Colors : foreground=slate-950, secondary=slate-700, muted=slate-500,
126
- surface=white, border=rgba(15,23,42,0.10), accent=blue-700
127
- Radius : 8px / 10px / 12px (firm, not playful)
128
- Typography : IBM Plex Sans or Public Sans, 12–20px, weights 400/500/600
129
- Components :
130
- Button → 38px height, 12px/18px padding, 10px radius
131
- Card → 16px padding, 10px radius, subtle border, rare soft shadow
132
- Table → 10px/14px cell padding, tabular-nums, quiet row dividers
133
- Rationale : trust comes from control, not decoration; a restrained palette and
134
- firm typography make the product feel expensive and dependable.
135
- ```
136
-
137
- ### Premium Dark Platform
138
- *For: premium dashboards, media/catalog products, command surfaces, high-density apps with persistent navigation.*
139
-
140
- ```
141
- Foundation : Graphite layers (borders-first)
142
- Spacing : 4px base — scale: 4, 8, 12, 16, 24, 32
143
- Colors : base=#0b1015, surface=#10161d, elevated=#151c24,
144
- foreground=#f3f7fb, secondary=#b7c2cf, muted=#7f8b99,
145
- border=rgba(255,255,255,0.08), accent=desaturated blue
146
- Radius : 12px / 14px / 16px (premium, controlled)
147
- Typography : Manrope, Geist, or IBM Plex Sans, 12–22px, weights 400/500/600
148
- Components :
149
- Button → 40px height, 12px/18px padding, 12px radius
150
- Card → layered surfaces, 16px padding, 14px radius, no heavy glow
151
- Sidebar → quiet active state, compact icon rhythm, clean section grouping
152
- Rationale : premium dark works when contrast is controlled, surfaces are few,
153
- and borders quietly separate the system without turning neon.
154
- ```
155
-
156
- ### Other directions (adapt token specs above)
157
- - **Data & Analysis** — cool blue, high-density tables, monospace for numbers, minimal chrome
158
- - **Editorial** — strong typographic hierarchy, generous white space, restrained color
159
- - **Commerce** — aspirational photography support, high contrast CTAs, smooth transitions
160
- - **Minimal & Calm** — near-monochrome, whitespace as design element, hairline borders only
161
- - **Boldness & Clarity** — stronger accent, harder contrast, one dominant focal move
162
- - **Utility & Function** — minimal decoration, maximum legibility, near-invisible chrome
163
-
164
- ---
165
-
166
- ## Phase 3 — Decision checkpoint before components
167
-
168
- Before building any screen or component family, write a short checkpoint that locks:
169
- - Depth strategy
170
- - Surface levels
171
- - Border recipe (including alpha)
172
- - Spacing base
173
- - Radius ladder
174
- - Control height
175
- - Typography anchor
176
- - Motion posture
177
-
178
- Example:
179
-
180
- > Depth: borders-only • Surfaces: base / surface / elevated • Borders: rgba(15,23,42,0.08) • Spacing: 8px • Radius: 10/12 • Controls: 38px • Type: IBM Plex Sans 14/16/24 • Motion: 120ms ease-out
181
-
182
- Premium dark example:
183
-
184
- > Depth: borders-first • Surfaces: #0b1015 / #10161d / #151c24 • Borders: rgba(255,255,255,0.08) • Spacing: 8px • Radius: 12/14 • Controls: 40px • Type: Geist 14/16/28 • Motion: 140ms ease-out
185
-
186
- If you cannot state the checkpoint clearly, the system is not ready to build.
187
-
188
- ---
189
-
190
- ## Token architecture (always define all levels)
191
-
192
- ### Color tokens
193
- ```
194
- foreground/primary ← body text, labels, high-emphasis
195
- foreground/secondary ← supporting text, placeholders
196
- foreground/muted ← captions, disabled labels
197
- foreground/faint ← decorative only, never critical
198
-
199
- background/base ← page background
200
- background/surface ← cards, panels
201
- background/elevated ← modals, dropdowns (if shadow system)
202
- background/sunken ← inputs, inset areas
203
-
204
- border/default ← standard separator
205
- border/strong ← focused inputs, active states
206
- border/faint ← ultra-subtle dividers
207
-
208
- brand/primary ← main CTA color
209
- brand/secondary ← supporting brand accent
210
-
211
- semantic/success ← green family
212
- semantic/warning ← amber family
213
- semantic/danger ← red family
214
- semantic/info ← blue family
215
- ```
216
-
217
- ### Spacing — base × multiples only
218
- Never use arbitrary values (17px, 22px, 37px). Every value must be a multiple of your base.
219
-
220
- ### Depth — pick ONE and commit
221
- - **Borders only** — `border: 1px solid border/faint` — maximum density, zero visual noise
222
- - **Subtle shadows** — `box-shadow: 0 1px 3px rgba(0,0,0,0.08)` — gentle, approachable
223
- - **Layered** — background elevation with no shadows or borders — modern, minimal
224
-
225
- **Never mix depth strategies on the same surface.**
226
-
227
- ---
228
-
229
- ## Component quality (mandatory for every component)
230
-
231
- Define all six states before handing off to @dev:
232
-
233
- | State | What to specify |
234
- |---|---|
235
- | Default | baseline appearance |
236
- | Hover | subtle shift (background, border, or opacity) |
237
- | Focus | visible ring — `outline: 2px solid brand/primary; outline-offset: 2px` |
238
- | Active / pressed | slight scale or brightness change |
239
- | Disabled | reduced opacity (0.4–0.5), no cursor pointer, no hover effect |
240
- | Loading | skeleton or spinner — never block critical flow |
241
-
242
- Also define for container components:
243
- - **Empty state** — illustration or message + primary action
244
- - **Error state** — clear message + recovery action
245
- - **Success confirmation** — when relevant, transient (not permanent)
246
-
247
- ---
248
-
249
- ## Forms
250
-
251
- - Labels outside placeholders. Placeholders are hints, not labels.
252
- - Validate on blur (not on keystroke, not on submit only).
253
- - Inline field errors directly below the field. One global summary for multi-field failures.
254
- - Disable the submit button and show progress during async operations.
255
- - Input height minimum: 40px (desktop), 44px (mobile/touch).
256
-
257
- ---
258
-
259
- ## Typography hierarchy
260
-
261
- Size alone is never enough. Use weight + tracking + opacity to create layers:
262
-
263
- ```
264
- Page title : largest size, 600-weight, tight tracking
265
- Section title: medium-large, 500-weight, normal tracking
266
- Body : base size, 400-weight, comfortable line-height (1.5–1.6)
267
- Helper/meta : small, 400-weight, muted color
268
- Data/mono : monospace for numbers in tables, code, metrics
269
- ```
270
-
271
- ---
272
-
273
- ## Layout and composition
274
-
275
- - **Rhythm** — interfaces breathe unevenly: dense tool areas give way to open content. Same card size, same gaps everywhere = flatness = no one decided.
276
- - **Proportions declare intent** — a 280px sidebar says "navigation serves content." A 360px sidebar says "these are peers." Know what your proportions are saying.
277
- - **One focal point per screen** — the primary action dominates through size, position, contrast, or surrounding space. When everything competes equally, nothing wins.
278
- - **Reading order** — 1. Page intent → 2. Primary action → 3. Supporting data. Never invert.
279
-
280
- ---
281
-
282
- ## Accessibility baseline (non-negotiable)
283
-
284
- - Semantic HTML and proper landmarks (`<main>`, `<nav>`, `<header>`, `<aside>`)
285
- - Full keyboard navigation — Tab order must match visual reading order
286
- - Visible focus rings on all interactive elements
287
- - Color contrast: 4.5:1 for body text, 3:1 for large text and UI components
288
- - Never convey meaning through color alone — add icon, pattern, or text
289
- - `aria-label` on icon-only buttons, `aria-live` on dynamic status regions
290
- - `prefers-reduced-motion` fallback for all animations
291
-
292
- ---
293
-
294
- ## Motion rules
295
-
296
- - Motion clarifies transitions, it does not decorate them.
297
- - Duration: micro-interactions 100–150ms, page transitions 200–300ms.
298
- - Easing: ease-out for entrances, ease-in for exits.
299
- - Never animate properties that affect layout (width, height, padding). Animate transform and opacity only.
300
- - Always provide `prefers-reduced-motion: reduce` fallback.
301
-
302
- ---
303
-
304
- ## Quality checks (run before delivering)
305
-
306
- ### Swap test
307
- Would swapping the typeface or layout make the design look like a different product?
308
- If yes — good. If no — the design has no identity.
309
-
310
- ### Squint test
311
- Blur your eyes (or the screenshot). Does the visual hierarchy still read clearly?
312
- If not — the hierarchy is too weak.
313
-
314
- ### Signature test
315
- Can you point to five specific decisions where your craft appears?
316
- If you cannot name five — you defaulted somewhere.
317
-
318
- ### Token test
319
- Do your CSS variable names sound like they belong to THIS product?
320
- Generic: `--color-primary`. Specific: `--slot-available`, `--urgency-amber`.
321
-
322
- ---
323
-
324
- ## Self-critique before delivery
325
-
326
- Walk through each section before handing off:
327
-
328
- 1. **Composition** — Does the layout have rhythm? Are proportions intentional? Is there one clear focal point?
329
- 2. **Craft** — Is every spacing value on-grid? Does typography use weight + tracking + size (not size alone)? Do surfaces whisper hierarchy without thick borders or dramatic shadows?
330
- 3. **Content** — Does the spec tell one coherent story? Could a real person at a real company act on this?
331
- 4. **Structure** — Are there any hacks? Negative-margin workarounds? Arbitrary pixel values? Fix them.
332
-
333
- **Ask yourself: "If a design lead reviewed this, what would they call out?" Fix that thing. Then ask again.**
334
-
335
- ---
336
-
337
- ## Update design memory
338
-
339
- When the work introduces or changes reusable design decisions, update `.interface-design/system.md` with:
340
- - Final direction and anti-goals
341
- - Token block
342
- - Component pattern notes
343
- - New exceptions or constraints
344
-
345
- This file is the continuity layer between screens, agents, and future sessions.
346
-
347
- ---
348
-
349
- ## Stack-specific notes
350
-
351
- | Stack | Priority |
352
- |---|---|
353
- | Laravel + TALL | Flux UI / Livewire primitives first; custom only for signature moves |
354
- | Filament | Built-in Filament components before any override |
355
- | Next.js + shadcn/ui | shadcn primitives + Tailwind tokens; keep component boundaries clean |
356
- | React + Tailwind | Design token CSS vars → Tailwind config → components |
357
- | Vue + Nuxt | Nuxt UI or PrimeVue first; avoid mixing component libraries |
358
- | Vanilla HTML | Define CSS custom properties at `:root`, semantic class names only |
359
-
360
- ---
361
-
362
- ## Handoff to @dev
363
-
364
- The ui-spec.md must include:
365
- - Design token block (fonts, colors, spacing, radius, depth strategy, motion)
366
- - Per-screen layout notes with component names mapped to real library components
367
- - Full state matrix (default/hover/focus/active/disabled/loading/empty/error/success)
368
- - Responsive rules (mobile breakpoints first)
369
- - Accessibility checklist items
370
- - Any signature visual moves with implementation notes
371
-
372
- **Keep the spec concise enough to code from directly. Not a design document — a build contract.**
@@ -1,190 +0,0 @@
1
- # Premium Command Center UI
2
-
3
- > Use this skill when the product is a dashboard, admin panel, control tower, command center, or internal operating surface that must feel premium without becoming bloated.
4
- > This skill was extracted from the real AIOS Dashboard implementation: tri-rail shell, aurora-glass surfaces, compact density, search-first navigation, grouped operational cards, and data-aware page hierarchy.
5
-
6
- ---
7
-
8
- ## What this skill captures
9
-
10
- This is not a generic "modern dashboard" guide. It captures the concrete moves that created the premium feel in the AIOS Dashboard:
11
-
12
- - tri-rail shell: left navigation, center workspace, right activity rail
13
- - aurora-glass visual system with strong contrast and restrained semantic color
14
- - compact density tuned for operational reading, not marketing whitespace
15
- - search-first interaction via top search bar + command palette
16
- - contextual right rail with status/history/metrics tabs
17
- - page archetypes built around runtime priority, not equal-weight card walls
18
- - UI view-model aggregation (`workflow lanes`, `task queue`, `memory assets`) instead of rendering raw backend shapes directly
19
-
20
- ---
21
-
22
- ## When to use this skill
23
-
24
- Apply this skill when:
25
-
26
- - the product is an operational dashboard or internal tool
27
- - the user asks for a premium, high-contrast, high-trust interface
28
- - the current UI feels washed out, generic, or too expanded
29
- - the app has multiple modules that need one shared shell and consistent hierarchy
30
- - the interface must surface live signals, queue state, history, and deep links
31
- - the stack supports custom UI work (React, Next.js, TALL, Blade, Vue, custom HTML/CSS, etc.)
32
-
33
- ---
34
-
35
- ## When not to use this skill
36
-
37
- Do not apply this skill blindly when:
38
-
39
- - the project is a landing page or campaign site
40
- - the product is intentionally minimal, calm, editorial, or consumer-soft
41
- - the existing brand system is already strong and conflicts with aurora-glass language
42
- - the screen is simple CRUD that should remain utilitarian and low-chrome
43
- - the domain demands conventional enterprise neutrality over expressiveness
44
-
45
- In those cases, borrow only the pieces that fit: density control, hierarchy discipline, grouped operational cards, or contextual rails.
46
-
47
- ---
48
-
49
- ## Read order
50
-
51
- 1. Read this file fully.
52
- 2. Read [visual-system-and-component-patterns](../references/premium-command-center-ui/visual-system-and-component-patterns.md) before choosing tokens or components.
53
- 3. Read [operational-ux-playbook](../references/premium-command-center-ui/operational-ux-playbook.md) before defining page hierarchy, navigation, or grouping.
54
- 4. If another agent will apply the system, give it [master-application-prompt](../references/premium-command-center-ui/master-application-prompt.md).
55
- 5. Before shipping, run [quality-validation-checklist](../references/premium-command-center-ui/quality-validation-checklist.md).
56
-
57
- ---
58
-
59
- ## Application flow
60
-
61
- ### 1. Inspect the product before drawing anything
62
-
63
- Identify the real operational nouns and verbs first:
64
-
65
- - What is the live signal?
66
- - What is the queue?
67
- - What is the grouped catalog?
68
- - What deserves persistent navigation?
69
- - What belongs in context, not in the primary column?
70
-
71
- Do not start from components. Start from operational pressure.
72
-
73
- ### 2. Translate raw data into UI-native objects
74
-
75
- The AIOS Dashboard improved dramatically when raw backend records were converted into UI view models such as:
76
-
77
- - `GlobalTaskRecord`
78
- - `WorkflowRecord`
79
- - `MemoryAssetRecord`
80
-
81
- Follow the same principle in new projects. Do not render tables straight from storage shape when the user actually needs lanes, signals, grouped cards, or contextual summaries.
82
-
83
- ### 3. Choose the shell intentionally
84
-
85
- Use the tri-rail shell when the product has:
86
-
87
- - 5+ first-class modules
88
- - live or near-live context
89
- - a need for persistent navigation + persistent context
90
- - enough desktop usage to justify a right rail
91
-
92
- Collapse progressively below the desktop breakpoint instead of building a separate mobile design system.
93
-
94
- ### 4. Choose the page archetype
95
-
96
- Reuse the patterns that actually shipped in the dashboard:
97
-
98
- - command center overview
99
- - queue / control tower
100
- - workflow catalog
101
- - grouped registry
102
- - knowledge explorer
103
-
104
- Use the UX playbook to decide which archetype fits each route.
105
-
106
- ### 5. Apply the visual language without diluting it
107
-
108
- Preserve these moves together:
109
-
110
- - dark graphite or cool mist foundation
111
- - aurora background fields on the page and shell, not everywhere
112
- - borders-first depth with one shadow family only
113
- - 3 surface levels max
114
- - compact spacing and short helper copy
115
- - semantic badges and gradient fills tied to meaning, not decoration
116
-
117
- ### 6. Build direct next actions into the UI
118
-
119
- Every major card should expose the next useful step:
120
-
121
- - open the squad
122
- - inspect the task
123
- - view logs
124
- - switch workspace
125
- - drill into workflow or memory source
126
-
127
- Premium feel comes from reduced friction, not only from color.
128
-
129
- ---
130
-
131
- ## How to adapt this skill to new projects
132
-
133
- Adapt the system structurally, not literally.
134
-
135
- - Replace `squads` with the domain grouping that matters in the new product.
136
- - Replace `tasks` with the domain queue or active work item.
137
- - Replace `memories` with the project’s knowledge layer, asset layer, or context layer.
138
- - Replace `activity rail` content with the three slices that matter most: current state, history, metrics.
139
- - Keep the same visual grammar and density discipline even when labels and data change.
140
-
141
- If the new project already has a design system:
142
-
143
- - port the hierarchy rules first
144
- - port the page archetypes second
145
- - port the shell behaviors third
146
- - port colors only if they do not violate brand or accessibility
147
-
148
- ---
149
-
150
- ## How to preserve the same level of visual quality
151
-
152
- The quality bar is preserved when all of the following remain true:
153
-
154
- - runtime or primary operations appear above infrastructure or metadata
155
- - every screen has one obvious focal block
156
- - cards are grouped by operational meaning, not just by data type
157
- - the shell behaves like a product operating surface
158
- - semantic colors are limited and consistent
159
- - empty states are styled and intentional
160
- - search, navigation, and context work together instead of competing
161
- - density is compact but never cramped
162
-
163
- If the result looks like a generic dark dashboard with random gradients, the skill was not applied correctly.
164
-
165
- ---
166
-
167
- ## Non-negotiable quality bar
168
-
169
- - No flat, washed-out backgrounds.
170
- - No equal-emphasis card grids for every section.
171
- - No giant padding values that make the product feel empty.
172
- - No rainbow status colors without semantic meaning.
173
- - No shadow-heavy cards mixed with border-heavy cards.
174
- - No hidden next step after a user reads a card.
175
- - No infrastructure-first hierarchy.
176
- - No top-level page without a clear route back to the operating workflow.
177
-
178
- ---
179
-
180
- ## Expected output when using this skill
181
-
182
- When you apply this skill to a new product, deliver:
183
-
184
- 1. explicit visual direction and density choice
185
- 2. shell structure and route hierarchy
186
- 3. page archetype selection per major screen
187
- 4. reusable component set
188
- 5. state handling (default / hover / active / empty / loading / error)
189
- 6. responsive behavior notes
190
- 7. validation against the checklist before handoff
File without changes