tune-articleworkflow0
astroid1/techfromalex.com
What it does

Audit article and propose fine-tuning

Best for

One-off fine-tuning of published techfromalex.com articles; never auto-writes to live site

Inputs
  • · article slug (string identifier)
  • · optional capabilities array: [hero, copy, seo, factcheck]
  • · article data from D1: title, dek, body, seoTitle, seoDescription
Outputs
  • · hero image proposal (Unsplash URL, alt text, photographer, rationale)
  • · copy edits (before/after pairs, reason per edit)
  • · SEO audit (seoTitle, seoDescription, FAQ suggestions)
  • · fact-check findings (claim, verdict, note, suggestedFix)
  • · JSON file for applying approved edits
Requires
  • · D1 database (article lookup by slug)
  • · agent for each audit capability
  • · no web scraping/API calls (free subscription)
Preconditions
  • · D1 database accessible and article indexed by slug
  • · article body loaded verbatim (markdown)
Failure modes
  • · article not found in D1 (slug mismatch)
  • · proposed edits conflict with templating directives (::product-card, ::callout)
  • · hero image links become stale
  • · affiliate links incorrectly edited
Trust signals
  • · Load phase confirms article existence and structure
  • · Audit phase decoupled per capability (hero, copy, seo, factcheck)
  • · 4+ JSON schemas (LOADED, HERO, COPY, SEO, FACT)
  • · Site rules enforced (no em dashes, no raw links, affiliate integrity)
  • · Proposes only; requires human review before apply