@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.
- package/CHANGELOG.md +31 -1
- package/LICENSE +661 -21
- package/README.md +22 -3
- package/docs/en/squad-dashboard.md +372 -0
- package/docs/openclaw-bridge.md +308 -0
- package/docs/pt/README.md +62 -2
- package/docs/pt/advisor-spec.md +5 -5
- package/docs/pt/agentes-customizados.md +670 -0
- package/docs/pt/agentes.md +235 -23
- package/docs/pt/automacao-squads.md +407 -0
- package/docs/pt/cenarios.md +49 -5
- package/docs/pt/clientes-ai.md +62 -0
- package/docs/pt/comandos-cli.md +226 -17
- package/docs/pt/deyvin.md +115 -0
- package/docs/pt/genome-3.0-spec.md +11 -11
- package/docs/pt/inicio-rapido.md +63 -2
- package/docs/pt/memoria-contexto.md +255 -0
- package/docs/pt/output-strategy-delivery.md +655 -0
- package/docs/pt/profiler-system.md +17 -17
- package/docs/pt/runtime-observability.md +5 -1
- package/docs/pt/skills.md +175 -0
- package/docs/pt/squad-dashboard.md +373 -0
- package/docs/pt/{squad-genoma.md → squad-genome.md} +81 -75
- package/docs/testing/genome-2.0-matrix.md +5 -5
- package/docs/testing/genome-2.0-rollout.md +10 -10
- package/package.json +4 -4
- package/src/agents.js +21 -5
- package/src/backup-local.js +74 -0
- package/src/backup-provider.js +303 -0
- package/src/cli.js +276 -2
- package/src/commands/agents.js +22 -4
- package/src/commands/backup-local-cmd.js +25 -0
- package/src/commands/backup.js +533 -0
- package/src/commands/cloud.js +17 -17
- package/src/commands/context-pack.js +45 -0
- package/src/commands/implementation-plan.js +340 -0
- package/src/commands/learning.js +134 -0
- package/src/commands/live.js +1583 -0
- package/src/commands/runtime.js +1075 -2
- package/src/commands/scan-project.js +288 -24
- package/src/commands/setup-context.js +30 -2
- package/src/commands/skill.js +558 -0
- package/src/commands/squad-agent-create.js +788 -0
- package/src/commands/squad-daemon.js +209 -0
- package/src/commands/squad-dashboard.js +39 -0
- package/src/commands/squad-deploy.js +64 -0
- package/src/commands/squad-doctor.js +103 -1
- package/src/commands/squad-investigate.js +261 -0
- package/src/commands/squad-learning.js +209 -0
- package/src/commands/squad-mcp.js +270 -0
- package/src/commands/squad-pipeline.js +247 -1
- package/src/commands/squad-plan.js +329 -0
- package/src/commands/squad-processes.js +56 -0
- package/src/commands/squad-recovery.js +42 -0
- package/src/commands/squad-roi.js +291 -0
- package/src/commands/squad-score.js +250 -0
- package/src/commands/squad-status.js +38 -2
- package/src/commands/squad-validate.js +118 -1
- package/src/commands/squad-webhook.js +160 -0
- package/src/commands/squad-worker.js +191 -0
- package/src/commands/squad-worktrees.js +75 -0
- package/src/commands/test-agents.js +6 -1
- package/src/commands/web-map.js +70 -0
- package/src/commands/web-scrape.js +71 -0
- package/src/commands/workflow-next.js +8 -1
- package/src/commands/workflow-status.js +250 -0
- package/src/constants.js +88 -16
- package/src/context-memory.js +837 -0
- package/src/context-writer.js +47 -1
- package/src/delivery-runner.js +319 -0
- package/src/genome-files.js +1 -1
- package/src/genome-format.js +1 -1
- package/src/i18n/messages/en.js +333 -8
- package/src/i18n/messages/es.js +240 -6
- package/src/i18n/messages/fr.js +239 -5
- package/src/i18n/messages/pt-BR.js +330 -12
- package/src/installer.js +30 -2
- package/src/lib/genomes/compat.js +1 -1
- package/src/lib/webhook-server.js +328 -0
- package/src/mcp-connectors/registry.js +602 -0
- package/src/runtime-store.js +1037 -42
- package/src/session-handoff.js +77 -0
- package/src/squad/external-session.js +180 -0
- package/src/squad/inter-squad.js +74 -0
- package/src/squad/recovery-context.js +201 -0
- package/src/squad/worktree-manager.js +114 -0
- package/src/squad-daemon.js +490 -0
- package/src/squad-dashboard/api.js +223 -0
- package/src/squad-dashboard/attachment-handler.js +93 -0
- package/src/squad-dashboard/context-monitor.js +157 -0
- package/src/squad-dashboard/execution-logs.js +115 -0
- package/src/squad-dashboard/hunk-review.js +209 -0
- package/src/squad-dashboard/metrics.js +133 -0
- package/src/squad-dashboard/process-monitor.js +125 -0
- package/src/squad-dashboard/renderer.js +858 -0
- package/src/squad-dashboard/server.js +232 -0
- package/src/squad-dashboard/styles.js +525 -0
- package/src/squad-dashboard/token-tracker.js +99 -0
- package/src/web.js +284 -0
- package/src/worker-runner.js +339 -0
- package/template/.aioson/agents/analyst.md +40 -9
- package/template/.aioson/agents/architect.md +24 -5
- package/template/.aioson/agents/dev.md +254 -25
- package/template/.aioson/agents/deyvin.md +174 -0
- package/template/.aioson/agents/discovery-design-doc.md +25 -1
- package/template/.aioson/agents/{genoma.md → genome.md} +20 -20
- package/template/.aioson/agents/neo.md +152 -0
- package/template/.aioson/agents/orache.md +388 -0
- package/template/.aioson/agents/orchestrator.md +63 -2
- package/template/.aioson/agents/pair.md +5 -0
- package/template/.aioson/agents/pm.md +17 -5
- package/template/.aioson/agents/product.md +113 -29
- package/template/.aioson/agents/profiler-enricher.md +1 -1
- package/template/.aioson/agents/profiler-forge.md +9 -9
- package/template/.aioson/agents/profiler-researcher.md +1 -1
- package/template/.aioson/agents/qa.md +18 -5
- package/template/.aioson/agents/setup.md +138 -18
- package/template/.aioson/agents/sheldon.md +603 -0
- package/template/.aioson/agents/squad.md +866 -28
- package/template/.aioson/agents/tester.md +254 -0
- package/template/.aioson/agents/ux-ui.md +289 -34
- package/template/.aioson/config.md +181 -0
- package/template/.aioson/context/spec.md.template +17 -0
- package/template/.aioson/genomes/.gitkeep +0 -0
- package/template/.aioson/installed-skills/.gitkeep +0 -0
- package/template/.aioson/locales/en/agents/analyst.md +34 -4
- package/template/.aioson/locales/en/agents/architect.md +18 -0
- package/template/.aioson/locales/en/agents/dev.md +155 -11
- package/template/.aioson/locales/en/agents/deyvin.md +137 -0
- package/template/.aioson/locales/en/agents/{genoma.md → genome.md} +14 -14
- package/template/.aioson/locales/en/agents/neo.md +8 -0
- package/template/.aioson/locales/en/agents/orchestrator.md +62 -2
- package/template/.aioson/locales/en/agents/pair.md +5 -0
- package/template/.aioson/locales/en/agents/pm.md +7 -0
- package/template/.aioson/locales/en/agents/product.md +35 -17
- package/template/.aioson/locales/en/agents/qa.md +56 -0
- package/template/.aioson/locales/en/agents/setup.md +53 -6
- package/template/.aioson/locales/en/agents/sheldon.md +340 -0
- package/template/.aioson/locales/en/agents/squad.md +203 -15
- package/template/.aioson/locales/en/agents/ux-ui.md +383 -35
- package/template/.aioson/locales/es/agents/analyst.md +24 -4
- package/template/.aioson/locales/es/agents/architect.md +18 -0
- package/template/.aioson/locales/es/agents/dev.md +136 -9
- package/template/.aioson/locales/es/agents/deyvin.md +97 -0
- package/template/.aioson/locales/es/agents/{genoma.md → genome.md} +13 -13
- package/template/.aioson/locales/es/agents/neo.md +48 -0
- package/template/.aioson/locales/es/agents/orache.md +103 -0
- package/template/.aioson/locales/es/agents/orchestrator.md +62 -2
- package/template/.aioson/locales/es/agents/pair.md +5 -0
- package/template/.aioson/locales/es/agents/pm.md +7 -0
- package/template/.aioson/locales/es/agents/product.md +13 -3
- package/template/.aioson/locales/es/agents/qa.md +33 -0
- package/template/.aioson/locales/es/agents/setup.md +30 -6
- package/template/.aioson/locales/es/agents/sheldon.md +192 -0
- package/template/.aioson/locales/es/agents/squad.md +284 -15
- package/template/.aioson/locales/es/agents/ux-ui.md +34 -25
- package/template/.aioson/locales/fr/agents/analyst.md +24 -4
- package/template/.aioson/locales/fr/agents/architect.md +18 -0
- package/template/.aioson/locales/fr/agents/dev.md +136 -9
- package/template/.aioson/locales/fr/agents/deyvin.md +97 -0
- package/template/.aioson/locales/fr/agents/{genoma.md → genome.md} +7 -7
- package/template/.aioson/locales/fr/agents/neo.md +48 -0
- package/template/.aioson/locales/fr/agents/orache.md +104 -0
- package/template/.aioson/locales/fr/agents/orchestrator.md +62 -2
- package/template/.aioson/locales/fr/agents/pair.md +5 -0
- package/template/.aioson/locales/fr/agents/pm.md +7 -0
- package/template/.aioson/locales/fr/agents/product.md +13 -3
- package/template/.aioson/locales/fr/agents/qa.md +33 -0
- package/template/.aioson/locales/fr/agents/setup.md +30 -6
- package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
- package/template/.aioson/locales/fr/agents/squad.md +279 -10
- package/template/.aioson/locales/fr/agents/ux-ui.md +34 -25
- package/template/.aioson/locales/pt-BR/agents/analyst.md +45 -4
- package/template/.aioson/locales/pt-BR/agents/architect.md +29 -0
- package/template/.aioson/locales/pt-BR/agents/dev.md +167 -15
- package/template/.aioson/locales/pt-BR/agents/deyvin.md +137 -0
- package/template/.aioson/locales/pt-BR/agents/{genoma.md → genome.md} +49 -49
- package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
- package/template/.aioson/locales/pt-BR/agents/orache.md +137 -0
- package/template/.aioson/locales/pt-BR/agents/orchestrator.md +62 -2
- package/template/.aioson/locales/pt-BR/agents/pair.md +5 -0
- package/template/.aioson/locales/pt-BR/agents/pm.md +7 -0
- package/template/.aioson/locales/pt-BR/agents/product.md +43 -20
- package/template/.aioson/locales/pt-BR/agents/qa.md +67 -0
- package/template/.aioson/locales/pt-BR/agents/setup.md +53 -6
- package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
- package/template/.aioson/locales/pt-BR/agents/squad.md +591 -47
- package/template/.aioson/locales/pt-BR/agents/ux-ui.md +369 -22
- package/template/.aioson/my-agents/.gitkeep +0 -0
- package/template/.aioson/rules/.gitkeep +0 -0
- package/template/.aioson/rules/squad/.gitkeep +0 -0
- package/template/.aioson/rules/squad/README.md +50 -0
- package/template/.aioson/schemas/genome-meta.schema.json +1 -1
- package/template/.aioson/schemas/genome.schema.json +1 -1
- package/template/.aioson/schemas/squad-blueprint.schema.json +32 -0
- package/template/.aioson/schemas/squad-manifest.schema.json +434 -1
- package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +205 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -0
- package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +210 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -0
- package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +203 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +407 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +272 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +524 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +277 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +289 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +437 -0
- package/template/.aioson/skills/design/interface-design/SKILL.md +47 -0
- package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -0
- package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -0
- package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +71 -0
- package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -0
- package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -0
- package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +62 -0
- package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -0
- package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -0
- package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -0
- package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -0
- package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +209 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -0
- package/template/.aioson/skills/design-system/SKILL.md +92 -0
- package/template/.aioson/skills/design-system/cognitive-core-ui.skill +0 -0
- package/template/.aioson/skills/design-system/components/SKILL.md +274 -0
- package/template/.aioson/skills/design-system/components/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/dashboards/SKILL.md +184 -0
- package/template/.aioson/skills/design-system/dashboards/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/foundations/SKILL.md +250 -0
- package/template/.aioson/skills/design-system/foundations/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/motion/SKILL.md +197 -0
- package/template/.aioson/skills/design-system/motion/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/patterns/SKILL.md +231 -0
- package/template/.aioson/skills/design-system/patterns/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/premium-visual-design/SKILL.md +83 -0
- package/template/.aioson/skills/premium-visual-design/components/agent-badge.md +92 -0
- package/template/.aioson/skills/premium-visual-design/components/dependency-node.md +102 -0
- package/template/.aioson/skills/premium-visual-design/components/mention-autocomplete.md +136 -0
- package/template/.aioson/skills/premium-visual-design/components/notification-center.md +136 -0
- package/template/.aioson/skills/premium-visual-design/components/review-action-bar.md +188 -0
- package/template/.aioson/skills/premium-visual-design/components/team-switcher.md +131 -0
- package/template/.aioson/skills/premium-visual-design/patterns/agent-message-thread.md +198 -0
- package/template/.aioson/skills/premium-visual-design/patterns/notification-panel.md +275 -0
- package/template/.aioson/skills/premium-visual-design/patterns/review-workflow-ui.md +234 -0
- package/template/.aioson/skills/premium-visual-design/patterns/task-dependency-graph.md +147 -0
- package/template/.aioson/skills/premium-visual-design/tokens/status-extended.md +142 -0
- package/template/.aioson/skills/squad/SKILL.md +58 -0
- package/template/.aioson/skills/squad/domains/.gitkeep +0 -0
- package/template/.aioson/skills/squad/formats/.gitkeep +0 -0
- package/template/.aioson/skills/squad/formats/catalog.json +15 -0
- package/template/.aioson/skills/squad/formats/content/blog-post.md +47 -0
- package/template/.aioson/skills/squad/formats/content/newsletter.md +47 -0
- package/template/.aioson/skills/squad/formats/creative/podcast-script.md +43 -0
- package/template/.aioson/skills/squad/formats/creative/video-script.md +41 -0
- package/template/.aioson/skills/squad/formats/social/instagram-feed.md +42 -0
- package/template/.aioson/skills/squad/formats/social/linkedin-post.md +42 -0
- package/template/.aioson/skills/squad/formats/social/tiktok.md +39 -0
- package/template/.aioson/skills/squad/formats/social/twitter-thread.md +39 -0
- package/template/.aioson/skills/squad/formats/social/youtube-long.md +47 -0
- package/template/.aioson/skills/squad/formats/social/youtube-shorts.md +39 -0
- package/template/.aioson/skills/squad/patterns/.gitkeep +0 -0
- package/template/.aioson/skills/squad/patterns/multi-platform-pattern.md +108 -0
- package/template/.aioson/skills/squad/patterns/persona-based-pattern.md +98 -0
- package/template/.aioson/skills/squad/patterns/pipeline-pattern.md +106 -0
- package/template/.aioson/skills/squad/patterns/review-loop-pattern.md +81 -0
- package/template/.aioson/skills/squad/references/.gitkeep +0 -0
- package/template/.aioson/skills/squad/references/checklist-templates.md +122 -0
- package/template/.aioson/skills/squad/references/executor-archetypes.md +123 -0
- package/template/.aioson/skills/squad/references/workflow-templates.md +169 -0
- package/template/.aioson/skills/static/debugging-protocol.md +42 -0
- package/template/.aioson/skills/static/git-worktrees.md +36 -0
- package/template/.aioson/tasks/implementation-plan.md +307 -0
- package/template/.aioson/tasks/squad-create.md +1 -1
- package/template/.aioson/tasks/squad-design.md +28 -0
- package/template/.aioson/tasks/squad-execution-plan.md +279 -0
- package/template/.aioson/tasks/squad-export.md +1 -1
- package/template/.aioson/tasks/squad-investigate.md +44 -0
- package/template/.aioson/tasks/squad-learning-review.md +44 -0
- package/template/.aioson/tasks/squad-output-config.md +177 -0
- package/template/.aioson/tasks/squad-profile.md +48 -0
- package/template/.aioson/tasks/squad-review.md +61 -0
- package/template/.aioson/tasks/squad-task-decompose.md +66 -0
- package/template/.aioson/tasks/squad-validate.md +1 -1
- package/template/.claude/commands/aioson/agent/deyvin.md +5 -0
- package/template/.claude/commands/aioson/agent/discovery-design-doc.md +5 -0
- package/template/.claude/commands/aioson/agent/genome.md +5 -0
- package/template/.claude/commands/aioson/agent/neo.md +5 -0
- package/template/.claude/commands/aioson/agent/product.md +5 -0
- package/template/.claude/commands/aioson/agent/profiler-enricher.md +5 -0
- package/template/.claude/commands/aioson/agent/profiler-forge.md +5 -0
- package/template/.claude/commands/aioson/agent/profiler-researcher.md +5 -0
- package/template/.claude/commands/aioson/agent/squad.md +5 -0
- package/template/.claude/commands/aioson/agent/tester.md +5 -0
- package/template/.gemini/GEMINI.md +3 -0
- package/template/.gemini/commands/aios-deyvin.toml +6 -0
- package/template/.gemini/commands/aios-neo.toml +4 -0
- package/template/.gemini/commands/aios-pair.toml +6 -0
- package/template/.gemini/commands/aios-tester.toml +6 -0
- package/template/AGENTS.md +37 -6
- package/template/CLAUDE.md +34 -4
- package/template/OPENCODE.md +8 -2
- package/template/squad-searches/.gitkeep +0 -0
- package/template/.aioson/skills/static/interface-design.md +0 -372
- package/template/.aioson/skills/static/premium-command-center-ui.md +0 -190
- /package/template/.aioson/{genomas → docs}/.gitkeep +0 -0
- /package/template/.claude/commands/aioson/{analyst.md → agent/analyst.md} +0 -0
- /package/template/.claude/commands/aioson/{architect.md → agent/architect.md} +0 -0
- /package/template/.claude/commands/aioson/{dev.md → agent/dev.md} +0 -0
- /package/template/.claude/commands/aioson/{orchestrator.md → agent/orchestrator.md} +0 -0
- /package/template/.claude/commands/aioson/{pm.md → agent/pm.md} +0 -0
- /package/template/.claude/commands/aioson/{qa.md → agent/qa.md} +0 -0
- /package/template/.claude/commands/aioson/{setup.md → agent/setup.md} +0 -0
- /package/template/.claude/commands/aioson/{ux-ui.md → agent/ux-ui.md} +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Handoff and Quality — Interface Design
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Quality checks (run before delivering)
|
|
6
|
+
|
|
7
|
+
### Swap test
|
|
8
|
+
Would swapping the typeface or layout make the design look like a different product?
|
|
9
|
+
If yes — good. If no — the design has no identity.
|
|
10
|
+
|
|
11
|
+
### Squint test
|
|
12
|
+
Blur your eyes (or the screenshot). Does the visual hierarchy still read clearly?
|
|
13
|
+
If not — the hierarchy is too weak.
|
|
14
|
+
|
|
15
|
+
### Signature test
|
|
16
|
+
Can you point to five specific decisions where your craft appears?
|
|
17
|
+
If you cannot name five — you defaulted somewhere.
|
|
18
|
+
|
|
19
|
+
### Token test
|
|
20
|
+
Do your CSS variable names sound like they belong to THIS product?
|
|
21
|
+
Generic: `--color-primary`. Specific: `--slot-available`, `--urgency-amber`.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Self-critique before delivery
|
|
26
|
+
|
|
27
|
+
Walk through each section before handing off:
|
|
28
|
+
|
|
29
|
+
1. **Composition** — Does the layout have rhythm? Are proportions intentional? Is there one clear focal point?
|
|
30
|
+
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?
|
|
31
|
+
3. **Content** — Does the spec tell one coherent story? Could a real person at a real company act on this?
|
|
32
|
+
4. **Structure** — Are there any hacks? Negative-margin workarounds? Arbitrary pixel values? Fix them.
|
|
33
|
+
|
|
34
|
+
**Ask yourself: "If a design lead reviewed this, what would they call out?" Fix that thing. Then ask again.**
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Handoff to @dev
|
|
39
|
+
|
|
40
|
+
A strong handoff includes:
|
|
41
|
+
- Explicit visual direction and anti-goals
|
|
42
|
+
- Design token block (fonts, colors, spacing, radius, depth strategy, motion posture)
|
|
43
|
+
- Per-screen layout notes with component names mapped to real library components
|
|
44
|
+
- Full state matrix (default / hover / focus / active / disabled / loading / empty / error / success)
|
|
45
|
+
- Responsive rules (mobile breakpoints, collapse behavior)
|
|
46
|
+
- Accessibility checklist items
|
|
47
|
+
- Any signature visual moves with implementation notes
|
|
48
|
+
- Anti-patterns to avoid
|
|
49
|
+
|
|
50
|
+
The `ui-spec.md` must be concise enough to code from directly. Not a design document — a build contract.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Update design memory
|
|
55
|
+
|
|
56
|
+
When the work introduces or changes reusable design decisions, update `.interface-design/system.md` with:
|
|
57
|
+
- Final direction and anti-goals
|
|
58
|
+
- Token block
|
|
59
|
+
- Component pattern notes
|
|
60
|
+
- New exceptions or constraints
|
|
61
|
+
|
|
62
|
+
This file is the continuity layer between screens, agents, and future sessions.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Quality bar
|
|
67
|
+
|
|
68
|
+
1. The result must not look generic.
|
|
69
|
+
2. Repeated elements must share spacing, radius, and depth logic.
|
|
70
|
+
3. Typography hierarchy must be legible without decorative tricks.
|
|
71
|
+
4. The screen must communicate purpose before style.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Intent and Domain — Interface Design
|
|
2
|
+
|
|
3
|
+
> Read this before touching layout, tokens, or components.
|
|
4
|
+
> Generic is the enemy. Every spacing value, typeface choice, and depth strategy is a decision. Own every one of them.
|
|
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
|
+
Defaults disguise themselves as infrastructure. Craft means owning every decision.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 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
|
+
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?
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# Tokens and Depth — Interface Design
|
|
2
|
+
|
|
3
|
+
Lock these decisions before implementation. If you cannot state the checkpoint clearly, the system is not ready to build.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Decision checkpoint (write this before any component)
|
|
8
|
+
|
|
9
|
+
Before building any screen or component family, write a short checkpoint that locks:
|
|
10
|
+
|
|
11
|
+
- **Depth strategy**
|
|
12
|
+
- **Surface levels**
|
|
13
|
+
- **Border recipe** (including alpha)
|
|
14
|
+
- **Spacing base**
|
|
15
|
+
- **Radius ladder**
|
|
16
|
+
- **Control height**
|
|
17
|
+
- **Typography anchor**
|
|
18
|
+
- **Motion posture**
|
|
19
|
+
|
|
20
|
+
Example (Sophistication & Trust):
|
|
21
|
+
> 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
|
|
22
|
+
|
|
23
|
+
Example (Premium Dark Platform):
|
|
24
|
+
> 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
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Token architecture (define all levels)
|
|
29
|
+
|
|
30
|
+
### Color token families
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
foreground/primary ← body text, labels, high-emphasis
|
|
34
|
+
foreground/secondary ← supporting text, placeholders
|
|
35
|
+
foreground/muted ← captions, disabled labels
|
|
36
|
+
foreground/faint ← decorative only, never critical
|
|
37
|
+
|
|
38
|
+
background/base ← page background
|
|
39
|
+
background/surface ← cards, panels
|
|
40
|
+
background/elevated ← modals, dropdowns (shadow system) or third surface level
|
|
41
|
+
background/sunken ← inputs, inset areas
|
|
42
|
+
|
|
43
|
+
border/default ← standard separator
|
|
44
|
+
border/strong ← focused inputs, active states
|
|
45
|
+
border/faint ← ultra-subtle dividers
|
|
46
|
+
|
|
47
|
+
brand/primary ← main CTA color
|
|
48
|
+
brand/secondary ← supporting brand accent
|
|
49
|
+
|
|
50
|
+
semantic/success ← green family
|
|
51
|
+
semantic/warning ← amber family
|
|
52
|
+
semantic/danger ← red family
|
|
53
|
+
semantic/info ← blue family
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Spacing — base × multiples only
|
|
57
|
+
|
|
58
|
+
Never use arbitrary values (17px, 22px, 37px). Every value must be a multiple of your base.
|
|
59
|
+
|
|
60
|
+
Common bases:
|
|
61
|
+
- 4px base for dense/operational: 4, 8, 12, 16, 24, 32
|
|
62
|
+
- 4px base for generous/consumer: 8, 12, 16, 24, 32, 48
|
|
63
|
+
|
|
64
|
+
### Depth — pick ONE and commit
|
|
65
|
+
|
|
66
|
+
| Strategy | When | Implementation |
|
|
67
|
+
|---|---|---|
|
|
68
|
+
| **Borders only** | Maximum density, zero visual noise | `border: 1px solid border/faint` |
|
|
69
|
+
| **Subtle shadows** | Gentle, approachable feel | `box-shadow: 0 1px 3px rgba(0,0,0,0.08)` |
|
|
70
|
+
| **Layered surfaces** | Modern minimal, dark platforms | Background elevation without shadows or borders |
|
|
71
|
+
|
|
72
|
+
**Never mix depth strategies on the same surface.**
|
|
73
|
+
|
|
74
|
+
### Radius ladder
|
|
75
|
+
|
|
76
|
+
Define three values and use only them:
|
|
77
|
+
- Sharp (small controls, tags, badges)
|
|
78
|
+
- Medium (cards, inputs, buttons)
|
|
79
|
+
- Large (panels, modals, sheets)
|
|
80
|
+
|
|
81
|
+
### Typography anchor
|
|
82
|
+
|
|
83
|
+
Define one font family and its full scale before touching components:
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
Page title : largest size, 600-weight, tight tracking
|
|
87
|
+
Section title : medium-large, 500-weight, normal tracking
|
|
88
|
+
Body : base size, 400-weight, line-height 1.5–1.6
|
|
89
|
+
Helper / meta : small, 400-weight, muted color
|
|
90
|
+
Data / mono : monospace for numbers in tables, code, metrics
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Size alone is never enough. Use weight + tracking + opacity to create layers.
|
|
94
|
+
|
|
95
|
+
### Motion posture
|
|
96
|
+
|
|
97
|
+
- Fast & utilitarian: 100–150ms ease-out
|
|
98
|
+
- Comfortable & polished: 140–200ms ease-out
|
|
99
|
+
- Expressive & refined: 200–300ms ease-out with spring for entrances
|
|
100
|
+
|
|
101
|
+
Never animate layout properties (width, height, padding). Animate `transform` and `opacity` only.
|
|
102
|
+
Always provide `prefers-reduced-motion: reduce` fallback.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Operational density — admin / config / settings pages
|
|
107
|
+
|
|
108
|
+
Settings pages, admin panels, config screens, and entity managers use a **compact scale** that overrides the default generous consumer spacing. Apply this whenever the user is operating a tool, not reading content.
|
|
109
|
+
|
|
110
|
+
### Decision checkpoint for operational density
|
|
111
|
+
|
|
112
|
+
> Depth: borders-first • Surfaces: 3-level (page / card / elevated) • Spacing base: 4px • Controls: 32px • Card padding: 16px outer / 12px nested • Type: xs-base range, text-base max for card headings • Radius: 22px outer / 18px nested / 14px deep
|
|
113
|
+
|
|
114
|
+
### Card padding — 3-level scale
|
|
115
|
+
|
|
116
|
+
| Level | Context | Padding | Radius |
|
|
117
|
+
|---|---|---|---|
|
|
118
|
+
| L1 | top-level section card | `16px` | `22px` |
|
|
119
|
+
| L2 | card nested inside L1 | `12px` | `18px` |
|
|
120
|
+
| L3 | inset block, disclosure body | `10px` | `14px` |
|
|
121
|
+
|
|
122
|
+
Section gap: `12px` — not 16px or 24px.
|
|
123
|
+
|
|
124
|
+
### Card headings
|
|
125
|
+
|
|
126
|
+
- Section eyebrow: `0.68rem` uppercase mono, `tracking: 0.28em`
|
|
127
|
+
- Section title: `text-base` (15–16px), `font-weight: 600` — **never `text-xl` or `text-2xl` inside a card**
|
|
128
|
+
- Sub-info (path, ID): `font-mono text-[0.62rem]` single truncated line below title — no card for it
|
|
129
|
+
- **No verbose description paragraphs** in admin cards — remove them or collapse to `<details>`
|
|
130
|
+
|
|
131
|
+
### Form controls
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
Label : 10–11px margin-bottom: 2px
|
|
135
|
+
Input : px-3 py-2 (height ~32px) text-xs radius: 10–12px
|
|
136
|
+
Select : same
|
|
137
|
+
Button : px-3 py-2 text-xs radius: 10–12px
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
The default 40px `min-height` rule in `## Forms` applies to consumer/public-facing forms. Admin/operational forms use 32px controls. Reduce only in authenticated tool contexts — never on public-facing login or onboarding.
|
|
141
|
+
|
|
142
|
+
### List rows
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
Row : py-2 (8px) divide-y
|
|
146
|
+
Gap : gap-2.5
|
|
147
|
+
Name : text-xs font-medium — not text-sm
|
|
148
|
+
Model : font-mono text-[0.65rem] truncate
|
|
149
|
+
Badges : px-2 py-0.5 text-[0.6rem] — not px-3 py-1
|
|
150
|
+
Edit btn: px-2.5 py-1 text-[0.65rem]
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Entity grids (same-type objects: projects, agents, providers)
|
|
154
|
+
|
|
155
|
+
Never stack same-type entities full-width. Use:
|
|
156
|
+
```css
|
|
157
|
+
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
158
|
+
gap: 12px;
|
|
159
|
+
/* Entity card: rounded-[18px] p-3 */
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Add/Edit → Modal, not accordion
|
|
163
|
+
|
|
164
|
+
Inline form expansion (accordion, RevealPanel) inside entity cards creates visual clutter and unpredictable layout shifts. Use a modal:
|
|
165
|
+
- `max-width: 448px`, centered, backdrop `bg-black/50 backdrop-blur-sm`
|
|
166
|
+
- Single "+ Add" button outside the grid → opens modal
|
|
167
|
+
- "Edit" button on each card → same modal pre-filled
|
|
168
|
+
|
|
169
|
+
### Disclosure for secondary tools
|
|
170
|
+
|
|
171
|
+
Sync assistants, cloud connect, advanced config, and other secondary actions go behind `<details>`:
|
|
172
|
+
- Summary row: `flex items-center justify-between px-3 py-2.5` — label + status badge on left, action button on right
|
|
173
|
+
- Never show secondary tools open by default in an already-dense panel
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: premium-command-center-ui
|
|
3
|
+
description: Premium Command Center UI is a packaged visual system for tri-rail dashboards, dark operational shells, and premium command-center software. Use it only when `design_skill: premium-command-center-ui` is selected or the user explicitly chooses this package.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Premium Command Center UI
|
|
7
|
+
|
|
8
|
+
This is a specialized operational design skill.
|
|
9
|
+
It is not the default for every dashboard.
|
|
10
|
+
|
|
11
|
+
## Package structure
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
.aioson/skills/design/premium-command-center-ui/
|
|
15
|
+
SKILL.md
|
|
16
|
+
references/
|
|
17
|
+
visual-system.md
|
|
18
|
+
patterns.md
|
|
19
|
+
operations.md
|
|
20
|
+
validation.md
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Activation rules
|
|
24
|
+
|
|
25
|
+
- Apply this package only when `design_skill: premium-command-center-ui` is selected.
|
|
26
|
+
- Do not load it in parallel with `cognitive-ui`, `interface-design`, or any other design skill.
|
|
27
|
+
- Use it when the product genuinely needs a premium operational shell, not merely a dark dashboard.
|
|
28
|
+
|
|
29
|
+
## Responsibility boundary
|
|
30
|
+
|
|
31
|
+
This skill defines:
|
|
32
|
+
- dark premium operational tone
|
|
33
|
+
- tri-rail composition rules
|
|
34
|
+
- density discipline
|
|
35
|
+
- grouped operational cards and contextual rails
|
|
36
|
+
- quality bar for command surfaces
|
|
37
|
+
|
|
38
|
+
This skill does not decide framework, component library, or delivery format.
|
|
39
|
+
|
|
40
|
+
## Loading guide
|
|
41
|
+
|
|
42
|
+
| Task | Load |
|
|
43
|
+
|---|---|
|
|
44
|
+
| Any visual work | `references/visual-system.md` |
|
|
45
|
+
| Dashboard shell and layout | `references/visual-system.md` + `references/patterns.md` |
|
|
46
|
+
| Operational page hierarchy | `references/visual-system.md` + `references/patterns.md` + `references/operations.md` |
|
|
47
|
+
| Final QA | add `references/validation.md` |
|
|
48
|
+
|
|
49
|
+
## Positioning
|
|
50
|
+
|
|
51
|
+
Use this package for:
|
|
52
|
+
- command centers
|
|
53
|
+
- control towers
|
|
54
|
+
- orchestration software
|
|
55
|
+
- activity-heavy internal operating surfaces
|
|
56
|
+
- premium dark operational products
|
|
57
|
+
|
|
58
|
+
Do not use it for:
|
|
59
|
+
- landing pages
|
|
60
|
+
- editorial or calm consumer products
|
|
61
|
+
- simple CRUD screens that should stay neutral
|
|
62
|
+
- generic SaaS dashboards without command-center pressure
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Operations — Premium Command Center UI
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Hierarchy rules
|
|
6
|
+
|
|
7
|
+
1. **Show live pressure first.** Runtime operations appear above infrastructure or metadata.
|
|
8
|
+
2. **Group cards by operational meaning**, not by raw data type.
|
|
9
|
+
3. **Convert backend shapes into UI-native view models** when the user needs lanes, signals, grouped cards, or contextual summaries — not table rows.
|
|
10
|
+
4. **Expose the next useful action** from every major block. Never leave the user without a clear path forward after reading a card.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## UI view model concept
|
|
15
|
+
|
|
16
|
+
Do not render storage records directly as UI rows. Instead, aggregate backend data into objects shaped for operational reading.
|
|
17
|
+
|
|
18
|
+
Examples from the AIOS Dashboard:
|
|
19
|
+
- `GlobalTaskRecord` — combines task status, lane assignment, priority, and direct action into one card
|
|
20
|
+
- `WorkflowRecord` — shows lifecycle stage, progress, blockers, and the one next step
|
|
21
|
+
- `MemoryAssetRecord` — surfaces type, recency, source, and retrieval action
|
|
22
|
+
|
|
23
|
+
Apply this in every new product: ask *"what does the user need to decide?"* and build the view model around that answer.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## How to preserve quality
|
|
28
|
+
|
|
29
|
+
The quality bar is preserved when all of the following remain true:
|
|
30
|
+
|
|
31
|
+
- Runtime or primary operations appear **above** infrastructure or metadata
|
|
32
|
+
- Every screen has **one obvious focal block**
|
|
33
|
+
- Cards are grouped by **operational meaning**, not just by data type
|
|
34
|
+
- The shell behaves like a **product operating surface** — not a page of links
|
|
35
|
+
- Semantic colors are **limited and consistent** — no rainbow status colors
|
|
36
|
+
- Empty states are **styled and intentional** — never raw blank space
|
|
37
|
+
- Search, navigation, and context **work together** instead of competing
|
|
38
|
+
- Density is **compact but not cramped** — operational readability, not marketing whitespace
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## When the system is working
|
|
43
|
+
|
|
44
|
+
The result should feel like an operating surface:
|
|
45
|
+
- Search and navigation reduce friction without competing with the workspace
|
|
46
|
+
- Contextual rails support the current task without overloading the viewport
|
|
47
|
+
- Live signals, queue state, history, and drill-downs coexist without collision
|
|
48
|
+
- A user arriving at any screen can immediately read: *what is happening, what is next, what do I do*
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## When to use this skill
|
|
53
|
+
|
|
54
|
+
Apply `premium-command-center-ui` when:
|
|
55
|
+
|
|
56
|
+
- The product is an operational dashboard or internal tool
|
|
57
|
+
- The user asks for a premium, high-contrast, high-trust interface
|
|
58
|
+
- The current UI feels washed out, generic, or too expanded
|
|
59
|
+
- The app has multiple modules that need one shared shell and consistent hierarchy
|
|
60
|
+
- The interface must surface live signals, queue state, history, and deep links
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## When NOT to use this skill
|
|
65
|
+
|
|
66
|
+
Do not apply this skill when:
|
|
67
|
+
|
|
68
|
+
- The project is a landing page or campaign site
|
|
69
|
+
- The product is intentionally minimal, calm, editorial, or consumer-soft
|
|
70
|
+
- The existing brand system already conflicts with aurora-glass language
|
|
71
|
+
- The screen is simple CRUD that should stay neutral and utilitarian
|
|
72
|
+
- The domain demands conventional enterprise neutrality over expressiveness
|
|
73
|
+
|
|
74
|
+
In those cases, borrow only the pieces that fit: density control, hierarchy discipline, grouped operational cards, or contextual rails.
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Patterns — Premium Command Center UI
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Application flow
|
|
6
|
+
|
|
7
|
+
Follow this sequence. Do not start from components. Start from operational pressure.
|
|
8
|
+
|
|
9
|
+
### 1. Inspect the product before drawing anything
|
|
10
|
+
|
|
11
|
+
Identify the real operational nouns and verbs:
|
|
12
|
+
|
|
13
|
+
- What is the **live signal**? (running tasks, active events, real-time state)
|
|
14
|
+
- What is the **queue**? (pending work, backlog, staged items)
|
|
15
|
+
- What is the **grouped catalog**? (squads, agents, workflows, resources)
|
|
16
|
+
- What deserves **persistent navigation**?
|
|
17
|
+
- What belongs in **context**, not in the primary column?
|
|
18
|
+
|
|
19
|
+
### 2. Translate raw data into UI-native objects
|
|
20
|
+
|
|
21
|
+
Do not render tables straight from storage shape when the user actually needs lanes, signals, grouped cards, or contextual summaries.
|
|
22
|
+
|
|
23
|
+
Convert backend records into view models. Examples from the AIOS Dashboard:
|
|
24
|
+
- `GlobalTaskRecord` — aggregated task signal with lane/priority/status
|
|
25
|
+
- `WorkflowRecord` — lifecycle-aware workflow with stage and next action
|
|
26
|
+
- `MemoryAssetRecord` — knowledge item with type, source, and recency
|
|
27
|
+
|
|
28
|
+
Apply the same principle in new projects. Ask: *what shape does the user need to think in?*
|
|
29
|
+
|
|
30
|
+
### 3. Choose the shell intentionally
|
|
31
|
+
|
|
32
|
+
Use the **tri-rail shell** when the product has:
|
|
33
|
+
- 5+ first-class modules
|
|
34
|
+
- Live or near-live context
|
|
35
|
+
- A need for persistent navigation + persistent context panel
|
|
36
|
+
- Enough desktop usage to justify a right rail
|
|
37
|
+
|
|
38
|
+
Collapse progressively below the desktop breakpoint — do not build a separate mobile design system.
|
|
39
|
+
|
|
40
|
+
**Tri-rail layout:**
|
|
41
|
+
```
|
|
42
|
+
┌────────────────────────────────────────────────────────┐
|
|
43
|
+
│ TOP BAR: [Logo] [Search] [Workspace picker] [Actions] │
|
|
44
|
+
├──────────┬─────────────────────────────────┬───────────┤
|
|
45
|
+
│ LEFT │ │ RIGHT │
|
|
46
|
+
│ NAV │ CENTER WORKSPACE │ ACTIVITY │
|
|
47
|
+
│ RAIL │ (primary column) │ RAIL │
|
|
48
|
+
│ 200px │ one focal block per page │ 280px │
|
|
49
|
+
│ module │ operational priority first │ state │
|
|
50
|
+
│ icons │ │ history │
|
|
51
|
+
│ + labels│ │ metrics │
|
|
52
|
+
└──────────┴─────────────────────────────────┴───────────┘
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### 4. Choose the page archetype
|
|
56
|
+
|
|
57
|
+
Pick the pattern that matches the page's job:
|
|
58
|
+
|
|
59
|
+
| Archetype | Job | Focal block |
|
|
60
|
+
|---|---|---|
|
|
61
|
+
| **Command overview** | Surface live signals and current operational state | Priority queue or status summary |
|
|
62
|
+
| **Queue / control tower** | Show pending work in processing order | Task lane or control grid |
|
|
63
|
+
| **Grouped registry** | Browse and act on a categorized catalog | Group headers with inline actions |
|
|
64
|
+
| **Workflow catalog** | Track multi-step flows from start to completion | Status-aware workflow cards |
|
|
65
|
+
| **Knowledge explorer** | Find, filter, and inspect reference assets | Search bar + metadata panels |
|
|
66
|
+
|
|
67
|
+
Use the UX playbook (operations.md) to decide which archetype fits each route.
|
|
68
|
+
|
|
69
|
+
### 5. Apply the visual language without diluting it
|
|
70
|
+
|
|
71
|
+
Preserve these moves together — removing any one degrades the whole:
|
|
72
|
+
|
|
73
|
+
- Dark graphite or cool mist foundation
|
|
74
|
+
- Aurora background fields on the page and shell — not on every card
|
|
75
|
+
- Borders-first depth with one shadow family only
|
|
76
|
+
- Three surface levels maximum
|
|
77
|
+
- Compact spacing and short helper copy
|
|
78
|
+
- Semantic badges and gradient fills tied to meaning, not decoration
|
|
79
|
+
|
|
80
|
+
### 6. Build direct next actions into the UI
|
|
81
|
+
|
|
82
|
+
Every major card must expose the next useful step:
|
|
83
|
+
- Open the squad / agent / workflow
|
|
84
|
+
- Inspect the task
|
|
85
|
+
- View logs / history
|
|
86
|
+
- Switch workspace
|
|
87
|
+
- Drill into detail or source
|
|
88
|
+
|
|
89
|
+
Premium feel comes from reduced friction, not only from color.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Shell guardrails
|
|
94
|
+
|
|
95
|
+
- Do not create equal-weight card walls for every section.
|
|
96
|
+
- Every screen needs one obvious focal block.
|
|
97
|
+
- Context and supporting data belong in side rails, not in the main narrative column.
|
|
98
|
+
- Search and navigation must reduce friction — they cannot compete with the workspace.
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## How to adapt this skill to new projects
|
|
103
|
+
|
|
104
|
+
Adapt the system structurally, not literally.
|
|
105
|
+
|
|
106
|
+
- Replace `squads` with the domain grouping that matters in the new product.
|
|
107
|
+
- Replace `tasks` with the domain queue or active work item.
|
|
108
|
+
- Replace `memories` with the project's knowledge layer, asset layer, or context layer.
|
|
109
|
+
- Replace `activity rail` content with the three slices that matter most: current state, history, metrics.
|
|
110
|
+
- Keep the same visual grammar and density discipline even when labels and data change.
|
|
111
|
+
|
|
112
|
+
If the new project already has a design system:
|
|
113
|
+
1. Port the hierarchy rules first
|
|
114
|
+
2. Port the page archetypes second
|
|
115
|
+
3. Port the shell behaviors third
|
|
116
|
+
4. Port colors only if they do not violate brand or accessibility
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Validation — Premium Command Center UI
|
|
2
|
+
|
|
3
|
+
Run this checklist before every handoff.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Pre-ship checklist
|
|
8
|
+
|
|
9
|
+
1. The page has **one dominant focal block** — not a grid of equal-weight cards.
|
|
10
|
+
2. Density is **compact but not cramped** — operational readability, not marketing padding.
|
|
11
|
+
3. Semantic colors are **limited and consistent** — no rainbow palette, no decorative gradients.
|
|
12
|
+
4. The shell **supports the task** instead of decorating the viewport.
|
|
13
|
+
5. There is a **direct next action** visible after reading each major block.
|
|
14
|
+
6. The result does **not look like a generic dark dashboard with random gradients**.
|
|
15
|
+
7. **Empty states are styled** — never raw blank space with no guidance.
|
|
16
|
+
8. **Search, navigation, and context** work together without competing.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Non-negotiable quality bar
|
|
21
|
+
|
|
22
|
+
The following are absolute failures if present:
|
|
23
|
+
|
|
24
|
+
- Flat, washed-out backgrounds without depth or surface levels
|
|
25
|
+
- Equal-emphasis card grids for every section on every page
|
|
26
|
+
- Giant padding values that make the product feel empty
|
|
27
|
+
- Rainbow status colors without consistent semantic meaning
|
|
28
|
+
- Shadow-heavy cards mixed with border-heavy cards on the same screen
|
|
29
|
+
- No visible next step after the user reads a major card
|
|
30
|
+
- Infrastructure-first hierarchy (metadata before live operations)
|
|
31
|
+
- Top-level pages without a clear route back to the operating workflow
|
|
32
|
+
|
|
33
|
+
If any of the above are present, the skill was not applied correctly.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Expected output
|
|
38
|
+
|
|
39
|
+
When this skill is applied to a new product, the deliverable must include:
|
|
40
|
+
|
|
41
|
+
1. Explicit visual direction and density choice
|
|
42
|
+
2. Shell structure and route hierarchy
|
|
43
|
+
3. Page archetype selection per major screen
|
|
44
|
+
4. Reusable component set with token assignments
|
|
45
|
+
5. State handling: default / hover / active / empty / loading / error
|
|
46
|
+
6. Responsive behavior notes (collapse strategy)
|
|
47
|
+
7. Validation against this checklist before handoff
|