Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/templates/prompts/generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ import { ArticleAuthor } from "@/components/ArticleAuthor";
6. **Use proper attribution**: Cite sources inline when using statistics
7. **Data consistency**: CRITICAL - if you create data arrays (comparisons, stats), any summary text MUST match the actual data. Example: if you have 4 items with winner="A" and 4 with winner="B", don't say "A wins 6/8"
8. **NO UNSUBSTANTIATED STATISTICS IN SEO ELEMENTS**: NEVER put specific numbers/percentages in metadata title, description, openGraph title, or H1 unless they come from Sources. If no sources, use qualitative language: "higher response rates", "more effective", "better results" — NOT "85% more replies" or "3x better"
9. **NO EMOJI**: Do NOT use emoji anywhere in the article — not in headings, body text, badges, bullet points, or JSX. Text only. This is a strict style requirement.

### Umami Tracking (CRITICAL: Use exact slug)
The generated slug for this article is: `{{SLUG}}`
Expand Down Expand Up @@ -117,6 +118,7 @@ DO NOT generate your own slug from the title. Use `{{SLUG}}` exactly as provided
- [ ] 3+ internal links to EXISTING pages (from list above - DO NOT invent URLs!)
- [ ] LeadHunter mentioned 2-3 times naturally
- [ ] No made-up statistics (only from sources)
- [ ] No emoji anywhere in the article

**Structure**
- [ ] Hero section with Badge, ArticleAuthor, H1, intro, CTA
Expand Down
3 changes: 2 additions & 1 deletion scripts/templates/prompts/improve.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ All URLs and analytics events MUST use this exact slug:
## Improvement Instructions

1. **Only fix the listed issues** - don't make unrelated changes
2. **Preserve the structure** - keep sections, imports, and patterns intact
2. **NO EMOJI** - Do not add or keep any emoji anywhere in the article. Remove any that exist.
3. **Preserve the structure** - keep sections, imports, and patterns intact
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate list number in improvement instructions

Medium Severity

After inserting the new emoji rule as item #2 and renumbering the old "Preserve the structure" to #3, the subsequent "Add missing content" item was left as #3 instead of being renumbered to #4. This results in two items both numbered 3., which could confuse the LLM processing this prompt — potentially causing it to skip or deprioritize one of the duplicated instructions.

Fix in Cursor Fix in Web

3. **Add missing content** - if key points are missing, add them as new sections or expand existing ones
4. **Fix uncited statistics** - either cite them properly or remove them
5. **Add internal links** - integrate them naturally in the text where relevant
Expand Down