/colophon-skills:colophon-writefrom colophon-skills
Write a new blog post (or page) for a colophon site in a chosen author's byline and persona's voice. Use when the user asks to draft, write, or create a new post/article/entry for their colophon blog. colophon supplies the voice context and scaffolds the file; you write the prose.
Ships in colophon-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.
None: SKILL.md is the whole skill.
colophon is a context provider — it gives you the voice, tells you where to write, and scaffolds the file. You write the prose. colophon never generates content and you never pass it credentials.
The user wants a new post/page for a colophon project (a directory with a colophon.yaml).
This skill drives the colophon CLI. Before the first command, confirm it's installed:
command -v colophon || echo "colophon not found"
If it's missing, stop and offer the install — don't install it silently:
go install github.com/jmylchreest/colophon/cmd/colophon@latest (or a release binary). Proceed
only once it's on PATH.
Confirm the byline and voice. List what exists and pick (ask the user if unsure):
colophon authors # the bylines (who it's published as)
colophon personas list # the writing voices (e.g. "Senior engineer")
The author is the shown byline; the persona is the hidden writing voice (optional).
Pull the voice + exemplars. This is how you match the author's style:
colophon persona context <persona> --topic "<what the post is about>"
It returns the persona's style guide, references, and the most relevant past posts (BM25). Read these — write in that voice and reuse its conventions (callouts, code, length).
See where it'll be written (and how a post is marked live):
colophon sources
Scaffold the file. This validates the author/persona, picks a unique pinned slug, and writes a frontmatter skeleton — it does not write the body:
colophon new post "Raft leader election" --author <author> --persona <persona> --tag <tags>
# → wrote: content/posts/raft-leader-election.md url: /posts/raft-leader-election/
Use --in <source> to target a specific source; colophon new page for a standing page.
Write the body into that file, in the persona's voice. Frontmatter field meanings are in
docs/content.md (and docs/seo.md for the seo: block) — don't change the pinned slug:.
Leave [[wikilinks]] where you'd cross-link to other posts rather than inventing URLs (the
colophon-crosslink skill resolves them). Keep draft: true until the user approves.
Metadata pass — do this for every post. Once the body exists, fill the metadata that
drives search, social cards and tag pages: a genuine 140–160-char description, the seo:
block where it adds value, and 3–6 tags reusing the site's existing vocabulary (plus a
glossary entry only for jargon that's specific to this article — see below). Run the
colophon-metadata skill for the field-by-field detail; start by learning the tag
vocabulary so you reuse it rather than spawning near-duplicates:
colophon posts --json
This is not optional — a post with no description or tags ships worse search results and social previews. Do it before previewing so the rendered head is what you check.
Preview.
colophon serve --open=latest # opens the newest post; prints the URL too
Publish when the user approves — via the colophon-publish skill (gated; secrets stay
in the env). Never deploy from this skill.
Write for screen-reader and keyboard users as you go — it's far cheaper than retrofitting:
[the Raft paper](...), never "click here", "read
more", or a bare URL.); purely decorative ones use empty alt ().
For the banner/card images set hero_alt: / image_alt: in frontmatter (leave empty if the
banner is decorative).# H1 (the title), then ##/### without skipping levels.lang: in frontmatter if the post is in a different language than the site default.colophon isn't installed, surface the install command and ask — never install it silently.[[wikilinks]].draft: true until the user says to publish. Never deploy from this skill.colophon new reports an unknown author/persona, fix the name (it lists the valid ids).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/colophon-crosslinkAdd cross-references between colophon posts — wikilinks and "related posts" — so entries connect to each other. Use when the user asks to link posts together, add related/see-also links, or wire up internal references on their colophon blog./colophon-editRevise an existing colophon blog post — retitle, expand a section, tighten, or fix — while preserving the author's voice and the frontmatter contract. Use when the user asks to edit, rewrite, expand, shorten, or fix an existing post on their colophon site./colophon-metadataFill or improve a colophon post's metadata — the description, the seo: block (title/description/keywords/social), tags reusing the site's existing vocabulary, and (rarely) a glossary entry for genuinely obscure jargon. Use when the user asks to add SEO, a summary/description, social copy, tags, or a glossary definition to a post.npx claudepluginhub jmylchreest/colophon --plugin colophon-skills