Skip to content

Comments

chore: restructure CLAUDE.md and extract rules#426

Merged
Savid merged 1 commit intomasterfrom
chore/restructure-claude-md
Feb 18, 2026
Merged

chore: restructure CLAUDE.md and extract rules#426
Savid merged 1 commit intomasterfrom
chore/restructure-claude-md

Conversation

@Savid
Copy link
Member

@Savid Savid commented Feb 18, 2026

Reduce CLAUDE.md from ~530 to ~190 lines to improve instruction adherence. Extract detailed reference sections into .claude/rules/ for contextual auto-loading:

  • charts.md: visual standards, axis formatting, grid padding
  • forms.md: rewritten to reflect actual Zod/TanStack Router usage
  • seo.md: head meta hierarchy, feature images
  • theming.md: two-tier color architecture, semantic tokens
  • storybook.md: decorator pattern, story titles

Fix errors in CLAUDE.md:

  • storybook v9 -> v10
  • InputGroup -> Input, add RangeInput, TagInput
  • Add missing component categories (DataTable, DateTimePickers)
  • Update all component lists to match actual codebase
  • Fix Slot/Epoch imports to use individual paths
  • Fix route naming convention (lowercase, not PascalCase)
  • Fix barrel export extension (.ts not .tsx)

Add missing patterns:

  • Page-scoped utils/, constants.ts, IndexPage.types.ts
  • home page section, beacon/ and xatu-data/ route dirs
  • Additional Rules section with links for AGENTS.md discovery

Remove redundancy:

  • Standard Component Structure (duplicated Project Structure)
  • Placement Decision (merged into Component & State Philosophy)
  • Duplicate API integration mentions
  • Generic loading state tips

Reduce CLAUDE.md from ~530 to ~190 lines to improve instruction
adherence. Extract detailed reference sections into .claude/rules/
for contextual auto-loading:

- charts.md: visual standards, axis formatting, grid padding
- forms.md: rewritten to reflect actual Zod/TanStack Router usage
- seo.md: head meta hierarchy, feature images
- theming.md: two-tier color architecture, semantic tokens
- storybook.md: decorator pattern, story titles

Fix errors in CLAUDE.md:
- storybook v9 -> v10
- InputGroup -> Input, add RangeInput, TagInput
- Add missing component categories (DataTable, DateTimePickers)
- Update all component lists to match actual codebase
- Fix Slot/Epoch imports to use individual paths
- Fix route naming convention (lowercase, not PascalCase)
- Fix barrel export extension (.ts not .tsx)

Add missing patterns:
- Page-scoped utils/, constants.ts, IndexPage.types.ts
- home page section, beacon/ and xatu-data/ route dirs
- Additional Rules section with links for AGENTS.md discovery

Remove redundancy:
- Standard Component Structure (duplicated Project Structure)
- Placement Decision (merged into Component & State Philosophy)
- Duplicate API integration mentions
- Generic loading state tips
@Savid Savid merged commit 5082ec5 into master Feb 18, 2026
3 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.

2 participants