Commit Graph

7 Commits

Author SHA1 Message Date
kbanc85 f5c6953d73 Fix comma insertion logic to prevent undefined entries
Improvements:
- Check for existing trailing comma before adding separator
- Validate generated entry contains required fields
- Prevents duplicate commas when inserting multiple claims sequentially

This fixes the "Type 'undefined' is not assignable" error

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 11:46:32 -05:00
kbanc85 e3a7ced791 Fix TypeScript isolatedModules export error 2025-11-06 11:28:18 -05:00
kbanc85 63f28d45a7 Add defensive checks to RSS/sitemap generation
Prevents crashes when malformed claim entries exist:
- Skip undefined or incomplete claim objects
- Log warnings for debugging
- Allow build to continue despite data issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 11:16:57 -05:00
kbanc85 a81a78fbf5 Fix automation syntax errors and add infographics support
Critical fixes:
- Enhanced escaping function to handle special characters ($, `, ", etc.)
- Added infographics field support to extraction scripts
- Prevents build failures from malformed TypeScript generation

This fixes the "Expected } but found enablement" error that occurred
when processing the 15 new articles.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 09:13:21 -05:00
kbanc85 b1ef96c48b Add automated article processing system
🤖 Automated workflow that:
- Monitors aiadopters.club RSS feed every 6 hours
- Extracts claim data using Claude AI
- Creates PRs for review before going live

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 21:31:07 -05:00
kbanc85 f40ada1aea Add 2 new claims pages using automated AI extraction
Added articles:
1. "Claude Skills cuts 8-hour tasks down to 1 hour"
   - Slug: claude-skills-productivity-boost
   - Date: 2025-10-21
   - 5 claims about Claude Skills productivity features
   - Stats: 8x speed improvement, 83% accuracy, 8MB limit

2. "The Internal Tools You Can Vibe Code and the Ones That Will Cost You Later"
   - Slug: vibe-coding-technical-expertise
   - Date: 2025-11-04
   - 5 claims about AI coding tradeoffs
   - Stats: $2,400 MRR, 95% code completion, $25 build cost

Workflow used:
✅ Visited aiadopters.club/archive
✅ Selected 2 random articles
✅ AI extracted all data (claims, titles, stats, quotes, context)
✅ Added to centralized claims.ts
✅ Built successfully (14 claims pages total)

Automated system works perfectly - no manual page files needed!

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 14:29:42 -05:00
kbanc85 834d71974c Automate sitemap and RSS feed generation
- Created scripts/generate-sitemap.ts to auto-generate sitemap.xml
- Created scripts/generate-rss.ts to auto-generate RSS feed
- Both scripts pull from centralized claims data
- Added prebuild script to run generators before each build
- Installed tsx for TypeScript script execution
- Sitemap and RSS feed now include all 11 claims pages (including ai-judgment-skills)
- Updated documentation with new auto-generated files
- No more manual updates needed for sitemap or RSS feed
2025-11-04 12:36:51 -05:00