@jaimevalasek/aioson 1.7.0 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/package.json +1 -1
  3. package/src/constants.js +13 -0
  4. package/template/.aioson/agents/copywriter.md +463 -0
  5. package/template/.aioson/agents/dev.md +29 -1
  6. package/template/.aioson/agents/deyvin.md +1 -0
  7. package/template/.aioson/agents/neo.md +5 -1
  8. package/template/.aioson/agents/qa.md +101 -0
  9. package/template/.aioson/agents/setup.md +17 -1
  10. package/template/.aioson/agents/squad.md +190 -0
  11. package/template/.aioson/agents/ux-ui.md +169 -3
  12. package/template/.aioson/genomes/copywriting.md +204 -0
  13. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +2 -0
  14. package/template/.aioson/skills/marketing/references/anti-patterns.md +254 -0
  15. package/template/.aioson/skills/marketing/references/fascinations.md +192 -0
  16. package/template/.aioson/skills/marketing/references/five-acts.md +248 -0
  17. package/template/.aioson/skills/marketing/references/market-intelligence.md +198 -0
  18. package/template/.aioson/skills/marketing/references/offer-structure.md +203 -0
  19. package/template/.aioson/skills/marketing/references/one-belief.md +149 -0
  20. package/template/.aioson/skills/marketing/references/patterns.md +218 -0
  21. package/template/.aioson/skills/marketing/references/pms-research.md +193 -0
  22. package/template/.aioson/skills/marketing/vsl-craft.md +385 -0
  23. package/template/.aioson/skills/static/landing-page-deploy.md +192 -0
  24. package/template/.aioson/skills/static/landing-page-forge.md +730 -0
  25. package/template/.aioson/skills/static/ui-ux-modern.md +1 -0
  26. package/template/.aioson/tasks/squad-create.md +22 -0
  27. package/template/.aioson/tasks/squad-design.md +30 -0
  28. package/template/.aioson/templates/squads/digital-marketing-agency/template.json +96 -0
  29. package/template/CLAUDE.md +1 -0
  30. package/template/.aioson/skills/design-system/components/SKILL.md:Zone.Identifier +0 -0
  31. package/template/.aioson/skills/design-system/dashboards/SKILL.md:Zone.Identifier +0 -0
  32. package/template/.aioson/skills/design-system/foundations/SKILL.md:Zone.Identifier +0 -0
  33. package/template/.aioson/skills/design-system/motion/SKILL.md:Zone.Identifier +0 -0
  34. package/template/.aioson/skills/design-system/patterns/SKILL.md:Zone.Identifier +0 -0
@@ -60,6 +60,7 @@ For every major component, define:
60
60
  - Use motion to clarify transitions, not as decoration.
61
61
  - Keep transitions short and consistent.
62
62
  - Avoid blocking animations for critical workflows.
63
+ - For landing pages, sales pages, or event pages: load `landing-page-forge` skill — it covers GSAP/AnimeJS patterns, horizontal scroll, magnetic mouse, and the full performance + tracking checklist.
63
64
 
64
65
  ## Stack-specific guidance
65
66
  - Laravel + TALL: prefer Livewire + Alpine patterns and existing Blade components.
@@ -36,6 +36,28 @@ aioson-logs/<slug>/ # Diretório de logs
36
36
  media/<slug>/ # Diretório de mídia
37
37
  ```
38
38
 
39
+ ### Passo 2.5 — Processar UI/UX capability do blueprint
40
+
41
+ Leia o campo `uiCapability` do blueprint. Se ausente, trate como `mode: none`.
42
+
43
+ **Se `mode = skills`:**
44
+ 1. Copie `.aioson/skills/static/landing-page-forge.md` → `.aioson/squads/{slug}/skills/design/landing-page-forge.md`
45
+ 2. Copie `.aioson/skills/static/ui-ux-modern.md` → `.aioson/squads/{slug}/skills/design/ui-ux-modern.md`
46
+ 3. Se `design_skill` está em `project.context.md`, copie também esse skill para `skills/design/`
47
+ 4. Registre as skills no `squad.manifest.json`
48
+
49
+ **Se `mode = executor`:**
50
+ 1. Execute os mesmos passos de skills acima (executor depende das skills)
51
+ 2. Gere o arquivo `.aioson/squads/{slug}/agents/ui-specialist.md` usando o template do agente `@ui-specialist` definido em `squad.md` (seção "Visual & UI capability detection → Option 2")
52
+ 3. Registre o executor no `squad.manifest.json` com `modelTier: powerful` e `behavioralProfile: compliant-dominant`
53
+ 4. Adicione ao routing guide do orquestrador: "Visual / UI / layout requests → @ui-specialist"
54
+
55
+ **Se `mode = external`:** Adicione nota em `docs/design-doc.md` indicando que `@ux-ui` é chamado externamente.
56
+
57
+ **Se `mode = none`:** Nenhuma ação.
58
+
59
+ Em todos os casos, salve `uiCapability` no `squad.manifest.json`.
60
+
39
61
  ### Passo 3 — Gerar squad.manifest.json
40
62
  Monte o manifesto a partir do blueprint. O JSON deve seguir o schema `squad-manifest.schema.json`. Copie executors, skills, mcps, genomes, contentBlueprints do blueprint. Adicione package paths e rules.
41
63
 
@@ -57,6 +57,36 @@ Determine 3-5 roles especializados. Para cada executor, defina:
57
57
 
58
58
  Inclua sempre um `orquestrador`.
59
59
 
60
+ ### Passo 3.5 — Detectar e capturar UI/UX capability
61
+
62
+ Após definir executores, verifique se o squad produz output visual.
63
+
64
+ **Triggers que ativam esta detecção:**
65
+ - Output type contém: site, landing page, sales page, event page, dashboard, web app, HTML, layout, screens, interface, UI, UX
66
+ - Domain contém: marketing, agência, design, produto digital, e-commerce, funil, conversão, branding
67
+ - Goal contém: "criar página", "build a site", "fazer dashboard", "design interface", "páginas para clientes"
68
+
69
+ **Se detectado, pergunte:**
70
+ > "Este squad vai produzir output visual. Como quer incluir UI/UX?
71
+ >
72
+ > (1) Skills — instala `landing-page-forge` + `ui-ux-modern` como skills do squad (leve, executores referenciam)
73
+ > (2) Executor — adiciona `@ui-specialist` ao squad (autônomo, produz ui-spec + HTML)
74
+ > (3) Externo — sem UI no squad, chama `@ux-ui` separadamente
75
+ > (4) Pular"
76
+
77
+ **Se não detectado:** prosseguir sem UI capability (equivalente à opção 4).
78
+
79
+ **Capture a decisão no blueprint** como `uiCapability`:
80
+ ```json
81
+ "uiCapability": {
82
+ "mode": "skills | executor | external | none",
83
+ "skills": ["landing-page-forge", "ui-ux-modern"],
84
+ "executor": "ui-specialist | null"
85
+ }
86
+ ```
87
+
88
+ Se `mode = executor`, adicione `ui-specialist` à lista de executores do blueprint antes de continuar.
89
+
60
90
  ### Passo 4 — Definir content blueprints
61
91
  Se o squad é content-oriented, defina pelo menos 1 content blueprint com:
62
92
  - slug, contentType, layoutType
@@ -0,0 +1,96 @@
1
+ {
2
+ "slug": "digital-marketing-agency",
3
+ "name": "Digital Marketing Agency",
4
+ "description": "Full-stack digital marketing squad: strategy, copy, landing pages, traffic, content, performance — 8 specialized roles for end-to-end campaign execution.",
5
+ "mode": "mixed",
6
+ "uiCapability": {
7
+ "mode": "skills",
8
+ "skills": ["landing-page-forge", "ui-ux-modern"]
9
+ },
10
+ "suggestedExecutors": [
11
+ {
12
+ "slug": "estrategista",
13
+ "role": "Marketing strategist — defines campaign goals, funnel architecture, audience, and assigns tasks to specialists",
14
+ "type": "agent",
15
+ "modelTier": "powerful",
16
+ "behavioralProfile": "dominant-influential"
17
+ },
18
+ {
19
+ "slug": "copywriter",
20
+ "role": "Writes all copy — headlines, body text, CTAs, email sequences, ad copy. Copy exists before any design.",
21
+ "type": "assistant",
22
+ "modelTier": "powerful",
23
+ "behavioralProfile": "influential-expressive"
24
+ },
25
+ {
26
+ "slug": "page-builder",
27
+ "role": "Builds landing pages, sales pages, and event pages — full production stack including animations, SEO/LLMO, tracking, and performance.",
28
+ "type": "agent",
29
+ "modelTier": "powerful",
30
+ "behavioralProfile": "compliant-dominant",
31
+ "skills": ["landing-page-forge", "ui-ux-modern"]
32
+ },
33
+ {
34
+ "slug": "traffic-manager",
35
+ "role": "Manages paid traffic — Meta Ads, Google Ads. Configures Pixel, UTMs, audiences, campaign structure.",
36
+ "type": "assistant",
37
+ "modelTier": "powerful",
38
+ "behavioralProfile": "compliant-analytical"
39
+ },
40
+ {
41
+ "slug": "seo-llmo",
42
+ "role": "Handles organic discoverability — SEO strategy, on-page optimization, LLMO (LLM.txt, structured data, AI search optimization).",
43
+ "type": "assistant",
44
+ "modelTier": "balanced",
45
+ "behavioralProfile": "compliant-analytical"
46
+ },
47
+ {
48
+ "slug": "content-creator",
49
+ "role": "Creates organic content — social posts, newsletters, blog articles, video scripts aligned with campaign goals.",
50
+ "type": "assistant",
51
+ "modelTier": "powerful",
52
+ "behavioralProfile": "influential-steady"
53
+ },
54
+ {
55
+ "slug": "performance-analyst",
56
+ "role": "Analyzes metrics — conversion rates, LCP/CLS, PageSpeed, funnel drop-offs, A/B test results. Reports and recommends optimizations.",
57
+ "type": "assistant",
58
+ "modelTier": "balanced",
59
+ "behavioralProfile": "compliant-analytical"
60
+ },
61
+ {
62
+ "slug": "orquestrador",
63
+ "role": "Coordinates the agency squad — routes tasks, synthesizes outputs, ensures copy exists before design, tracking before launch.",
64
+ "type": "agent",
65
+ "modelTier": "powerful",
66
+ "behavioralProfile": "dominant-influential"
67
+ }
68
+ ],
69
+ "defaultContentBlueprint": {
70
+ "slug": "campaign-package",
71
+ "contentType": "marketing-campaign",
72
+ "layoutType": "tabs",
73
+ "sections": [
74
+ { "key": "strategy", "label": "Strategy", "blockTypes": ["rich-text"] },
75
+ { "key": "copy", "label": "Copy", "blockTypes": ["rich-text", "copy-block"] },
76
+ { "key": "page-spec", "label": "Page Spec", "blockTypes": ["rich-text"] },
77
+ { "key": "tracking", "label": "Tracking Setup", "blockTypes": ["rich-text", "copy-block"] },
78
+ { "key": "seo-llmo", "label": "SEO/LLMO", "blockTypes": ["bullet-list", "copy-block"] },
79
+ { "key": "performance", "label": "Performance Report", "blockTypes": ["rich-text", "bullet-list"] }
80
+ ]
81
+ },
82
+ "productionGates": [
83
+ {
84
+ "gate": "copy-before-design",
85
+ "rule": "Copy must be approved by @copywriter before @page-builder starts layout work"
86
+ },
87
+ {
88
+ "gate": "tracking-before-launch",
89
+ "rule": "Pixel, GTM, and UTM capture must be verified by @traffic-manager before any paid traffic is sent"
90
+ },
91
+ {
92
+ "gate": "performance-before-launch",
93
+ "rule": "PageSpeed mobile ≥ 90 and LCP < 2.5s must be verified before launch"
94
+ }
95
+ ]
96
+ }
@@ -26,6 +26,7 @@ You operate as AIOSON.
26
26
  - /neo -> `.aioson/agents/neo.md`
27
27
  - /orchestrator -> `.aioson/agents/orchestrator.md`
28
28
  - /squad -> `.aioson/agents/squad.md`
29
+ - /copywriter -> `.aioson/agents/copywriter.md`
29
30
  - /orache -> `.aioson/agents/orache.md`
30
31
  - /genome -> `.aioson/agents/genome.md`
31
32
  - /profiler-researcher -> `.aioson/agents/profiler-researcher.md`