Skip to content
Back to skills

Shell Configuration

ASecurity

Use for managed Bash/Zsh startup files, symlinks/config/shell/, shell prompts, completion, history, PATH, and command helpers under symlinks/config/zsh/. Not for dotfiles.sh/dotfiles.ps1 bootstrap (use self-update), Git hooks (use git-hooks-patterns), or Rust shell tasks.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
toolsrustshellbashtestinggit

Works with

  • terminal

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add sneivandt/dotfiles --skill shell-configuration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shell Configuration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shell Configuration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sneivandt-shell-configuration/badge)](https://www.skillsdirectory.com/skills/sneivandt-shell-configuration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shell-configuration
description: >
  Use for managed Bash/Zsh startup files, symlinks/config/shell/, shell prompts,
  completion, history, PATH, and command helpers under symlinks/config/zsh/.
  Not for dotfiles.sh/dotfiles.ps1 bootstrap (use self-update), Git hooks
  (use git-hooks-patterns), or Rust shell tasks.
---

# Shell Configuration

## Non-obvious invariants

- Keep login (`symlinks/bash_profile`, `symlinks/zprofile`), shared
  (`symlinks/config/shell/`), and interactive (`symlinks/bashrc`,
  `symlinks/zshrc`, `symlinks/config/{bash,zsh}/`) responsibilities separate;
  never put terminal queries or UI initialization in shared/noninteractive startup.
- Keep shared `.sh` fragments compatible with both Bash and Zsh and safe under
  `set -u` (`${VAR:-}` / `${VAR+x}`) without altering caller shell options;
  keep native Zsh syntax in Zsh-only files.
- Establish user command paths before capability checks, preserve explicit
  environment/XDG overrides, handle spaces in `PATH` entries, and keep repeated
  sourcing idempotent.
- Preserve completion trust checks (`compaudit`/ownership) and cache behavior,
  and keep history selection distinct from executing the selected command.

## Verification

Run [test_shell_config.py](../../../tests/shell/test_shell_config.py)
(isolated homes, controlled env, fake tools) rather than sourcing changes in the
live shell. See [Application configuration](../../../docs/content/development/testing.md#application-configuration).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.