Ghost Writing Skill
Write accurate, original, SEO-ready, and Google AdSense-compliant Posts and Pages for a self-hosted Ghost 6.x Site using the connected ghost-cms-mcp tools.
Use the canonical MCP tool names below regardless of any client-specific tool prefix (for example,
mcp__ghost__create_postorcreate_post).
1. Orient to the Connected Site & Editorial Profile
Before drafting any Post or Page:
- Call
get_site_infoto confirm the connected Site's title, description, URL, and hostname. - Call
list_tags(withincludePostCount: true) andlist_posts(limit: 15,order: "published_at desc") to understand existing taxonomy, tone, and internal linking targets. - Resolve the Site's Editorial Profile in order:
- First check
./ghost-profile.mdin the current workspace. - Next check
~/.config/ghost-mcp/profiles/<site-hostname>.md(using the hostname fromget_site_info.url, e.g.,example.com.md).
- First check
- Graceful fallback & onboarding when no Editorial Profile exists:
- Never block or fail if neither file exists. Infer niche, language, and tone from
get_site_info, existing Tags, recent Posts, and the user's prompt so you can still complete the task smoothly. - At a natural point (either before drafting or alongside the finished Draft), suggest creating a tailored Editorial Profile for the Site: offer to run a brief 4–6 question interview paired with a quick review of their existing Posts/Tags, then draft and save the Editorial Profile using references/editorial-profile-template.md only after the user reviews and approves it.
- Never block or fail if neither file exists. Infer niche, language, and tone from
2. Live Primary-Source Research (No Guessing)
Every factual claim, statistic, version number, release date, pricing detail, or policy statement must be verified against current primary sources (official documentation, standards bodies, vendor changelogs, or peer-reviewed/first-party data):
- Use whatever live web search and page-fetching capabilities your environment provides.
- If live web search is disabled, offline, or restricted to a stale cache: stop and inform the user before inventing facts. Either ask the user to supply primary sources/notes or proceed strictly with verified facts from the user's input and clearly mark any unverified sections as needing human verification before publishing.
- Synthesize original value: add structure, concrete examples, comparisons, edge cases, and clear takeaways ("Who, How, Why" E-E-A-T). Never paraphrase a single competitor article or publish thin summaries.
3. Writing Craft & Ghost 6.x HTML Formatting
Follow references/ghost-html-formatting.md when producing the html field for create_post, update_post, create_page, or update_page:
- Open directly and answer the reader's search intent early. Avoid generic AI filler, clichés (such as "In today's fast-paced digital world", "delve into", "game-changer", or empty throat-clearing intros), and repetitive phrasing.
- For non-English Sites (such as Arabic or French), write naturally and idiomatically in the target language rather than producing stiff, literal translations from English.
- Start body headings at
<h2>and nest cleanly (<h2>→<h3>). Never put<h1>inside body HTML (Ghost renders the title as<h1>). - Keep paragraphs scannable, use semantic
<ul>/<ol>/<table>/<pre><code>blocks, and use descriptive anchor text (never"click here"or"read more"). - Wrap every inline image in
<figure><img src="..." alt="Descriptive alt text"><figcaption>...</figcaption></figure>. - Ghost emits
ArticleJSON-LD automatically—never duplicate it. Only usecodeinjection_headfor valid supplementary JSON-LD (such asFAQPageorHowTo) that directly matches visible content on the Post or Page. - When updating metadata only (such as SEO fields, Tags, or
custom_template), omit bothhtmlandlexicalonupdate_post/update_pageso the existing Lexical body is preserved untouched. - Always pass the latest
updated_attimestamp fromget_post/get_pageon updates.
4. Feature Images & Media Hygiene
When attaching a Feature Image or inline visual from disk:
- Never hotlink or scrape copyrighted third-party images. Only upload user-provided, original/AI-generated, or properly licensed images.
- Prefer a 16:9 landscape aspect ratio at ≥ 1200px wide (for example,
1200×675or1600×900) for Feature Images to align with Google Discover and Open Graph/Twitter cards. - Call
upload_imagewith a descriptive SEOfilename(lowercase kebab-case, e.g.ghost-v6-architecture-diagram.webp). - Leave
optimize: true(the default) so static rasters (including.avif) are automatically converted to compressed WebP (maxWidth: 1600,quality: 82, auto-oriented, EXIF stripped) while SVG, multi-frame animated GIF/WebP, and ICO (purpose: "icon") pass through untouched. - Always write a concise, descriptive
feature_image_alt(≤ 191 characters) and descriptivealttext on every inline<img>.
5. SEO, Taxonomy & Google AdSense Compliance
Consult references/seo-and-adsense-checklist.md before saving or publishing:
- Complete
meta_title(50–60 chars recommended, ≤ 300 hard cap),meta_description(120–160 chars recommended, ≤ 500 hard cap),custom_excerpt(≤ 300 chars), lowercase ASCII kebab-caseslug, andfeature_image_alt(≤ 191 chars). For non-Latin languages (such as Arabic), generate concise lowercase ASCII/English kebab-case slugs (matching theNON_KEBAB_SLUGguardrail) unless the Site's Editorial Profile explicitly specifies otherwise. - Reuse existing public Tags from
list_tagswhenever possible. Avoid creating single-post public Tags (thin tag archive pages); use#internalTags for private organization. - Add 2–4 contextual internal links to relevant published Posts or Pages using only real URLs returned by
list_postsorlist_pages—never guess, fabricate, or assume internal Site paths. - Respect Google AdSense publisher policies: original human-reviewed value, zero placeholder text (
TODO,TBD,lorem ipsum), accurate disclosures, and no prohibited content categories. - When asked to check Site-wide AdSense readiness, run
audit_site_readiness(passcheckLiveEndpoints: falsefor local/staging Sites) and prioritize fixing allblockerfindings beforewarningfindings.
6. Draft-First Publishing Workflow
- Interactive sessions (default): Always create new Posts and Pages with
status: "draft". Aftercreate_post/create_page/update_post/update_page, inspect the returnedwarnings[]and fix any actionable warnings. Then present a concise review summary to the user:- Title, slug, status (
draft), Tags, andcustom_template(if set) - SEO
meta_title,meta_description, and Feature Image +alt - Verified primary sources used
- Remaining
warnings[](if any) and confirmation before changing status topublishedorscheduled
- Title, slug, status (
- Explicit automated publishing: Only pass
status: "published"orstatus: "scheduled"directly when the user explicitly requests automated live publishing and all factual checks, metadata fields, and placeholder checks have passed with zero blockers.