v0.5.0
Path-scoped .claude/rules/ context files for leaner CLAUDE.md
Context Rules (.claude/rules/)
seite initnow generates a lean CLAUDE.md (~160 lines) plus path-scoped.claude/rules/*.mdfiles that Claude loads automatically when working with matching files- 8 always-present rules: SEO requirements, templates, i18n, data files, shortcodes, config reference, features, design prompts
- 2 conditional rules: contact form (when
[contact]configured), trust center (when trust collection present) - Rules use YAML frontmatter with
paths:for automatic scoping (e.g.,templates.mdonly loads when editingtemplates/**) - Follows Anthropic's recommendation of keeping CLAUDE.md under 200 lines for better instruction adherence
Upgrade
seite upgradecreates.claude/rules/files for existing projects (non-destructive — existing CLAUDE.md is not modified)- Post-upgrade hint suggests trimming CLAUDE.md if it's large, since detailed content now lives in rules files