create-post
Installation
SKILL.md
Create Post
Guardrail: The user provides the article body, outline, or brief. This skill ensures valid frontmatter, filename/slug alignment, and Markdown structure — it is not an autonomous article factory.
For content strategy, keyword targeting, GEO, or post optimization → use marketing-skills.
Steps
- Read
AGENTS.mdand inspect existing posts incontent/blog/. - Confirm the user supplied content or a clear brief; do not invent long-form copy without input.
- Choose a unique kebab-case
slugmatching the filename. - Write frontmatter that passes
postFrontmatterSchema(description 80–320 chars). - Write Markdown body with:
- One
#title (optional; stripped if duplicate of frontmatter title) ##sections for structure- Internal links to other posts using
/blog/{slug}paths
- One
- Run
npm run validate:postsintemplates/next.
Create the file at templates/next/content/blog/{slug}.md.