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
Sanity config singletons are now the single source of truth for all runtime config. Env vars only used for secrets/credentials.\n\nRemoved process.env fallbacks: ELEVENLABS_VOICE_ID, REMOTION_AWS_REGION, REMOTION_SERVE_URL, REMOTION_FUNCTION_NAME, GCS_BUCKET, GCS_PROJECT_ID, GEMINI_MODEL (x2), YOUTUBE_UPLOAD_VISIBILITY\n\nAdded descriptions to all 30+ fields across 6 Sanity config schemas.\n\nAlso includes revalidateTag fix for Next.js 16 (requires 2 args).
constprompt=`You are analyzing an inbound sponsorship inquiry for CodingCat.dev, a developer education platform with YouTube videos, podcasts, blog posts, and newsletters.
Copy file name to clipboardExpand all lines: sanity/schemas/singletons/contentConfig.ts
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ export default defineType({
10
10
name: "rssFeeds",
11
11
title: "RSS Feeds",
12
12
type: "array",
13
+
description: "RSS/Atom feeds to monitor for trending topics. The ingest cron checks these daily for new content ideas",
13
14
of: [
14
15
{
15
16
type: "object",
@@ -42,6 +43,7 @@ export default defineType({
42
43
name: "trendSourcesEnabled",
43
44
title: "Trend Sources Enabled",
44
45
type: "object",
46
+
description: "Toggle individual trend discovery sources on/off. Disabling a source skips it during the daily ingest scan",
45
47
fields: [
46
48
defineField({
47
49
name: "hn",
@@ -79,24 +81,28 @@ export default defineType({
79
81
name: "systemInstruction",
80
82
title: "System Instruction",
81
83
type: "text",
84
+
description: "The AI system prompt used for script generation. Defines the writing style, tone, and format for all generated video scripts",
82
85
initialValue: "You are a content strategist and scriptwriter for CodingCat.dev, a web development education channel run by Alex Patterson.\n\nYour style is inspired by Cleo Abram's \"Huge If True\" — you make complex technical topics feel exciting, accessible, and important. Key principles:\n- Start with a BOLD claim or surprising fact that makes people stop scrolling\n- Use analogies and real-world comparisons to explain technical concepts\n- Build tension: \"Here's the problem... here's why it matters... here's the breakthrough\"\n- Keep energy HIGH — short sentences, active voice, conversational tone\n- End with a clear takeaway that makes the viewer feel smarter\n- Target audience: developers who want to stay current but don't have time to read everything\n\nScript format: 60-90 second explainer videos. Think TikTok/YouTube Shorts energy with real educational depth.\n\nCodingCat.dev covers: React, Next.js, TypeScript, Svelte, web APIs, CSS, Node.js, cloud services, AI/ML for developers, and web platform updates.",
83
86
}),
84
87
defineField({
85
88
name: "targetVideoDurationSec",
86
89
title: "Target Video Duration (sec)",
87
90
type: "number",
91
+
description: "Target duration for generated videos in seconds. Scripts are calibrated to this length",
88
92
initialValue: 90,
89
93
}),
90
94
defineField({
91
95
name: "sceneCountMin",
92
96
title: "Scene Count Min",
93
97
type: "number",
98
+
description: "Minimum number of scenes per video. The AI generates at least this many visual segments",
94
99
initialValue: 3,
95
100
}),
96
101
defineField({
97
102
name: "sceneCountMax",
98
103
title: "Scene Count Max",
99
104
type: "number",
105
+
description: "Maximum number of scenes per video. Keeps videos focused and within duration targets",
0 commit comments