What problem does it solve?
Provides architecture knowledge and modification guidelines for the dotfiles Zsh configuration, covering dual-stage loading, plugin management, and OS-aware behavior to help users safely modify their shell environment.
Core Features & Use Cases
- Architecture: Dual-stage loading with .zprofile (login) and .zshrc (interactive) to organize startup tasks and environment setup.
- Plugin & tooling: Zinit plugin manager with modular setup and safe-guard patterns (has_command) to gracefully degrade when tools are unavailable.
- PATH safety: safe_path_prepend/safe_path_append usage to build a robust PATH across macOS, Linux, and MSYS environments.
- OS-specific aliases: OS-tailored aliases files and load guards to ensure correct behavior per platform, plus cross-platform checks.
- Validation tooling: scripts/validate.sh, scripts/cross_platform_check.sh, and scripts/benchmark.sh to verify syntax, cross-platform behavior, and startup performance.
- Large codebase awareness: git-worktree.zsh and associated tests are documented to avoid excessive reads on large files.
Quick Start
Start a login shell to load the Zsh config (zsh -l) and run the validation scripts: bash .claude/skills/zsh-config/scripts/validate.sh