Commit Graph

15 Commits

Author SHA1 Message Date
kbanc85 04d3f7d0e8 Terminal redesign with fluid simulation, SEO layer, and dependency cleanup
Complete site redesign: dark terminal aesthetic with JetBrains Mono, Navier-Stokes
ASCII fluid simulation hero, terminal-style page layouts across all routes. Added
llms.txt for AI discoverability, AI crawler directives in robots.txt, and
structured data schemas (WebSite, FAQPage, ItemList, BreadcrumbList, Article).
Removed 22 unused shadcn/ui components and 26 npm packages (36% dep reduction).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 05:33:29 -05:00
kbanc85 303a31123a Fix article date extraction to use RSS feed publication dates
Root cause: AI models don't know "today's date" and were defaulting to 2024

Changes:
1. Update extract-article-data.ts to accept RSS pubDate parameter
2. Format RFC 2822 dates from RSS feed to YYYY-MM-DD
3. Pass formatted date directly in AI prompt instead of asking for "today's date"
4. Update auto-add-new-articles.ts to pass pubDate from RSS feed
5. Correct 3 existing articles with wrong dates:
   - ai-market-research-cfo-scrutiny: 2024-02-14 → 2025-11-10
   - leaders-using-ai-daily-scale-3x-faster: 2024-02-13 → 2025-11-10
   - team-stopped-questioning-ai: 2024-02-13 → 2025-11-07

Result:
- Future articles will have accurate publication dates from RSS feed
- No longer depends on AI model's knowledge cutoff
- Falls back to system date if RSS feed date is invalid

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 14:55:21 -05:00
kbanc85 2ea4884354 Fix auto-add-articles workflow validation issues
Changes:
- Update AI extraction prompt to enforce 12-18 word limit per claim
- Change validation from blocking errors to warnings for token length
- Add explicit instruction in AI prompt rules section

Why:
- Auto-generated claims were 20-36 tokens, causing build failures
- AI didn't know about the 12-18 token requirement
- Strict enforcement was blocking automated article additions
- Warnings allow builds to proceed while encouraging fixes

Result:
- Future automated extractions will generate compliant claims
- Builds won't fail if AI occasionally generates 19-20 token claims
- Manual review can still catch and fix outliers

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 13:30:49 -05:00
kbanc85 3682a3eccb Enforce strict 12-18 token limit for all claims
Change token length validation from warning to blocking error. The 12-18 token requirement is now strictly enforced during the build process.

Changes:
- Update validation script to treat token violations as errors (not warnings)
- Add clear messaging that builds will fail if claims are outside 12-18 tokens
- Update WORKFLOW.md with warning notices about strict enforcement
- Update quality checklist to emphasize requirement

Impact:
- 14 existing claims currently violate this rule and will need to be fixed
- Future builds will fail until these claims are corrected to 12-18 tokens
- This ensures all new claims maintain optimal length for LLM extraction

Affected articles with violations:
- rockstars-10-billion-ai-secret (3 claims)
- ai-prompt-maps-employee-skill-gaps-one-session (1 claim)
- improve-your-voice-ai-with-assemblyai (1 claim)
- 30-days-ai-conversations-surprising-patterns (1 claim)
- your-team-uses-ai-daily-and-you-still-see-no-roi (1 claim)
- ai-adoption-isnt-a-training-problem-its-a-habit-problem (2 claims)
- procurement-prompt-stops-software-waste (1 claim)
- sora-2-ad-creation-workflow (2 claims)
- nike-500m-ai-gamble-direct-sales-transformation (2 claims)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 14:09:44 -05:00
kbanc85 9956c9dee4 Improve extraction scripts, validation, and documentation
Enhance article extraction and validation systems with better error handling, retry logic, and content cleaning.

Script improvements:
- Add retry logic with exponential backoff for API calls
- Implement 60-second timeout for Anthropic API requests
- Improve HTML cleaning with Substack-specific filters
- Remove navigation, footer, and UI noise from extracted content
- Better HTML entity decoding

Validation enhancements:
- Add duplicate URL detection across articles
- Validate topic assignments against known topics
- Enhanced error reporting with specific issue types

GitHub Actions:
- Add build output validation step
- Verify /out directory exists before PR creation
- Count generated HTML files for sanity check

Documentation updates:
- Update project stats (26 articles, ~30 pages)
- Document v1.2 improvements
- Add changelog entries

Type safety:
- Improve topics.ts type definitions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 14:06:19 -05:00
kbanc85 a35d861b3b Remove Office Hour entry and filter live broadcasts
- Remove "Office Hour ☕️✌️" entry (live video, not article)
- Update check-new-articles.ts to filter out:
  - Office Hour entries
  - Club Lounge entries
  - Live videos/broadcasts
  - Entries with ☕ or ✌ emojis
- Prevent future auto-import of similar content

Result: 24 articles (down from 25)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 17:58:16 -05:00
kbanc85 edcf63d894 Clean up claims data and add validation system
- Remove 5 duplicate articles with invalid 404 URLs
- Fix 7 publication date mismatches (January → October 2025)
- Fix 68 token-length violations (12-18 token standard)
- Add missing fields: quotes, keyStatistics, claimTitles
- Implement automated validation system
- Add validation scripts and documentation

Result: 25 clean articles, 0 errors, 0 duplicates

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 17:54:07 -05:00
kbanc85 15d4775322 Implement two-tier AI extraction for 19% cost savings
Optimization strategy:
- Tier 1: Claude Haiku extracts metadata (slug, title, topics, keyPoints)
- Tier 2: Claude Sonnet extracts quality content (claims, quotes, context)

Benefits:
- 19% cost reduction per article (~$0.017 vs $0.021)
- 2-3x faster metadata extraction
- Each model optimized for its strength
- Maintains quality while reducing costs

Performance:
- Haiku: Fast, cheap, perfect for structured data
- Sonnet: High quality for nuanced analysis
- Combined: Best of both worlds

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 13:10:22 -05:00
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