source-repo-gitignore
Source Repo Gitignore Policy
Section titled “Source Repo Gitignore Policy”Never gitignore pack skill directories in the armadillo source repo — they are source files tracked in git, not build artifacts.
The Rule
Section titled “The Rule”NEVER add .claude/skills/<pack-dir>/ entries to .gitignore in this repo.This IS the source. All skill files must be tracked here.Why This Matters
Section titled “Why This Matters”The .gitignore pack skill entries belong in user project repos (installed via
armadillo-sync), not in the armadillo source repo itself.
When pack skill directories are gitignored here:
- A fresh clone won’t have those skill files on disk
build-marketplace.jscannot build plugins — no source files to copy- Changes to pack skills cannot be committed — they silently disappear after sync
- Contributor PRs for pack skills become impossible
History
Section titled “History”During the plugin marketplace migration (feat/plugin-marketplace, late 2025), individual
.gitignore entries were added for each pack skill directory. This was correct for the
INSTALLED pattern (user projects should not commit plugin-managed files), but was incorrectly
applied to the source repo as well.
Fixed in fix/gitignore-pack-skills — all 242 entries removed. All pack skill files are now
tracked in git as they always should have been.
What IS Gitignored Here (Correctly)
Section titled “What IS Gitignored Here (Correctly)”.claude/worktrees/ — local worktree directories (machine-local)marketplace/ — build output generated by build-marketplace.jsnode_modules/*.logWhat Should NEVER Be Gitignored Here
Section titled “What Should NEVER Be Gitignored Here”.claude/skills/<anything>/ — NEVER. These are source files, not build artifacts.Adding a New Pack
Section titled “Adding a New Pack”- Create skill files in
.claude/skills/<skill-name>/ - Register in
armadillo.json git add .claude/skills/<skill-name>/and commit normally- Do NOT add the directory to
.gitignore - Run
node sync-all.jsto regenerate CLAUDE.md, README, and marketplace build
The build-marketplace.js script copies tracked skill files into plugin packages under
marketplace/ (which IS correctly gitignored — it is build output, not source).
How User Projects Are Protected
Section titled “How User Projects Are Protected”User projects have their own .gitignore entries for plugin-managed skill dirs, generated
by armadillo-sync at install time. That is the correct place for those entries.
This repo does not need them — it owns the source.