terrylica avatar

Chezmoi Workflows

This is a comprehensive reference for managing dotfiles with chezmoi across multiple machines. It covers the full workflow from initial setup through daily operations like tracking config changes, syncing via Git, and resolving conflicts. The skill includes 14 documented patterns, from basic status checks to advanced templating with OS-conditional blocks and 1Password integration. Notable sections cover the "forget" command for untracking files without deletion and the safe update workflow that diffs before applying changes. If you're already using chezmoi or considering it for cross-machine config sync, this gives you battle-tested commands with verification steps. The self-evolving approach means it gets updated when edge cases hit, which is the right philosophy for dotfile tooling where small platform differences matter.

skills.sh installs
305
GitHub stars
2
last updated
Aug 21, 2026

Install

$ npx -y skills add terrylica/cc-skills --skill chezmoi-workflows --agent claude-code

Installs into .claude/skills of the current project.

Files

Chezmoi Workflows

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

When to Use This Skill

Use this skill when:

  • Backing up dotfiles to Git repository
  • Syncing configuration files across machines
  • Tracking changes to shell configs, editor settings, or other dotfiles
  • Managing templated configurations with chezmoi
  • Troubleshooting dotfile drift between source and target

Architecture

ComponentLocationPurpose
Source$(chezmoi source-path)Git repository with dotfile templates
Target~/Home directory (deployed files)
RemoteGitHub (private recommended)Cross-machine sync and backup
Config~/.config/chezmoi/chezmoi.tomlUser preferences and settings

1. Status Check

Sponsors

Details

Repository
github.com/terrylica/cc-skills
First seen
Jun 3, 2026

More from terrylica/cc-skills

All 15

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs