diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-22 13:14:56 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-22 13:14:56 +0200 |
| commit | 33bfffd1392348ab53b3f93db7d3849563b32608 (patch) | |
| tree | 1265a397a5ea87f486b4eb3e764a767d4610d7ed | |
| parent | 860582e45b2273b12f5170440650a26a3553949b (diff) | |
Update
| -rw-r--r-- | fish/conf.d/update.fish | 2 | ||||
| -rw-r--r-- | prompts/skills/compose-blog-post/SKILL.md | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/fish/conf.d/update.fish b/fish/conf.d/update.fish index fcccd6b..2f77f2e 100644 --- a/fish/conf.d/update.fish +++ b/fish/conf.d/update.fish @@ -1,4 +1,4 @@ -unction update::tools +function update::tools set pids echo "Installing/updating gofumpt" diff --git a/prompts/skills/compose-blog-post/SKILL.md b/prompts/skills/compose-blog-post/SKILL.md index ddbbfbe..be135a3 100644 --- a/prompts/skills/compose-blog-post/SKILL.md +++ b/prompts/skills/compose-blog-post/SKILL.md @@ -10,7 +10,7 @@ Compose a blog post in gemtext for the foo.zone gemfeed. **Only write or modify ## When to Use - Use when the user wants to write or draft a new blog post for foo.zone. -- Use when they describe a topic, share notes, or ask to “write a post about X”. +- Use when they describe a topic, share notes, or ask to "write a post about X". ## Instructions @@ -21,7 +21,7 @@ Compose a blog post in gemtext for the foo.zone gemfeed. **Only write or modify - Section levels and link style - Closing (related posts, E-Mail, Back to main site) -2. **Decide filename and date.** Use `YYYY-MM-DD-slug.gmi.tpl` for the template file. Ask for the publish date and slug if the user doesn’t specify them. +2. **Decide filename and date.** Use `YYYY-MM-DD-slug.gmi.tpl` for the template file. Ask for the publish date and slug if the user doesn't specify them. 3. **Structure the post** in this order: - `# Title` (first line) @@ -31,7 +31,7 @@ Compose a blog post in gemtext for the foo.zone gemfeed. **Only write or modify - First image (if any) and/or main product/external links - **Table of Contents** (see below) - Body with `##` and `###` sections - - Optional: “Other related posts:” with `=> ./YYYY-MM-DD-slug.gmi YYYY-MM-DD Title` lines + - Optional: "Other related posts:" with `=> ./YYYY-MM-DD-slug.gmi YYYY-MM-DD Title` lines - `E-Mail your comments to \`paul@nospam.buetow.org\` :-)` - `=> ../ Back to the main site` (last line) @@ -56,7 +56,7 @@ Compose a blog post in gemtext for the foo.zone gemfeed. **Only write or modify 8. **Ask when unclear.** If the topic, date, slug, or need for ASCII art / images / related posts is missing, ask the user before writing. -9. **Add to index.** After saving the post, add one line at the top of `~/git/foo.zone-content/gemtext/gemfeed/index.gmi`: +9. **Add to index.** After saving the post template, add one line at the top of `~/git/foo.zone-content/gemtext/gemfeed/index.gmi.tpl` only (do not edit `index.gmi`): `=> ./YYYY-MM-DD-slug.gmi YYYY-MM-DD - Post title` -10. **Preview and confirm.** Show a short preview (e.g. title, TOC, and first section) before writing the file. After saving, confirm the path and that the index was updated. +10. **Preview and confirm.** Show a short preview (e.g. title, TOC, and first section) before writing the file. After saving, confirm that only `.gmi.tpl` files were created or modified (post template and index template) and that no `.gmi` files were changed. |
