🔧 Where my dotfiles lives in harmony and peace, most of the time

♻️ Move agent prompts to skills

+6 -13
+3 -10
agents/prompts/commit.md agents/skills/git-commit/SKILL.md
··· 1 1 --- 2 - description: Create atomic git commits using conventional commits prepended with emojis. 2 + name: git-commit 3 + description: Create atomic commits prepended with emojis 3 4 --- 4 5 5 6 # Commit 6 7 7 - Create atomic git commits using conventional commits prepended with emojis. 8 - 9 - ## Constraints (Non-Interactive) 10 - 11 - This prompt runs unattended (e.g. from a detached tmux session). 12 - 13 - - Use only non-interactive commands. 14 - - Never open an editor or pager. 15 - - Do not run `git push`. 8 + Create atomic commits prepended with emojis using only non-interactive commands. 16 9 17 10 ## Process 18 11
+2 -1
agents/prompts/simplify.md agents/skills/simplify/SKILL.md
··· 1 1 --- 2 + name: simplify 2 3 description: Refactor code to be simpler while maintaining identical functionality 3 4 --- 4 5 ··· 8 9 9 10 ## Objective 10 11 11 - Simplify `$ARGUMENTS`. Implementation should be **straightforward and pragmatic**. The goal is to get the most minimal code possible. 12 + Simplify and clean the code. Implementation should be **straightforward and pragmatic**. The goal is to get the most minimal code possible. 12 13 13 14 ## Principles 14 15
-1
agents/setup.sh
··· 13 13 mkdir -p "${CODEX_DIR}" 14 14 ln -sf "${AGENTS_DIR}/codex/config.toml" "${CODEX_DIR}/config.toml" 15 15 ln -sf "${AGENTS_DIR}/AGENTS.md" "${CODEX_DIR}/AGENTS.md" 16 - ln -sfT "${AGENTS_DIR}/prompts" "${CODEX_DIR}/prompts" 17 16 ln -sfT "${AGENTS_DIR}/skills" "${CODEX_DIR}/skills" 18 17 } 19 18
+1 -1
terminal/zshrc
··· 66 66 67 67 # Functions 68 68 aigcm() { 69 - tmux new-session -d -s "aigcm-$(date +%s)" "codex exec - < $HOME/projects/dotfiles/agents/prompts/commit.md" 69 + tmux new-session -d -s "aigcm-$(date +%s)" "pi -p 'commit changes'" 70 70 } 71 71 72 72 qgs() {