Codebase Summary
Duc’s Digital Workspace: AI-native macOS development environment with 35 dotfiles packages managed via GNU Stow.
Structure Overview
Section titled “Structure Overview”Core Packages (35 total)
Section titled “Core Packages (35 total)”Editors & IDEs:
nvim- Neovim with AstroNvim v6 distributionnvim-vscode- VSCode Neovim integrationvscode- VSCode settings and keybindings
Terminal & Shell:
zsh- Primary shell configuration with Oh My Zshherdr- Primary terminal workspace manager for coding agentstmux- Legacy terminal multiplexer with custom pluginsghostty- Modern terminal emulatorkitty- Alternative terminal emulatoratuin- Intelligent shell history with syncstarship- Cross-shell prompt configuration
Window Management:
yabai- Tiling window manager (BSP layout)skhd- Hotkey daemon for app switchingkarabiner- Keyboard customizationhammerspoon- macOS automation scripts
File & Git Management:
yazi- File manager with custom pluginslazygit- Git TUI configurationbin- Custom workspace, file-opening, and automation scripts
Development Tools:
direnv- Automatic environment loadingmise- Runtime version managementtask- Task runner configurationzathura- PDF viewer configuration
Other:
claude- Claude AI user configurationvrapperrc- Vim keybindings for Eclipse
Scripts (13 scripts)
Section titled “Scripts (13 scripts)”Installation & Setup:
scripts/macos-deps.sh- Install macOS dependenciesscripts/ci/- CI pipeline scripts (validate, check-dependencies, test-platforms)
Neovim Management:
scripts/nvim-install-parser.sh- Install treesitter parsersscripts/nvim-treesitter-arm64.sh- ARM64 specific setupscripts/refresh-nvim.sh- Refresh Neovim plugins
Maintenance:
scripts/yabai-upgrade.sh- Update window managerscripts/export-atuin-aliases.sh- Export shell aliasesscripts/import-atuin-aliases.sh- Import shell aliasesscripts/appscript-notifications.scpt- macOS notifications
Configuration Files
Section titled “Configuration Files”Makefile- Build automation (stow install/clean, alias management).stow-local-ignore- GNU Stow ignore patterns.repomixignore- Repomix packing exclusions.gitleaksignore- Secrets scanning exclusions.gitignore- Git ignore patternszensical.toml- Documentation site configurationmise.toml- Runtime version specificationsCLAUDE.md- Claude AI project instructions
Documentation
Section titled “Documentation”docs/- Main documentation folder with guides for all toolsdotfiles/nvim/.config/nvim/docs/- Neovim-specific AI documentation
Key Features
Section titled “Key Features”Window Management
Section titled “Window Management”- Yabai - Binary space partitioning with 5px gaps
- SKHD - Modal hotkey system with app shortcuts
- App Rules - Specific window behavior per application
AI Integration
Section titled “AI Integration”- Supermaven - Real-time code completion (Tab to accept)
- CodeCompanion - Gemini API chat and inline assistance
- Database AI - SQL-specific AI helpers via miudb
- fzf-lua - Fuzzy finder (replaced Telescope)
- Oil.nvim - File explorer (replaced Neo-tree)
Terminal Workflows
Section titled “Terminal Workflows”- Herdr - Persistent workspaces, panes, and agent navigation
- Tmux - Legacy session management with custom plugins
- Atuin - Command history with cloud sync
- Starship - Modern shell prompt with themes
- Ghostty - Primary terminal with modern features
Development Environment
Section titled “Development Environment”- AstroNvim - Modern Neovim distribution
- Language Servers - LSP support for multiple languages
- Database Tools - Advanced SQL with Snowflake support
- Version Management - Mise for runtime versions
Dependencies
Section titled “Dependencies”System:
- macOS 12.0+
- Homebrew
- Git
- GNU Stow
Installed via Scripts:
- Neovim + plugins
- Herdr via mise
- Tmux + TPM (legacy)
- Terminal emulators (Ghostty, Kitty)
- Development tools (Node, Python, Rust)
- Window managers (Yabai, SKHD)
Maintenance
Section titled “Maintenance”Key Files for Updates:
Makefile- Installation proceduresREADME.md- Public documentationCLAUDE.md- Development instructionsdotfiles/nvim/- Editor configurationdotfiles/zsh/.zshrc- Shell setup
Common Tasks:
- Stow install/clean:
make stow-install/clean - Alias management:
make export/import-aliases - Service restart:
brew services restart yabai skhd - Config reload:
herdr server reload-config - Plugin updates:
:Lazy sync(Neovim),prefix + I(legacy Tmux)
Documentation Hierarchy
Section titled “Documentation Hierarchy”- Installation - Setup from scratch
- Quick Reference - Essential commands
- Tool Guides - Detailed configuration (Herdr, Neovim, SKHD, Atuin, and legacy Tmux)
- Troubleshooting - Common issues and fixes
- AI Workflows - Best practices for AI tools
- Advanced - Custom configurations and extensions