Skip to content

chore(config): add path-scoped rules, slim down CLAUDE.md - #40

Merged
salimomrani merged 1 commit into
masterfrom
chore/claude-config-path-scoped-rules
Mar 21, 2026
Merged

chore(config): add path-scoped rules, slim down CLAUDE.md#40
salimomrani merged 1 commit into
masterfrom
chore/claude-config-path-scoped-rules

Conversation

@salimomrani

Copy link
Copy Markdown
Owner

Summary

  • Add .claude/rules/backend.md (globs: backend/**/*.py) with FastAPI/Python conventions (venv, tests, lint, dev server, PII masking)
  • Add .claude/rules/frontend.md (globs: frontend/**/*.ts, *.html, *.scss) with Angular conventions (standalone, signals, OnPush, streaming)
  • Slim down CLAUDE.md: remove stack-specific entries now covered by scoped rules or global config (test commands, skills routing, env/commands)
  • Point CLAUDE.md to scoped rules for discoverability

Test plan

  • Verify rules load only when touching matching files (backend vs frontend)
  • Confirm no duplicate instructions between global, local, and scoped rules

Move backend (FastAPI/Python) and frontend (Angular) conventions into
.claude/rules/ with glob-based activation. Remove redundant entries
from CLAUDE.md (test commands, skills routing, env/commands) now
covered by scoped rules or global config.
@salimomrani
salimomrani merged commit 7d57f21 into master Mar 21, 2026
12 checks passed
@salimomrani
salimomrani deleted the chore/claude-config-path-scoped-rules branch March 21, 2026 16:15
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