@jaimevalasek/aioson 1.5.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/README.md +729 -226
- package/docs/design-previews/aurora-command-ui-website.html +884 -0
- package/docs/design-previews/aurora-command-ui.html +682 -0
- package/docs/design-previews/bold-editorial-ui-website.html +658 -0
- package/docs/design-previews/bold-editorial-ui.html +717 -0
- package/docs/design-previews/clean-saas-ui-website.html +1202 -0
- package/docs/design-previews/clean-saas-ui.html +549 -0
- package/docs/design-previews/cognitive-core-ui-website.html +1009 -0
- package/docs/design-previews/cognitive-core-ui.html +463 -0
- package/docs/design-previews/glassmorphism-ui-website.html +572 -0
- package/docs/design-previews/glassmorphism-ui.html +886 -0
- package/docs/design-previews/index.html +699 -0
- package/docs/design-previews/interface-design-website.html +1187 -0
- package/docs/design-previews/interface-design.html +513 -0
- package/docs/design-previews/neo-brutalist-ui-website.html +621 -0
- package/docs/design-previews/neo-brutalist-ui.html +797 -0
- package/docs/design-previews/premium-command-center-ui-website.html +1217 -0
- package/docs/design-previews/premium-command-center-ui.html +552 -0
- package/docs/design-previews/pt.squarespace.com-homepage.html +889 -0
- package/docs/design-previews/warm-craft-ui-website.html +684 -0
- package/docs/design-previews/warm-craft-ui.html +739 -0
- package/docs/en/cli-reference.md +20 -9
- package/docs/integrations/sdlc-genius-boundary.md +76 -0
- package/docs/integrations/sdlc-genius-eval-matrix.md +75 -0
- package/docs/integrations/sdlc-genius-install-checklist.md +93 -0
- package/docs/integrations/sdlc-genius-review-samples.md +86 -0
- package/docs/pt/README.md +10 -0
- package/docs/pt/agent-sharding.md +132 -0
- package/docs/pt/agentes.md +9 -2
- package/docs/pt/busca-de-contexto.md +129 -0
- package/docs/pt/cache-de-contexto.md +156 -0
- package/docs/pt/comandos-cli.md +915 -1
- package/docs/pt/design-hybrid-forge.md +356 -0
- package/docs/pt/devlog-pipeline.md +270 -0
- package/docs/pt/fluxo-artefatos.md +178 -0
- package/docs/pt/hooks-session-guard.md +454 -0
- package/docs/pt/inicio-rapido.md +54 -3
- package/docs/pt/inteligencia-adaptativa.md +324 -0
- package/docs/pt/monitor-de-contexto.md +158 -0
- package/docs/pt/recuperacao-de-sessao.md +125 -0
- package/docs/pt/sandbox.md +125 -0
- package/docs/pt/sdd-automation-scripts.md +557 -0
- package/docs/pt/site-forge.md +309 -0
- package/docs/pt/skills.md +98 -6
- package/docs/pt/spec-learnings-pipeline.md +265 -0
- package/package.json +1 -1
- package/src/a2a/client.js +165 -0
- package/src/a2a/server.js +223 -0
- package/src/agent-loader.js +280 -0
- package/src/cli.js +329 -1
- package/src/commands/agent-audit.js +397 -0
- package/src/commands/agent-export-skill.js +229 -0
- package/src/commands/agent-loader.js +85 -0
- package/src/commands/artifact-validate.js +189 -0
- package/src/commands/brief-gen.js +405 -0
- package/src/commands/brief-validate.js +65 -0
- package/src/commands/classify.js +256 -0
- package/src/commands/context-cache.js +90 -0
- package/src/commands/context-compact.js +49 -0
- package/src/commands/context-health.js +175 -0
- package/src/commands/context-monitor.js +163 -0
- package/src/commands/context-search.js +66 -0
- package/src/commands/context-trim.js +177 -0
- package/src/commands/design-hybrid-options.js +385 -0
- package/src/commands/detect-test-runner.js +55 -0
- package/src/commands/devlog-export-brains.js +27 -0
- package/src/commands/devlog-process.js +292 -0
- package/src/commands/devlog-watch.js +131 -0
- package/src/commands/feature-close.js +165 -0
- package/src/commands/gate-check.js +228 -0
- package/src/commands/health.js +214 -0
- package/src/commands/hooks-emit.js +253 -0
- package/src/commands/hooks-install.js +347 -0
- package/src/commands/init.js +54 -13
- package/src/commands/install.js +52 -13
- package/src/commands/learning-auto-promote.js +195 -0
- package/src/commands/learning-evolve.js +364 -0
- package/src/commands/learning-export.js +103 -0
- package/src/commands/learning-rollback.js +164 -0
- package/src/commands/live.js +59 -1
- package/src/commands/pattern-detect.js +33 -0
- package/src/commands/preflight-context.js +30 -0
- package/src/commands/preflight.js +208 -0
- package/src/commands/pulse-update.js +130 -0
- package/src/commands/recovery.js +43 -0
- package/src/commands/runner-daemon.js +274 -0
- package/src/commands/runner-plan.js +70 -0
- package/src/commands/runner-queue-from-plan.js +166 -0
- package/src/commands/runner-queue.js +189 -0
- package/src/commands/runner-run.js +129 -0
- package/src/commands/runtime.js +47 -1
- package/src/commands/sandbox.js +37 -0
- package/src/commands/self-implement-loop.js +256 -0
- package/src/commands/session-guard.js +218 -0
- package/src/commands/setup-context.js +22 -2
- package/src/commands/setup.js +178 -0
- package/src/commands/sizing.js +165 -0
- package/src/commands/skill.js +144 -32
- package/src/commands/spec-checkpoint.js +177 -0
- package/src/commands/spec-status.js +79 -0
- package/src/commands/spec-sync.js +190 -0
- package/src/commands/spec-tasks.js +288 -0
- package/src/commands/squad-autorun.js +1220 -0
- package/src/commands/squad-bus.js +217 -0
- package/src/commands/squad-card.js +149 -0
- package/src/commands/squad-daemon.js +134 -0
- package/src/commands/squad-dependency-graph.js +164 -0
- package/src/commands/squad-review.js +106 -0
- package/src/commands/squad-scaffold.js +55 -0
- package/src/commands/squad-tool-register.js +157 -0
- package/src/commands/state-save.js +122 -0
- package/src/commands/tool-registry-cmd.js +232 -0
- package/src/commands/update.js +9 -0
- package/src/commands/verify-gate.js +572 -0
- package/src/commands/workflow-execute.js +241 -0
- package/src/constants.js +18 -0
- package/src/context-cache.js +159 -0
- package/src/context-search.js +326 -0
- package/src/design-variation-catalog.js +503 -0
- package/src/i18n/messages/en.js +32 -2
- package/src/i18n/messages/es.js +30 -2
- package/src/i18n/messages/fr.js +30 -2
- package/src/i18n/messages/pt-BR.js +32 -2
- package/src/install-animation.js +260 -0
- package/src/install-profile.js +143 -0
- package/src/install-wizard.js +475 -0
- package/src/installer.js +44 -10
- package/src/lib/health-check.js +158 -0
- package/src/lib/hook-protocol.js +76 -0
- package/src/mcp/apps/squad-dashboard/app.js +163 -0
- package/src/mcp/apps/squad-dashboard/index.html +261 -0
- package/src/mcp/apps/squad-dashboard/mcp-manifest.json +23 -0
- package/src/mcp/resources/squad-state.js +130 -0
- package/src/parser.js +7 -1
- package/src/preflight-engine.js +443 -0
- package/src/recovery-context-session.js +154 -0
- package/src/runner/cascade.js +97 -0
- package/src/runner/cli-launcher.js +109 -0
- package/src/runner/plan-importer.js +63 -0
- package/src/runner/queue-store.js +159 -0
- package/src/runtime-store.js +158 -4
- package/src/sandbox.js +177 -0
- package/src/squad/agent-teams-adapter.js +264 -0
- package/src/squad/brief-validator.js +350 -0
- package/src/squad/bus-bridge.js +140 -0
- package/src/squad/context-compactor.js +265 -0
- package/src/squad/cross-ai-synthesizer.js +250 -0
- package/src/squad/hooks-generator.js +196 -0
- package/src/squad/inter-squad-events.js +175 -0
- package/src/squad/intra-bus.js +345 -0
- package/src/squad/learning-extractor.js +213 -0
- package/src/squad/pattern-detector.js +365 -0
- package/src/squad/preflight-context.js +296 -0
- package/src/squad/recovery-context.js +242 -71
- package/src/squad/reflection.js +365 -0
- package/src/squad/squad-scaffold.js +177 -0
- package/src/squad/state-manager.js +310 -0
- package/src/squad/task-decomposer.js +652 -0
- package/src/squad/verify-gate.js +303 -0
- package/src/tool-executor.js +94 -0
- package/src/updater.js +10 -3
- package/src/worker-runner.js +186 -1
- package/template/.aioson/agents/analyst.md +119 -3
- package/template/.aioson/agents/architect.md +98 -0
- package/template/.aioson/agents/design-hybrid-forge.md +141 -0
- package/template/.aioson/agents/dev.md +335 -14
- package/template/.aioson/agents/deyvin.md +117 -2
- package/template/.aioson/agents/discovery-design-doc.md +44 -0
- package/template/.aioson/agents/genome.md +14 -0
- package/template/.aioson/agents/neo.md +78 -1
- package/template/.aioson/agents/orache.md +50 -4
- package/template/.aioson/agents/orchestrator.md +197 -1
- package/template/.aioson/agents/pm.md +93 -0
- package/template/.aioson/agents/product.md +77 -4
- package/template/.aioson/agents/profiler-enricher.md +14 -0
- package/template/.aioson/agents/profiler-forge.md +14 -0
- package/template/.aioson/agents/profiler-researcher.md +14 -0
- package/template/.aioson/agents/qa.md +249 -19
- package/template/.aioson/agents/setup.md +144 -12
- package/template/.aioson/agents/sheldon.md +237 -11
- package/template/.aioson/agents/site-forge.md +1753 -0
- package/template/.aioson/agents/squad.md +162 -0
- package/template/.aioson/agents/tester.md +209 -0
- package/template/.aioson/agents/ux-ui.md +34 -1
- package/template/.aioson/brains/README.md +128 -0
- package/template/.aioson/brains/_index.json +16 -0
- package/template/.aioson/brains/scripts/query.js +103 -0
- package/template/.aioson/brains/site-forge/visual-patterns.brain.json +205 -0
- package/template/.aioson/config.md +158 -13
- package/template/.aioson/constitution.md +33 -0
- package/template/.aioson/context/forensics/.gitkeep +0 -0
- package/template/.aioson/context/project-pulse.md +34 -0
- package/template/.aioson/context/seeds/seed-example.md +27 -0
- package/template/.aioson/context/user-profile.md +42 -0
- package/template/.aioson/docs/LAYERS.md +79 -0
- package/template/.aioson/docs/README.md +76 -0
- package/template/.aioson/docs/example-external-api-context.md +72 -0
- package/template/.aioson/locales/en/agents/architect.md +17 -0
- package/template/.aioson/locales/en/agents/dev.md +79 -13
- package/template/.aioson/locales/en/agents/orache.md +6 -0
- package/template/.aioson/locales/en/agents/orchestrator.md +24 -0
- package/template/.aioson/locales/en/agents/product.md +50 -0
- package/template/.aioson/locales/en/agents/setup.md +33 -1
- package/template/.aioson/locales/en/agents/sheldon.md +115 -0
- package/template/.aioson/locales/en/agents/squad.md +14 -0
- package/template/.aioson/locales/en/agents/tester.md +6 -0
- package/template/.aioson/locales/es/agents/analyst.md +2 -0
- package/template/.aioson/locales/es/agents/architect.md +19 -0
- package/template/.aioson/locales/es/agents/dev.md +64 -4
- package/template/.aioson/locales/es/agents/deyvin.md +2 -0
- package/template/.aioson/locales/es/agents/discovery-design-doc.md +2 -0
- package/template/.aioson/locales/es/agents/genome.md +2 -0
- package/template/.aioson/locales/es/agents/neo.md +2 -0
- package/template/.aioson/locales/es/agents/orache.md +2 -0
- package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/es/agents/pair.md +2 -0
- package/template/.aioson/locales/es/agents/pm.md +2 -0
- package/template/.aioson/locales/es/agents/product.md +52 -0
- package/template/.aioson/locales/es/agents/profiler-enricher.md +2 -0
- package/template/.aioson/locales/es/agents/profiler-forge.md +2 -0
- package/template/.aioson/locales/es/agents/profiler-researcher.md +2 -0
- package/template/.aioson/locales/es/agents/qa.md +2 -0
- package/template/.aioson/locales/es/agents/setup.md +35 -1
- package/template/.aioson/locales/es/agents/sheldon.md +117 -0
- package/template/.aioson/locales/es/agents/squad.md +16 -0
- package/template/.aioson/locales/es/agents/tester.md +9 -0
- package/template/.aioson/locales/es/agents/ux-ui.md +2 -0
- package/template/.aioson/locales/fr/agents/analyst.md +2 -0
- package/template/.aioson/locales/fr/agents/architect.md +19 -0
- package/template/.aioson/locales/fr/agents/dev.md +64 -4
- package/template/.aioson/locales/fr/agents/deyvin.md +2 -0
- package/template/.aioson/locales/fr/agents/discovery-design-doc.md +2 -0
- package/template/.aioson/locales/fr/agents/genome.md +2 -0
- package/template/.aioson/locales/fr/agents/neo.md +2 -0
- package/template/.aioson/locales/fr/agents/orache.md +2 -0
- package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/fr/agents/pair.md +2 -0
- package/template/.aioson/locales/fr/agents/pm.md +2 -0
- package/template/.aioson/locales/fr/agents/product.md +52 -0
- package/template/.aioson/locales/fr/agents/profiler-enricher.md +2 -0
- package/template/.aioson/locales/fr/agents/profiler-forge.md +2 -0
- package/template/.aioson/locales/fr/agents/profiler-researcher.md +2 -0
- package/template/.aioson/locales/fr/agents/qa.md +2 -0
- package/template/.aioson/locales/fr/agents/setup.md +35 -1
- package/template/.aioson/locales/fr/agents/sheldon.md +117 -0
- package/template/.aioson/locales/fr/agents/squad.md +16 -0
- package/template/.aioson/locales/fr/agents/tester.md +9 -0
- package/template/.aioson/locales/fr/agents/ux-ui.md +2 -0
- package/template/.aioson/locales/pt-BR/agents/analyst.md +64 -3
- package/template/.aioson/locales/pt-BR/agents/architect.md +42 -0
- package/template/.aioson/locales/pt-BR/agents/dev.md +147 -14
- package/template/.aioson/locales/pt-BR/agents/deyvin.md +47 -0
- package/template/.aioson/locales/pt-BR/agents/neo.md +62 -1
- package/template/.aioson/locales/pt-BR/agents/orchestrator.md +158 -2
- package/template/.aioson/locales/pt-BR/agents/pm.md +95 -1
- package/template/.aioson/locales/pt-BR/agents/product.md +145 -18
- package/template/.aioson/locales/pt-BR/agents/qa.md +16 -0
- package/template/.aioson/locales/pt-BR/agents/setup.md +134 -19
- package/template/.aioson/locales/pt-BR/agents/sheldon.md +132 -1
- package/template/.aioson/locales/pt-BR/agents/squad.md +14 -0
- package/template/.aioson/locales/pt-BR/agents/tester.md +449 -0
- package/template/.aioson/rules/README.md +69 -0
- package/template/.aioson/rules/data-format-convention.md +136 -0
- package/template/.aioson/rules/example-monetary-values.md +30 -0
- package/template/.aioson/schemas/squad-manifest.schema.json +124 -3
- package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +243 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +482 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +387 -0
- package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +222 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +213 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -0
- package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -0
- package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +66 -0
- package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +368 -0
- package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -0
- package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -0
- package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -0
- package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +165 -0
- package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +46 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/analyst.md +30 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +109 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/architect.md +23 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/artifact-map.md +44 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +37 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/dev.md +47 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/deyvin.md +27 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/hardening-lane.md +49 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +101 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/product.md +25 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/qa.md +30 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/sheldon.md +25 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/ui-language.md +75 -0
- package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +147 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/crossover-protocol.md +221 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/naming-registry.md +88 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +306 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +149 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +208 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/variation-library.md +125 -0
- package/template/.aioson/skills/process/simplify/SKILL.md +173 -0
- package/template/.aioson/skills/static/context-budget-guide.md +46 -0
- package/template/.aioson/skills/static/harness-sensors.md +74 -0
- package/template/.aioson/skills/static/multi-agent-patterns.md +43 -0
- package/template/.aioson/skills/static/react-motion-patterns.md +22 -0
- package/template/.aioson/skills/static/static-html-patterns/checklists.md +43 -0
- package/template/.aioson/skills/static/static-html-patterns/css-tokens.md +609 -0
- package/template/.aioson/skills/static/static-html-patterns/motion.md +193 -0
- package/template/.aioson/skills/static/static-html-patterns/premium.md +711 -0
- package/template/.aioson/skills/static/static-html-patterns/structure.md +209 -0
- package/template/.aioson/skills/static/static-html-patterns/utilities.md +190 -0
- package/template/.aioson/skills/static/static-html-patterns.md +58 -1913
- package/template/.aioson/skills/static/threejs-patterns.md +929 -0
- package/template/.aioson/skills/static/web-research-cache.md +112 -0
- package/template/.aioson/tasks/implementation-plan.md +21 -1
- package/template/.claude/commands/aioson/agent/design-hybrid-forge.md +5 -0
- package/template/.claude/commands/aioson/agent/orache.md +5 -0
- package/template/.claude/commands/aioson/agent/sheldon.md +5 -0
- package/template/.claude/commands/aioson/agent/site-forge.md +5 -0
- package/template/AGENTS.md +75 -1
- package/template/CLAUDE.md +31 -0
- package/template/OPENCODE.md +4 -0
- package/template/researchs/.gitkeep +0 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: data-format-convention
|
|
3
|
+
description: Which file format to use when producing or consuming structured data — YAML for agent-readable reference data, Markdown for narrative, JSON for machine-consumed data
|
|
4
|
+
priority: 8
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Data Format Convention
|
|
9
|
+
|
|
10
|
+
Use the right format for the right consumer. The same data structure reads very differently depending on who (or what) will consume it next.
|
|
11
|
+
|
|
12
|
+
## The three formats and their consumers
|
|
13
|
+
|
|
14
|
+
### YAML — structured data consumed by agents
|
|
15
|
+
|
|
16
|
+
Use `.yaml` when the output is structured reference data that **another agent or squad executor will read field-by-field** to make decisions or produce content.
|
|
17
|
+
|
|
18
|
+
LLMs read YAML more accurately than JSON for structured reference data because YAML allows comments, avoids excessive punctuation, and mirrors natural document structure.
|
|
19
|
+
|
|
20
|
+
**Use YAML for:**
|
|
21
|
+
- ICP definitions, persona profiles, audience segments
|
|
22
|
+
- Offer sheets, product definitions, pricing structures
|
|
23
|
+
- Brand guidelines (structured parts: tone, values, vocabulary, positioning)
|
|
24
|
+
- Competitive analysis snapshots (structured fields)
|
|
25
|
+
- Briefing data that a copy squad or design squad will consume
|
|
26
|
+
- Entity catalogs referenced across multiple sessions
|
|
27
|
+
|
|
28
|
+
**Naming:** `{slug}.yaml` in the relevant squad output or context directory.
|
|
29
|
+
|
|
30
|
+
**Example — ICP profile (`icp-primary.yaml`):**
|
|
31
|
+
```yaml
|
|
32
|
+
# ICP — Primary Audience
|
|
33
|
+
# Created by: @research-squad | Updated: 2026-04-02
|
|
34
|
+
|
|
35
|
+
profile:
|
|
36
|
+
name: "Empreendedor Refém"
|
|
37
|
+
description: "Dono de negócio que depende de agências ou devs externos"
|
|
38
|
+
|
|
39
|
+
pain_points:
|
|
40
|
+
- Perda de controle sobre o produto
|
|
41
|
+
- Atrasos e custos imprevisíveis
|
|
42
|
+
- Não consegue validar qualidade do que recebe
|
|
43
|
+
|
|
44
|
+
desired_outcome: "Autonomia e velocidade — entregar sem depender de terceiros"
|
|
45
|
+
|
|
46
|
+
buying_trigger: "Prazo vencendo ou fatura chegando de dev que atrasou"
|
|
47
|
+
|
|
48
|
+
messaging:
|
|
49
|
+
primary: "Retome o controle do seu produto"
|
|
50
|
+
objection_1: "Não preciso saber programar?"
|
|
51
|
+
objection_1_answer: "Não. Você vai orquestrar, não digitar código."
|
|
52
|
+
|
|
53
|
+
channels: [instagram, linkedin, youtube]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### Markdown — narrative content consumed by humans and agents linearly
|
|
59
|
+
|
|
60
|
+
Use `.md` when the output is narrative — content that flows as text and benefits from headers, lists, and prose.
|
|
61
|
+
|
|
62
|
+
**Use Markdown for:**
|
|
63
|
+
- Reports, analyses, article drafts
|
|
64
|
+
- Scripts, hooks, copy blocks
|
|
65
|
+
- Agent instructions and rules (this file is an example)
|
|
66
|
+
- Specs, PRDs, discovery documents
|
|
67
|
+
- Any output meant to be read from top to bottom
|
|
68
|
+
|
|
69
|
+
**Never use YAML or JSON for:** articles, scripts, agent instructions, PRDs, analysis narratives, README files.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### JSON — structured data consumed by machines
|
|
74
|
+
|
|
75
|
+
Use `.json` when the output is consumed by code — CLIs, APIs, webhooks, dashboards, or configuration parsers.
|
|
76
|
+
|
|
77
|
+
**Use JSON for:**
|
|
78
|
+
- `squad.manifest.json` — consumed by the AIOSON CLI and dashboard
|
|
79
|
+
- `content.json` — consumed by the webhook server and dashboard
|
|
80
|
+
- API payloads and webhook responses
|
|
81
|
+
- CLI configuration files
|
|
82
|
+
- Any file that `JSON.parse()` will read programmatically
|
|
83
|
+
|
|
84
|
+
**Never change to YAML:** `squad.manifest.json`, `content.json`, `squad.json`, `aioson-models.json`. These are machine-consumed and must stay JSON for CLI compatibility.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Decision rule (apply in this order)
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
Will a machine (CLI, API, webhook, dashboard) consume this file?
|
|
92
|
+
YES → JSON
|
|
93
|
+
|
|
94
|
+
Will a human or agent read this top-to-bottom as narrative?
|
|
95
|
+
YES → Markdown
|
|
96
|
+
|
|
97
|
+
Will an agent reference specific fields to make decisions or produce content?
|
|
98
|
+
YES → YAML
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
If uncertain: prefer Markdown. Only use YAML when the structured fields are the point — not the prose.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Squad executor guidance
|
|
106
|
+
|
|
107
|
+
When a squad executor produces output, choose the format based on what happens next:
|
|
108
|
+
|
|
109
|
+
| Output type | Format | Example |
|
|
110
|
+
|---|---|---|
|
|
111
|
+
| Report, article, script | `.md` | `output/content-squad/ep-001/script.md` |
|
|
112
|
+
| ICP, persona, audience profile | `.yaml` | `output/research-squad/icp-primary.yaml` |
|
|
113
|
+
| Brand data, offer sheet | `.yaml` | `output/brand-squad/offer-advanced.yaml` |
|
|
114
|
+
| Competitive analysis (structured) | `.yaml` | `output/research-squad/competitors.yaml` |
|
|
115
|
+
| Competitive analysis (narrative) | `.md` | `output/research-squad/market-report.md` |
|
|
116
|
+
| Webhook payload, API response | `.json` | handled by `content.json` convention |
|
|
117
|
+
| Squad manifest, config | `.json` | `squad.manifest.json` (do not change) |
|
|
118
|
+
|
|
119
|
+
**Cross-squad consumption:** when Squad A produces data that Squad B will consume, prefer YAML for structured reference data. The receiving squad's executor can reference `output/squad-a/{file}.yaml` directly and access fields with precision — more reliable than parsing a Markdown table.
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## What NOT to change
|
|
124
|
+
|
|
125
|
+
- Files with `.json` extension consumed by the AIOSON CLI or dashboard
|
|
126
|
+
- Agent instruction files (`agents/*.md`) — narrative, not data
|
|
127
|
+
- Existing specs and context files (`spec-*.md`, `discovery.md`, `architecture.md`) — mixed narrative + structure, Markdown is correct
|
|
128
|
+
- YAML frontmatter inside `.md` files — this is already the right pattern for metadata
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Why this matters
|
|
133
|
+
|
|
134
|
+
The same structured content stored as JSON or Markdown loses precision when an agent reads it. A JSON blob requires the agent to mentally parse brackets and quotes while tracking field relationships. A Markdown table requires the agent to infer column semantics from headers. A YAML document makes field names, nesting, and relationships immediately legible — the LLM spends its attention on the content, not the syntax.
|
|
135
|
+
|
|
136
|
+
For squads that pass structured data between executors across sessions, this compounds: each session starts fresh, and a YAML profile loads faster and more accurately into working context than an equivalent JSON or Markdown representation.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: monetary-values
|
|
3
|
+
description: All monetary values must be stored as integer cents, never as floats
|
|
4
|
+
agents: [dev, architect, qa]
|
|
5
|
+
priority: 5
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Monetary Values Convention
|
|
10
|
+
|
|
11
|
+
All monetary values in this project MUST be stored and calculated as integer cents.
|
|
12
|
+
|
|
13
|
+
## Rule
|
|
14
|
+
|
|
15
|
+
- NEVER use float or decimal types for money fields
|
|
16
|
+
- Store as integer: `1000` = R$ 10,00 or USD $10.00
|
|
17
|
+
- Display formatting is a UI concern only — format at the presentation layer, never in persistence or business logic
|
|
18
|
+
- This applies to: database columns, API payloads, internal calculations, test fixtures
|
|
19
|
+
|
|
20
|
+
## Rationale
|
|
21
|
+
|
|
22
|
+
Float arithmetic produces rounding errors in financial calculations.
|
|
23
|
+
Example: `0.1 + 0.2 === 0.30000000000000004` in most languages.
|
|
24
|
+
Using integer cents eliminates this class of bug entirely.
|
|
25
|
+
|
|
26
|
+
## Applies to
|
|
27
|
+
|
|
28
|
+
- Database migrations: column type must be integer or bigint, not decimal/float
|
|
29
|
+
- API contracts: monetary fields must be documented as integer cents
|
|
30
|
+
- @qa: test fixtures must use integer cents; any float in a money field is a bug
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
"title": { "type": "string" },
|
|
99
99
|
"type": {
|
|
100
100
|
"type": "string",
|
|
101
|
-
"enum": ["worker", "agent", "clone", "assistant", "human-gate"],
|
|
101
|
+
"enum": ["worker", "agent", "clone", "assistant", "human-gate", "research", "reviewer", "skill"],
|
|
102
102
|
"default": "agent",
|
|
103
|
-
"description": "Executor type: worker (deterministic script, no LLM), agent (LLM with defined role), clone (cognitive replica of real person), assistant (domain specialist with behavioral profile), human-gate (human approval checkpoint)"
|
|
103
|
+
"description": "Executor type: worker (deterministic script, no LLM), agent (LLM with defined role), clone (cognitive replica of real person), assistant (domain specialist with behavioral profile), human-gate (human approval checkpoint), research (web research with cache, no LLM), reviewer (cross-AI review synthesis), skill (external Agent Skills Standard skill)"
|
|
104
104
|
},
|
|
105
105
|
"role": { "type": "string" },
|
|
106
106
|
"file": { "type": "string" },
|
|
@@ -121,6 +121,14 @@
|
|
|
121
121
|
"type": "string",
|
|
122
122
|
"description": "Script path for worker executors"
|
|
123
123
|
},
|
|
124
|
+
"skill": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "Agent Skills Standard skill identifier (for type: 'skill'). E.g. '@anthropic/code-review'"
|
|
127
|
+
},
|
|
128
|
+
"source": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "Skill source path or package. E.g. 'npm:@org/skill', './skills/my-skill/'"
|
|
131
|
+
},
|
|
124
132
|
"domain": {
|
|
125
133
|
"type": "string",
|
|
126
134
|
"description": "Specialized domain for assistant executors"
|
|
@@ -198,11 +206,85 @@
|
|
|
198
206
|
"order": { "type": "integer", "minimum": 1 },
|
|
199
207
|
"file": { "type": "string", "description": "Path to the task .md file" },
|
|
200
208
|
"input": { "type": "string", "description": "What this task receives" },
|
|
201
|
-
"output": { "type": "string", "description": "What this task produces" }
|
|
209
|
+
"output": { "type": "string", "description": "What this task produces" },
|
|
210
|
+
"review_loop": {
|
|
211
|
+
"type": "boolean",
|
|
212
|
+
"default": false,
|
|
213
|
+
"description": "Enable evaluator-optimizer loop: dev implements, qa evaluates, repeat up to max_review_iterations"
|
|
214
|
+
},
|
|
215
|
+
"review_criteria": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"items": { "type": "string" },
|
|
218
|
+
"description": "Criteria the evaluator uses to PASS/FAIL the output (used with review_loop: true)"
|
|
219
|
+
},
|
|
220
|
+
"max_review_iterations": {
|
|
221
|
+
"type": "integer",
|
|
222
|
+
"minimum": 1,
|
|
223
|
+
"maximum": 5,
|
|
224
|
+
"default": 3,
|
|
225
|
+
"description": "Maximum dev→qa iterations before escalating to human (used with review_loop: true)"
|
|
226
|
+
},
|
|
227
|
+
"voting": {
|
|
228
|
+
"type": "object",
|
|
229
|
+
"description": "Sampling-and-Voting: run N parallel instances and reach consensus. Best for critical decisions.",
|
|
230
|
+
"properties": {
|
|
231
|
+
"instances": {
|
|
232
|
+
"type": "integer",
|
|
233
|
+
"minimum": 2,
|
|
234
|
+
"maximum": 10,
|
|
235
|
+
"default": 3,
|
|
236
|
+
"description": "Number of parallel instances to spawn"
|
|
237
|
+
},
|
|
238
|
+
"threshold": {
|
|
239
|
+
"type": "number",
|
|
240
|
+
"minimum": 0.5,
|
|
241
|
+
"maximum": 1,
|
|
242
|
+
"default": 0.66,
|
|
243
|
+
"description": "Minimum consensus fraction to accept result (0.66 = 66%)"
|
|
244
|
+
},
|
|
245
|
+
"on_no_consensus": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"enum": ["escalate", "use_majority", "fail"],
|
|
248
|
+
"default": "escalate",
|
|
249
|
+
"description": "What to do when consensus < threshold"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
202
253
|
}
|
|
203
254
|
},
|
|
204
255
|
"description": "Granular tasks within this executor, executed in order"
|
|
205
256
|
},
|
|
257
|
+
"research": {
|
|
258
|
+
"type": "object",
|
|
259
|
+
"description": "Configuration for research executor type (type: 'research')",
|
|
260
|
+
"properties": {
|
|
261
|
+
"topic": { "type": "string", "description": "Cache key / topic slug (e.g. 'youtube-shorts-2026')" },
|
|
262
|
+
"urls": {
|
|
263
|
+
"type": "array",
|
|
264
|
+
"items": { "type": "string" },
|
|
265
|
+
"description": "URLs to scrape for this research topic"
|
|
266
|
+
},
|
|
267
|
+
"cache_hours": { "type": "integer", "default": 168, "description": "Cache TTL in hours (default 168 = 7 days)" },
|
|
268
|
+
"cache_dir": { "type": "string", "default": "researchs/", "description": "Base directory for research cache" },
|
|
269
|
+
"max_sources": { "type": "integer", "default": 5, "description": "Maximum number of URLs to scrape" }
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"cross_ai": {
|
|
273
|
+
"type": "boolean",
|
|
274
|
+
"description": "If true (for reviewer type), send to multiple AI CLIs and synthesize responses"
|
|
275
|
+
},
|
|
276
|
+
"review": {
|
|
277
|
+
"type": "object",
|
|
278
|
+
"description": "Configuration for reviewer executor type",
|
|
279
|
+
"properties": {
|
|
280
|
+
"detect_clis": {
|
|
281
|
+
"type": "array",
|
|
282
|
+
"items": { "type": "string", "enum": ["claude", "gemini", "codex"] }
|
|
283
|
+
},
|
|
284
|
+
"exclude_current": { "type": "boolean", "default": true },
|
|
285
|
+
"synthesize_to": { "type": "string", "description": "Output path for REVIEWS.md" }
|
|
286
|
+
}
|
|
287
|
+
},
|
|
206
288
|
"formats": {
|
|
207
289
|
"type": "array",
|
|
208
290
|
"items": { "type": "string" },
|
|
@@ -705,5 +787,44 @@
|
|
|
705
787
|
}
|
|
706
788
|
}
|
|
707
789
|
},
|
|
790
|
+
"depends_on": {
|
|
791
|
+
"type": "array",
|
|
792
|
+
"description": "Inter-squad dependencies: this squad will consume published events from these squads before starting a run",
|
|
793
|
+
"items": {
|
|
794
|
+
"type": "object",
|
|
795
|
+
"required": ["squad", "event"],
|
|
796
|
+
"properties": {
|
|
797
|
+
"squad": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
|
|
800
|
+
"description": "Slug of the squad whose events this squad depends on"
|
|
801
|
+
},
|
|
802
|
+
"event": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"description": "Event pattern to subscribe to (e.g. 'episode.created', 'review.*', '*')"
|
|
805
|
+
},
|
|
806
|
+
"input_mapping": {
|
|
807
|
+
"type": "object",
|
|
808
|
+
"description": "Maps event payload fields to task context fields",
|
|
809
|
+
"additionalProperties": { "type": "string" }
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"hooks": {
|
|
815
|
+
"type": "object",
|
|
816
|
+
"description": "Hook scripts that gate squad execution (exit 0=allow, exit 2=deny)",
|
|
817
|
+
"properties": {
|
|
818
|
+
"pre_run": {
|
|
819
|
+
"type": "string",
|
|
820
|
+
"description": "Shell command to run before squad:autorun starts. Exit code 2 aborts the run."
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
"subscriptions": {
|
|
825
|
+
"type": "array",
|
|
826
|
+
"description": "Event patterns this squad subscribes to (consumed at the start of each autorun). Short form of depends_on[*].event.",
|
|
827
|
+
"items": { "type": "string" }
|
|
828
|
+
},
|
|
708
829
|
"additionalProperties": true
|
|
709
830
|
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aurora-command-ui
|
|
3
|
+
description: Aurora Command UI is a hybrid design system fusing command-center structure with dark glass surfaces over a mandatory aurora gradient substrate. Use it when `design_skill: aurora-command-ui` is set in project.context.md OR when the user explicitly asks for "aurora command", "dark glass dashboard", "glass command center", "aurora dark UI", "teal violet glass", "dark frosted panels", "aurora infra dashboard", or similar. Ideal for SOC platforms, AI tools, security dashboards, dev platforms, CRM with presence, and any product where operational authority and visual depth must coexist. Dark by default with a light aurora option. Do NOT use this skill unless explicitly selected.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aurora Command UI
|
|
7
|
+
|
|
8
|
+
Aurora Command UI lives at the intersection of **military-grade data command center** and **layered glass depth**. It is built from the structural DNA of Cognitive Core (mono rails, dense stat numbers, section zones, command shell) fused with the glass substrate engine of Glassmorphism (backdrop-filter surfaces, aurora gradient, luminous borders, ::before reflections).
|
|
9
|
+
|
|
10
|
+
The result: a dark glass shell where every panel reveals the aurora gradient underneath, operational data reads with precision, and the interface feels simultaneously tactical and premium.
|
|
11
|
+
|
|
12
|
+
**This is one visual system.** Never combine it with another design skill.
|
|
13
|
+
|
|
14
|
+
## Package structure
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
.aioson/skills/design/aurora-command-ui/
|
|
18
|
+
SKILL.md ← you are here (load this first)
|
|
19
|
+
references/
|
|
20
|
+
art-direction.md ← intent, 5 expression modes, signature library, anti-generic tests
|
|
21
|
+
design-tokens.md ← CSS variables dark + light, glass tokens, typography, spacing, shadows
|
|
22
|
+
components.md ← 22+ components (glass variants + command structure)
|
|
23
|
+
patterns.md ← Page layouts: aurora app shell, dashboard, detail, settings, auth, list-detail
|
|
24
|
+
dashboards.md ← 5 dashboard presets + chart palette + glass panel rules
|
|
25
|
+
websites.md ← Aurora landing page patterns, hero variants, section patterns
|
|
26
|
+
motion.md ← Animations: glass entrances, aurora-aware motion, command transitions
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Activation rules
|
|
30
|
+
|
|
31
|
+
- Apply this package **only** when `project.context.md` contains `design_skill: "aurora-command-ui"` or the user explicitly chooses it.
|
|
32
|
+
- If another design skill is selected, do **not** load this package.
|
|
33
|
+
- Never auto-select this skill — always require explicit confirmation.
|
|
34
|
+
- If no skill is set yet, the active agent must ask or confirm before applying.
|
|
35
|
+
|
|
36
|
+
## Responsibility boundary
|
|
37
|
+
|
|
38
|
+
This skill defines:
|
|
39
|
+
- Visual direction and aesthetic DNA (dark glass over aurora gradient, command structure)
|
|
40
|
+
- Design tokens (glass surfaces, accent fusion, shadows, typography, spacing, radius)
|
|
41
|
+
- Component vocabulary and anatomy (22+ components — glass shell + command mono rails)
|
|
42
|
+
- Page composition patterns (aurora substrate → glass shell → glass panels → mono section rails → content)
|
|
43
|
+
- Theme switching behavior (dark default / light aurora option)
|
|
44
|
+
|
|
45
|
+
This skill does **not** decide:
|
|
46
|
+
- Stack (React, Vue, Blade, HTML, etc.)
|
|
47
|
+
- Output format (single file, multi-file, CSS modules, Tailwind, etc.)
|
|
48
|
+
- Icon library choice
|
|
49
|
+
- Whether a theme toggle exists in the product (the agent decides)
|
|
50
|
+
- Animation library (CSS or JS — motion.md is stack-agnostic)
|
|
51
|
+
|
|
52
|
+
## Loading guide
|
|
53
|
+
|
|
54
|
+
Always load only what the current task needs:
|
|
55
|
+
|
|
56
|
+
| Task | Load |
|
|
57
|
+
|---|---|
|
|
58
|
+
| Any UI work | `references/design-tokens.md` |
|
|
59
|
+
| Reusable components | `references/design-tokens.md` + `references/components.md` |
|
|
60
|
+
| Dashboard or admin panel | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` + `references/dashboards.md` |
|
|
61
|
+
| Detail / profile page | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` |
|
|
62
|
+
| Landing page or website | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/websites.md` |
|
|
63
|
+
| Motion / animation | add `references/motion.md` when animation materially improves the result |
|
|
64
|
+
| Full UI build | all seven reference files |
|
|
65
|
+
|
|
66
|
+
## Visual signature — three pillars
|
|
67
|
+
|
|
68
|
+
1. **Aurora depth** — A dark aurora gradient (`linear-gradient(135deg, #060910 0%, #0A0818 30%, #060C1A 70%, #08060F 100%)`) is the mandatory substrate. Dark glass panels (`rgba(10,14,26,0.65)` with `backdrop-filter`) float over it, revealing the aurora below. The gradient is not decoration — it is structurally required. Remove it and the glass has nothing to reveal.
|
|
69
|
+
2. **Command authority** — Mono uppercase rails on every section. Dense stat numbers. Compact density that communicates operational mastery. The information structure feels like a mission control panel: labeled zones, one focal block per viewport, restrained accent usage.
|
|
70
|
+
3. **Teal-violet fusion** — A single accent gradient `linear-gradient(135deg, #00C8E8, #7C3AED)` used on CTAs, active states, stat numbers, borders, and glow shadows. Teal-electric (`#00C8E8`) is the operational signal. Violet (`#7C3AED`) is the highlight and CTA. They only appear as a gradient pair — never in isolation except for semantic purposes.
|
|
71
|
+
|
|
72
|
+
## Hybrid DNA
|
|
73
|
+
|
|
74
|
+
**From cognitive-core-ui (structure side):**
|
|
75
|
+
- Command center shell with mono section rails
|
|
76
|
+
- Dense stat numbers (text-4xl, tabular-nums)
|
|
77
|
+
- Top bar + sidebar + tab navigation structure
|
|
78
|
+
- Compact density system for dashboards and admin
|
|
79
|
+
- Section headers with mono labels and icon rails
|
|
80
|
+
- Sidebar active item: border-left 3px accent + elevated surface
|
|
81
|
+
|
|
82
|
+
**From glassmorphism-ui (glass side):**
|
|
83
|
+
- `backdrop-filter: blur()` on all major surfaces
|
|
84
|
+
- Aurora gradient substrate — mandatory, not decorative
|
|
85
|
+
- Luminous borders: `rgba(255,255,255,0.10)` on dark glass
|
|
86
|
+
- Top reflection `::before` on every glass card
|
|
87
|
+
- `@supports (backdrop-filter: blur(1px))` fallback always required
|
|
88
|
+
- Glass levels: shell → surface → elevated (3 distinct opacity layers)
|
|
89
|
+
|
|
90
|
+
**New in aurora-command-ui (hybrid elements):**
|
|
91
|
+
- Dark tinted glass: panels use `rgba(10,14,26,0.65)` — NOT white-transparent. The aurora shows through dark glass, not bright glass.
|
|
92
|
+
- Accent gradient on stat numbers, not just CTAs
|
|
93
|
+
- Teal-electric glow shadows: `0 0 30px rgba(0,200,232,0.12)`
|
|
94
|
+
- Aurora glow behind hero metric panels: `radial-gradient(circle at 50% 0%, rgba(0,200,232,0.08), transparent 70%)`
|
|
95
|
+
|
|
96
|
+
## Theme system
|
|
97
|
+
|
|
98
|
+
```html
|
|
99
|
+
<div data-theme="dark"> <!-- or data-theme="light" -->
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
- **Dark (default)**: All operational products — dashboards, monitoring, security, AI tools, dev platforms. The aurora gradient is deep navy + deep violet. Glass is dark tinted.
|
|
103
|
+
- **Light**: Client-facing apps, institutional variants, content-heavy pages. The aurora gradient is soft lavender-gray. Glass is white tinted.
|
|
104
|
+
|
|
105
|
+
If the user does not specify: default to **dark with a theme toggle** in the top bar.
|
|
106
|
+
|
|
107
|
+
## Visual DNA — dark theme
|
|
108
|
+
|
|
109
|
+
### Aurora substrate (mandatory)
|
|
110
|
+
```css
|
|
111
|
+
background: linear-gradient(135deg, #060910 0%, #0A0818 30%, #060C1A 70%, #08060F 100%);
|
|
112
|
+
background-attachment: fixed;
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Dark glass surfaces
|
|
116
|
+
- Shell (sidebar, top bar): `rgba(8, 12, 22, 0.75)` + `backdrop-filter: blur(24px)`
|
|
117
|
+
- Surface cards: `rgba(10, 14, 26, 0.65)` + `backdrop-filter: blur(16px)`
|
|
118
|
+
- Elevated (hover, nested): `rgba(14, 20, 36, 0.75)` + `backdrop-filter: blur(16px)`
|
|
119
|
+
|
|
120
|
+
### Accents
|
|
121
|
+
- Teal-electric: `#00C8E8` (operational signals, active states, glow)
|
|
122
|
+
- Violet: `#7C3AED` (CTAs, highlights, gradient endpoint)
|
|
123
|
+
- Accent gradient: `linear-gradient(135deg, #00C8E8, #7C3AED)`
|
|
124
|
+
- Glow shadow: `0 0 30px rgba(0,200,232,0.12), 0 8px 24px rgba(0,0,0,0.40)`
|
|
125
|
+
|
|
126
|
+
### Typography
|
|
127
|
+
- Headings: `Inter`, weight 700, `letter-spacing: -0.02em`
|
|
128
|
+
- Body: `Inter`, weight 400, `line-height: 1.6`
|
|
129
|
+
- Mono rails: `JetBrains Mono`, weight 600, uppercase, `letter-spacing: 0.12em`, `font-size: 0.675rem`
|
|
130
|
+
- Stats: `Inter`, weight 700, `font-size: var(--text-4xl)`, gradient text on hero metric
|
|
131
|
+
|
|
132
|
+
## Layout structure (aurora app shell)
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
136
|
+
│ AURORA GRADIENT BACKGROUND (substrate, fixed) │
|
|
137
|
+
│ ┌──────────────────────────────────────────────────────────┐ │
|
|
138
|
+
│ │ GLASS TOP BAR — backdrop-blur-lg, glass-shell │ │
|
|
139
|
+
│ │ [Logo] ─── [Tab Nav Center] ─── [Actions + Toggle] │ │
|
|
140
|
+
│ ├─────────────────┬────────────────────────────────────────┤ │
|
|
141
|
+
│ │ GLASS SIDEBAR │ CONTENT AREA │ │
|
|
142
|
+
│ │ 200-220px │ [MONO SECTION HEADER] │ │
|
|
143
|
+
│ │ backdrop-blur │ [GLASS STAT CARDS — aurora showing] │ │
|
|
144
|
+
│ │ glass-shell │ [GLASS DATA TABLE] │ │
|
|
145
|
+
│ │ glass-border │ [GLASS CHART CONTAINER] │ │
|
|
146
|
+
│ │ aurora visible │ │ │
|
|
147
|
+
│ │ │ │ │
|
|
148
|
+
│ └─────────────────┴────────────────────────────────────────┘ │
|
|
149
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Signature details
|
|
153
|
+
- Glass cards always have `::before` top reflection: `linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 50%)`
|
|
154
|
+
- Teal-electric bottom border on active tabs: `3px solid #00C8E8`
|
|
155
|
+
- Sidebar active item: `border-left: 3px solid var(--accent-primary)` + `background: var(--glass-elevated)`
|
|
156
|
+
- Mono section headers always precede content zones
|
|
157
|
+
- Hero stat card: gradient text on main number (`background: var(--accent-gradient); -webkit-background-clip: text`)
|
|
158
|
+
- Every glass container uses `@supports (backdrop-filter: blur(1px))` fallback
|
|
159
|
+
|
|
160
|
+
## Application rules
|
|
161
|
+
|
|
162
|
+
- Treat `references/design-tokens.md` as the source of truth for ALL tokens.
|
|
163
|
+
- Treat `references/art-direction.md` as the source of truth for expression, signature, and anti-generic decisions.
|
|
164
|
+
- The aurora gradient substrate is **non-negotiable** — never place glass panels over a solid background.
|
|
165
|
+
- Dark glass opacity must be enough to reveal the aurora. If panels are too opaque, reduce `rgba` alpha toward 0.55.
|
|
166
|
+
- Limit glass nesting to 3 levels max. Each `backdrop-filter` is a composite layer.
|
|
167
|
+
- Always include `@supports (backdrop-filter: blur(1px))` fallbacks.
|
|
168
|
+
- Mono rails are the structural backbone — use them for section headers, stat labels, and metadata rails ONLY. Do not mono-label paragraphs, nav links, or body copy.
|
|
169
|
+
- The teal-violet gradient is the single accent family. Do not introduce secondary accent colors.
|
|
170
|
+
- Never combine this package with `cognitive-core-ui`, `glassmorphism-ui`, `interface-design`, or any other design skill.
|
|
171
|
+
- Adapt code examples to the active stack. Reference snippets are design specifications, not copy-paste code.
|
|
172
|
+
- Accessibility, responsiveness, and production semantics are the agent's responsibility (not this skill).
|
|
173
|
+
|
|
174
|
+
## Intent before visuals
|
|
175
|
+
|
|
176
|
+
Before choosing layout, answer all three:
|
|
177
|
+
|
|
178
|
+
1. Who is the human using this page right now?
|
|
179
|
+
2. What is the main action or decision they must complete?
|
|
180
|
+
3. How should this interface feel in concrete words, not generic labels?
|
|
181
|
+
|
|
182
|
+
Bad answers:
|
|
183
|
+
- "for users"
|
|
184
|
+
- "manage data"
|
|
185
|
+
- "dark and cool"
|
|
186
|
+
|
|
187
|
+
Good answers:
|
|
188
|
+
- "security analyst identifying active threats during a live incident"
|
|
189
|
+
- "AI platform admin comparing agent performance across production workloads"
|
|
190
|
+
- "surgical, atmospheric, authoritative — the aurora background communicates depth, the mono rails communicate precision"
|
|
191
|
+
|
|
192
|
+
## Workflow discipline
|
|
193
|
+
|
|
194
|
+
1. Confirm the aurora gradient substrate is in place before building any component.
|
|
195
|
+
2. Choose one expression mode from `references/art-direction.md`.
|
|
196
|
+
3. Name one signature glass+command move and repeat it intentionally across the page.
|
|
197
|
+
4. Run the Glass Test: remove `backdrop-filter` from all cards — if the UI looks fine without it, glass is decorative, not structural. Fix: reduce dark glass opacity so the aurora is clearly visible behind panels.
|
|
198
|
+
5. Build from tokens first, then components, then page composition.
|
|
199
|
+
6. Validate state parity: default, hover, active, focus, disabled — all glass token transitions.
|
|
200
|
+
7. Validate contrast: dark glass surfaces must meet WCAG AA. Increase opacity on body text surfaces if needed.
|
|
201
|
+
|
|
202
|
+
## Non-negotiable quality gates
|
|
203
|
+
|
|
204
|
+
- The aurora gradient substrate is non-negotiable. No gradient = no glass system.
|
|
205
|
+
- Dark glass must reveal the aurora — opacity must stay at or below 0.75. Do not "solidify" panels.
|
|
206
|
+
- Never use saturated neon colors. Teal-electric is at the saturation limit — do not push beyond it.
|
|
207
|
+
- Never nest more than 3 glass layers (performance + visual confusion).
|
|
208
|
+
- Shadows must be tinted with teal-electric, not plain black. `rgba(0,200,232,0.12)` is the glow baseline.
|
|
209
|
+
- Fallback without `backdrop-filter` must be tested: use `rgba(8,12,22,0.95)` solid for dark, `rgba(255,255,255,0.95)` for light.
|
|
210
|
+
- Every page must pass the **Glass Test**: backdrop-blur is structural, aurora is visible behind panels.
|
|
211
|
+
- Every page must pass the **Command Test**: mono rails appear on section headers, stat labels, and metadata only — not overused.
|
|
212
|
+
- Every page must pass the **Depth Test**: squinting reveals at least 3 depth layers (substrate → glass panel → content).
|
|
213
|
+
- Sameness is failure. If the result looks like a default dark admin with blur added, iterate on composition before finishing.
|
|
214
|
+
|
|
215
|
+
## Positioning vs parent skills
|
|
216
|
+
|
|
217
|
+
| Aspect | aurora-command-ui | cognitive-core-ui | glassmorphism-ui |
|
|
218
|
+
|--------|------------------|-------------------|-----------------|
|
|
219
|
+
| Surfaces | Dark glass (rgba dark tinted) | Solid surfaces (bg-surface) | White glass (rgba light tinted) |
|
|
220
|
+
| Background | Aurora gradient (mandatory) | Solid void/base | Lavender aurora gradient |
|
|
221
|
+
| Accent | Teal-electric + Violet gradient | Teal/cyan only | Violet-blue |
|
|
222
|
+
| Default theme | Dark | Dark | Light |
|
|
223
|
+
| Depth model | Blur layers (dark) | Border/shadow depth | Blur layers (light) |
|
|
224
|
+
| Mono usage | Section rails + stats | Section rails + stats | None (uses plain sans) |
|
|
225
|
+
| Best for | SOC, AI platforms, dev tools | Command centers, SaaS | Fintech, mobile, media |
|
|
226
|
+
|
|
227
|
+
## Delivery modes
|
|
228
|
+
|
|
229
|
+
### Greenfield
|
|
230
|
+
1. Choose expression mode (Eclipse Command, Deep Analytics, Void Editorial, Quantum Workspace, Crystal Intelligence)
|
|
231
|
+
2. Establish aurora gradient background substrate first
|
|
232
|
+
3. Load relevant references
|
|
233
|
+
4. Apply token scope from `design-tokens.md` (glass tokens are the foundation)
|
|
234
|
+
5. Compose layout from `patterns.md` or `websites.md`
|
|
235
|
+
6. Build components from `components.md`
|
|
236
|
+
|
|
237
|
+
### Brownfield
|
|
238
|
+
1. Audit existing UI before rewriting
|
|
239
|
+
2. Check if the aurora gradient background can be introduced without breaking existing work
|
|
240
|
+
3. Map Aurora Command tokens onto the existing component library
|
|
241
|
+
4. Add glass surfaces progressively: start with top bar + sidebar, then cards
|
|
242
|
+
5. Consolidate duplicate variants before introducing new ones
|
|
243
|
+
6. Prefer targeted upgrades over full rewrites unless the user asks for a redesign
|