dreamcontext 0.5.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.
Files changed (247) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +523 -0
  3. package/agents/dreamcontext-explore.md +137 -0
  4. package/agents/dreamcontext-initializer.md +169 -0
  5. package/agents/sleep-product.md +268 -0
  6. package/agents/sleep-state.md +270 -0
  7. package/agents/sleep-tasks.md +134 -0
  8. package/dist/agents/dreamcontext-explore.md +137 -0
  9. package/dist/agents/dreamcontext-initializer.md +169 -0
  10. package/dist/agents/sleep-product.md +268 -0
  11. package/dist/agents/sleep-state.md +270 -0
  12. package/dist/agents/sleep-tasks.md +134 -0
  13. package/dist/dashboard/assets/BrainCanvas3D-BLJ4_SqE.js +5126 -0
  14. package/dist/dashboard/assets/_baseUniq-DpaDAx_H.js +1 -0
  15. package/dist/dashboard/assets/arc-JvK3Ik1p.js +1 -0
  16. package/dist/dashboard/assets/architectureDiagram-Q4EWVU46-CCvw4XFg.js +36 -0
  17. package/dist/dashboard/assets/blockDiagram-DXYQGD6D-DMobz1n7.js +132 -0
  18. package/dist/dashboard/assets/c4Diagram-AHTNJAMY-FwcHT5er.js +10 -0
  19. package/dist/dashboard/assets/channel-D6954IHZ.js +1 -0
  20. package/dist/dashboard/assets/chunk-4BX2VUAB-B5kYwmBa.js +1 -0
  21. package/dist/dashboard/assets/chunk-4TB4RGXK-0ot1eS0J.js +206 -0
  22. package/dist/dashboard/assets/chunk-55IACEB6-24ngcLgH.js +1 -0
  23. package/dist/dashboard/assets/chunk-EDXVE4YY-DATt1OUl.js +1 -0
  24. package/dist/dashboard/assets/chunk-FMBD7UC4-BprbGSJw.js +15 -0
  25. package/dist/dashboard/assets/chunk-OYMX7WX6-CJJhpKWP.js +231 -0
  26. package/dist/dashboard/assets/chunk-QZHKN3VN-Cisp65Vq.js +1 -0
  27. package/dist/dashboard/assets/chunk-YZCP3GAM-DtMk33tU.js +1 -0
  28. package/dist/dashboard/assets/classDiagram-6PBFFD2Q-Bk4KDqBj.js +1 -0
  29. package/dist/dashboard/assets/classDiagram-v2-HSJHXN6E-Bk4KDqBj.js +1 -0
  30. package/dist/dashboard/assets/clone-C9Yhti5q.js +1 -0
  31. package/dist/dashboard/assets/cose-bilkent-S5V4N54A-BxYomDLe.js +1 -0
  32. package/dist/dashboard/assets/cytoscape.esm-D_LviqZs.js +331 -0
  33. package/dist/dashboard/assets/dagre-KV5264BT-CsX1ZayG.js +4 -0
  34. package/dist/dashboard/assets/defaultLocale-DX6XiGOO.js +1 -0
  35. package/dist/dashboard/assets/diagram-5BDNPKRD-B2G4mPPw.js +10 -0
  36. package/dist/dashboard/assets/diagram-G4DWMVQ6-C8nxN9ZB.js +24 -0
  37. package/dist/dashboard/assets/diagram-MMDJMWI5-DaYymOrR.js +43 -0
  38. package/dist/dashboard/assets/diagram-TYMM5635-BpiYFv-I.js +24 -0
  39. package/dist/dashboard/assets/erDiagram-SMLLAGMA-C6pE7F61.js +85 -0
  40. package/dist/dashboard/assets/flowDiagram-DWJPFMVM-jdNEPVFq.js +162 -0
  41. package/dist/dashboard/assets/ganttDiagram-T4ZO3ILL-C8GoRj1C.js +292 -0
  42. package/dist/dashboard/assets/gitGraphDiagram-UUTBAWPF-SiRn7RJ8.js +106 -0
  43. package/dist/dashboard/assets/graph-9wbTW7ld.js +1 -0
  44. package/dist/dashboard/assets/index-BHp63EMw.js +475 -0
  45. package/dist/dashboard/assets/index-CdnDt_7U.css +1 -0
  46. package/dist/dashboard/assets/infoDiagram-42DDH7IO-DcDC8M1a.js +2 -0
  47. package/dist/dashboard/assets/ishikawaDiagram-UXIWVN3A-UjyrPeaS.js +70 -0
  48. package/dist/dashboard/assets/journeyDiagram-VCZTEJTY-CXJPYMxN.js +139 -0
  49. package/dist/dashboard/assets/kanban-definition-6JOO6SKY-Cm1n9eat.js +89 -0
  50. package/dist/dashboard/assets/katex-DkKDou_j.js +257 -0
  51. package/dist/dashboard/assets/layout-w8zmQGXp.js +1 -0
  52. package/dist/dashboard/assets/linear-CMNvIisH.js +1 -0
  53. package/dist/dashboard/assets/min-BqXwiqEr.js +1 -0
  54. package/dist/dashboard/assets/mindmap-definition-QFDTVHPH-tksxnjhx.js +96 -0
  55. package/dist/dashboard/assets/pieDiagram-DEJITSTG-lIVvnPyq.js +30 -0
  56. package/dist/dashboard/assets/quadrantDiagram-34T5L4WZ-DSMB57t5.js +7 -0
  57. package/dist/dashboard/assets/requirementDiagram-MS252O5E-NG99tgmc.js +84 -0
  58. package/dist/dashboard/assets/sankeyDiagram-XADWPNL6-C6EkbQKo.js +10 -0
  59. package/dist/dashboard/assets/sequenceDiagram-FGHM5R23-ASU7Zp6_.js +157 -0
  60. package/dist/dashboard/assets/stateDiagram-FHFEXIEX-DHklUzce.js +1 -0
  61. package/dist/dashboard/assets/stateDiagram-v2-QKLJ7IA2-BZXFb2Fh.js +1 -0
  62. package/dist/dashboard/assets/timeline-definition-GMOUNBTQ-B37xNhjS.js +120 -0
  63. package/dist/dashboard/assets/vennDiagram-DHZGUBPP-D28OvWbm.js +34 -0
  64. package/dist/dashboard/assets/wardley-RL74JXVD-BQdaLyVb.js +162 -0
  65. package/dist/dashboard/assets/wardleyDiagram-NUSXRM2D-D0vChrnT.js +20 -0
  66. package/dist/dashboard/assets/xychartDiagram-5P7HB3ND-BzSx7EpJ.js +7 -0
  67. package/dist/dashboard/favicon.svg +14 -0
  68. package/dist/dashboard/index.html +18 -0
  69. package/dist/hooks/marketing-binary-guard.sh +18 -0
  70. package/dist/index.js +15881 -0
  71. package/dist/skill-packs/agents/biv-customer-analyst.md +140 -0
  72. package/dist/skill-packs/agents/biv-decision-gate.md +147 -0
  73. package/dist/skill-packs/agents/biv-financial-analyst.md +128 -0
  74. package/dist/skill-packs/agents/biv-market-analyst.md +103 -0
  75. package/dist/skill-packs/agents/biv-researcher.md +140 -0
  76. package/dist/skill-packs/agents/biv-strategist.md +164 -0
  77. package/dist/skill-packs/agents/council-persona.md +142 -0
  78. package/dist/skill-packs/agents/council-synthesizer.md +208 -0
  79. package/dist/skill-packs/agents/discover-brand.md +216 -0
  80. package/dist/skill-packs/agents/goal-implementer.md +70 -0
  81. package/dist/skill-packs/agents/goal-plan-reviewer.md +68 -0
  82. package/dist/skill-packs/agents/goal-planner.md +75 -0
  83. package/dist/skill-packs/agents/goal-validator.md +68 -0
  84. package/dist/skill-packs/agents/marketing-creative.md +85 -0
  85. package/dist/skill-packs/agents/marketing-monitor.md +143 -0
  86. package/dist/skill-packs/agents/marketing-strategy.md +139 -0
  87. package/dist/skill-packs/agents/review-cloud-functions.md +158 -0
  88. package/dist/skill-packs/agents/review-edge-cases.md +147 -0
  89. package/dist/skill-packs/agents/review-frontend.md +134 -0
  90. package/dist/skill-packs/agents/review-router.md +165 -0
  91. package/dist/skill-packs/agents/review-security.md +139 -0
  92. package/dist/skill-packs/agents/reviewer.md +152 -0
  93. package/dist/skill-packs/brand-voice/SKILL.md +115 -0
  94. package/dist/skill-packs/brand-voice/discover-brand.md +126 -0
  95. package/dist/skill-packs/brand-voice/guideline-generation.md +154 -0
  96. package/dist/skill-packs/brand-voice/references/before-after-examples.md +194 -0
  97. package/dist/skill-packs/brand-voice/references/confidence-scoring.md +128 -0
  98. package/dist/skill-packs/brand-voice/references/guideline-template.md +241 -0
  99. package/dist/skill-packs/brand-voice/references/search-strategies.md +271 -0
  100. package/dist/skill-packs/brand-voice/references/source-ranking.md +248 -0
  101. package/dist/skill-packs/brand-voice/references/voice-constant-tone-flexes.md +115 -0
  102. package/dist/skill-packs/business-idea-discovery/SKILL.md +452 -0
  103. package/dist/skill-packs/business-idea-validation/SKILL.md +209 -0
  104. package/dist/skill-packs/business-idea-validation/stage-definitions.md +658 -0
  105. package/dist/skill-packs/catalog.json +657 -0
  106. package/dist/skill-packs/council/SKILL.md +134 -0
  107. package/dist/skill-packs/council/debate-protocol.md +90 -0
  108. package/dist/skill-packs/design/SKILL.md +301 -0
  109. package/dist/skill-packs/design/design-mobile.md +207 -0
  110. package/dist/skill-packs/design/design-web.md +148 -0
  111. package/dist/skill-packs/design/frontend-principles.md +157 -0
  112. package/dist/skill-packs/design/onboarding-design.md +230 -0
  113. package/dist/skill-packs/engineering/SKILL.md +155 -0
  114. package/dist/skill-packs/engineering/backend-principles.md +233 -0
  115. package/dist/skill-packs/engineering/firebase-cloud-functions/SKILL.md +44 -0
  116. package/dist/skill-packs/engineering/firebase-cloud-functions/references/gen_comparison.md +45 -0
  117. package/dist/skill-packs/engineering/firebase-cloud-functions/references/idempotency.md +145 -0
  118. package/dist/skill-packs/engineering/firebase-cloud-functions/references/local_testing.md +218 -0
  119. package/dist/skill-packs/engineering/firebase-cloud-functions/references/scaling.md +128 -0
  120. package/dist/skill-packs/engineering/firebase-cloud-functions/references/secrets.md +70 -0
  121. package/dist/skill-packs/engineering/firebase-cloud-functions/references/triggers_and_deployment.md +139 -0
  122. package/dist/skill-packs/engineering/firebase-firestore/SKILL.md +50 -0
  123. package/dist/skill-packs/engineering/firebase-firestore/references/indexes.md +96 -0
  124. package/dist/skill-packs/engineering/firebase-firestore/references/provisioning.md +101 -0
  125. package/dist/skill-packs/engineering/firebase-firestore/references/query_mechanics.md +182 -0
  126. package/dist/skill-packs/engineering/firebase-firestore/references/security_rules.md +299 -0
  127. package/dist/skill-packs/engineering/firebase-firestore/references/web_sdk_usage.md +265 -0
  128. package/dist/skill-packs/engineering/web-app-frontend.md +187 -0
  129. package/dist/skill-packs/goal-skill/SKILL.md +203 -0
  130. package/dist/skill-packs/growth/SKILL.md +480 -0
  131. package/dist/skill-packs/growth/lean-analytics-experiments.md +341 -0
  132. package/dist/skill-packs/growth/lean-analytics-metrics.md +295 -0
  133. package/dist/skill-packs/growth/performance-marketing.md +337 -0
  134. package/dist/skill-packs/meta-marketing/SKILL.md +423 -0
  135. package/dist/skill-packs/meta-marketing/account-ops.md +190 -0
  136. package/dist/skill-packs/meta-marketing/api-reference.md +535 -0
  137. package/dist/skill-packs/meta-marketing/copy-formulas.md +123 -0
  138. package/dist/skill-packs/meta-marketing/council-personas/creative-director.md +76 -0
  139. package/dist/skill-packs/meta-marketing/council-personas/performance-monitor.md +71 -0
  140. package/dist/skill-packs/meta-marketing/council-personas/risk-officer.md +79 -0
  141. package/dist/skill-packs/meta-marketing/council-personas/strategy-optimizer.md +76 -0
  142. package/dist/skill-packs/meta-marketing/creative-frameworks.md +176 -0
  143. package/dist/skill-packs/meta-marketing/mistakes.md +154 -0
  144. package/dist/skill-packs/meta-marketing/platform-state.md +63 -0
  145. package/dist/skill-packs/multi-review/REVIEWER_SHARED.md +143 -0
  146. package/dist/skill-packs/multi-review/SKILL.md +182 -0
  147. package/dist/skill-packs/system-prompts/SKILL.md +472 -0
  148. package/dist/templates/AGENTS.md +84 -0
  149. package/dist/templates/CLAUDE.md +84 -0
  150. package/dist/templates/council-debate.md +20 -0
  151. package/dist/templates/council-final-report.md +34 -0
  152. package/dist/templates/council-persona.md +10 -0
  153. package/dist/templates/council-report.md +6 -0
  154. package/dist/templates/feature.md +38 -0
  155. package/dist/templates/init/0.soul.md +33 -0
  156. package/dist/templates/init/1.user.md +29 -0
  157. package/dist/templates/init/2.memory.md +21 -0
  158. package/dist/templates/init/3.style_guide_and_branding.md +18 -0
  159. package/dist/templates/init/4.tech_stack.md +22 -0
  160. package/dist/templates/init/CHANGELOG.json +1 -0
  161. package/dist/templates/init/RELEASES.json +1 -0
  162. package/dist/templates/init/data-structures/default.md +35 -0
  163. package/dist/templates/knowledge.md +10 -0
  164. package/dist/templates/obsidian/app.json +15 -0
  165. package/dist/templates/obsidian/appearance.json +4 -0
  166. package/dist/templates/obsidian/graph.json +58 -0
  167. package/dist/templates/task.md +70 -0
  168. package/install.sh +73 -0
  169. package/package.json +58 -0
  170. package/skill/SKILL.md +529 -0
  171. package/skill-packs/agents/biv-customer-analyst.md +140 -0
  172. package/skill-packs/agents/biv-decision-gate.md +147 -0
  173. package/skill-packs/agents/biv-financial-analyst.md +128 -0
  174. package/skill-packs/agents/biv-market-analyst.md +103 -0
  175. package/skill-packs/agents/biv-researcher.md +140 -0
  176. package/skill-packs/agents/biv-strategist.md +164 -0
  177. package/skill-packs/agents/council-persona.md +142 -0
  178. package/skill-packs/agents/council-synthesizer.md +208 -0
  179. package/skill-packs/agents/discover-brand.md +216 -0
  180. package/skill-packs/agents/goal-implementer.md +70 -0
  181. package/skill-packs/agents/goal-plan-reviewer.md +68 -0
  182. package/skill-packs/agents/goal-planner.md +75 -0
  183. package/skill-packs/agents/goal-validator.md +68 -0
  184. package/skill-packs/agents/marketing-creative.md +85 -0
  185. package/skill-packs/agents/marketing-monitor.md +143 -0
  186. package/skill-packs/agents/marketing-strategy.md +139 -0
  187. package/skill-packs/agents/review-cloud-functions.md +158 -0
  188. package/skill-packs/agents/review-edge-cases.md +147 -0
  189. package/skill-packs/agents/review-frontend.md +134 -0
  190. package/skill-packs/agents/review-router.md +165 -0
  191. package/skill-packs/agents/review-security.md +139 -0
  192. package/skill-packs/agents/reviewer.md +152 -0
  193. package/skill-packs/brand-voice/SKILL.md +115 -0
  194. package/skill-packs/brand-voice/discover-brand.md +126 -0
  195. package/skill-packs/brand-voice/guideline-generation.md +154 -0
  196. package/skill-packs/brand-voice/references/before-after-examples.md +194 -0
  197. package/skill-packs/brand-voice/references/confidence-scoring.md +128 -0
  198. package/skill-packs/brand-voice/references/guideline-template.md +241 -0
  199. package/skill-packs/brand-voice/references/search-strategies.md +271 -0
  200. package/skill-packs/brand-voice/references/source-ranking.md +248 -0
  201. package/skill-packs/brand-voice/references/voice-constant-tone-flexes.md +115 -0
  202. package/skill-packs/business-idea-discovery/SKILL.md +452 -0
  203. package/skill-packs/business-idea-validation/SKILL.md +209 -0
  204. package/skill-packs/business-idea-validation/stage-definitions.md +658 -0
  205. package/skill-packs/catalog.json +657 -0
  206. package/skill-packs/council/SKILL.md +134 -0
  207. package/skill-packs/council/debate-protocol.md +90 -0
  208. package/skill-packs/design/SKILL.md +301 -0
  209. package/skill-packs/design/design-mobile.md +207 -0
  210. package/skill-packs/design/design-web.md +148 -0
  211. package/skill-packs/design/frontend-principles.md +157 -0
  212. package/skill-packs/design/onboarding-design.md +230 -0
  213. package/skill-packs/engineering/SKILL.md +155 -0
  214. package/skill-packs/engineering/backend-principles.md +233 -0
  215. package/skill-packs/engineering/firebase-cloud-functions/SKILL.md +44 -0
  216. package/skill-packs/engineering/firebase-cloud-functions/references/gen_comparison.md +45 -0
  217. package/skill-packs/engineering/firebase-cloud-functions/references/idempotency.md +145 -0
  218. package/skill-packs/engineering/firebase-cloud-functions/references/local_testing.md +218 -0
  219. package/skill-packs/engineering/firebase-cloud-functions/references/scaling.md +128 -0
  220. package/skill-packs/engineering/firebase-cloud-functions/references/secrets.md +70 -0
  221. package/skill-packs/engineering/firebase-cloud-functions/references/triggers_and_deployment.md +139 -0
  222. package/skill-packs/engineering/firebase-firestore/SKILL.md +50 -0
  223. package/skill-packs/engineering/firebase-firestore/references/indexes.md +96 -0
  224. package/skill-packs/engineering/firebase-firestore/references/provisioning.md +101 -0
  225. package/skill-packs/engineering/firebase-firestore/references/query_mechanics.md +182 -0
  226. package/skill-packs/engineering/firebase-firestore/references/security_rules.md +299 -0
  227. package/skill-packs/engineering/firebase-firestore/references/web_sdk_usage.md +265 -0
  228. package/skill-packs/engineering/web-app-frontend.md +187 -0
  229. package/skill-packs/goal-skill/SKILL.md +203 -0
  230. package/skill-packs/growth/SKILL.md +480 -0
  231. package/skill-packs/growth/lean-analytics-experiments.md +341 -0
  232. package/skill-packs/growth/lean-analytics-metrics.md +295 -0
  233. package/skill-packs/growth/performance-marketing.md +337 -0
  234. package/skill-packs/meta-marketing/SKILL.md +423 -0
  235. package/skill-packs/meta-marketing/account-ops.md +190 -0
  236. package/skill-packs/meta-marketing/api-reference.md +535 -0
  237. package/skill-packs/meta-marketing/copy-formulas.md +123 -0
  238. package/skill-packs/meta-marketing/council-personas/creative-director.md +76 -0
  239. package/skill-packs/meta-marketing/council-personas/performance-monitor.md +71 -0
  240. package/skill-packs/meta-marketing/council-personas/risk-officer.md +79 -0
  241. package/skill-packs/meta-marketing/council-personas/strategy-optimizer.md +76 -0
  242. package/skill-packs/meta-marketing/creative-frameworks.md +176 -0
  243. package/skill-packs/meta-marketing/mistakes.md +154 -0
  244. package/skill-packs/meta-marketing/platform-state.md +63 -0
  245. package/skill-packs/multi-review/REVIEWER_SHARED.md +143 -0
  246. package/skill-packs/multi-review/SKILL.md +182 -0
  247. package/skill-packs/system-prompts/SKILL.md +472 -0
@@ -0,0 +1,115 @@
1
+ ---
2
+ description: "Load when writing emails, proposals, presentations, LinkedIn posts, sales content, pitch decks, Slack messages, or any brand-aligned content. Also triggers on 'brand voice', 'on-brand', 'enforce voice', 'write in our voice', 'make this sound like us', 'rewrite in our tone', 'discover brand materials', 'generate brand guidelines', 'brand content audit', 'style guide', 'find brand docs'. Sub-skills: discover-brand (search platforms for brand materials), guideline-generation (create structured guidelines from sources). Agent: discover-brand (autonomous platform search)."
3
+ alwaysApply: false
4
+ ruleType: "Brand Voice System"
5
+ version: "1.0"
6
+ ---
7
+
8
+ ## Sub-Skills (Read Before Specific Work)
9
+
10
+ | When you are about to... | Read first |
11
+ |--------------------------|------------|
12
+ | Search connected platforms for brand materials, run a brand content audit | `discover-brand.md` |
13
+ | Generate, create, or synthesize brand voice guidelines from documents or transcripts | `guideline-generation.md` |
14
+
15
+ ## Agent
16
+
17
+ | When you need to... | Agent name |
18
+ |---------------------|------------|
19
+ | Autonomously search enterprise platforms for brand materials | `discover-brand` |
20
+
21
+ ---
22
+
23
+ # Brand Voice Enforcement
24
+
25
+ Apply existing brand guidelines to all sales and marketing content generation. Load the project's brand guidelines, apply voice constants and tone flexes to the content request, validate output, and explain brand choices.
26
+
27
+ ## Loading Brand Guidelines
28
+
29
+ Find the project's brand guidelines using this sequence. Stop as soon as you find them:
30
+
31
+ 1. **Core file** -- Check `_dream_context/core/` for a brand voice core file (e.g., `brand_voice.md`). This is the primary location. If found, the guidelines are already part of the project context and may be auto-loaded in the snapshot.
32
+
33
+ 2. **Session context** -- Check if brand guidelines were generated earlier in this session via the guideline-generation sub-skill. If so, they are already in the conversation. Use them directly.
34
+
35
+ 3. **Ask the user** -- If none of the above found guidelines, tell the user:
36
+ "I couldn't find brand guidelines in `_dream_context/core/`. You can:
37
+ - Have me discover brand materials across your connected platforms (read `discover-brand.md`)
38
+ - Have me generate guidelines from documents or transcripts (read `guideline-generation.md`)
39
+ - Paste guidelines directly into this chat or point me to a file"
40
+
41
+ Wait for the user to provide guidelines before proceeding.
42
+
43
+ Also check the brand voice core file frontmatter for enforcement settings:
44
+ - `strictness`: strict | balanced | flexible (default: balanced)
45
+ - `always_explain`: whether to always explain brand choices (default: false)
46
+
47
+ ## Enforcement Workflow
48
+
49
+ ### 1. Analyze the Content Request
50
+
51
+ Before writing, identify:
52
+ - **Content type**: email, presentation, proposal, social post, message, etc.
53
+ - **Target audience**: role, seniority, industry, company stage
54
+ - **Key messages needed**: which message pillars apply
55
+ - **Specific requirements**: length, format, tone overrides
56
+
57
+ ### 2. Apply Voice Constants
58
+
59
+ Voice is the brand's personality -- it stays constant across all content:
60
+ - Apply "We Are / We Are Not" attributes from guidelines
61
+ - Use brand personality consistently
62
+ - Incorporate approved terminology; reject prohibited terms
63
+ - Follow messaging framework and value propositions
64
+
65
+ Refer to `references/voice-constant-tone-flexes.md` for the "voice constant, tone flexes" model.
66
+
67
+ ### 3. Flex Tone for Context
68
+
69
+ Tone adapts by content type and audience. Use the tone-by-context matrix from guidelines to set:
70
+ - **Formality**: How formal or casual should this be?
71
+ - **Energy**: How much urgency or enthusiasm?
72
+ - **Technical depth**: How detailed or accessible?
73
+
74
+ ### 4. Generate Content
75
+
76
+ Create content that:
77
+ - Matches brand voice attributes throughout
78
+ - Follows tone guidelines for this specific content type
79
+ - Incorporates key messages naturally (not forced)
80
+ - Uses preferred terminology
81
+ - Mirrors the quality and style of guideline examples
82
+
83
+ For complex or long-form content, launch the content-generation agent via the Agent tool.
84
+ For high-stakes content, launch the quality-assurance agent for validation.
85
+
86
+ ### 5. Validate and Explain
87
+
88
+ After generating content:
89
+ - Briefly highlight which brand guidelines were applied
90
+ - Explain key voice and tone decisions
91
+ - Note any areas where guidelines were adapted for context
92
+ - Offer to refine based on feedback
93
+
94
+ When `always_explain` is true in the core file frontmatter, include brand application notes with every response.
95
+
96
+ ## Handling Conflicts
97
+
98
+ When the user's request conflicts with brand guidelines:
99
+ 1. Explain the conflict clearly
100
+ 2. Provide a recommendation
101
+ 3. Offer options: follow guidelines strictly, adapt for context, or override
102
+
103
+ Default to adapting guidelines with an explanation of the tradeoff.
104
+
105
+ ## Open Questions Awareness
106
+
107
+ Open questions are unresolved brand positioning decisions flagged during guideline generation, stored in the guidelines under an "Open Questions" section. When generating content, check if the brand guidelines contain open questions:
108
+ - If content touches an unresolved open question, note it
109
+ - Apply the agent's recommendation from the open question unless the user specifies otherwise
110
+ - Suggest resolving the question if it significantly impacts the content
111
+
112
+ ## Reference Files
113
+
114
+ - **`references/voice-constant-tone-flexes.md`** -- The "voice constant, tone flexes" mental model, "We Are / We Are Not" table structure, and tone-by-context matrix explanation
115
+ - **`references/before-after-examples.md`** -- Before/after content examples per content type showing enforcement in practice
@@ -0,0 +1,126 @@
1
+ ---
2
+ name: discover-brand
3
+ description: >
4
+ This skill orchestrates autonomous discovery of brand materials across enterprise
5
+ platforms (Notion, Confluence, Google Drive, Box, SharePoint, Figma, Gong, Granola, Slack).
6
+ It should be used when the user asks to "discover brand materials",
7
+ "find brand documents", "search for brand guidelines", "audit brand content",
8
+ "what brand materials do we have", "find our style guide", "where are our brand docs",
9
+ "do we have a style guide", "discover brand voice", "brand content audit",
10
+ or "find brand assets".
11
+ ---
12
+
13
+ # Brand Discovery
14
+
15
+ Orchestrate autonomous discovery of brand materials across enterprise platforms. This skill coordinates the discover-brand agent to search connected MCP platforms (Notion, Confluence, Google Drive, Box, Microsoft 365, Figma, Gong, Granola, Slack), triage sources, and produce a structured discovery report with open questions.
16
+
17
+ ## Discovery Workflow
18
+
19
+ ### 0. Orient the User
20
+
21
+ Before starting, briefly explain what's about to happen so the user knows what to expect:
22
+
23
+ "Here's how brand discovery works:
24
+
25
+ 1. **Search** -- I'll search your connected platforms (Notion, Google Drive, Slack, etc.) for brand-related materials: style guides, pitch decks, templates, transcripts, and more.
26
+ 2. **Analyze** -- I'll categorize and rank what I find, pull the best sources, and produce a discovery report with what I found, any conflicts, and open questions.
27
+ 3. **Generate guidelines** -- Once you've reviewed the report, I can generate a structured brand voice guideline document from the results.
28
+ 4. **Save** -- Guidelines are saved as a core file in `_dream_context/core/` once you approve them. Nothing is written until that step.
29
+
30
+ The search usually takes a few minutes depending on how many platforms are connected. Ready to get started?"
31
+
32
+ Wait for the user to confirm before proceeding. If they have questions about the process, answer them first.
33
+
34
+ ### 1. Check Existing Context
35
+
36
+ Check if a brand voice core file already exists in `_dream_context/core/` (e.g., `brand_voice.md`). If it exists, read it to understand:
37
+ - Company name (from frontmatter or content)
38
+ - Which platforms were previously searched
39
+ - Any known brand material locations
40
+ - Whether this is a refresh or a first-time discovery
41
+
42
+ If no core file exists, proceed with all connected MCP platforms and standard search depth.
43
+
44
+ ### 2. Validate Platform Coverage
45
+
46
+ Before confirming scope, check which MCP platforms are actually connected and classify them:
47
+
48
+ **Document platforms** (where brand guidelines, style guides, templates, and decks live):
49
+ - Notion, Confluence, Google Drive, Box, Microsoft 365 (SharePoint/OneDrive)
50
+
51
+ **Supplementary platforms** (valuable for patterns, but not where brand docs are stored):
52
+ - Slack, Gong, Granola, Figma
53
+
54
+ Apply these rules:
55
+
56
+ 1. **If zero document platforms are connected**: **Stop.** Tell the user: "You don't have any document storage platforms connected (Google Drive, SharePoint, Notion, Confluence, or Box). Brand guidelines and style guides almost always live on one of these. Please connect at least one MCP server before running discovery. Gong/Granola/Slack transcripts are valuable supplements but unlikely to contain formal brand documents."
57
+
58
+ 2. **If no Google Drive AND no Microsoft 365 AND no Box**: **Warn** (but proceed): "None of your primary file storage platforms (Google Drive, SharePoint, Box) are connected. Brand documents frequently live on these platforms. Discovery will proceed with [connected platforms], but results may have significant gaps."
59
+
60
+ 3. **If only one platform total is connected**: **Warn** (but proceed): "Only [platform] is connected. Discovery works best with 2+ platforms for cross-source validation. Results from a single platform will have lower confidence scores."
61
+
62
+ ### 3. Confirm Scope with User
63
+
64
+ Before launching discovery, confirm:
65
+ - Which platforms to search (default: all connected)
66
+ - Whether to include conversation transcripts (Gong, Granola) or just documents
67
+ - Any known locations to prioritize
68
+
69
+ Keep this brief -- one question, not a questionnaire.
70
+
71
+ ### 4. Delegate to Discover-Brand Agent
72
+
73
+ Launch the discover-brand agent via the Agent tool. Provide:
74
+ - Company name (from context or user input)
75
+ - Enabled platforms
76
+ - Search depth
77
+ - Any known URLs or locations to check first
78
+
79
+ The agent executes the 4-phase discovery algorithm autonomously:
80
+ 1. **Broad Discovery** -- parallel searches across platforms
81
+ 2. **Source Triage** -- categorize and rank sources
82
+ 3. **Deep Fetch** -- retrieve and extract from top sources
83
+ 4. **Discovery Report** -- structured output with open questions
84
+
85
+ ### 5. Present Discovery Report
86
+
87
+ When the agent returns, present the report to the user with a summary:
88
+ - Total sources found and analyzed
89
+ - Key brand elements discovered
90
+ - Any conflicts between sources
91
+ - Open questions requiring team input
92
+
93
+ ### 6. Offer Next Steps
94
+
95
+ After presenting the report, offer:
96
+ 1. **Generate guidelines now** -- use the guideline-generation sub-skill with the discovery report as input
97
+ 2. **Resolve open questions first** -- work through high-priority questions before generating
98
+ 3. **Save report** -- store the discovery report as a knowledge file in `_dream_context/knowledge/`
99
+ 4. **Expand search** -- search additional platforms or deeper if coverage is low
100
+
101
+ ## Open Questions
102
+
103
+ Open questions arise when the discovery agent encounters ambiguity it cannot resolve:
104
+ - Conflicting documents (e.g., 2023 style guide vs. 2024 brand update)
105
+ - Missing critical sections (e.g., no social media guidelines found)
106
+ - Inconsistent terminology across platforms
107
+
108
+ Every open question includes an agent recommendation. Present questions as "confirm or override" -- not dead ends.
109
+
110
+ ## Integration with Other Skills
111
+
112
+ - **Guideline Generation**: The discovery report is returned by the discover-brand agent. Pass it directly to the guideline-generation sub-skill as structured input, replacing the need for users to manually gather sources.
113
+ - **Brand Voice Enforcement**: Once guidelines are generated from discovery and saved as a core file, enforcement loads them automatically from `_dream_context/core/`.
114
+
115
+ ## Error Handling
116
+
117
+ - If zero MCP platforms are connected, inform the user which platforms are supported and how to connect them as MCP servers.
118
+ - If all searches return empty results, flag the discovery as "low coverage" and suggest the user provide documents manually or check platform connections.
119
+ - If a platform is connected but returns permission errors, note the gap and continue with other platforms.
120
+
121
+ ## Reference Files
122
+
123
+ For detailed discovery patterns and algorithms, consult:
124
+
125
+ - **`references/search-strategies.md`** -- Platform-specific search queries, query patterns by platform, and tips for maximizing discovery coverage
126
+ - **`references/source-ranking.md`** -- Source category definitions, ranking algorithm weights, and triage decision criteria
@@ -0,0 +1,154 @@
1
+ ---
2
+ name: guideline-generation
3
+ description: >
4
+ This skill generates, creates, or builds brand voice guidelines from source
5
+ materials. It should be used when the user asks to "generate brand guidelines",
6
+ "create a style guide", "extract brand voice", "create guidelines from calls",
7
+ "consolidate brand materials", "analyze my sales calls for brand voice",
8
+ "build a brand playbook from documents", "synthesize a voice and tone guide",
9
+ or uploads brand documents, transcripts, or meeting recordings for brand
10
+ analysis. Also triggers when the user has a discovery report and wants to
11
+ convert it into actionable guidelines.
12
+ ---
13
+
14
+ # Guideline Generation
15
+
16
+ Generate comprehensive, LLM-ready brand voice guidelines from any combination of sources -- brand documents, sales call transcripts, discovery reports, or direct user input. Transform raw materials into structured, enforceable guidelines with confidence scoring and open questions.
17
+
18
+ ## Inputs
19
+
20
+ Accept any combination of:
21
+ - **Discovery report** from the discover-brand sub-skill (structured, pre-triaged)
22
+ - **Brand documents** uploaded or from connected MCP platforms (PDF, PPTX, DOCX, MD, TXT)
23
+ - **Conversation transcripts** from Gong, Granola, manual uploads, or Notion meeting notes
24
+ - **Direct user input** about their brand voice and values
25
+
26
+ When a discovery report is provided, use it as the primary input -- sources are already triaged and ranked. Supplement with additional analysis as needed.
27
+
28
+ ## Generation Workflow
29
+
30
+ ### 1. Identify and Classify Sources
31
+
32
+ Determine what the user has provided. If no sources are available:
33
+ - Check if a discovery report exists from a previous discover-brand run in this session
34
+ - Check `_dream_context/core/` for an existing brand voice core file with source references
35
+ - Check connected MCP platforms for existing materials
36
+ - Suggest running brand discovery first (read `discover-brand.md`)
37
+
38
+ ### 2. Process Sources
39
+
40
+ **For documents:** Launch the document-analysis agent for heavy parsing. Extract voice attributes, messaging themes, terminology, tone guidance, and examples.
41
+
42
+ **For transcripts:** Launch the conversation-analysis agent for pattern recognition. Extract implicit voice attributes, successful language patterns, tone by context, and anti-patterns.
43
+
44
+ **For discovery reports:** Extract pre-triaged sources, conflicts, and gaps. Use the ranked sources directly.
45
+
46
+ ### 3. Synthesize Into Guidelines
47
+
48
+ Merge all findings into a unified guideline document following the template in `references/guideline-template.md`. Key sections:
49
+
50
+ **"We Are / We Are Not" Table** -- The core brand identity anchor:
51
+
52
+ | We Are | We Are Not |
53
+ |--------|------------|
54
+ | [Attribute -- e.g., "Confident"] | [Counter -- e.g., "Arrogant"] |
55
+ | [Attribute -- e.g., "Approachable"] | [Counter -- e.g., "Casual or sloppy"] |
56
+
57
+ Derive attributes from the most consistent patterns across sources. Each row should have supporting evidence.
58
+
59
+ **Voice Constants vs. Tone Flexes** -- Clarify what stays fixed and what adapts:
60
+ - **Voice** = personality, values, "We Are / We Are Not" -- constant across all content
61
+ - **Tone** = formality, energy, technical depth -- flexes by context
62
+
63
+ **Tone-by-Context Matrix:**
64
+
65
+ | Context | Formality | Energy | Technical Depth | Example |
66
+ |---------|-----------|--------|-----------------|---------|
67
+ | Cold outreach | Medium | High | Low | "[example phrase]" |
68
+ | Enterprise proposal | High | Medium | High | "[example phrase]" |
69
+ | Social media | Low | High | Low | "[example phrase]" |
70
+
71
+ ### 4. Assign Confidence Scores
72
+
73
+ Score each section using the methodology in `references/confidence-scoring.md`:
74
+ - **High confidence**: 3+ corroborating sources, explicit guidance found
75
+ - **Medium confidence**: 1-2 sources, or inferred from patterns
76
+ - **Low confidence**: Single source, inferred, or conflicting data
77
+
78
+ ### 5. Surface Open Questions
79
+
80
+ Generate open questions for any ambiguity that cannot be resolved:
81
+
82
+ ```markdown
83
+ ## Open Questions for Team Discussion
84
+
85
+ ### High Priority (blocks guideline completion)
86
+ 1. **[Question Title]**
87
+ - What was found: [conflicting or incomplete info]
88
+ - Agent recommendation: [suggested resolution with reasoning]
89
+ - Need from you: [specific decision or confirmation needed]
90
+ ```
91
+
92
+ Every open question MUST include an agent recommendation. Turn ambiguity into "confirm or override" -- never a dead end.
93
+
94
+ ### 6. Quality Check
95
+
96
+ Before presenting, launch the quality-assurance agent to verify:
97
+ - All major sections populated (including Brand Personality and Content Examples if sources support them)
98
+ - At least 3 voice attributes with evidence
99
+ - "We Are / We Are Not" table has 4+ rows
100
+ - Tone matrix covers at least 3 contexts
101
+ - Confidence scores assigned per section
102
+ - Source attribution for all extracted elements
103
+ - No PII exposed
104
+ - Open questions include recommendations
105
+
106
+ ### 7. Present and Offer Next Steps
107
+
108
+ Summarize key findings:
109
+ - Total sections generated with confidence breakdown
110
+ - Strongest voice attribute and most effective message
111
+ - Number of open questions (if any)
112
+
113
+ ### 8. Save as Core File
114
+
115
+ Save the generated guidelines as a core file in `_dream_context/core/`. Use the next available core file slot (7+).
116
+
117
+ **File format:**
118
+ ```markdown
119
+ ---
120
+ name: brand-voice
121
+ description: "[Company] brand voice guidelines -- voice attributes, tone matrix, messaging framework, terminology"
122
+ type: extended-core
123
+ strictness: balanced
124
+ always_explain: false
125
+ generated_at: [date]
126
+ sources_analyzed: [N]
127
+ overall_confidence: [High/Medium/Low]
128
+ ---
129
+
130
+ [Generated guidelines content]
131
+ ```
132
+
133
+ **Steps:**
134
+ 1. Check if a brand voice core file already exists in `_dream_context/core/`
135
+ 2. If it exists, confirm with the user before overwriting (offer to archive the old version as a knowledge file)
136
+ 3. Save new guidelines to `_dream_context/core/` (e.g., `7.brand_voice.md`)
137
+ 4. Confirm to the user: "Brand voice guidelines saved to `_dream_context/core/7.brand_voice.md`. They'll be auto-loaded in future sessions via the snapshot."
138
+
139
+ After saving, offer:
140
+ 1. Walk through the guidelines section by section
141
+ 2. Start creating content with brand voice enforcement
142
+ 3. Resolve open questions
143
+
144
+ ## Privacy and Security
145
+
146
+ Enforce these privacy constraints throughout the entire generation workflow, not only at output time:
147
+ - Redact customer names and contact information from all examples
148
+ - Anonymize company names in transcript excerpts if requested
149
+ - Flag any sensitive information detected during processing
150
+
151
+ ## Reference Files
152
+
153
+ - **`references/guideline-template.md`** -- Complete output template with all sections, field definitions, and formatting guidance
154
+ - **`references/confidence-scoring.md`** -- Confidence scoring methodology, thresholds, and examples
@@ -0,0 +1,194 @@
1
+ # Before/After Content Examples
2
+
3
+ Concrete examples showing how brand voice enforcement transforms generic content into on-brand output. Each example shows the generic version, the enforced version, and annotations explaining what changed and why.
4
+
5
+ These examples use a fictional B2B SaaS company for illustration. During enforcement, replace all specifics (data points, product names, metrics) with data from the user's actual brand guidelines and context.
6
+
7
+ ## Cold Outreach Email
8
+
9
+ ### Before (Generic)
10
+ ```
11
+ Subject: Quick question about your sales process
12
+
13
+ Hi [Name],
14
+
15
+ I wanted to reach out because I think our product could be a great fit
16
+ for your team. We offer an AI-powered platform that helps sales teams
17
+ be more productive.
18
+
19
+ Would you be open to a quick 15-minute call to learn more?
20
+
21
+ Best,
22
+ [Sender]
23
+ ```
24
+
25
+ ### After (Brand Voice Enforced)
26
+ ```
27
+ Subject: [Company] is leaving pipeline on the table
28
+
29
+ Hi [Name],
30
+
31
+ Your team closed $12M last quarter — impressive. But our data shows
32
+ mid-market SaaS teams like yours typically lose 23% of qualified pipeline
33
+ to slow follow-ups.
34
+
35
+ [Product] fixes that. We help sales teams respond to buying signals in
36
+ real time, not hours later. [Customer X] saw their win rate jump 18%
37
+ in the first quarter.
38
+
39
+ Worth 15 minutes to see if the numbers apply to [Company]?
40
+
41
+ [Sender]
42
+ ```
43
+
44
+ ### What Changed
45
+ - **Voice: Confident** — leads with a bold claim and specific data (not "I think our product could be")
46
+ - **Voice: Data-driven** — concrete numbers (23%, 18%, $12M) replace vague "more productive"
47
+ - **Voice: Direct** — gets to the point immediately, no "I wanted to reach out"
48
+ - **Tone: Energy HIGH** — active language, short sentences, urgency
49
+ - **Tone: Formality MEDIUM** — professional but conversational
50
+ - **Tone: Technical depth LOW** — outcomes and impact, not feature descriptions
51
+ - **Terminology**: "buying signals" and "pipeline" (industry-specific but accessible to VP Sales)
52
+
53
+ ## Follow-Up Email
54
+
55
+ ### Before (Generic)
56
+ ```
57
+ Hi [Name],
58
+
59
+ Just following up on my previous email. I'd love to schedule a call
60
+ to discuss how we can help your team.
61
+
62
+ Let me know if you're available this week.
63
+
64
+ Thanks,
65
+ [Sender]
66
+ ```
67
+
68
+ ### After (Brand Voice Enforced)
69
+ ```
70
+ Hi [Name],
71
+
72
+ Quick update: we just published our Q4 benchmark report on enterprise
73
+ sales velocity. Three insights jumped out that are relevant to [Company]:
74
+
75
+ 1. Teams using real-time signals close 31% faster than the industry average
76
+ 2. The #1 pipeline killer isn't competition — it's response time
77
+ 3. Mid-market wins are trending 15% larger when reps personalize within 2 hours
78
+
79
+ Happy to walk through how these benchmarks compare to your team's numbers.
80
+ The report is attached if you'd rather dig in yourself first.
81
+
82
+ [Sender]
83
+ ```
84
+
85
+ ### What Changed
86
+ - **Voice: Data-driven** — new value in every touch (benchmark data), not just "following up"
87
+ - **Voice: Approachable** — offers two paths (call or self-serve) without pressure
88
+ - **Voice: Confident** — shares proprietary insights, positions as expert
89
+ - **Tone: Energy MEDIUM** — informative, not pushy
90
+ - **Tone: Formality MEDIUM** — professional but not stiff
91
+ - **Key principle applied**: "Add new value each touch" — no empty follow-ups
92
+
93
+ ## Enterprise Proposal Executive Summary
94
+
95
+ ### Before (Generic)
96
+ ```
97
+ We are pleased to submit this proposal for your consideration. Our
98
+ company offers a comprehensive AI solution that can help improve your
99
+ sales team's performance. We believe our platform is the best choice
100
+ for organizations looking to modernize their sales operations.
101
+ ```
102
+
103
+ ### After (Brand Voice Enforced)
104
+ ```
105
+ [Company] processes 2,400 leads per quarter with a 12-person sales team.
106
+ Current pipeline-to-close conversion sits at 18% — below the 24% benchmark
107
+ for enterprise SaaS at your ARR stage.
108
+
109
+ This proposal outlines how [Product] closes that gap. Our platform
110
+ analyzes buying signals across your existing tech stack and surfaces
111
+ the 3-5 daily actions most likely to advance each deal. Typical results:
112
+ +31% win rate, -40% time to close, 2.1x pipeline per rep.
113
+
114
+ Implementation takes 3 weeks. ROI breaks even at week 6.
115
+ ```
116
+
117
+ ### What Changed
118
+ - **Voice: Data-driven** — opens with the client's own metrics, not "we are pleased"
119
+ - **Voice: Direct** — no filler language, every sentence carries information
120
+ - **Voice: Confident** — specific outcomes with numbers, clear implementation timeline
121
+ - **Tone: Formality HIGH** — structured, precise language
122
+ - **Tone: Energy MEDIUM** — measured confidence, not hype
123
+ - **Tone: Technical depth HIGH** — specific features (buying signals, tech stack analysis), ROI math
124
+
125
+ ## LinkedIn Post
126
+
127
+ ### Before (Generic)
128
+ ```
129
+ Excited to announce our new feature! We've been working hard on this
130
+ and we think it's going to change the way sales teams work. Check out
131
+ the link below to learn more! #sales #AI #innovation
132
+ ```
133
+
134
+ ### After (Brand Voice Enforced)
135
+ ```
136
+ The average sales rep spends 4.2 hours/day on tasks that don't close deals.
137
+
138
+ We analyzed 50,000 sales activities across 200 teams and found the pattern:
139
+ top performers aren't working harder — they're responding faster.
140
+
141
+ Today we're launching Signal Score: real-time prioritization that tells
142
+ your reps exactly which deal to work next, and why.
143
+
144
+ Early results from beta: 23% fewer lost deals from delayed follow-up.
145
+
146
+ Link in comments.
147
+ ```
148
+
149
+ ### What Changed
150
+ - **Voice: Data-driven** — opens with a statistic, not "excited to announce"
151
+ - **Voice: Confident** — specific research (50,000 activities, 200 teams)
152
+ - **Voice: Innovative** — describes what's new without hype
153
+ - **Voice: NOT hype-driven** — no "change the way sales teams work", replaced with measurable outcomes
154
+ - **Tone: Formality LOW-MEDIUM** — casual enough for LinkedIn, professional enough for B2B
155
+ - **Tone: Energy HIGH** — short sentences, bold opening stat
156
+ - **Tone: Technical depth LOW** — outcomes-focused, accessible to any reader
157
+ - **Terminology**: Avoided "revolutionary" and "game-changing" (prohibited terms)
158
+
159
+ ## Internal Slack Message
160
+
161
+ ### Before (Generic)
162
+ ```
163
+ Hey team, just a reminder that we should all be using the approved
164
+ messaging when talking to prospects. Please refer to the brand
165
+ guidelines document for more information.
166
+ ```
167
+
168
+ ### After (Brand Voice Enforced)
169
+ ```
170
+ Heads up — we updated the competitive positioning section in the brand
171
+ guidelines. Two big changes:
172
+
173
+ 1. Against [Competitor]: lead with implementation speed (3 weeks vs. their 3 months)
174
+ 2. Against Status Quo: new stat — teams using manual processes lose 23% of pipeline to timing
175
+
176
+ Updated doc is pinned in #sales-enablement. Questions? Tag me.
177
+ ```
178
+
179
+ ### What Changed
180
+ - **Voice: Direct** — specific changes, not vague "please refer to"
181
+ - **Voice: Data-driven** — concrete differentiators with numbers
182
+ - **Voice: Approachable** — casual, helpful tone appropriate for Slack
183
+ - **Tone: Formality LOW** — contractions, short sentences, "tag me"
184
+ - **Tone: Energy MEDIUM** — informative without being overly enthusiastic
185
+ - **Key principle**: Internal comms can be less polished, but voice attributes still apply
186
+
187
+ ## Using These Examples
188
+
189
+ When enforcing brand voice, reference the relevant content type example to calibrate:
190
+ 1. Match the content type to the closest example above
191
+ 2. Note which voice attributes are most active for that type
192
+ 3. Apply the tone settings (formality, energy, technical depth)
193
+ 4. Check "We Are Not" boundaries — make sure content doesn't cross them
194
+ 5. Verify terminology compliance (preferred terms used, prohibited terms absent)