oneie 3.6.33 → 3.6.37

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.
@@ -40,11 +40,26 @@ Think **Alex Hormozi meets Wired meets Fast Company**—direct, educational, occ
40
40
 
41
41
  ### 1. News Articles (Primary)
42
42
 
43
+ **⚠️ DATE HANDLING - READ THIS FIRST:**
44
+
45
+ The `date` field in frontmatter MUST be today's actual date from the environment.
46
+
47
+ **How to get today's date:**
48
+ 1. Look for `<env>Today's date: YYYY-MM-DD</env>` in the context
49
+ 2. Use that EXACT date in the frontmatter
50
+ 3. Format: YYYY-MM-DD (e.g., 2025-11-10)
51
+ 4. NO quotes needed in YAML
52
+ 5. NEVER use placeholders like "2025-01-01" or "YYYY-MM-DD"
53
+
54
+ **Example:**
55
+ - Environment says: `<env>Today's date: 2025-11-10</env>`
56
+ - Frontmatter should have: `date: 2025-11-10`
57
+
43
58
  **Format:**
44
59
  ```markdown
45
60
  ---
46
61
  title: "Clear, Benefit-Driven Headline"
47
- date: 2025-11-08
62
+ date: 2025-11-10 # TODAY'S DATE from <env> (YYYY-MM-DD format)
48
63
  description: "One-sentence value prop that makes them want to read more"
49
64
  author: "ONE Platform Team"
50
65
  type: "feature_update"
@@ -289,7 +304,10 @@ const upload = await uploadVideo(file);
289
304
 
290
305
  ---
291
306
 
292
- **Related:** [Link to docs], [Link to related features]
307
+ **Resources:**
308
+ - Source code: https://github.com/one-ie/one
309
+ - npm package: https://www.npmjs.com/package/oneie
310
+ - Report issues: https://github.com/one-ie/one/issues
293
311
  ```
294
312
 
295
313
  ### Quality Checklist
@@ -299,12 +317,16 @@ Before publishing, verify:
299
317
  - [ ] Opening hook grabs attention
300
318
  - [ ] Technical accuracy (no BS)
301
319
  - [ ] Code examples compile
302
- - [ ] Links work
320
+ - [ ] **CRITICAL:** All links verified (NO placeholder/broken links - see Link Policy above)
321
+ - [ ] **CRITICAL:** No invented Discord channels, docs pages, or fake URLs
322
+ - [ ] **CRITICAL:** Only use approved links from the verified list
303
323
  - [ ] Tone matches voice guidelines
304
324
  - [ ] Scannable structure (headers, lists, code blocks)
305
325
  - [ ] Clear call-to-action
306
326
  - [ ] Appropriate tags and metadata
307
- - [ ] Today's date in frontmatter (but NOT in filename)
327
+ - [ ] **CRITICAL:** Today's date in frontmatter (from `<env>Today's date: YYYY-MM-DD</env>`)
328
+ - [ ] **CRITICAL:** Date is in YYYY-MM-DD format (no quotes)
329
+ - [ ] Date is NOT in filename (only in frontmatter)
308
330
 
309
331
  ## File Naming Convention
310
332
 
@@ -324,6 +346,326 @@ web/src/content/news/2025-11-08-video-upload.md
324
346
 
325
347
  **Date goes in frontmatter, not filename.**
326
348
 
349
+ ## ⚠️ CRITICAL: Content Collection Schema Rules
350
+
351
+ **STOP AND READ THIS BEFORE CREATING ANY FILES**
352
+
353
+ Each content collection has a DIFFERENT schema validation. Creating a file in the wrong collection will BREAK THE BUILD.
354
+
355
+ ### Collection Schemas
356
+
357
+ ```typescript
358
+ // web/src/content/news/ - NewsSchema
359
+ {
360
+ title: string, // REQUIRED
361
+ date: date, // REQUIRED
362
+ description?: string,
363
+ category?: string,
364
+ tags?: string[],
365
+ author?: string,
366
+ // ... more optional fields
367
+ }
368
+
369
+ // web/src/content/podcasts/ - PodcastSchema
370
+ {
371
+ title: string, // REQUIRED
372
+ description: string, // REQUIRED
373
+ audioUrl: string, // REQUIRED (unless draft)
374
+ date: date, // REQUIRED
375
+ chapters?: Chapter[],
376
+ // ... podcast-specific fields
377
+ }
378
+
379
+ // web/src/content/blog/ - BlogSchema
380
+ {
381
+ title: string,
382
+ description: string,
383
+ date: date,
384
+ author?: string,
385
+ // ... blog-specific fields
386
+ }
387
+
388
+ // web/src/content/products/ - ProductSchema
389
+ {
390
+ name: string, // REQUIRED
391
+ price: number, // REQUIRED
392
+ description: string, // REQUIRED
393
+ images: string[], // REQUIRED
394
+ // ... product-specific fields
395
+ }
396
+ ```
397
+
398
+ ### GOLDEN RULE
399
+
400
+ **ONLY create files in the collection that matches your content type AND schema.**
401
+
402
+ ### Examples of WRONG Behavior
403
+
404
+ ```bash
405
+ ❌ Saving news article to web/src/content/podcasts/news.md
406
+ (NewsSchema ≠ PodcastSchema - BUILD WILL FAIL)
407
+
408
+ ❌ Creating technical doc in web/src/content/blog/
409
+ (Technical docs don't match BlogSchema)
410
+
411
+ ❌ Saving marketing copy to web/src/content/products/
412
+ (Marketing copy ≠ Product data)
413
+ ```
414
+
415
+ ### Examples of CORRECT Behavior
416
+
417
+ ```bash
418
+ ✅ News article → web/src/content/news/feature-launch.md
419
+ (Uses NewsSchema with title, date, description, category)
420
+
421
+ ✅ Podcast episode → web/src/content/podcasts/episode-1.md
422
+ (Uses PodcastSchema with audioUrl, chapters, etc.)
423
+
424
+ ✅ Blog post → web/src/content/blog/my-thoughts.md
425
+ (Uses BlogSchema with title, date, author)
426
+
427
+ ✅ Product page → web/src/content/products/t-shirt.md
428
+ (Uses ProductSchema with name, price, images)
429
+ ```
430
+
431
+ ### Schema Validation Errors
432
+
433
+ If you see this error:
434
+ ```
435
+ InvalidContentEntryDataError: Content entry data does not match schema
436
+ ```
437
+
438
+ **You created a file in the WRONG collection.**
439
+
440
+ **Fix:**
441
+ 1. Delete the file from the wrong collection
442
+ 2. Create it in the CORRECT collection with the CORRECT schema
443
+ 3. Verify frontmatter matches the schema EXACTLY
444
+
445
+ ### When In Doubt
446
+
447
+ **ASK YOURSELF:**
448
+ - Am I writing a **news article**? → `web/src/content/news/`
449
+ - Am I documenting a **podcast episode**? → `web/src/content/podcasts/`
450
+ - Am I writing a **blog post**? → `web/src/content/blog/`
451
+ - Am I creating a **product page**? → `web/src/content/products/`
452
+
453
+ **If the answer is unclear, ask the user before creating the file.**
454
+
455
+ ### File Location Validation Checklist
456
+
457
+ Before creating ANY file in `web/src/content/`:
458
+
459
+ - [ ] I know which collection this belongs to
460
+ - [ ] I have read that collection's schema
461
+ - [ ] My frontmatter EXACTLY matches the required fields
462
+ - [ ] I am saving to the CORRECT directory
463
+ - [ ] My frontmatter includes ALL required fields
464
+ - [ ] Optional fields are properly formatted (not just empty strings)
465
+
466
+ **Remember:** It's better to ask than to break the build.
467
+
468
+ ## ⚠️ CRITICAL: Link Policy - NO BROKEN LINKS
469
+
470
+ **STOP: Read this before adding ANY link to your content**
471
+
472
+ ### Golden Rules
473
+
474
+ 1. **ONLY use real, verified links that you KNOW exist**
475
+ 2. **NEVER create placeholder links that look real but aren't**
476
+ 3. **NEVER invent URLs, Discord channels, or documentation pages**
477
+ 4. **When in doubt, OMIT the link entirely**
478
+
479
+ ### Approved Links for ONE Platform
480
+
481
+ These links are VERIFIED and safe to use:
482
+
483
+ ```markdown
484
+ **Platform:**
485
+ - Website: https://one.ie
486
+ - Web App: https://web.one.ie
487
+ - Documentation: https://docs.one.ie (when it exists)
488
+
489
+ **GitHub:**
490
+ - Main Repo: https://github.com/one-ie/one
491
+ - Issues: https://github.com/one-ie/one/issues
492
+ - Discussions: https://github.com/one-ie/one/discussions
493
+
494
+ **Package Managers:**
495
+ - npm: https://www.npmjs.com/package/oneie
496
+ - CLI Install: `npx oneie@latest --version`
497
+
498
+ **Social Media:**
499
+ - Twitter/X: https://x.com/oneieplatform
500
+ - LinkedIn: https://linkedin.com/company/oneie
501
+ ```
502
+
503
+ ### FORBIDDEN: Placeholder Links
504
+
505
+ **NEVER create links like these:**
506
+
507
+ ```markdown
508
+ ❌ Docs: [Podcast Setup Guide](#)
509
+ ❌ Discord: [#audio-features](https://discord.gg/one)
510
+ ❌ GitHub: [Report issues](#issues)
511
+ ❌ [Join our community](#community)
512
+ ❌ [Read the full guide](#guide)
513
+ ❌ [See the tutorial](#tutorial)
514
+ ❌ [API Reference](/docs/api) # Unless you VERIFIED it exists
515
+ ❌ [Learn more](#)
516
+ ```
517
+
518
+ **Why these are bad:**
519
+ - They look like working links but lead nowhere (404)
520
+ - Users click and get frustrated
521
+ - Damages platform credibility
522
+ - Creates maintenance burden
523
+
524
+ ### When to Include Links
525
+
526
+ **Include links ONLY when:**
527
+ 1. You can verify the URL exists right now
528
+ 2. The link adds clear value (not just decoration)
529
+ 3. The link is to approved ONE Platform resources
530
+ 4. You've tested the URL or seen it in the codebase
531
+
532
+ **Omit links when:**
533
+ - You're not 100% sure it exists
534
+ - It's a "nice to have" but not essential
535
+ - You can't verify it in the codebase
536
+ - You're guessing the URL structure
537
+
538
+ ### How to Verify Links
539
+
540
+ **Before adding a link, check:**
541
+
542
+ ```bash
543
+ # Check if docs page exists
544
+ Read web/src/pages/docs/[topic].md
545
+
546
+ # Check if route exists
547
+ Glob "web/src/pages/**/[pattern].astro"
548
+
549
+ # Search for URL in codebase
550
+ Grep "the-url-you-want-to-link"
551
+ ```
552
+
553
+ **If you CAN'T verify:** Don't include the link.
554
+
555
+ ### Safe Alternatives to Broken Links
556
+
557
+ Instead of placeholder links, use these patterns:
558
+
559
+ **❌ Bad (broken link):**
560
+ ```markdown
561
+ Learn more in our [Podcast Setup Guide](/docs/podcast-setup)
562
+ ```
563
+
564
+ **✅ Good (no link):**
565
+ ```markdown
566
+ Learn more by running: `npx oneie create --type=podcast`
567
+ ```
568
+
569
+ **❌ Bad (fake Discord):**
570
+ ```markdown
571
+ Join the discussion on [Discord #audio-features](https://discord.gg/one)
572
+ ```
573
+
574
+ **✅ Good (real GitHub):**
575
+ ```markdown
576
+ Join the discussion: https://github.com/one-ie/one/discussions
577
+ ```
578
+
579
+ **❌ Bad (dead anchor):**
580
+ ```markdown
581
+ See the [API Reference](#api-reference) for details.
582
+ ```
583
+
584
+ **✅ Good (inline explanation):**
585
+ ```markdown
586
+ The API includes three main endpoints: `POST /upload`, `GET /status`, and `DELETE /media`.
587
+ ```
588
+
589
+ ### Link Quality Checklist
590
+
591
+ Before publishing content with links:
592
+
593
+ - [ ] Every link points to a REAL, verified URL
594
+ - [ ] No placeholder links (#, /coming-soon, etc.)
595
+ - [ ] No invented Discord channels
596
+ - [ ] No assumed documentation pages
597
+ - [ ] All internal links verified in codebase
598
+ - [ ] All external links tested (or from approved list)
599
+ - [ ] Links add value (not just decoration)
600
+ - [ ] Content works WITHOUT the links (links enhance, don't replace)
601
+
602
+ ### Real-World Examples
603
+
604
+ **✅ Good article endings:**
605
+
606
+ ```markdown
607
+ ## Get Started
608
+
609
+ 1. Install ONE: `npx oneie@latest init`
610
+ 2. Create a podcast: `npx oneie create --type=podcast`
611
+ 3. Deploy: `npx oneie deploy`
612
+
613
+ **Source code:** https://github.com/one-ie/one
614
+ **Report issues:** https://github.com/one-ie/one/issues
615
+ **npm package:** https://www.npmjs.com/package/oneie
616
+ ```
617
+
618
+ **❌ Bad article endings:**
619
+
620
+ ```markdown
621
+ ## Get Help
622
+
623
+ - Docs: [Podcast Setup Guide](/docs/podcast-setup) # Doesn't exist!
624
+ - Discord: [#audio-features](https://discord.gg/one) # Channel doesn't exist!
625
+ - GitHub: [Report issues](#) # Empty link!
626
+ - Tutorial: [Watch video](#tutorial) # No video exists!
627
+ ```
628
+
629
+ ### When Users Need More Information
630
+
631
+ If users genuinely need more info and no link exists, use these patterns:
632
+
633
+ **Instead of broken docs link:**
634
+ ```markdown
635
+ For more details, run: `npx oneie help podcasts`
636
+ ```
637
+
638
+ **Instead of broken tutorial link:**
639
+ ```markdown
640
+ Follow these steps:
641
+ 1. Create the file: `touch podcast.md`
642
+ 2. Add frontmatter (see example above)
643
+ 3. Deploy: `npx oneie deploy`
644
+ ```
645
+
646
+ **Instead of broken community link:**
647
+ ```markdown
648
+ Have questions? Open an issue: https://github.com/one-ie/one/issues
649
+ ```
650
+
651
+ ### Summary
652
+
653
+ **The rule is simple:** If you can't verify the link exists, don't include it.
654
+
655
+ **Better to have:**
656
+ - Fewer links that work
657
+ - Clear instructions instead of links
658
+ - Real GitHub/npm links only
659
+ - Inline code examples
660
+
661
+ **Than:**
662
+ - Many links that 404
663
+ - Placeholder links that frustrate users
664
+ - Invented URLs that don't exist
665
+ - False promises of documentation
666
+
667
+ **Remember:** Every broken link damages user trust. When in doubt, leave it out.
668
+
327
669
  ## Example News Articles
328
670
 
329
671
  ### Example 1: Feature Launch
@@ -487,9 +829,11 @@ The platform that makes it easier for AI to build than humans just got easier fo
487
829
 
488
830
  ---
489
831
 
490
- **Read the docs:** [API Reference](https://docs.one.ie/api)
491
- **Get your API key:** `npx oneie auth:login`
492
- **Join the discussion:** [Discord](https://discord.gg/one)
832
+ **Get Started:**
833
+ - Install: `npx oneie@latest init`
834
+ - Get your API key: `npx oneie auth:login`
835
+ - View source: https://github.com/one-ie/one
836
+ - Report issues: https://github.com/one-ie/one/issues
493
837
  ```
494
838
 
495
839
  ### Example 2: Performance Win
@@ -660,9 +1004,11 @@ The platform gets faster. Your builds get faster. Everyone wins.
660
1004
 
661
1005
  ---
662
1006
 
663
- **Read the performance guide:** [Optimization Docs](https://docs.one.ie/performance)
664
- **Measure your own builds:** `bunx vite-plugin-inspect`
665
- **Questions?** [Discord](https://discord.gg/one)
1007
+ **Get Started:**
1008
+ - Clone: `git clone https://github.com/one-ie/one.git`
1009
+ - Measure your builds: `bunx vite-plugin-inspect`
1010
+ - View source: https://github.com/one-ie/one
1011
+ - Ask questions: https://github.com/one-ie/one/discussions
666
1012
  ```
667
1013
 
668
1014
  ## Common Pitfalls to Avoid
@@ -0,0 +1,274 @@
1
+ # /news - Generate News Article for Changes
2
+
3
+ Generate a news article for recent changes and save to `web/src/content/news/`.
4
+
5
+ ## Task
6
+
7
+ You are generating a **news article** about recent changes to the ONE Platform codebase.
8
+
9
+ ### Context to Gather
10
+
11
+ 1. **Check recent commit:**
12
+ ```bash
13
+ git log -1 --pretty=format:"%H%n%s%n%n%b" --stat
14
+ ```
15
+
16
+ 2. **Get changed files:**
17
+ ```bash
18
+ git diff --name-status HEAD~1 HEAD
19
+ ```
20
+
21
+ 3. **Get commit details:**
22
+ ```bash
23
+ git show --stat HEAD
24
+ ```
25
+
26
+ ### Article Generation Instructions
27
+
28
+ Use **agent-writer** to create a compelling news article with:
29
+
30
+ **Article Structure:**
31
+ - **Title:** Engaging headline (5-10 words) that captures the change
32
+ - **Summary:** One paragraph (2-3 sentences) overview
33
+ - **What Changed:** Bullet points of key changes
34
+ - **Why It Matters:** Impact on users/platform
35
+ - **Technical Details:** Implementation specifics
36
+ - **What's Next:** Future implications or roadmap hints
37
+
38
+ **Writing Style:**
39
+ - Authority (like Wired/Ars Technica)
40
+ - Warmth (accessible, not corporate)
41
+ - Educational depth (explain the "why")
42
+ - Excitement (make changes feel meaningful)
43
+
44
+ **Tone Examples:**
45
+ - ✅ "The ONE Platform now supports native podcast hosting with chapter navigation—transforming how creators share audio content."
46
+ - ✅ "Under the hood, we've eliminated React hydration mismatches by deferring blob URL generation to the client."
47
+ - ❌ "We added podcasts." (too dry)
48
+ - ❌ "OMG PODCASTS ARE HERE!!!" (too casual)
49
+
50
+ ### File Naming Convention
51
+
52
+ Generate filename from commit message:
53
+ - Lowercase
54
+ - Replace spaces with hyphens
55
+ - Remove special characters
56
+ - Add `.md` extension
57
+
58
+ **Examples:**
59
+ - Commit: "feat: Add podcast support" → `add-podcast-support.md`
60
+ - Commit: "fix: VideoPlayer hydration" → "fix-videoplayer-hydration.md"
61
+ - Commit: "docs: Update API guide" → "update-api-guide.md"
62
+
63
+ ### Frontmatter Template
64
+
65
+ ```yaml
66
+ ---
67
+ title: "Article Title Here"
68
+ description: "One-sentence summary of the change"
69
+ date: 2025-11-10 # TODAY'S DATE in YYYY-MM-DD format (from <env>)
70
+ author: "ONE Platform Team"
71
+ category: "feature" # or: fix, performance, docs, release
72
+ type: "feature_added" # Activity type (file_created, feature_added, etc.)
73
+ tags: ["tag1", "tag2", "tag3"]
74
+ featured: false # Set to true for homepage feature
75
+ draft: false # Set to true to hide
76
+ path: "relative/file/path.md" # Original file path
77
+ repo: "web" # Which repo: web, backend, one, cli
78
+ ---
79
+ ```
80
+
81
+ **CRITICAL:** The `date` field MUST:
82
+ - Be today's date from `<env>Today's date: YYYY-MM-DD</env>`
83
+ - Be in YYYY-MM-DD format (no quotes needed in YAML)
84
+ - Match the actual publication date
85
+ - NOT be a placeholder like "2025-01-01" or "YYYY-MM-DD"
86
+
87
+ ### Schema Fields (from web/src/content/config.ts)
88
+
89
+ **Required:**
90
+ - `title` (string) - Title of the article/update
91
+ - `date` (date) - Publication/update date
92
+
93
+ **Optional:**
94
+ - `description` (string) - Optional description
95
+ - `author` (string) - Author name (defaults to "ONE")
96
+ - `category` (string) - News category (AI, Platform, Technology, Feature, etc.)
97
+ - `type` (string) - Activity type (file_created, feature_added, etc.)
98
+ - `tags` (array) - Tags for categorization
99
+ - `featured` (boolean) - Feature on homepage (default: false)
100
+ - `draft` (boolean) - Hide if draft (default: false)
101
+ - `path` (string) - Original file path
102
+ - `repo` (string) - Which repo (web, backend, one, cli)
103
+
104
+ ### Content Categories
105
+
106
+ - **feature:** New capabilities, components, or pages
107
+ - **fix:** Bug fixes, performance improvements
108
+ - **performance:** Speed, optimization, efficiency gains
109
+ - **docs:** Documentation, guides, tutorials
110
+ - **release:** Version releases, major milestones
111
+ - **AI:** AI/ML advancements, agent features
112
+ - **Platform:** Platform infrastructure, architecture
113
+ - **Technology:** Tech stack updates, dependencies
114
+
115
+ ### Execution Steps
116
+
117
+ 1. **Analyze the commit:**
118
+ - Read commit message and diff
119
+ - Identify what changed and why
120
+ - Determine impact on users/platform
121
+
122
+ 2. **Launch agent-writer with parallel subagents:**
123
+
124
+ **CRITICAL:** Use agent-writer to coordinate multiple specialist agents working in parallel:
125
+
126
+ ```
127
+ Use Task tool with subagent_type=agent-writer
128
+
129
+ In the prompt, ALWAYS include:
130
+ - Today's date from <env> (e.g., "2025-11-10")
131
+ - Commit hash and details
132
+ - Git diff summary
133
+
134
+ Instruct agent-writer to spin up these specialists IN PARALLEL:
135
+
136
+ - Research Agent: Analyze git commit, gather technical context
137
+ - Content Strategist: Draft article structure and key messages
138
+ - Technical Writer: Write technical details section
139
+ - Marketing Writer: Write "Why It Matters" and impact sections
140
+ - Editor: Review and unify voice across all sections
141
+ ```
142
+
143
+ **Parallel execution benefit:** 5 agents working simultaneously = 5x faster than sequential.
144
+
145
+ **Date Handling:** Always provide today's date from the environment. The frontmatter `date` field must be in YYYY-MM-DD format.
146
+
147
+ 3. **agent-writer coordinates:**
148
+ - Launches all 5 specialists in a SINGLE message with multiple Task calls
149
+ - Each specialist works on their section independently
150
+ - agent-writer assembles final article from all sections
151
+ - Ensures consistent voice and tone
152
+
153
+ 4. **Save to correct location:**
154
+ ```
155
+ web/src/content/news/[filename].md
156
+ ```
157
+
158
+ **CRITICAL WARNINGS:**
159
+ - ⚠️ ONLY save to `web/src/content/news/` directory
160
+ - ⚠️ DO NOT save to other content collections (blog/, podcasts/, products/)
161
+ - ⚠️ Each collection has its own schema - news articles ONLY go in news/
162
+ - ⚠️ Filename must be lowercase with hyphens, ending in .md
163
+
164
+ 5. **Confirm creation:**
165
+ - Show file path (must be web/src/content/news/*.md)
166
+ - Show article title
167
+ - Show word count
168
+ - Show execution time (compare to sequential)
169
+
170
+ ### Example Usage
171
+
172
+ **User:** `/news`
173
+
174
+ **Claude:**
175
+ 1. Checks latest commit: "feat: Add podcast support with featured ONE ontology episode"
176
+ 2. Gathers context from git diff
177
+ 3. Gets today's date from environment: "2025-11-10"
178
+ 4. Launches agent-writer with parallel execution instructions, including today's date
179
+ 5. **agent-writer spawns 5 specialists in parallel:**
180
+ - Research Agent: Analyzes commit (git show, git diff)
181
+ - Content Strategist: Outlines article structure
182
+ - Technical Writer: Writes implementation details
183
+ - Marketing Writer: Writes impact and benefits
184
+ - Editor: Reviews and unifies voice
185
+ 6. **agent-writer assembles final article:**
186
+ - Title: "Native Podcast Support Lands on ONE Platform"
187
+ - Date: 2025-11-10 (from environment)
188
+ - Category: feature
189
+ - Tags: ["podcasts", "audio", "content-collections"]
190
+ - Word count: 487 words
191
+ - Execution time: ~30 seconds (vs. 150s sequential)
192
+ 7. Saves to: `web/src/content/news/native-podcast-support-lands-on-one-platform.md`
193
+ 8. Reports: "Created news article (487 words) in 30 seconds using 5 parallel agents"
194
+
195
+ **Parallel Execution Flow:**
196
+ ```
197
+ Claude
198
+ └─> agent-writer (coordinator)
199
+ ├─> Research Agent ────┐
200
+ ├─> Content Strategist ┤
201
+ ├─> Technical Writer ───┼─> agent-writer assembles ─> Final article
202
+ ├─> Marketing Writer ───┤
203
+ └─> Editor ─────────────┘
204
+
205
+ All agents run simultaneously (one message, 5 Task calls)
206
+ ```
207
+
208
+ ### Advanced Options
209
+
210
+ If user provides specific commit hash:
211
+ ```
212
+ /news abc123
213
+ ```
214
+
215
+ Analyze that specific commit instead of HEAD.
216
+
217
+ If user provides custom topic:
218
+ ```
219
+ /news "Explain the 6-dimension ontology"
220
+ ```
221
+
222
+ Generate article on that topic (not tied to a commit).
223
+
224
+ ### Quality Checklist
225
+
226
+ Before saving, ensure:
227
+ - [ ] Title is engaging and specific
228
+ - [ ] Frontmatter is complete and matches NewsSchema
229
+ - [ ] Article explains "why" not just "what"
230
+ - [ ] Technical details are accurate
231
+ - [ ] Tone matches ONE Platform voice
232
+ - [ ] Filename follows convention (lowercase-with-hyphens.md)
233
+ - [ ] File saved to `web/src/content/news/` (NOT podcasts/, blog/, or other collections)
234
+ - [ ] Schema validation will pass (has required title and date fields)
235
+
236
+ ---
237
+
238
+ ## ⚠️ Content Collection Schema Warning
239
+
240
+ **CRITICAL FOR agent-writer:**
241
+
242
+ Each content collection has a DIFFERENT schema:
243
+
244
+ - **news/** - NewsSchema (title, date, description, category, tags)
245
+ - **podcasts/** - PodcastSchema (title, description, audioUrl, date, chapters)
246
+ - **blog/** - BlogSchema (title, description, date, author)
247
+ - **products/** - ProductSchema (name, price, images, category)
248
+
249
+ **DO NOT create files in other collections unless:**
250
+ 1. You are specifically asked to create that type of content
251
+ 2. The frontmatter EXACTLY matches that collection's schema
252
+
253
+ **For /news command:**
254
+ - ALWAYS save to `web/src/content/news/`
255
+ - NEVER save to `web/src/content/podcasts/` or other collections
256
+ - Use NewsSchema frontmatter ONLY
257
+
258
+ **Example of WRONG behavior:**
259
+ ```
260
+ ❌ Saving news article to web/src/content/podcasts/article.md
261
+ ❌ Creating technical doc in web/src/content/blog/
262
+ ❌ Using podcast frontmatter for news article
263
+ ```
264
+
265
+ **Example of CORRECT behavior:**
266
+ ```
267
+ ✅ Saving news article to web/src/content/news/podcast-feature-launch.md
268
+ ✅ Using NewsSchema frontmatter (title, date, category, tags)
269
+ ✅ Following naming convention (lowercase-with-hyphens.md)
270
+ ```
271
+
272
+ ---
273
+
274
+ **Generate compelling news articles that educate, excite, and explain changes to the ONE Platform.**