.claude/skills/manage-dotfiles/SKILL.md
Manage dotfiles and keep synced with external directories. Use on Linux / macOS systemswhen thetre are external connfigs which are being imported into the dotfiles, or when stored dotfiles need to be brought outside to the XDG environment.
npx skillsauth add poorrican/dotfiles manage-dotfilesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
On Linux and macOS, dotfiles will be managed via GNU stow.
The stored dotfiles will use the XDG configuration for simplicity and organization.
The commands below assume that there is a specific config package which is being interacted with (eg: nvim)
Sync a dotfiles package to its target location using GNU stow.
Validate the package exists at ~/dotfiles/{package}:
result, docs, ░▒▓ OLD ▓▒░)Run stow to deploy the package:
stow -v -d ~/dotfiles -t ~ {package}
Report what was linked. If stow reports conflicts, explain what's blocking and suggest using stow -D to unstow first, or stow -R to restow.
Import an external config into the dotfiles repository and stow it.
Resolve the path: Expand ~ and resolve to an absolute path. Verify the file/directory exists.
Compute the home-relative path: The path must be under $HOME. Strip the $HOME prefix to get the relative path.
~/.config/foo/bar.conf → .config/foo/bar.conf~/.zshrc → .zshrcDerive the package name:
.config/<app>/... paths → package name is <app>.<dotfile> (hidden file in home root) → package name is <dotfile> without the leading dot.local/share/<app>/... → package name is <app>Create the package structure in ~/dotfiles:
mkdir -p ~/dotfiles/<package>/<parent-dirs>
Where <parent-dirs> mirrors the home-relative path's directory structure.
Move the config into the package:
mv <original-path> ~/dotfiles/<package>/<home-relative-path>
Stow the package to create symlinks:
stow -v -d ~/dotfiles -t ~ <package>
Verify: Confirm the original path is now a symlink pointing into dotfiles.
Importing ~/.config/wezterm/wezterm.lua:
wezterm~/dotfiles/wezterm/.config/wezterm/wezterm.lua~/.config/wezterm/ → ~/dotfiles/wezterm/.config/wezterm/ln - only use stow for symlinkingcontent-media
Create, read, edit .pptx decks, slides, notes, templates.
content-media
Create, read, edit .pptx decks, slides, notes, templates.
documentation
Extract text from PDFs/scans (pymupdf, marker-pdf).
documentation
Extract text from PDFs/scans (pymupdf, marker-pdf).