Installation
npx skills add https://github.com/getcolors/dotfiles --skill package-dotfiles-greenSKILL.md
Local dotfiles
Use this skill to render or install one packaged dotfiles profile. Read references/configuration.md before changing state or performing a real create.
Safety
colors.ymlcontains non-secret desired state only.- Never export
COLORS_PAR_PROFILE. - Never edit or commit
.colors/. - Build, diff, and
create --dry-runare safe defaults. - Keep
dotfiles-prevent-overwrite: true. Lift it for one authorized create withCOLORS_PAR_DOTFILES_PREVENT_OVERWRITE=false. deleteis unsupported: the package never removes files from a home directory.- Credential-bearing source files are intentionally not packaged.
Commands
./green build
./green diff
./green create --dry-run
COLORS_PAR_DOTFILES_PREVENT_OVERWRITE=false ./green create
Initialize
- Copy
greenbeside this file to the project root and make it executable. - Create
colors.ymlfrom the configuration reference. - Ignore
.colors/and.envrc.private. - Build or diff and inspect the generated profile.
- Dry-run before an explicitly authorized create.