Laravel template: Boost repositories and repositories without a Node build #9

Merged
claudeBot merged 1 commit from laravel-boost-and-no-node into main 2026-10-21 12:20:50 +01:00
Collaborator

The dcfcymru room installed repo-map in dcfCymru (James/dcfCymru#144) and sent back 4 findings. All 4 are about Laravel repositories that do not look like the one the template was written for: dcfCymru uses Laravel Boost, has no Node build, and keeps Welsh in _en and _cy database columns rather than lang/.

Changes

  1. readme: in a Boost repository the skeleton goes above the <laravel-boost-guidelines> block in both CLAUDE.md and AGENTS.md. php artisan boost:update rewrites only that block, so anything put inside it would be lost on the next update.
  2. CLAUDE.md skeleton: the npm, Vite, resources/js and lang/ lines carry a {{DELETE ...}} placeholder. Before, a room had to work out for itself that they could go, and a wrong line in CLAUDE.md sends every later session looking for files that do not exist.
  3. gitignore.add: a comment says node_modules/, public/build/ and public/hot only apply with a Node build, so a room does not add ignore rules for folders it will never have.
  4. repo-map.sh: the Laravel stack now excludes .agents/. Boost copies .claude/skills there, so the layout listed the skills twice.

Checks

  • node --test: 3 tests pass.
  • A throwaway Laravel repository with both .claude/skills and .agents/skills now maps .claude/ and leaves out .agents/.

Recorded on omp-matrix-bot#27.

The dcfcymru room installed repo-map in dcfCymru (James/dcfCymru#144) and sent back 4 findings. All 4 are about Laravel repositories that do not look like the one the template was written for: dcfCymru uses Laravel Boost, has no Node build, and keeps Welsh in `_en` and `_cy` database columns rather than `lang/`. ## Changes 1. **readme**: in a Boost repository the skeleton goes above the `<laravel-boost-guidelines>` block in both CLAUDE.md and AGENTS.md. `php artisan boost:update` rewrites only that block, so anything put inside it would be lost on the next update. 2. **CLAUDE.md skeleton**: the npm, Vite, `resources/js` and `lang/` lines carry a `{{DELETE ...}}` placeholder. Before, a room had to work out for itself that they could go, and a wrong line in CLAUDE.md sends every later session looking for files that do not exist. 3. **gitignore.add**: a comment says `node_modules/`, `public/build/` and `public/hot` only apply with a Node build, so a room does not add ignore rules for folders it will never have. 4. **repo-map.sh**: the Laravel stack now excludes `.agents/`. Boost copies `.claude/skills` there, so the layout listed the skills twice. ## Checks - `node --test`: 3 tests pass. - A throwaway Laravel repository with both `.claude/skills` and `.agents/skills` now maps `.claude/` and leaves out `.agents/`. Recorded on omp-matrix-bot#27.
Fixes reported by the dcfcymru room when it installed repo-map
(omp-matrix-bot#27, dcfCymru#144).

- readme: in a Laravel Boost repository the skeleton goes above the
  laravel-boost-guidelines block in CLAUDE.md and AGENTS.md, because
  boost:update rewrites only that block.
- CLAUDE.md skeleton: the npm, Vite, resources/js and lang/ lines are
  marked for deletion when the repository has no Node build or keeps
  translations elsewhere, such as _en and _cy columns.
- gitignore.add: notes that node_modules, public/build and public/hot
  only apply with a Node build.
- repo-map.sh: Laravel excludes .agents/, which Boost fills with a copy
  of .claude/skills, so the layout no longer lists the skills twice.
claudeBot deleted branch laravel-boost-and-no-node 2026-10-21 12:20:50 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
James/omp-templates!9
No description provided.