@epiccontext/mcp 0.1.19 → 0.1.22
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/dist/cli/commands/push.d.ts +0 -1
- package/dist/cli/commands/push.d.ts.map +1 -1
- package/dist/cli/commands/push.js +6 -15
- package/dist/cli/commands/push.js.map +1 -1
- package/dist/cli/config.d.ts +1 -0
- package/dist/cli/config.d.ts.map +1 -1
- package/dist/cli/config.js +6 -0
- package/dist/cli/config.js.map +1 -1
- package/dist/cli/files.d.ts.map +1 -1
- package/dist/cli/files.js +772 -6
- package/dist/cli/files.js.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2 -3
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/push.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/push.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAuErE"}
|
|
@@ -33,9 +33,11 @@ export async function pushCommand(options) {
|
|
|
33
33
|
});
|
|
34
34
|
const spinner = ora("Pushing to EpicContext...").start();
|
|
35
35
|
try {
|
|
36
|
+
// Default to folder_wins for push - user is explicitly sending local changes to cloud
|
|
37
|
+
// Use --no-force (future option) or --timestamp for timestamp-based resolution
|
|
36
38
|
const result = await pushToCloud(client, contextPath, {
|
|
37
39
|
path: options.section,
|
|
38
|
-
conflictResolution:
|
|
40
|
+
conflictResolution: "folder_wins",
|
|
39
41
|
});
|
|
40
42
|
spinner.succeed("Push complete!");
|
|
41
43
|
console.log("");
|
|
@@ -46,20 +48,9 @@ export async function pushCommand(options) {
|
|
|
46
48
|
if (result.result.updated > 0) {
|
|
47
49
|
console.log(chalk.blue(` Updated: ${result.result.updated} block(s)`));
|
|
48
50
|
}
|
|
49
|
-
// Show skipped files with
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
console.log(chalk.gray(` Skipped: ${skipped.length} file(s) - cloud version is newer`));
|
|
53
|
-
// Show a few examples
|
|
54
|
-
const examples = skipped.slice(0, 3);
|
|
55
|
-
for (const item of examples) {
|
|
56
|
-
console.log(chalk.gray(` - ${item.path}`));
|
|
57
|
-
}
|
|
58
|
-
if (skipped.length > 3) {
|
|
59
|
-
console.log(chalk.gray(` ... and ${skipped.length - 3} more`));
|
|
60
|
-
}
|
|
61
|
-
console.log("");
|
|
62
|
-
console.log(chalk.gray(` Tip: Use ${chalk.cyan("--force")} to overwrite cloud with your local versions`));
|
|
51
|
+
// Show skipped files (should be rare with folder_wins, but can happen with parse errors)
|
|
52
|
+
if (result.result.skipped > 0) {
|
|
53
|
+
console.log(chalk.gray(` Skipped: ${result.result.skipped} file(s)`));
|
|
63
54
|
}
|
|
64
55
|
if (result.result.errors.length > 0) {
|
|
65
56
|
console.log(chalk.red(` Errors: ${result.result.errors.length}`));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"push.js","sourceRoot":"","sources":["../../../src/cli/commands/push.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"push.js","sourceRoot":"","sources":["../../../src/cli/commands/push.ts"],"names":[],"mappings":"AAAA,OAAO,KA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C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;YACnE,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;gBACzC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;YAChE,CAAC;QACH,CAAC;QACD,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC5B,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAG,KAAe,CAAC,OAAO,CAAC,CAAC;QAC7D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
package/dist/cli/config.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare function isValidProjectId(id: string): boolean;
|
|
|
10
10
|
export declare function detectInvalidProjectIdFormat(id: string): string | null;
|
|
11
11
|
/**
|
|
12
12
|
* Find the config file in current or parent directories
|
|
13
|
+
* Stops at home directory to prevent picking up stray configs
|
|
13
14
|
*/
|
|
14
15
|
export declare function findConfigPath(startDir?: string): string | null;
|
|
15
16
|
/**
|
package/dist/cli/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/cli/config.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CA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AAE,MAAM,CAAC;QACZ,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;EAOF,CAAC"}
|
package/dist/cli/config.js
CHANGED
|
@@ -61,14 +61,20 @@ const defaultConfig = {
|
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Find the config file in current or parent directories
|
|
64
|
+
* Stops at home directory to prevent picking up stray configs
|
|
64
65
|
*/
|
|
65
66
|
export function findConfigPath(startDir = process.cwd()) {
|
|
66
67
|
let currentDir = startDir;
|
|
68
|
+
const homeDir = process.env.HOME || process.env.USERPROFILE || "";
|
|
67
69
|
while (currentDir !== path.dirname(currentDir)) {
|
|
68
70
|
const configPath = path.join(currentDir, CONFIG_FILENAME);
|
|
69
71
|
if (fs.existsSync(configPath)) {
|
|
70
72
|
return configPath;
|
|
71
73
|
}
|
|
74
|
+
// Stop at home directory - don't look above it
|
|
75
|
+
if (currentDir === homeDir) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
72
78
|
currentDir = path.dirname(currentDir);
|
|
73
79
|
}
|
|
74
80
|
return null;
|
package/dist/cli/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/cli/config.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAG7B,MAAM,eAAe,GAAG,aAAa,CAAC;AAEtC;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,EAAU;IACzC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,KAAK,CAAC;IAE1C,cAAc;IACd,MAAM,SAAS,GAAG,iEAAiE,CAAC;IACpF,IAAI,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAAE,OAAO,IAAI,CAAC;IAEpC,6EAA6E;IAC7E,MAAM,SAAS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AC,WAAW,EAAE,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/cli/files.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,QAAQ,EAAE,CAmCjE;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,QAAQ,EAAE,EACjB,OAAO,GAAE,YAAiB,GACzB;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAA;CAAE,CAsC9D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAunE7D;AA4BD;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAO5D;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAOpD"}
|
package/dist/cli/files.js
CHANGED
|
@@ -181,16 +181,26 @@ Your content goes here after the frontmatter...
|
|
|
181
181
|
## Block Types by Section
|
|
182
182
|
|
|
183
183
|
### constitution/
|
|
184
|
-
- \`
|
|
184
|
+
- \`constraint\` - Technical, business, or resource constraints
|
|
185
|
+
- \`implementation_log\` - Implementation tracking for AI agents
|
|
186
|
+
- \`ai_rules\` - Rules and guidelines for AI agents
|
|
187
|
+
- \`context_guide\` - Guide for using this context
|
|
185
188
|
|
|
186
189
|
### brand/
|
|
187
|
-
- \`
|
|
188
|
-
- \`
|
|
189
|
-
- \`
|
|
190
|
+
- \`brand_positioning\` - Golden Circle (WHY/HOW/WHAT) + Positioning Statement
|
|
191
|
+
- \`brand_color_palette\` - Visual color palette with hex, RGB, and usage
|
|
192
|
+
- \`brand_typography\` - Font families with preview at all sizes
|
|
193
|
+
- \`brand_iconography\` - Icon library selection and style guide
|
|
194
|
+
- \`tone_of_voice\` - Voice archetype, tone attributes, vocabulary
|
|
195
|
+
- \`messaging_framework\` - Elevator pitch, value props, CTAs
|
|
196
|
+
- \`logo\` - Logo assets with multiple background versions
|
|
197
|
+
- \`brand_assets\` - Photography, illustrations, patterns, graphics
|
|
190
198
|
|
|
191
199
|
### product/
|
|
192
|
-
- \`
|
|
200
|
+
- \`product_overview\` - Vision, overview, strategy
|
|
193
201
|
- \`feature\` - Feature definitions
|
|
202
|
+
- \`feature_market_analysis\` - Feature competitive analysis
|
|
203
|
+
- \`swot_analysis\` - SWOT matrix
|
|
194
204
|
|
|
195
205
|
### users/
|
|
196
206
|
- \`persona\` - User personas
|
|
@@ -210,7 +220,11 @@ Your content goes here after the frontmatter...
|
|
|
210
220
|
- \`constraint\` - Technical constraints
|
|
211
221
|
|
|
212
222
|
### design-system/
|
|
213
|
-
- \`
|
|
223
|
+
- \`storybook_link\` - Protected Storybook deployment with EpicContext authentication
|
|
224
|
+
- \`figma_embed\` - Link to Figma design files
|
|
225
|
+
|
|
226
|
+
**NOTE:** A Storybook starter template is available in \`design-system/storybook/\`.
|
|
227
|
+
Copy it to a separate repository and deploy to Vercel for a protected design system.
|
|
214
228
|
|
|
215
229
|
### information-architecture/
|
|
216
230
|
- \`ia_tree\` - Information architecture tree (page hierarchy with links)
|
|
@@ -988,6 +1002,702 @@ CORRECT: Focused diagrams
|
|
|
988
1002
|
- Separate Container diagrams per major system
|
|
989
1003
|
- Component diagrams only for complex containers
|
|
990
1004
|
|
|
1005
|
+
### Brand Section Blocks
|
|
1006
|
+
|
|
1007
|
+
The brand section uses specialized visual block types that store complex data. These blocks use embedded JSON in \`sync:data\` blocks for reliable import/export.
|
|
1008
|
+
|
|
1009
|
+
#### Brand Positioning Block
|
|
1010
|
+
|
|
1011
|
+
Documents strategic brand positioning using the Golden Circle (WHY/HOW/WHAT) and Positioning Statement frameworks.
|
|
1012
|
+
|
|
1013
|
+
**Fields:**
|
|
1014
|
+
- \`brand_name\` - Your brand name
|
|
1015
|
+
- \`tagline\` - Brand slogan/tagline
|
|
1016
|
+
- \`positioning_statement\` - Structured positioning statement
|
|
1017
|
+
- \`why_purpose\` - WHY: Why does the brand exist?
|
|
1018
|
+
- \`how_approach\` - HOW: How do you deliver on your WHY?
|
|
1019
|
+
- \`what_offering\` - WHAT: What products/services do you offer?
|
|
1020
|
+
|
|
1021
|
+
**Example:**
|
|
1022
|
+
\`\`\`markdown
|
|
1023
|
+
---
|
|
1024
|
+
type: brand_positioning
|
|
1025
|
+
section: brand
|
|
1026
|
+
key: main-positioning
|
|
1027
|
+
name: Brand Positioning
|
|
1028
|
+
status: complete
|
|
1029
|
+
---
|
|
1030
|
+
|
|
1031
|
+
# Brand Positioning
|
|
1032
|
+
|
|
1033
|
+
Our strategic brand positioning defines why we exist and how we communicate value.
|
|
1034
|
+
|
|
1035
|
+
## Brand Identity
|
|
1036
|
+
|
|
1037
|
+
**Brand Name:** EpicContext
|
|
1038
|
+
**Tagline:** Context for AI, Clarity for Teams
|
|
1039
|
+
|
|
1040
|
+
## Positioning Statement
|
|
1041
|
+
|
|
1042
|
+
For **product teams who use AI coding agents**,
|
|
1043
|
+
**EpicContext** is the **context management platform**
|
|
1044
|
+
that **gives AI agents complete product understanding**
|
|
1045
|
+
unlike **scattered docs and chat conversations**,
|
|
1046
|
+
because **we structure context in AI-native formats**.
|
|
1047
|
+
|
|
1048
|
+
## Golden Circle (WHY → HOW → WHAT)
|
|
1049
|
+
|
|
1050
|
+
### WHY - The Purpose
|
|
1051
|
+
We believe AI coding agents can build better software when they truly understand the product context. We exist to bridge the gap between human knowledge and AI capability.
|
|
1052
|
+
|
|
1053
|
+
### HOW - The Unique Approach
|
|
1054
|
+
By providing structured, versioned context documentation that syncs directly to codebases and AI tools, with visual editors that make documentation effortless.
|
|
1055
|
+
|
|
1056
|
+
### WHAT - The Products/Services
|
|
1057
|
+
A SaaS platform with block-based editors for brand, product, users, and technical context, plus MCP integration for Claude and other AI agents.
|
|
1058
|
+
|
|
1059
|
+
<!-- sync:data -->
|
|
1060
|
+
\\\`\`\`json
|
|
1061
|
+
{
|
|
1062
|
+
"brand_name": "EpicContext",
|
|
1063
|
+
"tagline": "Context for AI, Clarity for Teams",
|
|
1064
|
+
"positioning_statement": {
|
|
1065
|
+
"target_market": "product teams who use AI coding agents",
|
|
1066
|
+
"category": "context management platform",
|
|
1067
|
+
"unique_benefit": "gives AI agents complete product understanding",
|
|
1068
|
+
"competitors": "scattered docs and chat conversations",
|
|
1069
|
+
"reason_to_believe": "we structure context in AI-native formats"
|
|
1070
|
+
},
|
|
1071
|
+
"why_purpose": "We believe AI coding agents can build better software when they truly understand the product context. We exist to bridge the gap between human knowledge and AI capability.",
|
|
1072
|
+
"how_approach": "By providing structured, versioned context documentation that syncs directly to codebases and AI tools, with visual editors that make documentation effortless.",
|
|
1073
|
+
"what_offering": "A SaaS platform with block-based editors for brand, product, users, and technical context, plus MCP integration for Claude and other AI agents."
|
|
1074
|
+
}
|
|
1075
|
+
\\\`\`\`
|
|
1076
|
+
<!-- /sync:data -->
|
|
1077
|
+
\`\`\`
|
|
1078
|
+
|
|
1079
|
+
---
|
|
1080
|
+
|
|
1081
|
+
#### Brand Color Palette Block
|
|
1082
|
+
|
|
1083
|
+
Visual color palette with multiple color definitions including hex, RGB, CMYK, and Pantone values.
|
|
1084
|
+
|
|
1085
|
+
**Structure:**
|
|
1086
|
+
\`\`\`json
|
|
1087
|
+
{
|
|
1088
|
+
"description": "Overview of the color palette",
|
|
1089
|
+
"palette": {
|
|
1090
|
+
"colors": [
|
|
1091
|
+
{
|
|
1092
|
+
"id": "unique-id",
|
|
1093
|
+
"name": "Color Name",
|
|
1094
|
+
"hex": "#RRGGBB",
|
|
1095
|
+
"rgb": "R, G, B",
|
|
1096
|
+
"cmyk": "C, M, Y, K",
|
|
1097
|
+
"pantone": "Pantone Code",
|
|
1098
|
+
"category": "primary|secondary|neutral|accent|semantic",
|
|
1099
|
+
"usage": "When to use this color"
|
|
1100
|
+
}
|
|
1101
|
+
]
|
|
1102
|
+
},
|
|
1103
|
+
"usage_guidelines": "General color usage guidelines"
|
|
1104
|
+
}
|
|
1105
|
+
\`\`\`
|
|
1106
|
+
|
|
1107
|
+
**Example:**
|
|
1108
|
+
\`\`\`markdown
|
|
1109
|
+
---
|
|
1110
|
+
type: brand_color_palette
|
|
1111
|
+
section: brand
|
|
1112
|
+
key: primary-colors
|
|
1113
|
+
name: Primary Brand Colors
|
|
1114
|
+
status: complete
|
|
1115
|
+
---
|
|
1116
|
+
|
|
1117
|
+
# Primary Brand Colors
|
|
1118
|
+
|
|
1119
|
+
Our primary color palette establishes brand recognition and visual hierarchy.
|
|
1120
|
+
|
|
1121
|
+
## Colors
|
|
1122
|
+
|
|
1123
|
+
### EpicContext Blue
|
|
1124
|
+
- HEX: #3B82F6
|
|
1125
|
+
- RGB: 59, 130, 246
|
|
1126
|
+
- Usage: Primary actions, links, brand elements
|
|
1127
|
+
|
|
1128
|
+
### Success Green
|
|
1129
|
+
- HEX: #22C55E
|
|
1130
|
+
- RGB: 34, 197, 94
|
|
1131
|
+
- Usage: Success states, positive actions
|
|
1132
|
+
|
|
1133
|
+
### Dark Gray
|
|
1134
|
+
- HEX: #1F2937
|
|
1135
|
+
- RGB: 31, 41, 55
|
|
1136
|
+
- Usage: Primary text, headings
|
|
1137
|
+
|
|
1138
|
+
## Usage Guidelines
|
|
1139
|
+
Use EpicContext Blue for primary CTAs and brand elements. Reserve Success Green for positive feedback only.
|
|
1140
|
+
|
|
1141
|
+
<!-- sync:data -->
|
|
1142
|
+
\\\`\`\`json
|
|
1143
|
+
{
|
|
1144
|
+
"description": "Our primary color palette establishes brand recognition and visual hierarchy.",
|
|
1145
|
+
"palette": {
|
|
1146
|
+
"colors": [
|
|
1147
|
+
{
|
|
1148
|
+
"id": "brand-blue",
|
|
1149
|
+
"name": "EpicContext Blue",
|
|
1150
|
+
"hex": "#3B82F6",
|
|
1151
|
+
"rgb": "59, 130, 246",
|
|
1152
|
+
"category": "primary",
|
|
1153
|
+
"usage": "Primary actions, links, brand elements"
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"id": "success-green",
|
|
1157
|
+
"name": "Success Green",
|
|
1158
|
+
"hex": "#22C55E",
|
|
1159
|
+
"rgb": "34, 197, 94",
|
|
1160
|
+
"category": "semantic",
|
|
1161
|
+
"usage": "Success states, positive actions"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"id": "dark-gray",
|
|
1165
|
+
"name": "Dark Gray",
|
|
1166
|
+
"hex": "#1F2937",
|
|
1167
|
+
"rgb": "31, 41, 55",
|
|
1168
|
+
"category": "neutral",
|
|
1169
|
+
"usage": "Primary text, headings"
|
|
1170
|
+
}
|
|
1171
|
+
]
|
|
1172
|
+
},
|
|
1173
|
+
"usage_guidelines": "Use EpicContext Blue for primary CTAs and brand elements. Reserve Success Green for positive feedback only."
|
|
1174
|
+
}
|
|
1175
|
+
\\\`\`\`
|
|
1176
|
+
<!-- /sync:data -->
|
|
1177
|
+
\`\`\`
|
|
1178
|
+
|
|
1179
|
+
---
|
|
1180
|
+
|
|
1181
|
+
#### Brand Typography Block
|
|
1182
|
+
|
|
1183
|
+
Typography system with font family, weights, and preview sizes.
|
|
1184
|
+
|
|
1185
|
+
**Structure:**
|
|
1186
|
+
\`\`\`json
|
|
1187
|
+
{
|
|
1188
|
+
"description": "Overview of typography choices",
|
|
1189
|
+
"typography": {
|
|
1190
|
+
"fontFamily": "Font Name",
|
|
1191
|
+
"fontRole": "primary|secondary|display|code",
|
|
1192
|
+
"fontSource": "google|adobe|system|custom",
|
|
1193
|
+
"fontSourceUrl": "URL to font",
|
|
1194
|
+
"weights": ["400", "500", "600", "700"],
|
|
1195
|
+
"styles": ["normal", "italic"],
|
|
1196
|
+
"usage": "When to use this font"
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
\`\`\`
|
|
1200
|
+
|
|
1201
|
+
**Example:**
|
|
1202
|
+
\`\`\`markdown
|
|
1203
|
+
---
|
|
1204
|
+
type: brand_typography
|
|
1205
|
+
section: brand
|
|
1206
|
+
key: primary-typography
|
|
1207
|
+
name: Primary Typography
|
|
1208
|
+
status: complete
|
|
1209
|
+
---
|
|
1210
|
+
|
|
1211
|
+
# Primary Typography
|
|
1212
|
+
|
|
1213
|
+
Our typography system uses Inter for its excellent readability and modern aesthetic.
|
|
1214
|
+
|
|
1215
|
+
## Font
|
|
1216
|
+
|
|
1217
|
+
**Family:** Inter
|
|
1218
|
+
**Role:** Primary (headings and body)
|
|
1219
|
+
**Source:** Google Fonts
|
|
1220
|
+
|
|
1221
|
+
### Weights
|
|
1222
|
+
- 400 (Regular)
|
|
1223
|
+
- 500 (Medium)
|
|
1224
|
+
- 600 (SemiBold)
|
|
1225
|
+
- 700 (Bold)
|
|
1226
|
+
|
|
1227
|
+
### Usage
|
|
1228
|
+
Use Inter for all UI text, headings, and body copy. Use 600 weight for emphasis, 700 for headings.
|
|
1229
|
+
|
|
1230
|
+
<!-- sync:data -->
|
|
1231
|
+
\\\`\`\`json
|
|
1232
|
+
{
|
|
1233
|
+
"description": "Our typography system uses Inter for its excellent readability and modern aesthetic.",
|
|
1234
|
+
"typography": {
|
|
1235
|
+
"fontFamily": "Inter",
|
|
1236
|
+
"fontRole": "primary",
|
|
1237
|
+
"fontSource": "google",
|
|
1238
|
+
"fontSourceUrl": "https://fonts.google.com/specimen/Inter",
|
|
1239
|
+
"weights": ["400", "500", "600", "700"],
|
|
1240
|
+
"styles": ["normal"],
|
|
1241
|
+
"usage": "Use Inter for all UI text, headings, and body copy. Use 600 weight for emphasis, 700 for headings."
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
\\\`\`\`
|
|
1245
|
+
<!-- /sync:data -->
|
|
1246
|
+
\`\`\`
|
|
1247
|
+
|
|
1248
|
+
---
|
|
1249
|
+
|
|
1250
|
+
#### Brand Iconography Block
|
|
1251
|
+
|
|
1252
|
+
Icon library selection with style settings and curated icon list.
|
|
1253
|
+
|
|
1254
|
+
**Structure:**
|
|
1255
|
+
\`\`\`json
|
|
1256
|
+
{
|
|
1257
|
+
"description": "Overview of iconography style",
|
|
1258
|
+
"iconography": {
|
|
1259
|
+
"library": "lucide|heroicons|phosphor|feather|custom",
|
|
1260
|
+
"style": "outline|solid|duotone",
|
|
1261
|
+
"strokeWidth": 2,
|
|
1262
|
+
"defaultSize": 24,
|
|
1263
|
+
"cornerStyle": "rounded|sharp",
|
|
1264
|
+
"selectedIcons": ["icon-name-1", "icon-name-2"],
|
|
1265
|
+
"usage": "How to use icons"
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
\`\`\`
|
|
1269
|
+
|
|
1270
|
+
**Example:**
|
|
1271
|
+
\`\`\`markdown
|
|
1272
|
+
---
|
|
1273
|
+
type: brand_iconography
|
|
1274
|
+
section: brand
|
|
1275
|
+
key: icon-system
|
|
1276
|
+
name: Icon System
|
|
1277
|
+
status: complete
|
|
1278
|
+
---
|
|
1279
|
+
|
|
1280
|
+
# Icon System
|
|
1281
|
+
|
|
1282
|
+
We use Lucide icons with consistent styling across all interfaces.
|
|
1283
|
+
|
|
1284
|
+
## Icon Library
|
|
1285
|
+
|
|
1286
|
+
**Library:** Lucide
|
|
1287
|
+
**Style:** Outline
|
|
1288
|
+
**Stroke Width:** 2px
|
|
1289
|
+
**Default Size:** 24px
|
|
1290
|
+
|
|
1291
|
+
### Selected Brand Icons
|
|
1292
|
+
- Home, Search, Settings
|
|
1293
|
+
- User, Users, Bell
|
|
1294
|
+
- File, Folder, Upload
|
|
1295
|
+
|
|
1296
|
+
### Usage Guidelines
|
|
1297
|
+
Always use outline style. Maintain 2px stroke width. Use 24px for standard UI, 20px for compact areas.
|
|
1298
|
+
|
|
1299
|
+
<!-- sync:data -->
|
|
1300
|
+
\\\`\`\`json
|
|
1301
|
+
{
|
|
1302
|
+
"description": "We use Lucide icons with consistent styling across all interfaces.",
|
|
1303
|
+
"iconography": {
|
|
1304
|
+
"library": "lucide",
|
|
1305
|
+
"style": "outline",
|
|
1306
|
+
"strokeWidth": 2,
|
|
1307
|
+
"defaultSize": 24,
|
|
1308
|
+
"cornerStyle": "rounded",
|
|
1309
|
+
"selectedIcons": ["home", "search", "settings", "user", "users", "bell", "file", "folder", "upload"],
|
|
1310
|
+
"usage": "Always use outline style. Maintain 2px stroke width. Use 24px for standard UI, 20px for compact areas."
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
\\\`\`\`
|
|
1314
|
+
<!-- /sync:data -->
|
|
1315
|
+
\`\`\`
|
|
1316
|
+
|
|
1317
|
+
---
|
|
1318
|
+
|
|
1319
|
+
#### Logo Block
|
|
1320
|
+
|
|
1321
|
+
Logo assets with multiple background versions and usage guidelines.
|
|
1322
|
+
|
|
1323
|
+
**Structure:**
|
|
1324
|
+
\`\`\`json
|
|
1325
|
+
{
|
|
1326
|
+
"description": "Overview of this logo variant",
|
|
1327
|
+
"logo": {
|
|
1328
|
+
"logoType": "primary|secondary|wordmark|icon|monochrome",
|
|
1329
|
+
"versions": [
|
|
1330
|
+
{
|
|
1331
|
+
"id": "version-id",
|
|
1332
|
+
"url": "https://storage.example.com/logo.svg",
|
|
1333
|
+
"backgroundColor": "#FFFFFF",
|
|
1334
|
+
"backgroundName": "Light Background"
|
|
1335
|
+
}
|
|
1336
|
+
],
|
|
1337
|
+
"primaryColor": "#3B82F6",
|
|
1338
|
+
"secondaryColor": "#1F2937",
|
|
1339
|
+
"minimumSize": "32px",
|
|
1340
|
+
"clearSpace": "1x logo height",
|
|
1341
|
+
"usageGuidelines": "When and how to use this logo",
|
|
1342
|
+
"donts": "What to avoid"
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
\`\`\`
|
|
1346
|
+
|
|
1347
|
+
**Example:**
|
|
1348
|
+
\`\`\`markdown
|
|
1349
|
+
---
|
|
1350
|
+
type: logo
|
|
1351
|
+
section: brand
|
|
1352
|
+
key: primary-logo
|
|
1353
|
+
name: Primary Logo
|
|
1354
|
+
status: complete
|
|
1355
|
+
---
|
|
1356
|
+
|
|
1357
|
+
# Primary Logo
|
|
1358
|
+
|
|
1359
|
+
Our primary logo for use across all brand touchpoints.
|
|
1360
|
+
|
|
1361
|
+
## Description
|
|
1362
|
+
The primary EpicContext logo combines the mark with the wordmark for maximum brand recognition.
|
|
1363
|
+
|
|
1364
|
+
## Logo Versions
|
|
1365
|
+
|
|
1366
|
+
### Light Background (#FFFFFF)
|
|
1367
|
+
[Logo image on white background]
|
|
1368
|
+
|
|
1369
|
+
### Dark Background (#1A1A1A)
|
|
1370
|
+
[Logo image on dark background]
|
|
1371
|
+
|
|
1372
|
+
## Logo Colors
|
|
1373
|
+
- Primary: #3B82F6
|
|
1374
|
+
- Secondary: #1F2937
|
|
1375
|
+
|
|
1376
|
+
## Sizing
|
|
1377
|
+
- Minimum Size: 32px height
|
|
1378
|
+
- Clear Space: 1x logo height around all sides
|
|
1379
|
+
|
|
1380
|
+
## Usage Guidelines
|
|
1381
|
+
Use the full logo on marketing materials, website headers, and official documents. Use the icon only where space is limited.
|
|
1382
|
+
|
|
1383
|
+
## Don't
|
|
1384
|
+
- Don't stretch or distort the logo
|
|
1385
|
+
- Don't change the colors
|
|
1386
|
+
- Don't place on busy backgrounds
|
|
1387
|
+
- Don't add effects or shadows
|
|
1388
|
+
|
|
1389
|
+
<!-- sync:data -->
|
|
1390
|
+
\\\`\`\`json
|
|
1391
|
+
{
|
|
1392
|
+
"description": "The primary EpicContext logo combines the mark with the wordmark for maximum brand recognition.",
|
|
1393
|
+
"logo": {
|
|
1394
|
+
"logoType": "primary",
|
|
1395
|
+
"versions": [
|
|
1396
|
+
{
|
|
1397
|
+
"id": "light",
|
|
1398
|
+
"url": "",
|
|
1399
|
+
"backgroundColor": "#FFFFFF",
|
|
1400
|
+
"backgroundName": "Light Background"
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"id": "dark",
|
|
1404
|
+
"url": "",
|
|
1405
|
+
"backgroundColor": "#1A1A1A",
|
|
1406
|
+
"backgroundName": "Dark Background"
|
|
1407
|
+
}
|
|
1408
|
+
],
|
|
1409
|
+
"primaryColor": "#3B82F6",
|
|
1410
|
+
"secondaryColor": "#1F2937",
|
|
1411
|
+
"minimumSize": "32px",
|
|
1412
|
+
"clearSpace": "1x logo height",
|
|
1413
|
+
"usageGuidelines": "Use the full logo on marketing materials, website headers, and official documents. Use the icon only where space is limited.",
|
|
1414
|
+
"donts": "Don't stretch or distort the logo. Don't change the colors. Don't place on busy backgrounds. Don't add effects or shadows."
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
\\\`\`\`
|
|
1418
|
+
<!-- /sync:data -->
|
|
1419
|
+
\`\`\`
|
|
1420
|
+
|
|
1421
|
+
---
|
|
1422
|
+
|
|
1423
|
+
#### Brand Assets Block
|
|
1424
|
+
|
|
1425
|
+
Visual assets library for photography, illustrations, patterns, and other brand graphics.
|
|
1426
|
+
|
|
1427
|
+
**Structure:**
|
|
1428
|
+
\`\`\`json
|
|
1429
|
+
{
|
|
1430
|
+
"name": "Collection Name",
|
|
1431
|
+
"description": "Overview of this asset collection",
|
|
1432
|
+
"assets": {
|
|
1433
|
+
"assets": [
|
|
1434
|
+
{
|
|
1435
|
+
"id": "unique-id",
|
|
1436
|
+
"category": "photography|illustration|pattern|texture|icon|graphic|template|background|other",
|
|
1437
|
+
"url": "https://storage.example.com/asset.jpg",
|
|
1438
|
+
"name": "Asset Name",
|
|
1439
|
+
"backgroundColor": "#F5F5F5",
|
|
1440
|
+
"description": "Asset description"
|
|
1441
|
+
}
|
|
1442
|
+
],
|
|
1443
|
+
"sizes": [
|
|
1444
|
+
{ "name": "Full", "size": 200 },
|
|
1445
|
+
{ "name": "Large", "size": 120 },
|
|
1446
|
+
{ "name": "Medium", "size": 64 },
|
|
1447
|
+
{ "name": "Small", "size": 32 }
|
|
1448
|
+
],
|
|
1449
|
+
"dos": "Best practices for using these assets",
|
|
1450
|
+
"donts": "What to avoid",
|
|
1451
|
+
"guidelines": "General usage guidelines"
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
\`\`\`
|
|
1455
|
+
|
|
1456
|
+
**Example:**
|
|
1457
|
+
\`\`\`markdown
|
|
1458
|
+
---
|
|
1459
|
+
type: brand_assets
|
|
1460
|
+
section: brand
|
|
1461
|
+
key: photography-library
|
|
1462
|
+
name: Photography Library
|
|
1463
|
+
status: draft
|
|
1464
|
+
---
|
|
1465
|
+
|
|
1466
|
+
# Photography Library
|
|
1467
|
+
|
|
1468
|
+
Our curated photography collection for marketing and product materials.
|
|
1469
|
+
|
|
1470
|
+
## Description
|
|
1471
|
+
Professional photography that reflects our brand values of clarity, professionalism, and innovation.
|
|
1472
|
+
|
|
1473
|
+
## Assets
|
|
1474
|
+
|
|
1475
|
+
### photography: Hero Image 1
|
|
1476
|
+
[Product screenshot showing the dashboard]
|
|
1477
|
+
Clean workspace photography showing our app in use.
|
|
1478
|
+
|
|
1479
|
+
### photography: Team Collaboration
|
|
1480
|
+
[Team working together]
|
|
1481
|
+
Diverse team collaborating in a modern office setting.
|
|
1482
|
+
|
|
1483
|
+
## Do's
|
|
1484
|
+
- Use high-resolution images (minimum 1200px wide)
|
|
1485
|
+
- Maintain consistent lighting and color grading
|
|
1486
|
+
- Show real product interfaces when possible
|
|
1487
|
+
- Feature diverse representation
|
|
1488
|
+
|
|
1489
|
+
## Don'ts
|
|
1490
|
+
- Don't use overly staged or stock-looking photos
|
|
1491
|
+
- Don't apply heavy filters that alter brand colors
|
|
1492
|
+
- Don't use outdated product screenshots
|
|
1493
|
+
- Don't crop faces awkwardly
|
|
1494
|
+
|
|
1495
|
+
## Guidelines
|
|
1496
|
+
All photography should feel authentic and professional. Prefer candid moments over posed shots. Ensure proper model releases for any identifiable people.
|
|
1497
|
+
|
|
1498
|
+
<!-- sync:data -->
|
|
1499
|
+
\\\`\`\`json
|
|
1500
|
+
{
|
|
1501
|
+
"name": "Photography Library",
|
|
1502
|
+
"description": "Professional photography that reflects our brand values of clarity, professionalism, and innovation.",
|
|
1503
|
+
"assets": {
|
|
1504
|
+
"assets": [
|
|
1505
|
+
{
|
|
1506
|
+
"id": "hero-1",
|
|
1507
|
+
"category": "photography",
|
|
1508
|
+
"url": "",
|
|
1509
|
+
"name": "Hero Image 1",
|
|
1510
|
+
"backgroundColor": "#F5F5F5",
|
|
1511
|
+
"description": "Clean workspace photography showing our app in use."
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"id": "team-collab",
|
|
1515
|
+
"category": "photography",
|
|
1516
|
+
"url": "",
|
|
1517
|
+
"name": "Team Collaboration",
|
|
1518
|
+
"backgroundColor": "#F5F5F5",
|
|
1519
|
+
"description": "Diverse team collaborating in a modern office setting."
|
|
1520
|
+
}
|
|
1521
|
+
],
|
|
1522
|
+
"sizes": [
|
|
1523
|
+
{ "name": "Full", "size": 200 },
|
|
1524
|
+
{ "name": "Large", "size": 120 },
|
|
1525
|
+
{ "name": "Medium", "size": 64 },
|
|
1526
|
+
{ "name": "Small", "size": 32 }
|
|
1527
|
+
],
|
|
1528
|
+
"dos": "Use high-resolution images (minimum 1200px wide). Maintain consistent lighting and color grading. Show real product interfaces when possible. Feature diverse representation.",
|
|
1529
|
+
"donts": "Don't use overly staged or stock-looking photos. Don't apply heavy filters that alter brand colors. Don't use outdated product screenshots. Don't crop faces awkwardly.",
|
|
1530
|
+
"guidelines": "All photography should feel authentic and professional. Prefer candid moments over posed shots. Ensure proper model releases for any identifiable people."
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
\\\`\`\`
|
|
1534
|
+
<!-- /sync:data -->
|
|
1535
|
+
\`\`\`
|
|
1536
|
+
|
|
1537
|
+
---
|
|
1538
|
+
|
|
1539
|
+
#### Tone of Voice Block
|
|
1540
|
+
|
|
1541
|
+
Brand voice personality and communication guidelines.
|
|
1542
|
+
|
|
1543
|
+
**Fields:**
|
|
1544
|
+
- \`voice_personality\` - Brand personality traits
|
|
1545
|
+
- \`voice_archetype\` - Voice archetype (sage, hero, creator, etc.)
|
|
1546
|
+
- \`tone_attributes\` - Key tone attributes
|
|
1547
|
+
- \`we_are\` - Positive characteristics
|
|
1548
|
+
- \`we_are_not\` - What to avoid
|
|
1549
|
+
- \`writing_principles\` - Core writing principles
|
|
1550
|
+
- \`vocabulary_do\` - Words we use
|
|
1551
|
+
- \`vocabulary_dont\` - Words we avoid
|
|
1552
|
+
- \`example_good\` - Good copy example
|
|
1553
|
+
- \`example_bad\` - Bad copy example
|
|
1554
|
+
- \`grammar_style\` - Grammar and style rules
|
|
1555
|
+
|
|
1556
|
+
**Example:**
|
|
1557
|
+
\`\`\`markdown
|
|
1558
|
+
---
|
|
1559
|
+
type: tone_of_voice
|
|
1560
|
+
section: brand
|
|
1561
|
+
key: brand-voice
|
|
1562
|
+
name: Brand Voice
|
|
1563
|
+
status: complete
|
|
1564
|
+
---
|
|
1565
|
+
|
|
1566
|
+
# Brand Voice
|
|
1567
|
+
|
|
1568
|
+
## Brand Personality
|
|
1569
|
+
Professional, helpful, clear, innovative, empowering
|
|
1570
|
+
|
|
1571
|
+
**Archetype:** The Sage - Wise, knowledgeable, trusted advisor
|
|
1572
|
+
|
|
1573
|
+
## Tone Attributes
|
|
1574
|
+
Confident but not arrogant. Helpful but not patronizing. Technical but accessible. Enthusiastic but measured.
|
|
1575
|
+
|
|
1576
|
+
## We Are...
|
|
1577
|
+
- Clear and concise
|
|
1578
|
+
- Helpful and supportive
|
|
1579
|
+
- Confident and knowledgeable
|
|
1580
|
+
- Professional yet approachable
|
|
1581
|
+
|
|
1582
|
+
## We Are NOT...
|
|
1583
|
+
- Overly casual or slangy
|
|
1584
|
+
- Condescending or preachy
|
|
1585
|
+
- Robotic or cold
|
|
1586
|
+
- Vague or ambiguous
|
|
1587
|
+
|
|
1588
|
+
## Writing Principles
|
|
1589
|
+
1. Lead with the benefit
|
|
1590
|
+
2. Use active voice
|
|
1591
|
+
3. Be specific, not generic
|
|
1592
|
+
4. Respect the reader's time
|
|
1593
|
+
|
|
1594
|
+
## Vocabulary
|
|
1595
|
+
|
|
1596
|
+
**Words We Use:**
|
|
1597
|
+
Context, clarity, empower, streamline, intelligent, seamless, structured
|
|
1598
|
+
|
|
1599
|
+
**Words We Avoid:**
|
|
1600
|
+
Revolutionary, best-in-class, synergy, leverage (as verb), utilize (use "use")
|
|
1601
|
+
|
|
1602
|
+
## Examples
|
|
1603
|
+
|
|
1604
|
+
**Good Example:**
|
|
1605
|
+
"Save hours every week by giving AI agents the context they need. No more explaining your product from scratch."
|
|
1606
|
+
|
|
1607
|
+
**Bad Example:**
|
|
1608
|
+
"Our revolutionary AI-powered solution leverages cutting-edge technology to synergize your workflow paradigms."
|
|
1609
|
+
|
|
1610
|
+
## Grammar & Style
|
|
1611
|
+
- Use sentence case for headings
|
|
1612
|
+
- Oxford comma always
|
|
1613
|
+
- Numbers under 10 spelled out
|
|
1614
|
+
- Contractions are fine (we're, you'll)
|
|
1615
|
+
\`\`\`
|
|
1616
|
+
|
|
1617
|
+
---
|
|
1618
|
+
|
|
1619
|
+
#### Messaging Framework Block
|
|
1620
|
+
|
|
1621
|
+
External communication: elevator pitch, value props, and CTAs.
|
|
1622
|
+
|
|
1623
|
+
**Fields:**
|
|
1624
|
+
- \`core_message\` - The single most important message
|
|
1625
|
+
- \`elevator_pitch\` - 30-second explanation
|
|
1626
|
+
- \`value_prop_1/2/3\` - Key value propositions
|
|
1627
|
+
- \`proof_points\` - Evidence and social proof
|
|
1628
|
+
- \`audience_specific\` - Audience-tailored messaging
|
|
1629
|
+
- \`call_to_action\` - Primary CTA
|
|
1630
|
+
- \`secondary_ctas\` - Alternative CTAs
|
|
1631
|
+
- \`boilerplate\` - Company description
|
|
1632
|
+
|
|
1633
|
+
**Example:**
|
|
1634
|
+
\`\`\`markdown
|
|
1635
|
+
---
|
|
1636
|
+
type: messaging_framework
|
|
1637
|
+
section: brand
|
|
1638
|
+
key: core-messaging
|
|
1639
|
+
name: Core Messaging Framework
|
|
1640
|
+
status: complete
|
|
1641
|
+
---
|
|
1642
|
+
|
|
1643
|
+
# Core Messaging Framework
|
|
1644
|
+
|
|
1645
|
+
## Core Message
|
|
1646
|
+
AI coding agents build better software when they understand your product context.
|
|
1647
|
+
|
|
1648
|
+
## Elevator Pitch
|
|
1649
|
+
EpicContext helps product teams give AI coding agents the context they need to build features that actually match your vision. Instead of explaining your product in every chat, create structured documentation that AI agents can reference automatically.
|
|
1650
|
+
|
|
1651
|
+
## Value Propositions
|
|
1652
|
+
|
|
1653
|
+
### 1. Save Time
|
|
1654
|
+
Stop re-explaining your product in every AI conversation. Document once, reference forever.
|
|
1655
|
+
|
|
1656
|
+
### 2. Better AI Output
|
|
1657
|
+
AI agents with context produce code that matches your patterns, follows your conventions, and understands your users.
|
|
1658
|
+
|
|
1659
|
+
### 3. Team Alignment
|
|
1660
|
+
Keep everyone on the same page with a single source of truth for product context.
|
|
1661
|
+
|
|
1662
|
+
## Proof Points
|
|
1663
|
+
- Teams save 5+ hours per week on context documentation
|
|
1664
|
+
- 90% reduction in AI misunderstandings
|
|
1665
|
+
- "Finally, AI that understands our product" - CTO, TechCorp
|
|
1666
|
+
|
|
1667
|
+
## Audience-Specific Messaging
|
|
1668
|
+
|
|
1669
|
+
**For Developers:**
|
|
1670
|
+
Write better prompts with less effort. EpicContext gives your AI assistant the background it needs.
|
|
1671
|
+
|
|
1672
|
+
**For Product Managers:**
|
|
1673
|
+
Ensure AI-built features match your vision. Document requirements once, reference them in every AI interaction.
|
|
1674
|
+
|
|
1675
|
+
## Calls to Action
|
|
1676
|
+
|
|
1677
|
+
**Primary:** Start Free Trial
|
|
1678
|
+
|
|
1679
|
+
**Secondary:** Watch Demo, Read Case Studies, Join Waitlist
|
|
1680
|
+
|
|
1681
|
+
## Boilerplate
|
|
1682
|
+
EpicContext is the leading context management platform for product teams using AI coding agents. We help teams document and share product context in formats AI agents can understand, resulting in better code and faster development cycles.
|
|
1683
|
+
\`\`\`
|
|
1684
|
+
|
|
1685
|
+
---
|
|
1686
|
+
|
|
1687
|
+
#### Best Practices for Brand Blocks
|
|
1688
|
+
|
|
1689
|
+
1. **Use specialized block types**: Never use \`text\` for brand content. Each type has specific fields and visual editors.
|
|
1690
|
+
|
|
1691
|
+
2. **Include sync:data blocks**: For blocks with complex visual data (colors, typography, icons, logos, assets), always include the \`<!-- sync:data -->\` block with full JSON for reliable import/export.
|
|
1692
|
+
|
|
1693
|
+
3. **Be comprehensive**: Fill all relevant fields. Thin brand documentation leads to inconsistent AI-generated content.
|
|
1694
|
+
|
|
1695
|
+
4. **Keep it updated**: Brand guidelines change. Update status to \`draft\` when editing, \`complete\` when finalized.
|
|
1696
|
+
|
|
1697
|
+
5. **Cross-reference**: Messaging should align with positioning. Colors should be referenced in usage guidelines.
|
|
1698
|
+
|
|
1699
|
+
---
|
|
1700
|
+
|
|
991
1701
|
### Development Section Blocks (Epic → Story → Task)
|
|
992
1702
|
|
|
993
1703
|
The development section uses a hierarchical structure to plan and track work. This creates a clear flow from high-level initiatives down to specific implementation tasks.
|
|
@@ -1344,6 +2054,62 @@ Task: implement-login-api
|
|
|
1344
2054
|
- Any deviations from the plan
|
|
1345
2055
|
- Issues encountered and how they were resolved
|
|
1346
2056
|
|
|
2057
|
+
---
|
|
2058
|
+
|
|
2059
|
+
### Design System Blocks
|
|
2060
|
+
|
|
2061
|
+
#### Storybook Link Block
|
|
2062
|
+
|
|
2063
|
+
A Storybook Link connects your EpicContext project to a deployed Storybook design system with authentication.
|
|
2064
|
+
|
|
2065
|
+
**Key Fields:**
|
|
2066
|
+
- \`name\` - Display name for the Storybook
|
|
2067
|
+
- \`url\` - Deployed Storybook URL (Vercel, Netlify, etc.)
|
|
2068
|
+
- \`description\` - What's documented in this Storybook
|
|
2069
|
+
- \`requires_auth\` - Enable EpicContext authentication
|
|
2070
|
+
- \`auth_secret\` - Shared secret for token validation
|
|
2071
|
+
- \`tokens_path\` - URL path to design tokens docs
|
|
2072
|
+
- \`components_path\` - URL path to component docs
|
|
2073
|
+
- \`repo_url\` - Git repository URL (optional)
|
|
2074
|
+
|
|
2075
|
+
**Example:**
|
|
2076
|
+
\`\`\`markdown
|
|
2077
|
+
---
|
|
2078
|
+
type: storybook_link
|
|
2079
|
+
section: design-system
|
|
2080
|
+
key: main-storybook
|
|
2081
|
+
name: Design System Storybook
|
|
2082
|
+
status: complete
|
|
2083
|
+
---
|
|
2084
|
+
|
|
2085
|
+
# Design System Storybook
|
|
2086
|
+
|
|
2087
|
+
Component library, design tokens, and usage guidelines.
|
|
2088
|
+
|
|
2089
|
+
**URL:** https://design-system.yourcompany.vercel.app
|
|
2090
|
+
**Repository:** https://github.com/yourcompany/design-system
|
|
2091
|
+
**Authentication:** Enabled (EpicContext SSO)
|
|
2092
|
+
|
|
2093
|
+
## Quick Links
|
|
2094
|
+
- [Design Tokens](https://design-system.yourcompany.vercel.app?path=/docs/tokens-colors--docs)
|
|
2095
|
+
- [Components](https://design-system.yourcompany.vercel.app?path=/docs/components-button--docs)
|
|
2096
|
+
|
|
2097
|
+
## Categories
|
|
2098
|
+
Tokens, Components, Patterns
|
|
2099
|
+
\`\`\`
|
|
2100
|
+
|
|
2101
|
+
**Setting Up Protected Storybook:**
|
|
2102
|
+
|
|
2103
|
+
1. Copy the \`CONTEXT/design-system/storybook/\` template to a new repository
|
|
2104
|
+
2. Deploy to Vercel
|
|
2105
|
+
3. Generate an auth secret in EpicContext
|
|
2106
|
+
4. Add \`EPICCONTEXT_STORYBOOK_SECRET\` to Vercel environment variables
|
|
2107
|
+
5. Team members can access via "Open Storybook" in EpicContext UI
|
|
2108
|
+
|
|
2109
|
+
The included middleware validates JWT tokens signed by EpicContext, providing SSO-style access.
|
|
2110
|
+
|
|
2111
|
+
---
|
|
2112
|
+
|
|
1347
2113
|
## Block References
|
|
1348
2114
|
|
|
1349
2115
|
Some blocks can reference other blocks using reference fields in frontmatter:
|
package/dist/cli/files.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/cli/files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAG7B;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,WAAmB;IACnD,MAAM,KAAK,GAAe,EAAE,CAAC;IAE7B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;QAChC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,OAAO,CAAC,GAAW,EAAE,UAAkB;QAC9C,MAAM,OAAO,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;QAE7D,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;YAC5C,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YAEzD,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,CAAC;gBACxB,2CAA2C;gBAC3C,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,IAAI,KAAK,cAAc,EAAE,CAAC;oBACjE,OAAO,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;gBAChC,CAAC;YACH,CAAC;iBAAM,IAAI,KAAK,CAAC,MAAM,EAAE,IAAI,KAAK,CAAC,IAAI,CAAC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AAC,QAAQ,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
|
package/dist/cli/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,QAAA,MAAM,OAAO,SAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,QAAA,MAAM,OAAO,SAAgB,CAAC;AAyE9B,wBAAsB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAWzC;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/cli/index.js
CHANGED
|
@@ -46,12 +46,11 @@ program
|
|
|
46
46
|
.option("-s, --section <type>", "Only pull specific section")
|
|
47
47
|
.option("-f, --force", "Overwrite local changes without confirmation")
|
|
48
48
|
.action(pullCommand);
|
|
49
|
-
// Push command - push to cloud
|
|
49
|
+
// Push command - push to cloud (always overwrites cloud with local)
|
|
50
50
|
program
|
|
51
51
|
.command("push")
|
|
52
|
-
.description("Push local changes to cloud")
|
|
52
|
+
.description("Push local changes to cloud (overwrites cloud version)")
|
|
53
53
|
.option("-s, --section <type>", "Only push specific section")
|
|
54
|
-
.option("-f, --force", "Overwrite cloud changes without confirmation")
|
|
55
54
|
.action(pushCommand);
|
|
56
55
|
// Watch command - auto-push on file changes (local → cloud only)
|
|
57
56
|
program
|
package/dist/cli/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,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