Skip to content

Commit 042483f

Browse files
committed
docs: Integrate elegant-design skill into documentation
- Add elegant-design/SKILL.md to Frontend Skills category (8→9 skills) - Update total skills count from 134 to 135 across all documentation - Add elegant-design workflows to _INDEX.md skill combinations - Add Quick Reference entries for UI design, chat, and terminal interfaces - Add Elegant Design Skill section to CLAUDE.md Frontend Development - Include elegant-design in UI/UX problem domain and technology search patterns - Update Core Foundation skills count from 76 to 77 The elegant-design skill provides comprehensive guidance for building world-class accessible interfaces with chat, terminal, code display, streaming content, and design system integration (shadcn/ui, daisyUI, HeroUI).
1 parent ddd3ed4 commit 042483f

2 files changed

Lines changed: 54 additions & 12 deletions

File tree

CLAUDE.md

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,34 @@ git branch -d feature/name
431431

432432
## 8. Frontend Development
433433

434+
### Elegant Design Skill (RECOMMENDED)
435+
436+
**ACTIVATE**: `elegant-design/SKILL.md` when building user interfaces that need professional polish
437+
438+
**Covers**: World-class accessible interfaces, chat/messaging UIs, terminal/code display, streaming content, design systems (shadcn/ui, daisyUI, HeroUI), WCAG compliance, Core Web Vitals optimization
439+
440+
**Use When**:
441+
- Building web applications with React/Next.js
442+
- Creating developer tools or technical interfaces
443+
- Designing interfaces with chat, terminals, or code display
444+
- Implementing real-time or streaming features
445+
- Ensuring accessibility and responsive design
446+
447+
**Key Features**:
448+
- **Design Foundation**: Typography (Geist + JetBrains Mono), colors, spacing, layout patterns
449+
- **Interactive Elements**: Chat interfaces, terminal emulators, code syntax highlighting, streaming/loading states, diffs/log viewers
450+
- **Implementation**: Component architecture, WCAG 2.1 AA compliance, performance optimization, comprehensive testing
451+
- **Design Systems**: shadcn/ui (primary), daisyUI, HeroUI with best practices
452+
453+
**Quick Reference**:
454+
```
455+
Simple UI: Read foundation/ files → Use design system components
456+
Chat/Terminal/Code: Read SKILL.md → Read interactive/ guides → Implement
457+
Complex interfaces: Follow full workflow (discovery → foundation → interactive → implementation)
458+
```
459+
460+
See `skills/elegant-design/SKILL.md` for complete guidance and workflows.
461+
434462
### Next.js + shadcn/ui (MANDATORY)
435463

436464
**Step 1: Browse Blocks FIRST**
@@ -494,7 +522,7 @@ open https://ui.shadcn.com/themes
494522
**New approach**: Atomic, composable skills (~300 lines avg, <500 line guideline)
495523

496524
### Quality Standards (as of 2025-10-23)
497-
- ✅ **134 skills** with YAML frontmatter (agent_skills_spec.md compliant)
525+
- ✅ **135 skills** with YAML frontmatter (agent_skills_spec.md compliant)
498526
- ✅ **0 future dates** - all dates validated by CI
499527
- ✅ **Automated testing** - code syntax validation in CI
500528
- 🔄 **Size optimization** - 89 skills >500 lines identified for splitting
@@ -531,13 +559,13 @@ Read zig-memory-management.md, zig-testing-patterns.md
531559
Read beads-workflow.md + beads-context-strategies.md + beads-multi-session-patterns.md
532560
```
533561

534-
### Skills Catalog (134 Total)
562+
### Skills Catalog (135 Total)
535563

536-
**Core Categories** (76 skills):
564+
**Core Categories** (77 skills):
537565
- **API Design** (7): REST, GraphQL, auth/authz, rate limiting, versioning, error handling
538566
- **Testing** (6): Unit, integration, e2e, TDD, coverage, performance testing
539567
- **Containers** (5): Dockerfile optimization, Compose, security, networking, registries
540-
- **Frontend** (8): React patterns, Next.js App Router, state/data/forms, a11y, performance, SEO
568+
- **Frontend** (9): Elegant design (chat/terminal/code UIs), React patterns, Next.js App Router, state/data/forms, a11y, performance, SEO
541569
- **Database** (11): Postgres (optimization, migrations, schema), MongoDB, Redis, Redpanda/Kafka streaming, Apache Iceberg, DuckDB analytics, pooling, ORMs, selection
542570
- **Workflow & Tasks** (6): Beads workflow, context strategies, multi-session, dependency management, typed-holes refactoring
543571
- **Quality & Content Review** (1): Anti-slop detection and cleanup (text, code, design)
@@ -603,7 +631,7 @@ Mobile: mobile/react-native-*.md (4)
603631
4. **Deep dive?** Search `skills/_INDEX.md` by technology/task/problem domain
604632
5. **Emergency?** Read relevant skill directly: `skills/api-*.md`, `skills/cicd/*.md`
605633

606-
**Full catalog**: `skills/_INDEX.md` (134 skills, workflows, search patterns, combinations)
634+
**Full catalog**: `skills/_INDEX.md` (135 skills, workflows, search patterns, combinations)
607635

608636
### Skill Quality Assurance
609637
All skills now include:

skills/_INDEX.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ This index catalogs all atomic skills available in the skills system, organized
6565

6666
---
6767

68-
### Frontend Skills (8 skills)
68+
### Frontend Skills (9 skills)
6969

7070
| Skill | Use When | Lines |
7171
|-------|----------|-------|
@@ -77,9 +77,12 @@ This index catalogs all atomic skills available in the skills system, organized
7777
| `web-accessibility.md` | WCAG 2.1 AA compliance, ARIA, keyboard navigation | ~310 |
7878
| `frontend-performance.md` | Bundle optimization, Core Web Vitals, code splitting | ~330 |
7979
| `nextjs-seo.md` | SEO with Next.js, metadata API, structured data | ~250 |
80+
| `elegant-design/SKILL.md` | World-class accessible interfaces, chat/terminal/code UIs, streaming, design systems (shadcn/ui) | ~302 |
8081

8182
**Common workflows:**
8283
- New Next.js app: `nextjs-app-router.md``react-component-patterns.md``react-data-fetching.md`
84+
- Elegant UI design: `elegant-design/SKILL.md``react-component-patterns.md``web-accessibility.md`
85+
- Chat/Terminal/Code UI: `elegant-design/SKILL.md` (read interactive/ guides) → `react-component-patterns.md`
8386
- Forms with validation: `react-form-handling.md``react-state-management.md`
8487
- Production optimization: `frontend-performance.md``web-accessibility.md``nextjs-seo.md`
8588

@@ -501,7 +504,7 @@ This index catalogs all atomic skills available in the skills system, organized
501504
**API Design:** Search `api-*.md`, `rest-*.md`, `graphql-*.md`
502505
**Testing:** Search `test-*.md`, `unit-*.md`, `integration-*.md`, `e2e-*.md`, `performance-*.md`
503506
**Containers/Docker:** Search `docker-*.md`, `container-*.md`, `dockerfile-*.md`
504-
**Frontend/React:** Search `react-*.md`, `nextjs-*.md`, `web-*.md`, `frontend-*.md`
507+
**Frontend/React:** Search `react-*.md`, `nextjs-*.md`, `web-*.md`, `frontend-*.md` | `elegant-design/` for UI/UX design systems
505508
**Database/PostgreSQL:** Search `postgres-*.md`, `database-*.md`, `mongodb-*.md`, `redis-*.md`, `orm-*.md`
506509
**Swift/SwiftUI:** Search `swiftui-*.md`, `swift-*.md`, `ios-*.md`
507510
**Modal.com:** Search `modal-*.md`
@@ -602,7 +605,7 @@ This index catalogs all atomic skills available in the skills system, organized
602605
**Performance-critical:** `zig-memory-management.md`, `modal-gpu-workloads.md`, `tui-best-practices.md`, `frontend-performance.md`, `postgres-query-optimization.md`, `ci-optimization.md`, `react-native-performance.md`
603606
**Async/concurrent:** `swift-concurrency.md`, `bubbletea-architecture.md`, `ratatui-architecture.md`, `react-data-fetching.md`, `stream-processing.md`
604607
**Security:** `mtls-implementation.md`, `tailscale-vpn.md`, `network-resilience-patterns.md`, `container-security.md`, `api-authentication.md`, `api-authorization.md`, `ci-security.md`, `infrastructure-security.md`
605-
**UI/UX:** `swiftui-*.md`, `bubbletea-*.md`, `ratatui-*.md`, `react-component-patterns.md`, `web-accessibility.md`, `react-native-*.md`
608+
**UI/UX:** `elegant-design/SKILL.md`, `swiftui-*.md`, `bubbletea-*.md`, `ratatui-*.md`, `react-component-patterns.md`, `web-accessibility.md`, `react-native-*.md`
606609
**API Development:** `rest-api-design.md`, `graphql-schema-design.md`, `api-authentication.md`, `api-rate-limiting.md`
607610
**DevOps/SRE:** `cicd/*.md`, `infrastructure/*.md`, `observability/*.md`, `cost-optimization.md`, `heroku-*.md`, `netlify-*.md`
608611
**Data Engineering:** `data/*.md`, `stream-processing.md`, `batch-processing.md`, `data-validation.md`
@@ -662,6 +665,14 @@ This index catalogs all atomic skills available in the skills system, organized
662665
6. `web-accessibility.md` - A11y compliance
663666
7. `nextjs-seo.md` - SEO optimization
664667

668+
### Elegant Interface with Chat/Terminal/Code
669+
1. `elegant-design/SKILL.md` - Design foundation and workflow
670+
2. Read `elegant-design/foundation/` - Typography, colors, spacing, layout
671+
3. Read `elegant-design/interactive/` - Chat, terminals, code display, streaming
672+
4. `react-component-patterns.md` - Component implementation
673+
5. Read `elegant-design/implementation/` - Accessibility, performance, testing
674+
6. `web-accessibility.md` - WCAG compliance validation
675+
665676
### Production REST API
666677
1. `rest-api-design.md` - API design patterns
667678
2. `api-authentication.md` - JWT/OAuth setup
@@ -799,6 +810,9 @@ This index catalogs all atomic skills available in the skills system, organized
799810
| Build REST API | rest-api-design.md, api-authentication.md, api-authorization.md | 1→2→3 |
800811
| Build GraphQL API | graphql-schema-design.md, api-authentication.md, api-authorization.md | 1→2→3 |
801812
| Build Next.js app | nextjs-app-router.md, react-component-patterns.md, react-data-fetching.md | 1→2→3 |
813+
| Design elegant UI | elegant-design/SKILL.md, react-component-patterns.md, web-accessibility.md | 1→2→3 |
814+
| Build chat interface | elegant-design/SKILL.md (read interactive/chat-and-messaging.md), react-component-patterns.md | 1→2 |
815+
| Build terminal/code UI | elegant-design/SKILL.md (read interactive/terminals-and-code.md), react-component-patterns.md | 1→2 |
802816
| Setup testing suite | unit-testing-patterns.md, integration-testing.md, e2e-testing.md | 1→2→3 |
803817
| Practice TDD | test-driven-development.md, unit-testing-patterns.md | 1→2 |
804818
| Containerize app | dockerfile-optimization.md, docker-compose-development.md | 1→2 |
@@ -847,17 +861,17 @@ This index catalogs all atomic skills available in the skills system, organized
847861

848862
## Total Skills Count
849863

850-
- **134 atomic skills** across 28 categories
864+
- **135 atomic skills** across 28 categories
851865
- **Average 310 lines** per skill
852866
- **100% focused** - each skill has single clear purpose
853867
- **Cross-referenced** - related skills linked for discoverability
854868

855869
### By Category Breakdown
856-
**Core Foundation** (76 skills):
870+
**Core Foundation** (77 skills):
857871
- API Design: 7 skills
858872
- Testing: 6 skills
859873
- Containers: 5 skills
860-
- Frontend: 8 skills
874+
- Frontend: 9 skills (including elegant-design)
861875
- Database: 11 skills
862876
- Workflow & Task Management: 6 skills (including typed-holes refactoring)
863877
- Quality & Content Review: 1 skill (anti-slop detection and cleanup)
@@ -907,5 +921,5 @@ See `MIGRATION_GUIDE.md` for detailed mapping.
907921
---
908922

909923
**Last Updated:** 2025-10-23
910-
**Total Skills:** 134
924+
**Total Skills:** 135
911925
**Format Version:** 1.0 (Atomic)

0 commit comments

Comments
 (0)