一键导入
manage-dotfiles
Use dfm to initialize dotfile backups, track files safely, sync private repositories, and review AI-suggested dotfile improvements
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use dfm to initialize dotfile backups, track files safely, sync private repositories, and review AI-suggested dotfile improvements
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Work on llbbl/esm, a PHP enum-state-machine library, with its local quality gates and API constraints
Integrate llbbl/enum-state-machine into a PHP project with enum states, attribute transitions, guards, hooks, and validation
Use grepwrite gw to find matches, preview code rewrites, apply transactional edits with snapshots, and undo safely
Integrate logan-logger into TypeScript apps with correct runtime imports, environment config, safe metadata, and validation
Use pkglock to switch package-lock.json between local npm registries and the public registry, and install safeguards against committing local URLs
Use repjan to audit GitHub repositories, review archive candidates, export decisions, and safely archive or unarchive repos
| name | manage-dotfiles |
| version | 0.1.0 |
| description | Use dfm to initialize dotfile backups, track files safely, sync private repositories, and review AI-suggested dotfile improvements |
| allowed-tools | Bash, Read, Grep, Glob, Edit, MultiEdit, Write |
Use this skill when the user wants to use dfm from dotfiles-manager to manage shell/editor/tool dotfiles, set up private backups, track or untrack files, inspect audit state, or ask an AI agent for reviewable dotfile improvements.
Examples:
Dotfiles commonly contain secrets and machine-specific state.
--force unless the user explicitly accepts the risk.Install dfm from GitHub Releases when available, or build from source:
git clone https://github.com/llbbl/dotfiles-manager.git
cd dotfiles-manager
just build-versioned
./bin/dfm version
First-run setup:
dfm init --remote git@github.com:you/dotfiles-backup.git
To create the private remote in one step:
dfm init --remote git@github.com:you/dotfiles-backup.git --create-remote
Optional Turso/libSQL state store:
dfm init --turso
State lives under ~/.local/share/dotfiles/; config lives at ~/.config/dotfiles/config.toml.
Before tracking, inspect the file and explain why it is safe or unsafe:
dfm track ~/.zshrc
dfm track ~/.gitconfig
dfm track ~/.config/starship.toml
If dfm blocks on suspected secrets:
--force only after explicit user approval.Good candidates:
Bad candidates:
.env filesUse dfm suggestions as reviewable patches, not automatic edits.
General flow:
dfm status
dfm suggest
dfm apply
dfm reject
Before applying:
Use sync/status/log commands to understand the current state before changing files:
dfm status
dfm sync
dfm log
dfm list
For backup confidence:
If a tracked file gets worse after an apply, use dfm's review/reject/snapshot workflow first. Avoid hand-editing the backup repo unless dfm state is known to be broken.
For source repo development, use:
just check
just test-race
just build-versioned
When helping a user build a dotfiles system: