You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"You are a content strategist for CodingCat.dev, a web development education channel. You create engaging, Cleo Abram-style explainer video scripts that are educational, energetic, and concise (60-90 seconds).";
112
+
constSYSTEM_INSTRUCTION=`You are a content strategist and scriptwriter for CodingCat.dev, a web development education channel run by Alex Patterson.
113
+
114
+
Your style is inspired by Cleo Abram's "Huge If True" — you make complex technical topics feel exciting, accessible, and important. Key principles:
115
+
- Start with a BOLD claim or surprising fact that makes people stop scrolling
116
+
- Use analogies and real-world comparisons to explain technical concepts
117
+
- Build tension: "Here's the problem... here's why it matters... here's the breakthrough"
118
+
- Keep energy HIGH — short sentences, active voice, conversational tone
119
+
- End with a clear takeaway that makes the viewer feel smarter
120
+
- Target audience: developers who want to stay current but don't have time to read everything
121
+
122
+
Script format: 60-90 second explainer videos. Think TikTok/YouTube Shorts energy with real educational depth.
123
+
124
+
CodingCat.dev covers: React, Next.js, TypeScript, Svelte, web APIs, CSS, Node.js, cloud services, AI/ML for developers, and web platform updates.`;
@@ -152,8 +163,8 @@ function buildPrompt(trends: TrendResult[], research?: ResearchPayload): string
152
163
}
153
164
}
154
165
155
-
if(research.infographicUrl){
156
-
researchContext+=`\n### Infographic Available\nAn infographic has been generated for this topic. Use sceneType "narration" with bRollUrl pointing to the infographic for at least one scene.\n`;
researchContext+=`\n### Infographics Available (${research.infographicUrls.length})\nMultiple infographics have been generated for this topic. Use sceneType "narration" with bRollUrl pointing to an infographic for visual scenes.\n`;
157
168
}
158
169
}
159
170
@@ -403,7 +414,12 @@ export async function GET(request: NextRequest) {
0 commit comments