rune-ext-content

Implements blog architecture, CMS integration, MDX authoring, i18n, SEO, and content scoring patterns.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/dangvu008/VietTruyen --skill rune-ext-content-dangvu008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rune-ext-content
Source: https://github.com/dangvu008/VietTruyen/tree/main/.agents/skills/rune-ext-content
Command: npx skills add https://github.com/dangvu008/VietTruyen --skill rune-ext-content-dangvu008

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Content-driven sites fail in production in ways local development never reveals: CMS slug changes break inbound links, missing translation keys show raw strings to users, MDX builds crash on unregistered components, and malformed structured data hurts search rankings. This Skill provides audited patterns across the full content stack to keep content sites correct, fast, and discoverable. ## Core Features & Use Cases - Blog & CMS Patterns: Typed post schemas, pagination, RSS feeds, reading time, related posts, plus Sanity/Contentful/Strapi integration with preview mode and webhook-triggered ISR revalidation. - MDX, i18n & SEO: MDX component registries with safe fallbacks, Shiki syntax highlighting, locale routing with hreflang tags, missing-translation CI checks, JSON-LD structured data, and sitemap generation. - Video Repurposing & Content Scoring: Long-to-short video pipelines with captions and face-crop, plus a 4-dimension scoring model (hook, engagement, value, shareability) for articles and clips. - Use Case: When migrating a WordPress blog to Sanity in a Next.js app, use this Skill to generate the redirect map, typed GROQ queries with Zod validation, revalidation webhooks, and an SEO preservation checklist. ## Quick Start Ask the agent to audit your Next.js blog for missing RSS feeds, broken hreflang tags, and unpublished pages leaking into the sitemap.

Frequently Asked Questions about rune-ext-content

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a headless CMS with Next.js preview mode?

Create separate Sanity or Contentful clients for published and draft content, then toggle between them with a preview flag. Add a webhook endpoint that validates a shared secret and calls revalidatePath so content publishes trigger on-demand ISR instead of full rebuilds.

How do I add hreflang tags for a multilingual Next.js site?

Generate hreflang link tags from route params for every supported locale, plus an x-default entry pointing to the default locale. Combine this with next-intl middleware for locale routing so search engines can index each language variant correctly.

Why does my MDX build crash when a component is missing?

MDX compilation fails when content references a component not present in the registered component map. Register a fallback component that renders a warning in development and an empty element in production so a single missing component never breaks the build.

How do I detect missing translation keys before deployment?

Run a CI script that flattens the default locale's JSON keys and compares them against every other locale file, exiting with an error when keys are missing. Also configure a fallback locale so untranslated keys never render as raw strings to users.

What causes 404 errors after a CMS migration?

Slug changes between the old and new CMS break all existing inbound links. Build a permanent 301 redirect map from old URL patterns to new slugs, verify each redirect returns 301 rather than 302, and monitor Search Console for coverage errors after launch.

How is content virality scored for blog posts and video clips?

Content is scored across four 25-point dimensions: hook strength, engagement (readability, pacing, call to action), value (teaches, entertains, unique insight), and shareability (emotional triggers, quotable lines, platform fit). Totals above 80 are classified as viral, above 60 as strong.