summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-31 12:29:19 +0300
committerPaul Buetow <paul@buetow.org>2026-03-31 12:29:19 +0300
commit4e6273ef3758fa0cfaea4d8e8f885eff1720710c (patch)
treea5e387c6f3302457a8be32b528cb685e8646fa7e
parentd7a33b2580f7456b905efa4d0787e400cf731a22 (diff)
yes
-rw-r--r--fish/conf.d/tmputils.fish16
-rw-r--r--fish/conf.d/tmux.fish6
-rw-r--r--prompts/skills/blog-writing-style/SKILL.md10
3 files changed, 29 insertions, 3 deletions
diff --git a/fish/conf.d/tmputils.fish b/fish/conf.d/tmputils.fish
index 938499f..ce5b541 100644
--- a/fish/conf.d/tmputils.fish
+++ b/fish/conf.d/tmputils.fish
@@ -66,6 +66,22 @@ function tmpfile
cat $TMPUTILS_TMPFILE
end
+function tmpmove
+ set -l name (basename (pwd))
+ set -l src (pwd)
+ set -l dest ~/Notes/tmp/$name
+
+ if test "$src" != "$TMPUTILS_DIR/$name"
+ echo "tmpmove: not inside a tmp directory ($TMPUTILS_DIR/<name>)"
+ return 1
+ end
+
+ mkdir -p ~/Notes/tmp
+ mv $src $dest
+ cd $dest
+ echo "Moved $src -> $dest"
+end
+
abbr -a cdtmp "cd $TMPUTILS_DIR"
abbr -a tmpn tmpnew
abbr -a temp tmpnew
diff --git a/fish/conf.d/tmux.fish b/fish/conf.d/tmux.fish
index 84cc6c3..5e09606 100644
--- a/fish/conf.d/tmux.fish
+++ b/fish/conf.d/tmux.fish
@@ -46,6 +46,12 @@ function tmux::project
return 1
end
+ set -l tmp_dir "$TMPUTILS_DIR/$argv[1]"
+ if test -d "$tmp_dir"
+ tmux::attach $argv[1] $tmp_dir
+ return
+ end
+
set -l dir (zoxide query -i $argv[1] 2>/dev/null)
if test $status -ne 0; or test -z "$dir"
echo "tp: no zoxide match for '$argv[1]'"
diff --git a/prompts/skills/blog-writing-style/SKILL.md b/prompts/skills/blog-writing-style/SKILL.md
index c55aea5..590541c 100644
--- a/prompts/skills/blog-writing-style/SKILL.md
+++ b/prompts/skills/blog-writing-style/SKILL.md
@@ -177,7 +177,11 @@ Rewrite text that contains these patterns:
**After (Human):**
> "Honestly, the Beelink S12 Pro with the N100 is kind of perfect for this — tiny, cheap, sips power, and runs both Linux and FreeBSD without drama. I'm pretty happy with it."
-### 6. Preserve What Works
+### 6. Gemtext Format Constraints
+
+Gemtext (`.gmi` / `.gmi.tpl`) does NOT support Markdown bold (`**text**`) or italic (`*text*`). Gemtexter will not render these. Never use `**...**` or `*...*` for emphasis in blog posts. Instead, rely on sentence structure, word choice, or `backticks` for inline emphasis.
+
+### 7. Preserve What Works
Do NOT change:
- Technical accuracy
@@ -188,7 +192,7 @@ Do NOT change:
- Personal anecdotes that already sound human
- Direct quotes from sources (only rewrite your own commentary)
-### 7. Process Each File
+### 8. Process Each File
1. Read the target `.gmi.tpl` or standalone `.gmi` file
2. Identify sections that sound LLM-generated
@@ -197,6 +201,6 @@ Do NOT change:
5. Show a diff before writing
6. Write the updated file
-### 8. Related Skills
+### 9. Related Skills
When using `compose-blog-post` or `update-blog-post`, apply this writing style proactively to ensure new content sounds human from the start. Reference this skill when writing or editing any blog content.