Add the repo-map skill and a CLAUDE.md #31
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
James/Escape-Room!31
Loading…
Reference in a new issue
No description provided.
Delete branch "claudebot/repo-map"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fresh agent sessions spent their first minutes listing directories and opening files to learn the layout. This adds the repo-map skill from omp-templates (node stack, omp-matrix-bot#27) and a
CLAUDE.md, so a new session runs one script and knows where things live.What it adds:
.claude/skills/repo-map/: the skill andrepo-map.sh. It prints the layout, one line of classes and functions per file, the npm scripts, and the API's routes and migrations. About 330 lines (15 KB) in under 2 seconds, with no network or database.API_DIR=api. The game sits at the root, so the script detects the node stack and would miss the Laravel API. With this setting the API's routes (fromphp artisan route:listwhenapi/vendorexists, a static scan ofapi/routesotherwise) and migrations get their own heading, andapi/storageandapi/bootstrap/cachestay out of the layout.CLAUDE.md: the stack, where things live, the exact commands, and the rules that are easy to break. Answers never reach the browser, the JavaScript and PHP checkers mirror each other, and every string exists in English and Welsh..ignorefor lock files and source maps, andbuild/in.gitignore.No game or API code changes.
npm testpasses (121 tests).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.