Blog drafting skill
Goal
- •Draft a Jekyll blog post in
docs/_posts/from a publication issue + selected ideas/documents.
Inputs
- •Issue title and body (or a local note).
- •Optional explicit
idea_idsanddoc_ids.
Outputs
- •
docs/_posts/YYYY-MM-DD-<slug>.mdwith frontmatter:- •
layout: post - •
idea_ids: [...] - •
doc_ids: [...]
- •
Procedure
- •
Prepare an issue body file (or use automation that writes it).
- •
Draft:
- •
python tools/townctl.py draft-post --issue-title "<title>" --issue-number 123 --issue-body-file issue_body.txt --idea-ids idea_... --doc-ids doc_...This uses the configured LLM backend: - •
TOWN_LLM_BACKEND=openai|anthropic - •
OPENAI_API_KEYorANTHROPIC_API_KEY
- •
- •
Regenerate indexes + validate:
- •
python tools/townctl.py index - •
python tools/townctl.py export-site - •
python tools/townctl.py lint
- •
Guardrails
- •No long verbatim excerpts from reference-only sources.
- •Always cite idea IDs and doc IDs inline.