Skip to content

Add .claude/rules for path-scoped spec auto-loading - #34

Merged
tatangharyadi merged 1 commit into
mainfrom
chore/tatangharyadi/claude-rules
Aug 15, 2026
Merged

Add .claude/rules for path-scoped spec auto-loading#34
tatangharyadi merged 1 commit into
mainfrom
chore/tatangharyadi/claude-rules

Conversation

@tatangharyadi

Copy link
Copy Markdown
Owner

Summary

  • Adds .claude/rules/ with one rule file per feature, mirroring the pattern already used in the arc repo: a frontmatter paths: glob that auto-loads the relevant spec doc when a matching file is touched.
  • ask.md, game.md, mocap.md, iris.md, muse.md scope to each feature's own files/spec.
  • specs.md broadly loads PRD.md whenever any spec doc or DESIGN.md changes.
  • palette.md loads DESIGN.md when palette-bearing files (css/style.css, css/game.css, 404.html, scripts/check_palette.py) change.

Test plan

  • Config-only change, no site code touched
  • Verified all referenced files (specs/F0*.md, specs/PRD.md, DESIGN.md) exist at the paths used in @-imports

Mirrors the pattern from the arc repo: a frontmatter path glob per
feature, pulling in that feature's spec doc when a matching file is
touched, instead of relying on AGENTS.md's always-loaded context alone.
@tatangharyadi
tatangharyadi merged commit 123c874 into main Aug 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant