add-dotfile-package
Skill2 starsChanged 5 months agoMITView on GitHub
Defines the future workflow for adding a new dotfile package to the repository. Note: Dotfiles implementation has not started. This skill documents the process for when it does. Ask the user: Determine the platform category: If uncertain, default to common and note the assumption. During initial adoption: Write clear documentation stating: Always document the dry-run command before the install command: Add the new package to the repository README: If this package changes the overall structure or introduces a new category,…
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- create-architectureSkill
- create-planSkill
- create-prdSkill
- review-changeSkill
- ship-changeSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
If uncertain, default to common and note the assumption.
- Very specific: line 36
Create a .example version of the config, not the real config.
- Distinctive: line 48
Write clear documentation stating:
- Distinctive: line 65
Always document the dry-run command before the install command:
- Distinctive: line 81
Add the new package to the repository README:
- Very specific: line 90
If this package changes the overall structure or introduces a new category, update docs/architecture/ and add a decision record to …
- Very specific: line 97
Use stow --adopt to pull in existing files.
- Very specific: line 98
Run any command that reads or modifies $HOME without explicit user approval.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: add-dotfile-package
Defines the future workflow for adding a new dotfile package to the repository.
Note: Dotfiles implementation has not started. This skill documents the process for when it does.
When to use
- User wants to add a new tool's configuration to the dotfiles repository.
- Examples:
nvim,zsh,tmux,git,starship,alacritty.
Process
Step 1 — Confirm package name
Ask the user:
- What is the tool name? (e.g.,
nvim,zsh,tmux) - What config files or directories are involved?
- What is the target path in
$HOME? (e.g.,~/.config/nvim/)
Step 2 — Classify the package
Determine the platform category:
- common — config works identically on macOS and Arch.
- macos — config is macOS-specific (macOS paths, Homebrew paths, macOS-only features).
- arch — config is Arch-specific (Arch paths, pacman hooks, Arch-only features).
If uncertain, default to common and note the assumption.
Step 3 — Prefer .example first
During initial adoption:
- Create a
.exampleversion of the config, not the real config. - The user reviews and renames the
.examplefile locally. - This prevents accidentally stowing a config that needs local customization.
Example:
stow/common/zsh/.zshrc.example # Template — user copies to .zshrcStep 4 — Document target paths
Write clear documentation stating:
- Source path in the repository:
stow/<category>/<package>/<path> - Target path after stowing:
$HOME/<path>
Example:
stow/common/zsh/.zshrc
→ $HOME/.zshrc
stow/common/nvim/.config/nvim/init.lua
→ $HOME/.config/nvim/init.luaStep 5 — Add dry-run command
Always document the dry-run command before the install command:
# Dry run — verify what would be linked
stow --dir=stow --target="$HOME" --simulate <package>Step 6 — Add install command (after dry-run approval only)
⚠️ MANUAL STEP — run only after reviewing dry-run output
stow --dir=stow --target="$HOME" <package>Step 7 — Update README
Add the new package to the repository README:
- Package name.
- Platform category.
- Target path.
- Install command (with dry-run reference).
Step 8 — Update architecture decisions if needed
If this package changes the overall structure or introduces a new category, update docs/architecture/ and add a decision record to docs/decisions/.
Step 9 — Never copy real configs automatically
Do not:
- Copy files from
$HOMEinto the repository. - Use
stow --adoptto pull in existing files. - Run any command that reads or modifies
$HOMEwithout explicit user approval.
The user provides the config content manually or adapts the .example file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

