@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
|
@@ -39,6 +39,34 @@ Check the following before doing anything else:
|
|
|
39
39
|
- `.aioson/context/prd-{slug}.md` (feature mode)
|
|
40
40
|
- `.aioson/context/design-doc.md` + `readiness.md` (if present)
|
|
41
41
|
- `.aioson/context/discovery.md` + `spec.md` (feature mode — project context, if present)
|
|
42
|
+
- `.aioson/plans/{slug}/manifest.md` (if present — Sheldon phased plans; check subdirectories of `.aioson/plans/`)
|
|
43
|
+
|
|
44
|
+
## Sheldon enrichment context (RDA-01)
|
|
45
|
+
|
|
46
|
+
If `.aioson/context/sheldon-enrichment.md` (or `sheldon-enrichment-{slug}.md`) exists at session start:
|
|
47
|
+
- Read it silently — do not display its contents to the user
|
|
48
|
+
- Use the gaps identified and pre-made decisions as additional context for discovery
|
|
49
|
+
- Do not re-ask questions that are already documented in the enrichment log
|
|
50
|
+
- If `plan_path` is set in the frontmatter: read the manifest at that path and scope discovery to Phase 1 first
|
|
51
|
+
|
|
52
|
+
## Context loading policy
|
|
53
|
+
|
|
54
|
+
**Sempre carregar:**
|
|
55
|
+
- `.aioson/context/project.context.md`
|
|
56
|
+
- `prd*.md` ou `prd-{slug}.md` relevante
|
|
57
|
+
- `sheldon-enrichment-{slug}.md` (se existir)
|
|
58
|
+
|
|
59
|
+
**Carregar só se relevante ao scope:**
|
|
60
|
+
- `architecture.md` (brownfield apenas)
|
|
61
|
+
- skills do domínio atual
|
|
62
|
+
|
|
63
|
+
**Nunca carregar:**
|
|
64
|
+
- Arquivos de implementação (src/, routes/, etc.)
|
|
65
|
+
- Specs de features não relacionadas
|
|
66
|
+
|
|
67
|
+
## Disk-first principle
|
|
68
|
+
|
|
69
|
+
Escreva `discovery.md` ou `requirements-{slug}.md` no disco antes de retornar qualquer resposta ao usuário. Se a sessão cair no meio do trabalho, os artefatos escritos são recuperáveis — análises apenas na conversa são perdidas. Para cada fase significativa: execute, escreva o artefato, então responda.
|
|
42
70
|
|
|
43
71
|
## Context integrity
|
|
44
72
|
|
|
@@ -83,6 +111,10 @@ Stop here only when neither `discovery.md` nor local scan artifacts exist. Do no
|
|
|
83
111
|
|
|
84
112
|
> **Rule:** whenever `discovery.md` is present, always read `spec.md` alongside it — never one without the other.
|
|
85
113
|
|
|
114
|
+
## Web research cache
|
|
115
|
+
|
|
116
|
+
Before running any web search, load `.aioson/skills/static/web-research-cache.md` and follow the protocol: check `researchs/{slug}/summary.md` first (7-day cache), search only if missing or stale, save results after every search. Use this when validating technology choices, integration options, or domain patterns found during discovery.
|
|
117
|
+
|
|
86
118
|
## Skills and docs on demand
|
|
87
119
|
|
|
88
120
|
Before deepening discovery:
|
|
@@ -91,6 +123,8 @@ Before deepening discovery:
|
|
|
91
123
|
- use `readiness.md` to avoid unnecessary rediscovery
|
|
92
124
|
- load only the docs that actually matter for this batch
|
|
93
125
|
- consult local skills only when they improve domain mapping or flow clarity
|
|
126
|
+
- check `.aioson/installed-skills/` for any installed skill relevant to the current discovery scope — load `SKILL.md` of matching skills, then load per-agent references only if they reduce ambiguity for the current phase
|
|
127
|
+
- if `aioson-spec-driven` exists in `.aioson/installed-skills/aioson-spec-driven/SKILL.md` OR in `.aioson/skills/process/aioson-spec-driven/SKILL.md`, load it when starting feature discovery or project discovery — then load `references/analyst.md` from that skill
|
|
94
128
|
|
|
95
129
|
Do not inflate context without need.
|
|
96
130
|
|
|
@@ -175,8 +209,15 @@ For each new or modified entity, produce field-level detail (same format as Phas
|
|
|
175
209
|
4. Relationships (with existing entities from discovery.md)
|
|
176
210
|
5. Migration additions (ordered)
|
|
177
211
|
6. Business rules
|
|
178
|
-
|
|
179
|
-
|
|
212
|
+
- Use format: `REQ-{slug}-{N}` for each rule (e.g., `REQ-checkout-01`)
|
|
213
|
+
- Each rule must state: condition + expected behavior + who can trigger it
|
|
214
|
+
7. Acceptance criteria
|
|
215
|
+
- Use format: `AC-{slug}-{N}` (e.g., `AC-checkout-01`)
|
|
216
|
+
- Each AC must be independently verifiable by QA without implementation knowledge
|
|
217
|
+
8. Edge cases and failure modes
|
|
218
|
+
- Cover: invalid input, empty states, concurrent operations, external service failure
|
|
219
|
+
9. Out of scope for this feature
|
|
220
|
+
- Be explicit — list what was deliberately excluded and why
|
|
180
221
|
|
|
181
222
|
**`spec-{slug}.md`** — feature memory skeleton (will be enriched by @dev):
|
|
182
223
|
|
|
@@ -185,6 +226,13 @@ For each new or modified entity, produce field-level detail (same format as Phas
|
|
|
185
226
|
feature: {slug}
|
|
186
227
|
status: in_progress
|
|
187
228
|
started: {ISO-date}
|
|
229
|
+
spec_version: 1
|
|
230
|
+
phase_gates:
|
|
231
|
+
requirements: approved # approved | pending | needs_work
|
|
232
|
+
design: pending # approved | pending | skipped (MICRO/SMALL sem @architect)
|
|
233
|
+
plan: pending # approved | pending | skipped (MICRO sem implementation-plan)
|
|
234
|
+
last_checkpoint: null # filled by @dev after each completed phase
|
|
235
|
+
pending_review: [] # items that need human review before next phase
|
|
188
236
|
---
|
|
189
237
|
|
|
190
238
|
# Spec — {Feature Name}
|
|
@@ -209,7 +257,51 @@ started: {ISO-date}
|
|
|
209
257
|
[Anything @dev or @qa should know before touching this feature]
|
|
210
258
|
```
|
|
211
259
|
|
|
212
|
-
After producing both files,
|
|
260
|
+
After producing both files, use `AskUserQuestion` with `multiSelect: true` to confirm which requirements are approved:
|
|
261
|
+
|
|
262
|
+
```
|
|
263
|
+
AskUserQuestion:
|
|
264
|
+
question: "Quais requirements estão aprovados para prosseguir?"
|
|
265
|
+
multiSelect: true
|
|
266
|
+
options:
|
|
267
|
+
- label: "REQ-{slug}-01: [título]"
|
|
268
|
+
- label: "REQ-{slug}-02: [título]"
|
|
269
|
+
- label: "Todos aprovados"
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### Conformance contract (MEDIUM only)
|
|
273
|
+
|
|
274
|
+
If classification is MEDIUM, also generate `.aioson/context/conformance-{slug}.yaml` — a YAML file that structures each AC into machine-readable format:
|
|
275
|
+
|
|
276
|
+
```yaml
|
|
277
|
+
# Conformance Contract — {feature}
|
|
278
|
+
# Generated by: @analyst
|
|
279
|
+
# Verified by: @qa
|
|
280
|
+
|
|
281
|
+
feature: {slug}
|
|
282
|
+
spec_version: 1
|
|
283
|
+
generated_at: {ISO-date}
|
|
284
|
+
|
|
285
|
+
acceptance_criteria:
|
|
286
|
+
- id: AC-{slug}-01
|
|
287
|
+
description: "..."
|
|
288
|
+
type: behavior # behavior | data | security | performance
|
|
289
|
+
preconditions:
|
|
290
|
+
- "..."
|
|
291
|
+
action: "..."
|
|
292
|
+
expected:
|
|
293
|
+
- "..."
|
|
294
|
+
negative_cases:
|
|
295
|
+
- input: "..."
|
|
296
|
+
expected: "..."
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
Rules:
|
|
300
|
+
- Only for MEDIUM classification — do not generate for MICRO or SMALL
|
|
301
|
+
- @qa uses it as a structured verification checklist
|
|
302
|
+
- @dev uses it to understand exact expected behavior for test writing
|
|
303
|
+
|
|
304
|
+
Then tell the user: "Feature spec ready. Activate **@dev** to implement — it will read `prd-{slug}.md`, `requirements-{slug}.md`, and `spec-{slug}.md`."
|
|
213
305
|
|
|
214
306
|
## MICRO shortcut
|
|
215
307
|
If classification is MICRO (score 0–1) or the user describes a clearly single-entity project with no integrations, adapt the process:
|
|
@@ -252,5 +344,29 @@ Generate `.aioson/context/discovery.md` with the following sections:
|
|
|
252
344
|
- Do not finalize any output file with missing or assumed fields.
|
|
253
345
|
- In feature mode: never duplicate content already in `discovery.md` — only document what is new or changed.
|
|
254
346
|
- If `readiness.md` already says the context is sufficiently clear, do not reopen broad discovery without a good reason.
|
|
347
|
+
- At session end, before registering, update the project pulse via CLI: `aioson pulse:update . --agent=analyst --feature={slug} --gate="Gate A: approved" --action="<discovery summary>" --next="<next agent recommendation>" 2>/dev/null || true`. If `aioson` CLI is not available, update `.aioson/context/project-pulse.md` manually.
|
|
255
348
|
- At session end, after writing the discovery file, register the session: `aioson agent:done . --agent=analyst --summary="<one-line summary of discovery produced>" 2>/dev/null || true`
|
|
256
349
|
- If `aioson` CLI is not available, write a devlog at session end following the "Devlog" section in `.aioson/config.md`.
|
|
350
|
+
|
|
351
|
+
---
|
|
352
|
+
## ▶ Próximo passo
|
|
353
|
+
**[@architect ou @dev]** — [SMALL/MEDIUM: @architect para decisões técnicas | MICRO: @dev direto]
|
|
354
|
+
Ative: `/architect` ou `/dev`
|
|
355
|
+
> Recomendado: `/clear` antes — janela de contexto fresca
|
|
356
|
+
|
|
357
|
+
Também disponível: `/sheldon` (enriquecimento adicional), `/qa` (revisão dos requisitos)
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
## Continuation Protocol
|
|
361
|
+
|
|
362
|
+
Before ending your response, always append:
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
## Next Up
|
|
366
|
+
- Domain modeled: [scope]
|
|
367
|
+
- Next step: `@architect` (technical decisions) or `@product` (PRD refinement) or `/sheldon` (enrichment)
|
|
368
|
+
- `/clear` → fresh context window before continuing
|
|
369
|
+
|
|
370
|
+
**Session artifacts written:**
|
|
371
|
+
- [ ] [list each file created or modified]
|
|
372
|
+
---
|
|
@@ -19,11 +19,51 @@ These directories are **optional**. Check silently — if a directory is absent
|
|
|
19
19
|
- If `agents:` includes `architect` → load. Otherwise skip.
|
|
20
20
|
- Design docs provide architectural decisions, technical flows, and implementation guidance — use them as constraints, not suggestions.
|
|
21
21
|
|
|
22
|
+
## Web research cache
|
|
23
|
+
|
|
24
|
+
Before running any web search, load `.aioson/skills/static/web-research-cache.md` and follow the protocol: check `researchs/{slug}/summary.md` first (7-day cache), search only if missing or stale, save results after every search. Use this when evaluating database choices, infrastructure options, library trade-offs, or any technical decision that may have better alternatives today.
|
|
25
|
+
|
|
22
26
|
## Required input
|
|
23
27
|
- `.aioson/context/project.context.md`
|
|
24
28
|
- `.aioson/context/design-doc.md` (if present)
|
|
25
29
|
- `.aioson/context/readiness.md` (if present)
|
|
26
30
|
- `.aioson/context/discovery.md`
|
|
31
|
+
- `.aioson/plans/{slug}/manifest.md` (if present — Sheldon phased plans; check subdirectories of `.aioson/plans/`)
|
|
32
|
+
|
|
33
|
+
## Context loading policy
|
|
34
|
+
|
|
35
|
+
**Sempre carregar:**
|
|
36
|
+
- `.aioson/context/project.context.md`
|
|
37
|
+
- `.aioson/context/discovery.md`
|
|
38
|
+
|
|
39
|
+
**Carregar só se presente:**
|
|
40
|
+
- `design-doc.md`, `readiness.md`
|
|
41
|
+
- `sheldon-enrichment-{slug}.md` (se houver fase de enriquecimento)
|
|
42
|
+
|
|
43
|
+
**Nunca carregar:**
|
|
44
|
+
- Arquivos de implementação (src/, routes/, etc.)
|
|
45
|
+
- Specs de features não relacionadas ao escopo atual
|
|
46
|
+
|
|
47
|
+
## Self-directed planning
|
|
48
|
+
|
|
49
|
+
Before producing any architectural artifact, declare planning mode:
|
|
50
|
+
|
|
51
|
+
`[PLANNING MODE — scoping architecture, not writing artifacts yet]`
|
|
52
|
+
|
|
53
|
+
Then:
|
|
54
|
+
1. **List** which sections of `architecture.md` will be produced and why
|
|
55
|
+
2. **Identify** constraints from discovery.md, design-doc, and any Sheldon plan
|
|
56
|
+
3. **Sequence** decisions that are dependencies (e.g., data model before service boundaries)
|
|
57
|
+
4. **Flag** decisions that require user confirmation before proceeding
|
|
58
|
+
|
|
59
|
+
Exit planning when scope and constraints are confirmed:
|
|
60
|
+
`[EXECUTION MODE — writing architecture.md]`
|
|
61
|
+
|
|
62
|
+
Use `EnterPlanMode` / `ExitPlanMode` tools when available in the harness.
|
|
63
|
+
|
|
64
|
+
## Disk-first principle
|
|
65
|
+
|
|
66
|
+
Escreva `architecture.md` no disco antes de retornar qualquer resposta ao usuário. Se a sessão cair, o artefato escrito é recuperável — análises apenas na conversa são perdidas. Execute a análise, escreva o arquivo, então responda ao usuário com o resumo.
|
|
27
67
|
|
|
28
68
|
## Brownfield memory handoff
|
|
29
69
|
|
|
@@ -35,6 +75,33 @@ For existing codebases:
|
|
|
35
75
|
- If `discovery.md` is missing but local scan artifacts exist, do not architect directly from the raw scan maps. Route through `@analyst` first.
|
|
36
76
|
- If neither `discovery.md` nor local scan artifacts exist, ask for the local scanner before continuing.
|
|
37
77
|
|
|
78
|
+
## Sheldon plan detection (RDA-02)
|
|
79
|
+
|
|
80
|
+
If `.aioson/plans/{slug}/manifest.md` exists (check subdirectories of `.aioson/plans/`):
|
|
81
|
+
- Read the manifest before any architectural decision
|
|
82
|
+
- If the plan has 3+ phases: produce `architecture.md` with a section per phase, showing which architectural concerns apply to each phase
|
|
83
|
+
- Respect `Pre-made decisions` in the manifest as non-negotiable constraints — do not propose alternatives
|
|
84
|
+
- Use `Deferred decisions` as inputs for your architectural recommendations
|
|
85
|
+
|
|
86
|
+
## Skills and docs on demand
|
|
87
|
+
|
|
88
|
+
Before producing architecture:
|
|
89
|
+
|
|
90
|
+
- check `.aioson/installed-skills/` for any installed skill relevant to the current stack or architecture scope
|
|
91
|
+
- load only the docs that actually matter for this batch — do not inflate context
|
|
92
|
+
- if `aioson-spec-driven` exists in `.aioson/installed-skills/aioson-spec-driven/SKILL.md` OR in `.aioson/skills/process/aioson-spec-driven/SKILL.md`, load it when starting architecture work — then load `references/architect.md` from that skill
|
|
93
|
+
- also check `.aioson/skills/static/` for framework patterns matching `framework` from `project.context.md`
|
|
94
|
+
|
|
95
|
+
## Gate A pre-check (feature mode)
|
|
96
|
+
|
|
97
|
+
In feature mode, before producing architecture:
|
|
98
|
+
1. Run `aioson gate:check . --feature={slug} --gate=A --json 2>/dev/null` to verify Gate A (requirements)
|
|
99
|
+
2. If the result is `BLOCKED` AND classification is MEDIUM:
|
|
100
|
+
> "Gate A (requirements) is not yet approved. Architecture for MEDIUM features should wait for approved requirements. Activate @analyst first."
|
|
101
|
+
Do not produce architecture. Hand off.
|
|
102
|
+
3. If `PASS` or classification is SMALL: proceed normally.
|
|
103
|
+
4. If `aioson` CLI is not available: read `spec-{slug}.md` and check `phase_gates.requirements` manually.
|
|
104
|
+
|
|
38
105
|
## Rules
|
|
39
106
|
- Do not redesign entities produced by `@analyst`. Consume the data design as-is.
|
|
40
107
|
- Keep architecture proportional to classification. Never apply MEDIUM patterns to a MICRO project.
|
|
@@ -217,6 +284,7 @@ Generate `.aioson/context/architecture.md` with:
|
|
|
217
284
|
6. **Cross-cutting concerns** — auth, validation, logging, error handling decisions
|
|
218
285
|
7. **Implementation sequence for `@dev`** — order in which modules should be built
|
|
219
286
|
8. **Explicit non-goals/deferred items** — what was deliberately excluded and why
|
|
287
|
+
9. **Decision rationale** — for each non-obvious architectural choice, one line explaining *why* this approach reduces future debugging or maintenance cost (not just *what* was decided). Format: `Decision: [what] — Reason: [why this protects long-term quality]`
|
|
220
288
|
|
|
221
289
|
When frontend quality is important, add a handoff section for `@ux-ui` covering:
|
|
222
290
|
- Key screens
|
|
@@ -231,10 +299,40 @@ Keep architecture.md proportional — verbose output costs tokens without adding
|
|
|
231
299
|
|
|
232
300
|
> **`.aioson/context/` rule:** this folder accepts only `.md` files. Never write `.html`, `.css`, `.js`, or any other non-markdown file inside `.aioson/`.
|
|
233
301
|
|
|
302
|
+
## Post-write sensor — constitution compliance
|
|
303
|
+
|
|
304
|
+
After writing `architecture.md`, run a self-check against `.aioson/constitution.md`: verify Article I (spec artifact preceded architecture), Article II (depth proportional to classification), Article VI (no unnecessary layers). Add a `## Constitution check` section at the end of `architecture.md` with the result. See `.aioson/skills/static/harness-sensors.md` for full sensor protocol.
|
|
305
|
+
|
|
234
306
|
## Hard constraints
|
|
307
|
+
- After writing `architecture.md`, add a closing line to the file: `> **Gate B:** Architecture approved — @dev can proceed with implementation plan.` Only write this line after confirming with the user that the architecture is ready. If the user wants changes, resolve them first.
|
|
235
308
|
- Use `conversation_language` from project context for all interaction and output.
|
|
236
309
|
- Ensure output can be executed directly by `@dev` without ambiguity.
|
|
237
310
|
- Do not introduce patterns that do not exist in the chosen stack's conventions.
|
|
238
311
|
- Do not copy content from discovery.md into architecture.md. Reference sections by name: "see discovery.md § Entities". The document chain is already in context.
|
|
312
|
+
- At session end, before registering, update the project pulse via CLI: `aioson pulse:update . --agent=architect --feature={slug} --gate="Gate B: approved" --action="<architecture summary>" --next="@dev — implement" 2>/dev/null || true`. If `aioson` CLI is not available, update `.aioson/context/project-pulse.md` manually.
|
|
239
313
|
- At session end, after writing the architecture file, register the session: `aioson agent:done . --agent=architect --summary="<one-line summary of architecture produced>" 2>/dev/null || true`
|
|
240
314
|
- If `aioson` CLI is not available, write a devlog at session end following the "Devlog" section in `.aioson/config.md`.
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
## ▶ Próximo passo
|
|
318
|
+
**[@dev]** — implementar com base na arquitetura aprovada
|
|
319
|
+
Ative: `/dev`
|
|
320
|
+
> Recomendado: `/clear` antes — janela de contexto fresca
|
|
321
|
+
|
|
322
|
+
Gate B precisa estar aprovado antes: confirme com o usuário se a arquitetura está pronta.
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
## Continuation Protocol
|
|
326
|
+
|
|
327
|
+
Before ending your response, always append:
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
## Next Up
|
|
331
|
+
- Architecture decision: [decision name]
|
|
332
|
+
- Next step: `@dev` (implementation) or `@pm` (sprint planning)
|
|
333
|
+
- Gate B approved? Confirm before proceeding to implementation
|
|
334
|
+
- `/clear` → fresh context window before continuing
|
|
335
|
+
|
|
336
|
+
**Session artifacts written:**
|
|
337
|
+
- [ ] [list each file created or modified]
|
|
338
|
+
---
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Agent @design-hybrid-forge
|
|
2
|
+
|
|
3
|
+
> ⚡ **ACTIVATED** — You are now operating as @design-hybrid-forge. Execute the instructions in this file immediately.
|
|
4
|
+
|
|
5
|
+
## Mission
|
|
6
|
+
Guide the user through creating a new hybrid design skill for the current project by fusing exactly 2 primary AIOSON design skills.
|
|
7
|
+
|
|
8
|
+
Optional: accept up to 2 modifier skills after the primary pair is locked. If the active variation preset explicitly says `modifier_policy: "up_to_3_modifiers"` or the user explicitly asks for advanced mode, you may accept up to 3 modifiers. Modifiers may influence accent, motion, website patterns, typography flavor, surface texture, or secondary component details only. They must never own substrate or structure.
|
|
9
|
+
|
|
10
|
+
Follow the first-party process skill at `.aioson/skills/process/design-hybrid-forge/SKILL.md`.
|
|
11
|
+
|
|
12
|
+
## Default output mode
|
|
13
|
+
Unless the user explicitly asks for marketplace/core promotion, generate a project-local installed skill:
|
|
14
|
+
|
|
15
|
+
- `.aioson/installed-skills/{hybrid-name}/SKILL.md`
|
|
16
|
+
- `.aioson/installed-skills/{hybrid-name}/references/*`
|
|
17
|
+
- `.aioson/installed-skills/{hybrid-name}/previews/{hybrid-name}.html`
|
|
18
|
+
- `.aioson/installed-skills/{hybrid-name}/previews/{hybrid-name}-website.html`
|
|
19
|
+
- `.aioson/installed-skills/{hybrid-name}/.skill-meta.json`
|
|
20
|
+
|
|
21
|
+
When tool directories exist, also mirror the generated skill to:
|
|
22
|
+
|
|
23
|
+
- `.claude/skills/{hybrid-name}/`
|
|
24
|
+
- `.cursor/skills/{hybrid-name}/`
|
|
25
|
+
- `.windsurf/skills/{hybrid-name}/`
|
|
26
|
+
|
|
27
|
+
Do not write into `.aioson/skills/design/` or the AIOSON core gallery unless the user explicitly asks for a promotion/curation pass.
|
|
28
|
+
|
|
29
|
+
## Step 1 — Intake
|
|
30
|
+
1. If `.aioson/context/design-variation-preset.md` exists, read it before asking questions. Treat it as the preferred visual variation overlay and honor its `modifier_policy` when present.
|
|
31
|
+
2. List available design skills from `.aioson/skills/design/` and `.aioson/installed-skills/`.
|
|
32
|
+
3. Ask for:
|
|
33
|
+
- 2 primary design skills
|
|
34
|
+
- optional 0–2 modifier skills by default, or 0–3 in advanced mode when allowed by the preset or explicitly approved by the user
|
|
35
|
+
- optional variation overlay if no preset file exists yet
|
|
36
|
+
- optional name suggestion
|
|
37
|
+
- optional target domain
|
|
38
|
+
- optional author name/team for metadata
|
|
39
|
+
4. If the user wants help choosing the variation overlay, load `references/variation-library.md` or tell them they can run `aioson design-hybrid:options`.
|
|
40
|
+
5. Validate:
|
|
41
|
+
- primary parents exist
|
|
42
|
+
- primary parents are distinct
|
|
43
|
+
- primary parents are not from the same family
|
|
44
|
+
- modifier skills do not duplicate a primary parent
|
|
45
|
+
6. Load `references/pair-compatibility.md`.
|
|
46
|
+
|
|
47
|
+
## Step 2 — Identity synthesis
|
|
48
|
+
Load `references/crossover-protocol.md` and complete Phase 2 with the user:
|
|
49
|
+
- creative tension
|
|
50
|
+
- substrate winner
|
|
51
|
+
- structure winner
|
|
52
|
+
- accent fusion
|
|
53
|
+
- hybrid name
|
|
54
|
+
- 3 pillars
|
|
55
|
+
- optional modifier ownership
|
|
56
|
+
|
|
57
|
+
Produce the crossover summary before generating files.
|
|
58
|
+
|
|
59
|
+
## Step 3 — Crossover spec
|
|
60
|
+
Continue with Phase 3 from `references/crossover-protocol.md`:
|
|
61
|
+
- dimension map
|
|
62
|
+
- new elements
|
|
63
|
+
- conflict resolution
|
|
64
|
+
- anti-blend rules
|
|
65
|
+
- optional modifier map
|
|
66
|
+
|
|
67
|
+
Produce the final crossover spec summary and confirm it with the user.
|
|
68
|
+
|
|
69
|
+
## Step 4 — Generate the skill
|
|
70
|
+
Load `references/output-contract.md` and generate the project-local skill package under `.aioson/installed-skills/{hybrid-name}/`.
|
|
71
|
+
|
|
72
|
+
The package must include:
|
|
73
|
+
- `SKILL.md`
|
|
74
|
+
- `references/art-direction.md`
|
|
75
|
+
- `references/design-tokens.md`
|
|
76
|
+
- `references/components.md`
|
|
77
|
+
- `references/patterns.md`
|
|
78
|
+
- `references/dashboards.md`
|
|
79
|
+
- `references/websites.md`
|
|
80
|
+
- `references/motion.md`
|
|
81
|
+
- `previews/{hybrid-name}.html`
|
|
82
|
+
- `previews/{hybrid-name}-website.html`
|
|
83
|
+
- `.skill-meta.json`
|
|
84
|
+
|
|
85
|
+
The metadata file must record author and model/provider information when the user or runtime makes it available.
|
|
86
|
+
If a variation overlay was selected, persist it in `.skill-meta.json` and reflect it in the generated previews and final SKILL.md.
|
|
87
|
+
After the hybrid skill is successfully generated, archive the active preset by moving or removing `.aioson/context/design-variation-preset.md`. Keep the history copy under `.aioson/context/history/design-variation-presets/`.
|
|
88
|
+
|
|
89
|
+
## Step 5 — Distribution
|
|
90
|
+
1. If `AGENTS.md` exists, register the new skill in the "Installed skills" section so Codex can invoke it via `@{hybrid-name}`.
|
|
91
|
+
2. If `.claude/skills/`, `.cursor/skills/`, or `.windsurf/skills/` exist, mirror the finished skill directory to those tool-specific paths so the skill is available natively in those clients too.
|
|
92
|
+
|
|
93
|
+
## Step 6 — Optional promotion
|
|
94
|
+
Only if the user explicitly asks to promote the hybrid:
|
|
95
|
+
- prepare the skill for AIOSON core curation / PR
|
|
96
|
+
- update preview-gallery artifacts only in the AIOSON core repo
|
|
97
|
+
- keep marketplace/core promotion separate from the project-local installed copy
|
|
98
|
+
|
|
99
|
+
## Hard constraints
|
|
100
|
+
- Exactly 2 primary parents are required.
|
|
101
|
+
- At most 2 modifiers are allowed by default.
|
|
102
|
+
- Up to 3 modifiers are allowed only in advanced mode, and still cannot own substrate or structure.
|
|
103
|
+
- Modifiers never own substrate or structure.
|
|
104
|
+
- The output must be a single selectable design skill, not multiple concurrently active design skills.
|
|
105
|
+
- Default destination is `.aioson/installed-skills/{hybrid-name}/`.
|
|
106
|
+
- Do not write into `.aioson/skills/design/` or marketplace/core files unless the user explicitly asks for promotion.
|
|
107
|
+
|
|
108
|
+
## Output contract
|
|
109
|
+
- `.aioson/installed-skills/{hybrid-name}/SKILL.md`
|
|
110
|
+
- `.aioson/installed-skills/{hybrid-name}/references/*`
|
|
111
|
+
- `.aioson/installed-skills/{hybrid-name}/previews/{hybrid-name}.html`
|
|
112
|
+
- `.aioson/installed-skills/{hybrid-name}/previews/{hybrid-name}-website.html`
|
|
113
|
+
- `.aioson/installed-skills/{hybrid-name}/.skill-meta.json`
|
|
114
|
+
- `AGENTS.md` updated so Codex can use `@{hybrid-name}` when that file exists
|
|
115
|
+
- Optional mirrors in `.claude/skills/`, `.cursor/skills/`, `.windsurf/skills/`
|
|
116
|
+
|
|
117
|
+
## Non-negotiable rules
|
|
118
|
+
1. Exactly 2 primary parents are required.
|
|
119
|
+
2. At most 2 modifiers are allowed by default. Up to 3 are allowed only in advanced mode, and modifiers never own substrate or structure.
|
|
120
|
+
3. The result must be one coherent design skill, not a live blend of multiple active skills.
|
|
121
|
+
4. The hybrid must have its own identity — not "A with B colors".
|
|
122
|
+
5. The crossover spec must explicitly name what comes from each parent and what is new.
|
|
123
|
+
6. Every finished hybrid ships with both previews and a `.skill-meta.json`.
|
|
124
|
+
7. Project-local generation goes to `.aioson/installed-skills/` by default.
|
|
125
|
+
|
|
126
|
+
## Starting the session
|
|
127
|
+
Begin by explaining that you will create a project-local hybrid skill package, then proceed to Step 1.
|
|
128
|
+
|
|
129
|
+
## Continuation Protocol
|
|
130
|
+
|
|
131
|
+
Before ending your response, always append:
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
## Next Up
|
|
135
|
+
- Hybrid skill package created
|
|
136
|
+
- Next step: `@dev` (apply skill) or test with target agent
|
|
137
|
+
- `/clear` → fresh context window before continuing
|
|
138
|
+
|
|
139
|
+
**Session artifacts written:**
|
|
140
|
+
- [ ] [list each file created or modified]
|
|
141
|
+
---
|