Background
Running hermit install (or hermit serve) generates the following files in a project's .claude/commands/ directory:
.claude/commands/hermit.md
.claude/commands/hermit-pause.md
.claude/commands/hermit-resume.md
It is currently unclear whether these files should be committed to version control in projects that use HERMIT.
Problem
Users have no guidance on whether to commit these generated files. This creates inconsistency across projects:
- If committed: team members sharing the repo get the slash commands automatically, but updates to hermit's templates may cause conflicts or drift
- If not committed: each developer must re-run
hermit install after cloning, and there is no indication they need to do so
Proposed Decision
Commit these files to version control. Rationale:
- They are project-scoped slash commands (
.claude/commands/) — Claude Code treats them as project configuration, similar to CLAUDE.md
- Other contributors using Claude Code on the same project should have access to
/hermit, /hermit-pause, /hermit-resume without manual setup
- The content is intentionally project-specific (the
hermit.md body references project context) and may legitimately differ per repo
- They are small, human-readable markdown files with no secrets
Action Items
Background
Running
hermit install(orhermit serve) generates the following files in a project's.claude/commands/directory:.claude/commands/hermit.md.claude/commands/hermit-pause.md.claude/commands/hermit-resume.mdIt is currently unclear whether these files should be committed to version control in projects that use HERMIT.
Problem
Users have no guidance on whether to commit these generated files. This creates inconsistency across projects:
hermit installafter cloning, and there is no indication they need to do soProposed Decision
Commit these files to version control. Rationale:
.claude/commands/) — Claude Code treats them as project configuration, similar toCLAUDE.md/hermit,/hermit-pause,/hermit-resumewithout manual setuphermit.mdbody references project context) and may legitimately differ per repoAction Items
.claude/commands/hermit*.mdshould be committed to the project repositoryhermit installprint a reminder togit add .claude/commands/after generating the files.gitignoretemplate (if one is generated) to ensure these files are not excluded