/claude-skills:blog-publishingfrom claude-skills
Shared research-driven editorial and blog publishing system for the Megabyte Labs ecosystem. Generates, researches, cites, illustrates, and schedules 2000-3000+ word reference articles with DataForSEO v3 keyword intelligence, claim-level citations, 30 visual applications, and 3 daily publishing slots.
Ships in claude-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
@theme-tools/blog)Canonical skill for producing, verifying, rendering, and authoring reference-grade editorial articles across the Megabyte Labs ecosystem (theme.tools, ui.theme.tools, and adopting site repositories).
@theme-tools/blog in theme.tools/packages/blog): Owns the 14 Zod v4 contracts (./schema), 15-idea topic strategy (./topic-strategy), DataForSEO v3 client and capture validator (./dataforseo), SSRF-safe evidence & citation ledger (./evidence), 30 visual applications E01–E30 (./visuals), shared editorial components (./components), zero-editor-runtime static HTML renderer (./renderer), lazy-loaded Plate/Slate authoring shell (./editor), 9-stage editorial workflow & 12-check release gate (./workflow), 3-slot scheduler (./publishing), RBAC & OAuth/magic-link security (./auth), analytics (./analytics), and legacy MDX/HTML migration (./migration).ui.theme.tools / apps/ui): Documents and exercises all shared blog components and adversarial edge-case fixtures (stories/BlogComponents.stories.tsx) across light and dark themes.apps/web): Owns tenant editorial charter, /blog and /blog/:slug routes, Cloudflare Worker edge metadata/JSON-LD injection, RSS/sitemap generation, and role-gated lazy loading of LazyPlateEditor.09:00, 14:00, and 19:00 in America/New_York (DST-aware UTC conversion via resolveLocalSlotToUtc), backed by a minimum 6-article release-eligible ready buffer (I01–I06). Never multiply slots across unconfigured domains.D01–D03): Every new generated article must contain at least 2,000 substantive editorial words (normally 2,000–3,000, or >3,000 when depth warrants). Navigation, bibliography, table cells, captions, code blocks, alt text, and boilerplate are excluded from computeSubstantiveWordCount. Historical imported articles preserve their original length (H28).E01–E30): Plan approximately 12 distinct visual placements (typically 8–12 approved custom images plus deterministic charts, comparison tables, interactive calculators, and authentic product captures). Never count crops or decorative dividers as original visuals.B01–B30): Production release requires a verified DataForSeoProviderCapture (isFixture: false). Fixture briefs permit local development and draft authoring but are hard-blocked by runQualityAndReleaseGate (check #3). Treat keyword density strictly as an editorial diagnostic (0.4%–2.2%), never a mechanical stuffing target.C01–C30): Every externally verifiable factual, numerical, benchmark, or pricing claim must map to an inspected SourceVersion and EvidenceReference via an inline CitationNode ([n]) linking to the bottom BibliographyWidget.I15–I17): Scheduled publishing requires an approved ReviewRecord matching the site's ReviewPolicy (human_batch, automation_assisted, or authorized_autonomous) bound to the exact contentHash, bibliographyHash, and visualSetHash.G04–G05, K01–K11): Sign-in via Google, GitHub, or email magic link identifies a user; only active site members with author, editor, publisher, or owner roles see the prominent + New article homepage button or load the Plate/Slate editor chunk.Execute these stages in order and persist stage transitions in EditorialWorkflowLedger:
SiteEditorialCharter, existing inventory, and MicroUsdBudgetManager remaining daily/monthly micro-USD cap.IdeaCandidateSchema) with reader problem, search intent, original contribution, evidence sources, visual opportunities, and overlap metrics. Rank via computeWeightedEditorialScore and persist the decision record (A07–A10).evaluateCandidateOverlap). Fall back to candidate #2..#15 if blocked, and atomically reserve via AtomicTopicReservationStore (A11–A14).keyword_suggestions, related_keywords, bulk_keyword_difficulty, search_intent—omitting location_code on search_intent per B08) and live Google Organic SERP (B09–B10). Build a KeywordBrief via buildVerifiedDataForSeoBriefFromCapture.validateSafeExternalUrl (SSRF guard) and sanitizeRetrievedPassage (prompt-injection stripping). Record immutable SourceVersion, EvidenceReference, and ClaimRecord entries.E01–E30): Plan ~12 visual placements across the 30 cataloged visual applications (VISUAL_APPLICATION_CATALOG), pairing custom brand art briefs (createBrandArtBrief) with deterministic FiniteChart, ComparisonTable, CalculatorBlock, and authentic captures.ValidatedPlateDocument with CitationNode inline links, TL;DR answer card, worked examples, failure modes, and bottom BibliographyWidget.runQualityAndReleaseGate to verify schema validity, >= 2,000 substantive words, non-fixture DataForSEO freshness, 100% claim/citation resolution, visual completeness, anti-slop writing quality, metadata parity, accessibility, and ReviewRecord digest match.America/New_York slot (09:00, 14:00, 19:00), switch the immutable publishedRevisionId pointer atomically, run post-publish smoke checks, and emit sitemap/RSS updates.Load only the reference file needed for your active stage:
references/topic-selection.md — 15-idea slate prompt, weighted scoring formula, overlap thresholds, and atomic reservation (A01–A30).references/dataforseo.md — DataForSEO v3 endpoint payloads, search_intent schema rules, SERP overlap clustering, caching TTLs, and micro-USD cost tracking (B01–B30).references/evidence-and-citations.md — URL canonicalization, SSRF & prompt-injection guards, claim ledger schema, inline [n] citations, and bibliography rendering (C01–C30).references/editorial-writing.md — 2,000+ substantive word counter exclusions, anti-padding & anti-slop rules, section rhythm, and E-E-A-T disclosures (D01–D30).references/visual-production.md — Catalog of all 30 visual applications (E01–E30), brand art briefs, model tier routing, chart accessibility, and authentic captures (E01–F30).references/plate-authoring.md — Canonical Plate/Slate node schemas, custom blocks, + New article homepage button, lazy-loading boundary, and optimistic concurrency (G01–H30).references/publishing-operations.md — Three daily slots (09:00, 14:00, 19:00 America/New_York), 6-article buffer, RBAC matrix, OAuth/magic-link security, budgets, and rollbacks (I01–K30).references/examples.md — Golden 2,000+ word reference article specification vs. rejected padding/unverified-claim counterexample (L10–L11).requirement-manifest.json — Complete 360-item (A01–L30) machine-readable requirement trace.L14)../23-content-seo/SKILL.md and ../09-brand-and-content-system/SKILL.md../10-experience-and-design-system/SKILL.md../15-site-generation/SKILL.md and ../06-build-and-slice-loop/blog-and-content-engine.mdrules/openspec-change-ownership.md and rules/agent-provider-policy.md. Assign each OpenSpec change one owner through verification. Route suitable bounded changes to OpenCode with DeepSeek through LiteLLM.rules/evidence-gated-autonomous-orchestration.md. Its conference and risk gates govern provider selection and independence.control-plane/RUNTIME.md. Capture cited proposals for application code in theme.tools, host configuration in install.doctor, and agent guidance in agent-skills. Submit authorized findings to same-run OpenSpec admission.theme.tools, install.doctor, and agent-skills extraction reviews concurrently with proportional tests and release preparation. After reconciling those changes and generated outputs, revalidate the exact final tree. Commit only that tested tree, push it normally to main, promote it through the approved production rail, and run production smoke plus critical E2E verification. Fail closed without mutating production when authority, credentials, spending permission, review, recovery, validation, or provenance gates are missing; record the exact blocker instead.references/dataforseo.md (opens in a new tab)references/editorial-writing.md (opens in a new tab)references/evidence-and-citations.md (opens in a new tab)references/examples.md (opens in a new tab)references/plate-authoring.md (opens in a new tab)references/publishing-operations.md (opens in a new tab)references/topic-selection.md (opens in a new tab)references/visual-production.md (opens in a new tab)requirement-manifest.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub heymegabyte/agent-skills --plugin claude-skills46 skills in this plugin
/operating-systemSupreme policy layer governing all agent behavior. Autonomy, one-line prompt interpretation, speed standards, emphasis signal processing, cross-skill coordination, done definitions, conflict resolution. Loaded every prompt./goal-and-briefEstablish project thesis before first code. Infer product type from domain/folder/README. Identify users, business model, pSEO strategy, AI-native dev approach. Maintain PROJECT_BRIEF.md as source of truth./preference-and-memoryCaptures and evolves user preferences with confidence levels. Maintains Voice of the Customer model with exact language, dissatisfaction and aspiration signals. Handles promotion/demotion, global vs project scoping, auto memory system, and Omi wearable data integration./architecture-and-stackCloudflare-first platform selection. Workers, D1, R2, KV, DO, Queues, Vectorize, Containers, Workflows, native Go CLIs and measured Rust/WASM acceleration. Default stack, override conditions, auth, data patterns and reliability./build-and-slice-loopUse when implementing features or streaming OnePrompt site builds. Complete vertical slices with real content, strict TypeScript and Zod. Parallel section/data work, deterministic assembly, granular patches and immediate valid previews./quality-and-verification5-level verification pyramid: static→unit→Playwright E2E (homepage-first, 6bp)→AI visual→post-deploy. 8-check quality gate. Multi-agent testing (functional/security/a11y/performance). Playwright v1.56+ AI agents (Planner/Generator/Healer, v1.63 current). WCAG 2.2 AA via axe-core v4.13. Percy+Chromatic visual regression. ADA Title II 2027/2028 deadlines. TypeScript compiler diagnostics, source coverage, typed lint, and semantic navigation.Other plugins' skills for the same job