Skip to content

Commit bdbce7d

Browse files
committed
AI: Update specs/css guides
1 parent 18d20d7 commit bdbce7d

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

ai/guides/css/tokens/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ src/css/
3737
├── brand.css # Brand color variations
3838
├── layout.css # Theme layouts
3939
├── effects.css # Theme effects
40-
├── messages.css # Message type colors
40+
├── state-colors.css # Semantic state colors (positive/negative/info/warning)
4141
└── interaction.css # Theme interactions
4242
```
4343

ai/guides/css/tokens/token-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ src/css/
4343
├── brand.css # Brand colors
4444
├── layout.css # Layout tokens
4545
├── effects.css # Visual effects
46-
├── messages.css # Message colors
46+
├── state-colors.css # Semantic state colors
4747
└── interaction.css # Interactions
4848
```
4949

ai/packages/specs.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,12 +413,16 @@ export default {
413413

414414
### Usage Levels
415415

416-
Each spec property has a `usageLevel` (1-5) that enables progressive disclosure:
417-
- **1**: Essential, common features shown by default
418-
- **2**: Frequently used variations
419-
- **3**: Advanced features for specific use cases
420-
- **4**: Specialized features for edge cases
421-
- **5**: Rarely used, expert-level features
416+
Each spec property has a `usageLevel` (1-5) that enables progressive disclosure in documentation. This follows a **descriptive linguistics approach**: combining empirical observation (what patterns exist) with editorial judgment (how frequently users will need them).
417+
418+
Usage levels indicate how frequently users will need a feature:
419+
- **1**: Essential, standard features - used in most implementations (80%+ of users)
420+
- **2**: Common variations - frequently needed (40-80% of users)
421+
- **3**: Advanced features - for specific use cases (15-40% of users)
422+
- **4**: Specialized features - for edge cases (5-15% of users)
423+
- **5**: Expert-level features - rarely needed (<5% of users)
424+
425+
Usage levels control documentation visibility (progressive disclosure) and should reflect expected usage frequency, not research adoption percentages.
422426

423427
## SpecReader API
424428

ai/workflows/components/evaluate-research-extend-spec.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,11 @@ Once decisions are finalized:
240240
# Include appropriate usageLevel based on our assessment
241241
```
242242

243-
**Understanding usageLevel (Progressive Disclosure)**
243+
**Usage Levels**
244244

245-
The `usageLevel` property (1-5) controls how features appear in documentation through progressive disclosure. This is separate from research adoption percentages, which inform *what* to add, not *how often users will need it*.
245+
The `usageLevel` property (1-5) controls how features appear in documentation through progressive disclosure. This follows a **descriptive linguistics approach**: combining empirical observation (what patterns exist across frameworks) with editorial judgment (how frequently users will need them in practice).
246+
247+
**Important**: Usage levels reflect expected usage frequency, not research adoption percentages. Research informs *what* to add; usage levels indicate *how often users will need it* in practice.
246248

247249
**Usage Level Definitions:**
248250

0 commit comments

Comments
 (0)