@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,295 @@
|
|
|
1
|
+
# Websites — Clean SaaS UI
|
|
2
|
+
|
|
3
|
+
Marketing and landing page patterns for B2B SaaS products. Clean, professional, and product-first.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Principles
|
|
8
|
+
|
|
9
|
+
- **Light by default** — Clean SaaS marketing pages are light. Dark sections exist for contrast moments, not as the base.
|
|
10
|
+
- **Product-first** — The product screenshot or demo is the hero, not a generic illustration.
|
|
11
|
+
- **Functional copy** — Headlines describe what the product does and for whom. No buzzwords without meaning.
|
|
12
|
+
- **Contained radius** — Marketing cards max out at `radius-2xl` (16px). Never rounded beyond that.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Hero Pattern A — Value Proposition Hero
|
|
17
|
+
|
|
18
|
+
**Use for:** main product landing page, feature launch, primary CTA
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
┌─────────────────────────────────────────────────────────┐
|
|
22
|
+
│ [Logo] Features Pricing Docs [Sign in] [Start free →] │
|
|
23
|
+
├─────────────────────────────────────────────────────────┤
|
|
24
|
+
│ │
|
|
25
|
+
│ The CRM teams [Product screenshot or │
|
|
26
|
+
│ actually use. dashboard mockup — right half] │
|
|
27
|
+
│ │
|
|
28
|
+
│ Manage deals, track shadow-lg, radius-xl, │
|
|
29
|
+
│ contacts, and close slight perspective tilt │
|
|
30
|
+
│ more revenue without (2-3deg) optional │
|
|
31
|
+
│ the complexity. │
|
|
32
|
+
│ │
|
|
33
|
+
│ [Start free →] [See demo] │
|
|
34
|
+
│ │
|
|
35
|
+
│ —————————————————————————————————————— │
|
|
36
|
+
│ Trusted by 1,200+ teams [logo][logo][logo][logo] │ ← social proof strip
|
|
37
|
+
└─────────────────────────────────────────────────────────┘
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Specs:**
|
|
41
|
+
- Layout: 50/50 or 55/45 text/visual split — left-aligned text
|
|
42
|
+
- Headline: `text-4xl` (desktop) / `text-3xl` (mobile), `font-bold`, `tracking-tight`
|
|
43
|
+
- Subtitle: `text-lg text-secondary max-w-md`
|
|
44
|
+
- Primary CTA: `control-lg` button, accent
|
|
45
|
+
- Secondary CTA: ghost button or text link
|
|
46
|
+
- Screenshot: `shadow-lg rounded-xl` — use a real product screenshot, not a mockup illustration
|
|
47
|
+
- Social proof: `grayscale` logos, `text-sm text-muted` label above
|
|
48
|
+
- Background: `bg-base` or `bg-void` — never a gradient mesh
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Hero Pattern B — Centered Announcement Hero
|
|
53
|
+
|
|
54
|
+
**Use for:** product launch, major feature announcement, simple landing pages
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
┌─────────────────────────────────────────────────────────┐
|
|
58
|
+
│ │
|
|
59
|
+
│ ┌──────────────────┐ │
|
|
60
|
+
│ │ ✨ New: AI Inbox │ ← announcement badge │
|
|
61
|
+
│ └──────────────────┘ │
|
|
62
|
+
│ │
|
|
63
|
+
│ The support tool that scales │
|
|
64
|
+
│ with your team. │
|
|
65
|
+
│ │
|
|
66
|
+
│ Handle 10× more tickets without │
|
|
67
|
+
│ adding headcount. │
|
|
68
|
+
│ │
|
|
69
|
+
│ [Start free →] [See how it works] │
|
|
70
|
+
│ │
|
|
71
|
+
│ ───────────────────────────────────────────── │
|
|
72
|
+
│ [Avatar][Avatar][Avatar] 1,200+ teams love it │ ← avatar cluster + social proof
|
|
73
|
+
│ │
|
|
74
|
+
└─────────────────────────────────────────────────────────┘
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Specs:**
|
|
78
|
+
- All centered, `max-w-3xl` container
|
|
79
|
+
- Announcement badge: `bg-accent-dim text-accent text-sm px-3 py-1 rounded-full font-medium`
|
|
80
|
+
- Headline: `text-5xl font-bold tracking-tight` — up to 2 lines
|
|
81
|
+
- Subtitle: `text-xl text-secondary max-w-xl`
|
|
82
|
+
- Avatar cluster: 4 overlapping avatars + "X+ teams" text
|
|
83
|
+
- Background: `bg-base` — optionally with subtle radial gradient to `bg-void` at bottom
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Hero Pattern C — Demo Hero
|
|
88
|
+
|
|
89
|
+
**Use for:** products where interactivity is the differentiator
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
┌─────────────────────────────────────────────────────────┐
|
|
93
|
+
│ │
|
|
94
|
+
│ See it in action. │
|
|
95
|
+
│ No setup, no credit card. │
|
|
96
|
+
│ │
|
|
97
|
+
│ ┌─────────────────────────────────────────────────┐ │
|
|
98
|
+
│ │ │ │
|
|
99
|
+
│ │ [Interactive demo or video player] │ │ ← full-width frame
|
|
100
|
+
│ │ │ │
|
|
101
|
+
│ └─────────────────────────────────────────────────┘ │
|
|
102
|
+
│ │
|
|
103
|
+
│ [Start free →] [Book a demo] │
|
|
104
|
+
└─────────────────────────────────────────────────────────┘
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Specs:**
|
|
108
|
+
- Dark section for the demo area — `bg-gray-900` or `bg-void dark` for contrast
|
|
109
|
+
- Video/demo frame: `rounded-xl shadow-lg` with browser chrome optional
|
|
110
|
+
- Headline above: `text-3xl font-bold text-heading`
|
|
111
|
+
- CTAs below the demo, not above
|
|
112
|
+
- Keep the section focused — no feature list competing with the demo
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Section Patterns
|
|
117
|
+
|
|
118
|
+
### 1. Feature Grid
|
|
119
|
+
|
|
120
|
+
**Use for:** feature overview, benefits section
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
┌──────────────────────────────────────────────────────────┐
|
|
124
|
+
│ Everything you need to close more deals. │
|
|
125
|
+
│ subtitle text-secondary max-w-2xl centered │
|
|
126
|
+
├──────────────────────┬───────────────────┬───────────────┤
|
|
127
|
+
│ [icon] │ [icon] │ [icon] │
|
|
128
|
+
│ Pipeline Views │ Contact Intel │ Team Inbox │
|
|
129
|
+
│ Visualize your… │ Never miss a… │ Collaborate… │
|
|
130
|
+
├──────────────────────┼───────────────────┼───────────────┤
|
|
131
|
+
│ [icon] │ [icon] │ [icon] │
|
|
132
|
+
│ Automation │ Reporting │ Integrations │
|
|
133
|
+
└──────────────────────┴───────────────────┴───────────────┘
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
- Icon: 24–32px, `text-accent` or semantic color
|
|
137
|
+
- Title: `text-base font-semibold text-heading`
|
|
138
|
+
- Description: `text-sm text-secondary`
|
|
139
|
+
- No card borders, no shadows — clean icon + text on page background
|
|
140
|
+
- 3 columns desktop, 2 mobile, 1 below 480px
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
### 2. Feature Deep Dive
|
|
145
|
+
|
|
146
|
+
**Use for:** flagship features, comparison with competitors, "how it works"
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
┌─────────────────────────────────────────────────────────┐
|
|
150
|
+
│ [Product screenshot — left] The pipeline that moves. │
|
|
151
|
+
│ No more stale deals. │
|
|
152
|
+
│ │
|
|
153
|
+
│ See exactly where every │
|
|
154
|
+
│ deal is and what's next. │
|
|
155
|
+
│ │
|
|
156
|
+
│ [→ Explore pipeline] │
|
|
157
|
+
├─────────────────────────────────────────────────────────┤
|
|
158
|
+
│ Know your customer. [Product screenshot — right]│
|
|
159
|
+
│ Before the call. ... │
|
|
160
|
+
└─────────────────────────────────────────────────────────┘
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
- Alternating left/right image+text
|
|
164
|
+
- Screenshot: `rounded-xl shadow-md` — browser frame optional
|
|
165
|
+
- Headline: `text-2xl font-bold` — benefit-focused, not feature name
|
|
166
|
+
- Description: `text-base text-secondary max-w-sm`
|
|
167
|
+
- Link: `text-accent font-medium` with `→` arrow
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
### 3. Testimonial Cards
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
┌──────────────────────────────────────────────────────────┐
|
|
175
|
+
│ ┌────────────────┐ ┌────────────────┐ ┌─────────────┐│
|
|
176
|
+
│ │ "Cut our CRM │ │ "Finally a │ │ "The best ││
|
|
177
|
+
│ │ setup time by │ │ sales tool our │ │ investment ││
|
|
178
|
+
│ │ 80%." │ │ team loves." │ │ we made." ││
|
|
179
|
+
│ │ │ │ │ │ ││
|
|
180
|
+
│ │ [Avatar] │ │ [Avatar] │ │ [Avatar] ││
|
|
181
|
+
│ │ Jane S. │ │ Mike T. │ │ Sarah L. ││
|
|
182
|
+
│ │ VP Sales, Acme │ │ Founder, Beta │ │ Ops, Gamma ││
|
|
183
|
+
│ └────────────────┘ └────────────────┘ └─────────────┘│
|
|
184
|
+
└──────────────────────────────────────────────────────────┘
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
- Card: `bg-surface border border-default rounded-xl p-6 shadow-xs`
|
|
188
|
+
- Quote: `text-base text-primary` — actual quote, not a paraphrase
|
|
189
|
+
- Avatar: 40px, `radius-full`
|
|
190
|
+
- Name: `text-sm font-semibold text-heading`
|
|
191
|
+
- Role: `text-sm text-secondary`
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
### 4. Pricing Table
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
┌──────────────┬──────────────────┬──────────────┐
|
|
199
|
+
│ Starter │ Pro │ Enterprise │
|
|
200
|
+
│ │ ┌ Most popular ┐│ │
|
|
201
|
+
│ $29/mo │ │ $79/mo ││ Custom │
|
|
202
|
+
│ │ └──────────────┘│ │
|
|
203
|
+
│ ✓ Feature │ ✓ Feature │ ✓ Feature │
|
|
204
|
+
│ ✓ Feature │ ✓ Feature │ ✓ Feature │
|
|
205
|
+
│ ✗ Feature │ ✓ Feature │ ✓ Feature │
|
|
206
|
+
│ │ │ │
|
|
207
|
+
│ [Get started]│ [Get started] │ [Contact us]│
|
|
208
|
+
└──────────────┴──────────────────┴──────────────┘
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
- Container: `grid grid-cols-3 gap-4`
|
|
212
|
+
- Card: `bg-surface border border-default rounded-xl p-6`
|
|
213
|
+
- Featured card: `border-accent border-2 shadow-md` — slight elevation
|
|
214
|
+
- "Most popular" badge: `bg-accent text-white text-xs font-medium px-3 py-1 rounded-full`
|
|
215
|
+
- Price: `text-3xl font-bold text-heading`
|
|
216
|
+
- Feature list: `text-sm text-primary`, `✓` in `text-semantic-success`, `✗` in `text-muted`
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
### 5. Integration Logos
|
|
221
|
+
|
|
222
|
+
```
|
|
223
|
+
Works with your existing stack.
|
|
224
|
+
|
|
225
|
+
[Salesforce] [HubSpot] [Slack] [Zapier] [Gmail] [+40 more]
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
- Logos: grayscale, `opacity-60 hover:opacity-100 transition-opacity`
|
|
229
|
+
- Grid: `flex flex-wrap gap-8 justify-center items-center`
|
|
230
|
+
- Section title: `text-sm font-medium text-muted text-center mb-6`
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
### 6. CTA Banner
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
┌─────────────────────────────────────────────────────────┐
|
|
238
|
+
│ │
|
|
239
|
+
│ Start closing more deals today. │
|
|
240
|
+
│ Free for 14 days. No credit card required. │
|
|
241
|
+
│ │
|
|
242
|
+
│ [Start free →] │
|
|
243
|
+
└─────────────────────────────────────────────────────────┘
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
- Background: `bg-accent-dim` or `bg-elevated` — never full accent background
|
|
247
|
+
- Headline: `text-2xl font-bold text-heading text-center`
|
|
248
|
+
- Subtitle: `text-base text-secondary text-center`
|
|
249
|
+
- CTA: primary button centered, `control-lg`
|
|
250
|
+
- Padding: `py-16 px-6`
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## Navigation (Marketing)
|
|
255
|
+
|
|
256
|
+
```
|
|
257
|
+
[Logo] Features Pricing Customers Docs [Sign in] [Start free →]
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
- Height: `64px`, `bg-surface/90 backdrop-blur sticky top-0 border-b border-default`
|
|
261
|
+
- Logo: left-aligned
|
|
262
|
+
- Nav links: `text-sm text-secondary hover:text-primary font-medium`
|
|
263
|
+
- CTA: primary button `control-md`, right-aligned
|
|
264
|
+
- Mobile: hamburger menu, full-screen overlay
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Footer
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
[Logo] Product Company Resources
|
|
272
|
+
Tagline Features About Blog
|
|
273
|
+
Pricing Careers Docs
|
|
274
|
+
Changelog Contact Status
|
|
275
|
+
|
|
276
|
+
─────────────────────────────────────────────────────────
|
|
277
|
+
© 2026 ProductName. All rights reserved. [Privacy] [Terms]
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
- `bg-surface border-t border-default`
|
|
281
|
+
- Logo + tagline: left column
|
|
282
|
+
- Link columns: `text-sm text-secondary hover:text-primary`
|
|
283
|
+
- Bottom bar: `text-xs text-muted`
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## Anti-patterns
|
|
288
|
+
|
|
289
|
+
1. **Gradient mesh backgrounds** — not this skill; cognitive-core can use atmospheric effects
|
|
290
|
+
2. **Hand-drawn illustrations** — that is warm-craft; use geometric SVG or product screenshots
|
|
291
|
+
3. **Oversized dramatic typography** — that is bold-editorial; clean SaaS headlines are bold but not theatrical
|
|
292
|
+
4. **Dark marketing pages as the default** — clean SaaS = light by default; dark sections for contrast moments only
|
|
293
|
+
5. **Cards with radius > 16px** — contained radius, moderate feel
|
|
294
|
+
6. **More than 2 font weights in a section** — clean, not editorial
|
|
295
|
+
7. **Testimonials without real names and companies** — generic "happy customer" kills trust
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cognitive-core-ui
|
|
3
|
+
description: Cognitive Core UI is the visual identity system for premium, command-center-style interfaces inspired by the Mentes Sintéticas platform. Use it when `design_skill: cognitive-core-ui` is set in project.context.md OR when the user explicitly asks for "cognitive core", "mentes sintéticas layout", "cognitive core style", "aquele layout escuro", "dark dashboard command center", or similar. Supports dashboards, admin panels, detail/profile pages, landing pages, and websites — all with dark (default) and light themes via a single toggle. Do NOT use this skill unless explicitly selected.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Cognitive Core UI
|
|
7
|
+
|
|
8
|
+
The Cognitive Core system sits at the intersection of **military-grade data dashboard** and **refined SaaS UI** — dense, structured, and polished. This is the visual identity of the Mentes Sintéticas platform.
|
|
9
|
+
|
|
10
|
+
**This is one visual system.** Never combine it with another design skill.
|
|
11
|
+
|
|
12
|
+
## Package structure
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
.aioson/skills/design/cognitive-core-ui/
|
|
16
|
+
SKILL.md ← you are here (load this first)
|
|
17
|
+
references/
|
|
18
|
+
art-direction.md ← intent, domain exploration, expression modes, signature moves, anti-generic tests
|
|
19
|
+
design-tokens.md ← CSS variables dark + light, typography, token scope guardrails
|
|
20
|
+
components.md ← All reusable components (nav, stat card, badges, table, modal, DNA panel, etc.)
|
|
21
|
+
patterns.md ← Page layouts: dashboard shell, detail/profile, settings, auth, list-detail
|
|
22
|
+
dashboards.md ← Dashboard presets: inventory, control center, analytics, ops cockpit, CRM
|
|
23
|
+
websites.md ← Landing page, frontpage, institutional layouts + anti-patterns
|
|
24
|
+
motion.md ← Animations: keyframes, entrance sequences, scroll reveal, loading states
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Activation rules
|
|
28
|
+
|
|
29
|
+
- Apply this package **only** when `project.context.md` contains `design_skill: "cognitive-core-ui"` or the user explicitly chooses it.
|
|
30
|
+
- If another design skill is selected, do **not** load this package.
|
|
31
|
+
- Never auto-select this skill — always require explicit confirmation.
|
|
32
|
+
- If no skill is set yet, the active agent must ask or confirm before applying.
|
|
33
|
+
|
|
34
|
+
## Responsibility boundary
|
|
35
|
+
|
|
36
|
+
This skill defines:
|
|
37
|
+
- Visual direction and aesthetic DNA
|
|
38
|
+
- Design tokens (colors, typography, spacing, radius, shadows)
|
|
39
|
+
- Component vocabulary and anatomy
|
|
40
|
+
- Page composition patterns
|
|
41
|
+
- Theme switching behavior (dark/light)
|
|
42
|
+
|
|
43
|
+
This skill does **not** decide:
|
|
44
|
+
- Stack (React, Vue, Blade, HTML, etc.)
|
|
45
|
+
- Output format (single file, multi-file, CSS modules, Tailwind, etc.)
|
|
46
|
+
- Icon library choice
|
|
47
|
+
- Whether a theme toggle exists in the product (the agent decides)
|
|
48
|
+
|
|
49
|
+
## Loading guide
|
|
50
|
+
|
|
51
|
+
Always load only what the current task needs:
|
|
52
|
+
|
|
53
|
+
| Task | Load |
|
|
54
|
+
|---|---|
|
|
55
|
+
| Any UI work | `references/design-tokens.md` |
|
|
56
|
+
| Reusable components | `references/design-tokens.md` + `references/components.md` |
|
|
57
|
+
| Dashboard or admin panel | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` + `references/dashboards.md` |
|
|
58
|
+
| Detail / profile page | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` |
|
|
59
|
+
| Landing page or website | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/websites.md` |
|
|
60
|
+
| Motion / animation | add `references/motion.md` when animation materially improves the result |
|
|
61
|
+
| Full UI build | all seven reference files |
|
|
62
|
+
|
|
63
|
+
## Visual signature — three pillars
|
|
64
|
+
|
|
65
|
+
1. **Command-center authority** — Dense information when the product is operational. Monospaced labels are used as metadata rails, not as the default reading style. Large numeric stat readouts. Everything feels like a mission control panel.
|
|
66
|
+
2. **Premium refinement** — Three depth levels minimum (void → base → surface → elevated). Subtle borders (`rgba(255,255,255,0.06)` in dark). Teal/cyan as the only accent — used for active states, borders, glow effects. Never harsh contrasts.
|
|
67
|
+
3. **Structured rhythm** — Tab navigation, sidebar trees, card grids, section headers with icons. Information is organized into labeled zones. One focal block per viewport.
|
|
68
|
+
|
|
69
|
+
## Theme system
|
|
70
|
+
|
|
71
|
+
```html
|
|
72
|
+
<div data-theme="dark"> <!-- or data-theme="light" -->
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
- **Dark (default)**: Dashboards, monitoring, analytics, dev tools, anything data-heavy or operational
|
|
76
|
+
- **Light**: Client-facing apps, content-heavy pages, e-commerce admin, institutional websites
|
|
77
|
+
- **Both with toggle**: When the user asks, or when the target audience varies
|
|
78
|
+
|
|
79
|
+
If the user does not specify: default to **dark with a theme toggle** in the top bar.
|
|
80
|
+
|
|
81
|
+
## Visual DNA (from reference screenshots)
|
|
82
|
+
|
|
83
|
+
### Colors — dark theme
|
|
84
|
+
- Background void: `#060910`
|
|
85
|
+
- Background base: `#0B0F15` (main app background)
|
|
86
|
+
- Surface: `#111827` (cards)
|
|
87
|
+
- Elevated: `#1A2332` (hover, nested)
|
|
88
|
+
- Primary accent: `#22D3EE` (teal/cyan) — active tabs, badges, glow, borders
|
|
89
|
+
- Text heading: `#F9FAFB`
|
|
90
|
+
- Text primary: `#E5E7EB`
|
|
91
|
+
- Text secondary: `#9CA3AF`
|
|
92
|
+
- Text muted: `#6B7280`
|
|
93
|
+
|
|
94
|
+
### Colors — light theme
|
|
95
|
+
- Background void: `#F1F5F9`
|
|
96
|
+
- Background base: `#F8FAFC`
|
|
97
|
+
- Surface: `#FFFFFF`
|
|
98
|
+
- Primary accent: `#0891B2` (deeper teal for legibility)
|
|
99
|
+
- Text heading: `#0F172A`
|
|
100
|
+
- Text primary: `#334155`
|
|
101
|
+
|
|
102
|
+
### Typography
|
|
103
|
+
- Headings: `Inter`, usually `weight-bold (700)` or `weight-black (800)` only for hero/page title emphasis, `letter-spacing: -0.02em`
|
|
104
|
+
- Body: `Inter`, `weight-normal (400)`, `line-height: 1.6`
|
|
105
|
+
- Labels (supporting only): `JetBrains Mono`, `weight-semibold`, `uppercase`, `letter-spacing: 0.12em`, `font-size: 0.675rem`
|
|
106
|
+
- Stats: `Inter`, `weight-bold (700)`, `font-size: 2.75rem`
|
|
107
|
+
|
|
108
|
+
### Layout structure (dashboards)
|
|
109
|
+
```
|
|
110
|
+
┌──────────────────────────────────────────────────────────┐
|
|
111
|
+
│ TOP BAR: [Logo + Name] [Tab Nav (center)] [Actions] │
|
|
112
|
+
├──────────────────────────────────────────────────────────┤
|
|
113
|
+
│ [Optional: breadcrumbs] │
|
|
114
|
+
│ PROFILE/HEADER ZONE: avatar + name + badges + stat cards│
|
|
115
|
+
├──────────────────────────────────────────────────────────┤
|
|
116
|
+
│ TAB NAVIGATION (full width) │
|
|
117
|
+
├───────────┬──────────────────────────────────────────────┤
|
|
118
|
+
│ SIDEBAR │ CONTENT │
|
|
119
|
+
│ 200px │ SECTION HEADER (mono label + icon) │
|
|
120
|
+
│ tree nav │ CARD GRID (2-4 col, auto-fill) │
|
|
121
|
+
│ │ SECTION HEADER │
|
|
122
|
+
│ │ CARD GRID │
|
|
123
|
+
└───────────┴──────────────────────────────────────────────┘
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Signature details
|
|
127
|
+
- Monospace uppercase labels on major sections, stats, IDs, and metadata rails only
|
|
128
|
+
- Badge chips with teal/cyan glow in dark mode
|
|
129
|
+
- Progress bars with colored semantic fills (green/red/amber/purple)
|
|
130
|
+
- Featured quote blocks: italic large text + mono attribution
|
|
131
|
+
- Cards with `1px` border + subtle hover glow (never box shadows only)
|
|
132
|
+
- Active tab: teal bottom border `3px` + teal text
|
|
133
|
+
- Sidebar active item: `border-left: 3px solid var(--accent)` + `bg-elevated`
|
|
134
|
+
- Theme transition: `250ms ease` on background, color, border-color, box-shadow
|
|
135
|
+
|
|
136
|
+
## Application rules
|
|
137
|
+
|
|
138
|
+
- Treat `references/design-tokens.md` as the source of truth for ALL tokens.
|
|
139
|
+
- Treat `references/art-direction.md` as the source of truth for expression, signature move, and anti-generic decisions.
|
|
140
|
+
- Resolve the page variant before composing: dashboard uses dense operational rhythm; website/landing page uses more whitespace, hero typography, and narrative hierarchy.
|
|
141
|
+
- Never combine this package with `interface-design`, `premium-command-center-ui`, or any other design skill in the same task.
|
|
142
|
+
- Reuse the project's component library if one exists — map Cognitive Core tokens onto it instead of rebuilding primitives.
|
|
143
|
+
- Adapt code examples to the active stack. Reference snippets are design specifications, not copy-paste code.
|
|
144
|
+
- Accessibility, responsiveness, and production semantics are the agent's responsibility (not this skill).
|
|
145
|
+
|
|
146
|
+
## Intent before visuals
|
|
147
|
+
|
|
148
|
+
Before choosing layout, answer all three:
|
|
149
|
+
|
|
150
|
+
1. Who is the human using this page right now?
|
|
151
|
+
2. What is the main action or decision they must complete?
|
|
152
|
+
3. How should this interface feel in concrete words, not generic labels?
|
|
153
|
+
|
|
154
|
+
Bad answers:
|
|
155
|
+
- "for users"
|
|
156
|
+
- "manage data"
|
|
157
|
+
- "clean and modern"
|
|
158
|
+
|
|
159
|
+
Good answers:
|
|
160
|
+
- "operations lead checking what needs intervention in under 30 seconds"
|
|
161
|
+
- "sales manager comparing pipeline risk before a weekly meeting"
|
|
162
|
+
- "calm, cold, exact, premium, slightly tactical"
|
|
163
|
+
|
|
164
|
+
## Workflow discipline
|
|
165
|
+
|
|
166
|
+
Extracted from stronger design-system practice, this skill must behave like a controlled system, not a moodboard:
|
|
167
|
+
|
|
168
|
+
1. Audit the current page or existing UI before changing visuals.
|
|
169
|
+
2. Explore the product domain and choose one expression mode from `references/art-direction.md`.
|
|
170
|
+
3. Name one signature move and repeat it intentionally across the page.
|
|
171
|
+
4. Consolidate repeating patterns instead of inventing new card/button/table variants for each screen.
|
|
172
|
+
5. Build from tokens first, then components, then page composition.
|
|
173
|
+
6. Validate state parity before finishing: default, hover, active, focus, disabled.
|
|
174
|
+
7. Validate contrast before shipping: body text must meet WCAG AA, controls must stay legible in all themes and states.
|
|
175
|
+
|
|
176
|
+
## Non-negotiable quality gates
|
|
177
|
+
|
|
178
|
+
- Never use a lighter hover state if it reduces text contrast.
|
|
179
|
+
- Never put near-white text on a bright accent in light theme. Use a darker accent or a darker foreground token.
|
|
180
|
+
- Do not use mono for navigation groups, paragraphs, or long button copy.
|
|
181
|
+
- Do not use `weight-black` as the default heading weight across the entire app.
|
|
182
|
+
- Keep one spacing rhythm per surface: 4px/8px increments, aligned text edges, consistent control heights.
|
|
183
|
+
- When a layout feels chaotic, reduce variant count first. Do not add more decorative layers.
|
|
184
|
+
- Hardcoded colors, arbitrary shadows, and one-off font choices are design-system failures, not creative flourishes.
|
|
185
|
+
- Sameness is failure. If the result could be mistaken for a default AI dashboard or centered SaaS hero, iterate before presenting.
|
|
186
|
+
- Every full page must have one memorable structural or visual signature, not just "good spacing and cards".
|
|
187
|
+
- Do not reuse the same hero, stat-row, or card-grid composition across unrelated products without a domain reason.
|
|
188
|
+
|
|
189
|
+
## Delivery modes
|
|
190
|
+
|
|
191
|
+
### Greenfield
|
|
192
|
+
1. Choose page variant (dashboard, detail, settings, landing, institutional)
|
|
193
|
+
2. Load relevant references
|
|
194
|
+
3. Apply token scope from `design-tokens.md`
|
|
195
|
+
4. Compose layout from `patterns.md` or `websites.md`
|
|
196
|
+
5. Build components from `components.md`
|
|
197
|
+
|
|
198
|
+
### Brownfield
|
|
199
|
+
1. Audit existing UI before rewriting
|
|
200
|
+
2. Map Cognitive Core tokens onto the existing component library
|
|
201
|
+
3. Fix token scope issues (font/color variables must be on the correct container)
|
|
202
|
+
4. Consolidate duplicate variants before introducing new ones
|
|
203
|
+
5. Prefer targeted upgrades over full rewrites unless the user asks for a redesign
|