add-custom
Add a custom module repository (company or personal) to claude-code-setup.
Triggered by `/catchup` when it detects a version mismatch between the project CLAUDE.md and the installed template.
$ npx -y skills add b33eep/claude-code-setup --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/migrate-project-templateContext preview
What this command does when you run it.
Triggered by `/catchup` when it detects a version mismatch between the project CLAUDE.md and the installed template.
Triggered by `/catchup` when it detects a version mismatch between the project CLAUDE.md and the installed template.
**Do NOT run this command directly.** It is invoked automatically by `/catchup`.
Copy `CLAUDE.md` to `CLAUDE.md.bak` in the project root. This is a safety net for solo-mode users without Git.
Compare `##` level headings by text (flat match, ignore nesting/position):
Also compare `###` level headings the same way.
If `## Records` exists in the project and is being removed, check if `### Future` is a child of `## Records`: 1. Extract `### Future` and all its content (table, entries) 2. After removing `## Records`, re-insert `### Future` under `## Current Status` (after the "Next Step" line)
Show all proposed changes at once. For each change, ask the user:
**For missing sections:**
Template v{N} has new sections for your project CLAUDE.md:
- [ ] Add "## Project Instructions" (with preservation markers)
- [ ] Add "## Files" (project structure overview)
Add these sections?**For extra sections:**
These sections are no longer in the template: - [ ] "## Records" — Records on disk in docs/records/ are the source of truth. Remove table from CLAUDE.md? - [ ] "## Repository" — Still needed? Remove marked sections?
**Insertion order:** Missing sections are inserted after the nearest preceding section that exists in both template and project. Existing section order is never changed.
**Removal:** Remove only sections the user confirmed. Preserve all user content in sections that stay.
**Preservation:** Never modify content between `<!-- PROJECT INSTRUCTIONS START -->` and `<!-- PROJECT INSTRUCTIONS END -->` markers.
**Always** update (or insert) `<!-- project-template: N -->` as the first line of project CLAUDE.md, where N is the template version. This happens regardless of whether the user accepted or declined any changes.
Remove `CLAUDE.md.bak` after successful migration.
| Case | Behavior | |------|----------| | No marker in project CLAUDE.md | Insert marker as first line | | User declines all changes | Only marker is updated | | `### Future` already under `## Current Status` | No re-parenting needed | | `## Records` doesn't exist | Skip re-parenting logic | | Project has custom sections not in template | Ask "Still needed?" — if yes, leave as-is | | `<!-- PROJECT INSTRUCTIONS -->` markers already exist | Preserve content between them |
Persistent memory for Claude Code via Markdown files. 📖 Read the Documentation for detailed guides, tutorials, and reference.
Repo: b33eep/claude-code-setup
Add a custom module repository (company or personal) to claude-code-setup.
Manage your claude-code-setup installation: check status, upgrade, install, and remove modules.
Spawn a teammate to work on a separate task independently. You continue your own work and get notified when the teammate finishes.
A structured way to plan complex features before implementing. Works through: Problem → Options → Solution → Stories → Finalize.