Expert assistant for chezmoi dotfiles management. Use when: "add this file to chezmoi", "make this a template", "encrypt this secret", "apply on a new machine", "run script only once", "manage dotfiles across machines". Examples: - user: "Track my .zshrc with chezmoi" → chezmoi add ~/.zshrc - user: "Make my .gitconfig machine-specific" → convert to .tmpl, use {{ .chezmoi.hostname }} - user: "Run a script only on first apply" → once_ prefix - user: "Sync to a new laptop" → chezmoi init --apply $GITHUB_USERNAME - user: "Why isn't my file being applied?" → diagnose source attribute, diff, doctor
96
96%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
A developer has been maintaining their chezmoi dotfiles manually. They recently added several external dependencies but haven't configured any automation to keep them up to date. They want to set up Renovate to automatically propose PRs when their pinned versions become stale.
Their current home/.chezmoiexternals/ directory contains two files:
home/.chezmoiexternals/
├── zsh.externals.toml
└── bat.externals.tomlThe contents of these files are provided below. Their renovate.json5 currently has no customManagers section.
Extract the following files before beginning.
=============== FILE: inputs/zsh.externals.toml =============== [".zsh/plugins/zsh-autosuggestions"] type = "git-repo" url = "https://github.com/zsh-users/zsh-autosuggestions.git" revision = "85919cd1ffa7d2d5412f6d3fe437ebdbeeec4fc5" refreshPeriod = "168h"
[".zsh/plugins/zsh-syntax-highlighting"] type = "git-repo" url = "https://github.com/zsh-users/zsh-syntax-highlighting.git" revision = "e0165eaa730dd0fa321a6a6de74f092fe87630b0" refreshPeriod = "168h" =============== END FILE ===============
=============== FILE: inputs/bat.externals.toml =============== [".config/bat/themes/Catppuccin Mocha.tmTheme"] type = "file" url = "https://github.com/catppuccin/bat/raw/6810349b28055dce54076712fc05fc68da4b8ec0/themes/Catppuccin%20Mocha.tmTheme" refreshPeriod = "168h" =============== END FILE ===============
Produce two output files:
updated_zsh.externals.toml — the zsh externals file with any annotations addedupdated_bat.externals.toml — the bat externals file with any annotations addedrenovate_rules.json5 — the complete customManagers array to add to renovate.json5Do not modify the actual repository files — just produce the output files.