/colophon-skills:colophon-metadatafrom colophon-skills
Fill 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.
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.
Populate the frontmatter that drives search, social cards and tag pages. Every field has one
rendering effect (docs/seo.md), so set only what helps and let colophon's defaults cover the
rest.
The user wants metadata — a description, the seo: block, tags, or a glossary entry — on a post:
either a new one as the final pass of colophon-write, or an existing one on its own.
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.
Read the post and learn the existing tag vocabulary (so you reuse tags, keeping tag pages coherent rather than spawning near-duplicates):
colophon posts --json # every entry's tags → the site's vocabulary
Write description if missing — a genuine 140–160-char summary that earns the click (no
"in this post", no teasing). It feeds the meta description, og:description and feeds.
Fill the seo: block only where it adds value (see docs/seo.md for each field):
seo:
title: "≤60 chars; front-load the primary keyword; the author's voice, not clickbait"
description: "140–160 chars; unique to this page"
keywords: [4–8 terms a reader would actually search] # seed from existing tags
social:
title: "punchier share-optimised title" # only if it beats the search title
# canonical / noindex / image / type: set only with a specific reason; else omit (defaults apply)
Tags — propose 3–6, reusing existing tags where they fit; only add a new tag when
warranted. Update the post's tags:.
Glossary — rarely, and only when it clears a high bar. colophon's optional
glossary.yaml (project root, term: definition) auto-decorates the first use of a term
across the whole site. Drive the candidate from this article's jargon, and add an entry
only when a term is both:
Keep it sparse: most posts add nothing; one or two terms at most. Reuse an existing entry rather than adding a near-duplicate, and never redefine a term whose meaning differs here.
# glossary.yaml (project root) — shared site-wide
BM25: "A ranking function search engines use to score how well a document matches a query."
A post opts out entirely with glossary: false in its frontmatter.
Preview and confirm the rendered head:
colophon serve --open=<slug>
colophon isn't installed, surface the install command and ask — never install it silently.seo.type is the schema.org type — unrelated to the post's type: (post/page).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jmylchreest/colophon --plugin colophon-skills6 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-moderate-mentionsReview a colophon site's received webmentions for spam/abuse and distill the bad ones into small, general glob rules in the committed blocklist (.colophon/webmention-block.yml), so moderation survives the cache's full regenerate. Use when the user asks to moderate, clean up, or block webmention spam/replies./colophon-publishPreview, validate, and publish a colophon site — run doctor, build, serve a local preview, and deploy to the configured publishers. Use when the user asks to preview, build, check, deploy, or publish their colophon blog./colophon-writeWrite 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.