Skip to content

Free, open source blog writer for Claude Code. Researches current sources, writes answer-first posts for Google and AI answers, has an independent reviewer score each one out of 100 and ships only after five delivery gates. 32 skills, 30 /blog commands, 5 agents. Active development at AI-Marketing-Hub/claude-blog; public releases ship here.

Fix unbound TEMP_DIR variable on EXIT trap

AgriciDanielb4afbc826d57
diff --git a/install.sh b/install.sh
index 04a71a4..0ee7c89 100755
--- a/install.sh
+++ b/install.sh
@@ -7,11 +7,13 @@ set -euo pipefail
# One-command install:
# curl -sL https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.sh | bash
+# Declared outside main() so the EXIT trap can access it after main() returns
+TEMP_DIR=""
+
main() {
local SKILL_DIR="${HOME}/.claude/skills"
local AGENT_DIR="${HOME}/.claude/agents"
local SCRIPT_DIR
- local TEMP_DIR=""
echo ""
echo " ╔══════════════════════════════════════╗"