Commit Graph
2 Commits
Author SHA1 Message Date
ee852c3f56 Feat/intelligent page overrides (#93)
* feat: intelligent page override generation

- Add _generate_intelligent_overrides() function
- Detect page types from page name AND query keywords
- Generate filled-in rules for: Dashboard, Checkout, Settings, Landing, Auth
- Fix combined_context to check both page name and query

* feat: project-based folder structure

- Each project now gets its own directory: design-system/<project>/
- Multiple projects can coexist without conflicts
- Structure: design-system/<project>/MASTER.md + pages/

* docs: update examples to Marketing Website and SaaS App

* docs: add merge request note to maintainer

* refactor: data-driven intelligent overrides using layered search

- Remove hardcoded page type rules
- Use existing search infrastructure (style, ux, landing CSVs)
- Extract layout, spacing, colors from search results
- Keep page type detection with keyword patterns
- No new CSV files needed - leverages existing data

* docs: update PR description for data-driven approach

* docs: add note about design quality needing review

* Delete PR_DESCRIPTION.md

---------

Co-authored-by: Viet Tran <viettranx@gmail.com>
2026-01-17 19:40:12 +07:00
mmcc9988andGitHub f5978e096b feat: Add design system persistence with Master + Overrides pattern (#91)
- Add --persist flag to save design system to design-system/MASTER.md
- Add --page flag to create page-specific override files in design-system/pages/
- MASTER.md includes hierarchical override logic header, color palette, typography, spacing, shadows, component specs, and anti-patterns
- Page override files are templates for documenting deviations from Master
- Updated documentation for all AI assistants (Claude, Cursor, Windsurf, Kiro, Qoder, Roo)
- Updated README.md with usage examples

This enables persistent design context across chat sessions using a 'Master + Overrides' pattern where page-specific rules override the global design system.
2026-01-17 14:26:07 +07:00