From a20c53348e1a0201fedf0df3b000fb36cd92c6d4 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 7 Feb 2026 16:02:59 -0800 Subject: [PATCH] taffybar: add AGENTS.md Co-Authored-By: Claude Opus 4.6 --- dotfiles/config/taffybar/AGENTS.md | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dotfiles/config/taffybar/AGENTS.md diff --git a/dotfiles/config/taffybar/AGENTS.md b/dotfiles/config/taffybar/AGENTS.md new file mode 100644 index 00000000..b3b4e3b6 --- /dev/null +++ b/dotfiles/config/taffybar/AGENTS.md @@ -0,0 +1,33 @@ +# Agentic Session Preferences (taffybar) + +## Ad hoc running +- Prefer `just run` (foreground) and `just restart` (background) when running taffybar during iterative work. +- If running manually, prefer `direnv exec . cabal run` (or `nix develop -c cabal run` if direnv is not active) so you get the right build inputs and environment. + +## Tmux session titling +- If the TMUX environment variable is set, treat this chat as the controller for the current tmux session. +- Maintain a session/window/pane title that updates when the task focus changes substantially. +- Prefer automatic titling: infer a concise from the current user request and context without asking. +- Title format: " - ". + - is the basename of the current project directory. + - Prefer git repo root basename if available; otherwise use basename of the current working directory. + - is a short, user-friendly description of what we are doing. +- Ask for a short descriptive only when the task is ambiguous or you are not confident in an inferred title. +- When the task changes substantially, update the automatically if clear; otherwise ask for an updated . +- When a title is provided or updated, immediately run this one-liner: + + tmux rename-session ' - ' \; rename-window ' - ' \; select-pane -T ' - ' + +- Assume you are inside tmux, so do not use -t unless the user asks to target a specific session. + +## Pane usage +- Do not create extra panes or windows unless the user asks. + +## NixOS workflow +- This system is managed with a Nix flake at `~/dotfiles/nixos`. +- Use `just switch` from that directory for rebuilds instead of plain `nixos-rebuild`. +- Host configs live under `machines/`; choose the appropriate host when needed. + +## Skills +A skill is a set of local instructions to follow that is stored in a `SKILL.md` file. +