Codebase Summary
Duc’s Digital Workspace: AI-enhanced macOS development environment with 22 dotfiles packages managed via GNU Stow.
Structure Overview
Core Packages (22 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 Zshtmux- 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 scripts (tmux-sessionizer, git-worktree-manager, etc.)
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)
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
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
docs/- Main documentation folder with guides for all toolsdotfiles/nvim/.config/nvim/docs/- Neovim-specific AI documentation
Key Features
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
- 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
- Tmux - 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
- 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
System:
- macOS 12.0+
- Homebrew
- Git
- GNU Stow
Installed via Scripts:
- Neovim + plugins
- Tmux + TPM
- Terminal emulators (Ghostty, Kitty)
- Development tools (Node, Python, Rust)
- Window managers (Yabai, SKHD)
File Statistics
- Total Files: 102
- Total Tokens: 126,785
- Configuration-heavy (minimal code)
- Well-documented with inline comments
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 - Plugin updates:
:Lazy sync(Neovim),prefix + I(Tmux)
Documentation Hierarchy
- Installation - Setup from scratch
- Quick Reference - Essential commands
- Tool Guides - Detailed configuration (Tmux, SKHD, Atuin, etc.)
- Troubleshooting - Common issues and fixes
- AI Workflows - Best practices for AI tools
- Advanced - Custom configurations and extensions