draft-post
БесплатноБез исполняемых скриптовНе проверенUse to write the first full draft of a Ghost blog post locally, matching the author's style guide, then self-audit it against the anti-pattern checklist…
от schuettc★ 15 звёзд на GitHubОб этом скилле
Draft a Ghost blog post
You are writing the first full draft of a blog post and saving it locally. No Ghost round-trips — this skill writes only to the local filesystem. Work through each phase in order.
Phase 1: Load config
Read .claude/ghost.local.md and extract:
Read(".claude/ghost.local.md")
Fields you need:
drafts_dir— where local draft.mdfiles live (defaultblog-posts/drafts).style_guide_path— path to the style guide (default.claude/ghost-style-guide.md).
If ghost.local.md does not exist, use the defaults above.
Phase 2: Load the style guide
Read the style guide at style_guide_path:
Read("<style_guide_path>")
Parse and internalize all four sections:
- Stated voice — audience, reader outcome, tone, admired references, explicit avoidances, structural preferences. This is authoritative; follow it literally.
- Observed patterns — typical length, sentence rhythm, paragraph rhythm, opening/closing moves, structural moves, vocabulary register, formatting habits, PoV/tense.
- Anti-patterns — the full list of forbidden patterns. You will run these as a self-audit in Phase 5.
- Provenance log — note which posts have been folded in (for context only).
If the style guide does not exist: note "no style guide found — run /ghost:build-style-guide first". Continue with generic best-practice prose but warn the author the draft is not style-matched.
Phase 3: Plan — settle angle and outline
Before writing a single word of prose, settle the angle and structure.
3a. Check for topic overlap (optional)
If the Ghost MCP connection is available, call:
ghost_post_list(filter="status:published", limit=50, fields="id,title,url")
Scan the returned titles. If an existing post covers essentially the same topic and angle, surface that to the author:
"I found an existing post that may overlap: '
' ( ). Would you like to take a distinct angle, or is this a follow-up?"
Wait for the author's direction before continuing. If ghost_post_list is unavailable or fails, skip this check silently and continue.
3b. Confirm the angle
State the specific angle in one sentence — what claim or insight this post makes, and for whom. If the author gave you a topic but not an angle, propose one and ask for a quick confirm before outlining:
"Proposed angle:
. Does that fit what you had in mind?"
Wait for confirmation (a quick "yes" or redirect is enough) before continuing.
3c. Build the outline
Produce a lightweight outline:
- Title (working): a concrete, non-clickbait title.
- Opening move: which pattern from the Observed patterns (anecdote / assertion / code example / problem statement / question). Match the author's typical opening style.
- Body sections: 3–5 section headings with a one-line summary of what each covers.
- Closing move: which pattern from the Observed patterns (summary / open question / CTA / sign-off). Match the author's typical close.
- Estimated word count: based on the Observed patterns range.
- Code examples: list any that belong in the post (title + language).
Show the outline to the author and confirm before drafting. A quick "looks good" is sufficient. A redirect at this stage costs seconds; a redirect after a full draft costs minutes.
Phase 4: Draft to the local file
Once the outline is confirmed, write the full draft.
4a. Derive the filename
Slug the working title: lowercase, hyphens for spaces, remove punctuation.
<drafts_dir>/<YYYY-MM-DD>-<slugified-title>.md
Example: blog-posts/drafts/2026-06-19-shipping-faster-with-preflight-checks.md
4b. Write the draft
Write the complete draft to the filename derived above. The draft file must use this structure:
Write("<drafts_dir>/<filename>.md", <full draft content>)
---
title: "<working title>"
status: draft
date: <YYYY-MM-DD>
tags: []
generator: "ghost:draft-post"
next: "/ghost:revise-post"
---
<full prose content>
The provenance note is front matter, not an HTML comment, and that is load-bearing.
This template used to emit <!-- DRAFT — produced by /ghost:draft-post. … --> as the
first line of the body. Drafts are reviewed in galley (galley edit <draft.md>), which
REFUSES raw HTML outright — and an HTML comment is raw HTML. So every draft this skill
produced was unopenable for review, and the author had not typed a character yet: the
tool put the blocker in before the writing started. Measured 2026-08-22 against a real
corpus — 19 of 24 drafts in ghost-site refused, every one on that banner line, at lines
7-11. Front matter is parsed and skipped by galley, and push-draft reads named keys
and ignores the rest, so the provenance survives with nothing downstream to teach.
DO NOT put an HTML comment back into the emitted draft, here or anywhere else in this skill. If something new needs to ride along with a draft, it goes
Установить draft-post в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл draft-post?
Use to write the first full draft of a Ghost blog post locally, matching the author's style guide, then self-audit it against the anti-pattern checklist. Triggers on "draft a post about X", "write the first draft", "start a new blog post".
Как установить скилл draft-post?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл draft-post запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic