بنقرة واحدة
chezmoi-add-tool
Add a new dependency to tool installation scripts
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Add a new dependency to tool installation scripts
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Capture global dotfile changes made by a CLI installer into the chezmoi source, then commit. Use after an installer (curl pipe to sh, npm -g, brew, etc.) edits shell rc files or PATH. Pass the install command as the argument; the skill runs it, diffs what changed, ports only the portable edits into the chezmoi source templates, confirms anything ambiguous, then commits.
Audit macOS efficiency, background load, cache sprawl, Homebrew cleanup, login items, LaunchAgents, and safe developer cache cleanup. Use for Mac performance, disk cleanup, cache cleanup, background process, launch daemon, or login item audits.
Refresh stale CLI-backed skills in PaulRBerg/agent-skills after installed CLI versions advance; update docs from official upstream release docs and set references/version.txt.
Add custom zsh completions for a tool.
استنادا إلى تصنيف SOC المهني
| name | chezmoi-add-tool |
| description | Add a new dependency to tool installation scripts |
| argument-hint | <tool-name> [--macos|--ubuntu] |
Add the tool "$1" to the appropriate installation script(s).
OS Targeting:
$2 is --macos: Add only to dot_setup/executable_tools_macos.sh$2 is --ubuntu: Add only to dot_setup/executable_tools_ubuntu.sh$2 is empty: Add to both scripts (cross-platform tool)Instructions:
Read both tool scripts to understand their structure and categorization
Determine the appropriate category for the tool:
Add the tool alphabetically within its category:
formulae=() arraypackages=() array in install_apt_packages()fd-find on Ubuntu vs fd on macOS)Handle special cases:
Validate the changes:
just shell-check
Cross-platform compatibility check:
Example Usage:
/add-tool ripgrep (adds to both platforms)/add-tool duti --macos (macOS-only utility)/add-tool xclip --ubuntu (Linux-only utility)