Imported from ZoolCoder/zc-care (
plugin/skills/setup/SKILL.md). Install upstream withnpx skills add ZoolCoder/zc-care --skill setup. Copyright stays with the author (MIT).
Set up
- Install:
brew tap zoolcoder/zc-care https://github.com/zoolcoder/zc-care, thenbrew install --cask zc-care, orgo install github.com/zoolcoder/zc-care/cmd/zc-care@latest. - Write
~/.config/zc-care/zc-care.yaml, or keep it in the user's dotfiles repository and pass-config. Start fromzc-care.example.yaml. Each target needs a kebab-casenameand aprovider:packagesandtoolsneed afile,dotfilesneeds asource. - Run
zc-care validate, thenzc-care doctor. Fix everyfailline before planning. Aprogramline that fails names a tool to install: Homebrew, chezmoi or mise. Ask before installing it. - Hand over to the
plan-applyskill for the first plan.
Never point a dotfiles target at the user's real home directory while another tool (such as an older dotfiles script) still manages it: set destination to a scratch directory until the user switches over.
Never create a target with prune: true on a directory the user did not name: prune deletes every file the config does not declare.
