summaryrefslogtreecommitdiff
path: root/prompts/commands
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-14 22:51:23 +0200
committerPaul Buetow <paul@buetow.org>2026-02-14 22:51:23 +0200
commit9b3262868e2e7f70d0f753958310fa974dd74268 (patch)
tree2b0809466d3bd2f0b46a61d56830b6464b314251 /prompts/commands
parentbd5178ac858f6ac2f7aa371b972eb1a4d3e5943d (diff)
update prompt
Diffstat (limited to 'prompts/commands')
-rw-r--r--prompts/commands/compose-blog-post.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/prompts/commands/compose-blog-post.md b/prompts/commands/compose-blog-post.md
new file mode 100644
index 0000000..7af3d55
--- /dev/null
+++ b/prompts/commands/compose-blog-post.md
@@ -0,0 +1,18 @@
+# Compose blog post
+
+Compose a blog post in ~/git/foo.zone-content/gemtext/gemfeed/ in gemtext format.
+
+1. Read 2-3 recent blog posts from the gemfeed directory to match the existing style (title, published date, TOC, links, closing).
+2. Use the filename format: `YYYY-MM-DD-slug.gmi.tpl` (ask for the date and slug if not specified).
+3. Follow the gemtext conventions from existing posts:
+ - `# Title` as first line
+ - `> Published at` with ISO 8601 timestamp and timezone
+ - `<< template::inline::toc` after the intro paragraph
+ - `=> ./slug/image.ext Description` for images (create an asset directory named after the slug if images are needed)
+ - `=> URL Description` for external links
+ - Section headers with `##` and `###`
+ - Code blocks with triple backticks
+ - Closing with `E-Mail your comments to paul@nospam.buetow.org :-)` and related posts index
+ - `=> ../ Back to the main site` as the last line
+4. Ask what the blog post should be about if no topic is given.
+5. Show a preview before writing the file.