Agent skill
dotfiles-session-notes
Repo-specific operational notes for /Users/kobas-mac/srcview/dotfiles. Use when working on zsh history ignorePatterns behavior, or when applying the user preference to beep on completion.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/dotfiles-session-notes
SKILL.md
Dotfiles Session Notes
Overview
Capture session-specific behavior and preferences for this dotfiles repo so changes remain consistent and user expectations are met.
Zsh History Ignore Patterns
- Prefer
programs.zsh.history.ignorePatternsfor the pattern list inhome/zsh/default.nix. HISTORY_IGNOREonly filters when writing the history file; to prevent entries from being added at all, define azshaddhistoryhook.- Ensure extended globbing is enabled (
setopt EXTENDED_GLOB) and use[[ $1 != ${~HISTORY_IGNORE} ]]inside the hook. - The patterns use extended glob syntax like
ls#( *)#, so keepsetopt extendedglobwithin the hook as well. - To disable extended globbing in the current shell session, run
unsetopt EXTENDED_GLOB. - In Nix multi-line strings (like
initContent), escape zsh variables as''${VAR}to avoid Nix interpolation, e.g.''${HISTORY_IGNORE:-}. zshaddhistoryreceives the command line with a trailing newline; strip it (e.g.local line=''${1%%$'\n'}) before matching ignore patterns.- If ignored commands still show on Up/Down, clear in-memory history with
history -cthen reload withfc -R.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?