ai-developer-skill-os 9.3.1 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/AGENTS.md +60 -40
- package/.agents/DEV_PROFILE.md +36 -2
- package/.agents/registry/graph.json +95 -342
- package/.agents/registry/index.yaml +61 -237
- package/.agents/rules/coding.md +30 -12
- package/.agents/rules/command-safety.md +19 -8
- package/.agents/rules/global.md +234 -28
- package/.agents/rules/prompt-compiler.md +170 -0
- package/.agents/skills/qk-api-data-discovery/SKILL.md +470 -0
- package/.agents/skills/qk-backend-data/SKILL.md +190 -0
- package/.agents/skills/qk-bug-resolution/SKILL.md +176 -248
- package/.agents/skills/qk-code-cleaner/SKILL.md +250 -0
- package/.agents/skills/qk-code-review/SKILL.md +126 -247
- package/.agents/skills/qk-devops-release/SKILL.md +145 -0
- package/.agents/skills/qk-feature-delivery/SKILL.md +179 -247
- package/.agents/skills/qk-orchestrator/SKILL.md +100 -151
- package/.agents/skills/qk-product-spec/SKILL.md +113 -0
- package/.agents/skills/qk-prompt-compiler/SKILL.md +321 -0
- package/.agents/skills/qk-ui-engineer/SKILL.md +137 -0
- package/.agents/workflows/feature-delivery.yml +1 -1
- package/.agents/workflows/production-release.yml +1 -1
- package/.agents/workflows/spec-driven-development.yml +109 -87
- package/CHANGELOG.md +16 -0
- package/README.md +125 -205
- package/bin/install.js +337 -329
- package/package.json +2 -2
- package/.agents/README.md +0 -90
- package/.agents/docs/CHI_TIET_SKILLS.md +0 -126
- package/.agents/docs/HUONG_DAN_SU_DUNG.md +0 -120
- package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +0 -36
- package/.agents/docs/MIGRATION-STATUS.md +0 -35
- package/.agents/docs/MIGRATION-V8.md +0 -10
- package/.agents/docs/ROADMAP-V8.2.md +0 -78
- package/.agents/docs/V8-CERTIFICATION.md +0 -27
- package/.agents/skills/qk-access-policy/SKILL.md +0 -206
- package/.agents/skills/qk-access-policy/capability.yaml +0 -23
- package/.agents/skills/qk-access-policy/evals/scorecard.yaml +0 -36
- package/.agents/skills/qk-agent-observability/SKILL.md +0 -108
- package/.agents/skills/qk-agent-observability/capability.yaml +0 -29
- package/.agents/skills/qk-agent-observability/evals/scorecard.yaml +0 -29
- package/.agents/skills/qk-agent-observability/references/scorecard.yaml +0 -80
- package/.agents/skills/qk-ai-builder/SKILL.md +0 -254
- package/.agents/skills/qk-ai-builder/capability.yaml +0 -23
- package/.agents/skills/qk-ai-builder/evals/scorecard.yaml +0 -30
- package/.agents/skills/qk-api-consumer/SKILL.md +0 -256
- package/.agents/skills/qk-api-consumer/capability.yaml +0 -21
- package/.agents/skills/qk-api-consumer/evals/scorecard.yaml +0 -29
- package/.agents/skills/qk-api-lifecycle/SKILL.md +0 -251
- package/.agents/skills/qk-api-lifecycle/capability.yaml +0 -23
- package/.agents/skills/qk-api-lifecycle/evals/scorecard.yaml +0 -29
- package/.agents/skills/qk-bug-resolution/capability.yaml +0 -25
- package/.agents/skills/qk-code-review/capability.yaml +0 -23
- package/.agents/skills/qk-context-loader/SKILL.md +0 -198
- package/.agents/skills/qk-context-loader/capability.yaml +0 -23
- package/.agents/skills/qk-context-loader/evals/scorecard.yaml +0 -28
- package/.agents/skills/qk-data-engineer/SKILL.md +0 -253
- package/.agents/skills/qk-data-lifecycle/SKILL.md +0 -197
- package/.agents/skills/qk-data-lifecycle/capability.yaml +0 -23
- package/.agents/skills/qk-data-lifecycle/evals/scorecard.yaml +0 -29
- package/.agents/skills/qk-db-optimizer/SKILL.md +0 -210
- package/.agents/skills/qk-db-optimizer/capability.yaml +0 -22
- package/.agents/skills/qk-db-optimizer/evals/scorecard.yaml +0 -28
- package/.agents/skills/qk-design-system-engineering/SKILL.md +0 -193
- package/.agents/skills/qk-design-system-engineering/capability.yaml +0 -25
- package/.agents/skills/qk-design-system-engineering/evals/scorecard.yaml +0 -27
- package/.agents/skills/qk-devops-platform/SKILL.md +0 -198
- package/.agents/skills/qk-devops-platform/capability.yaml +0 -29
- package/.agents/skills/qk-devops-platform/evals/scorecard.yaml +0 -28
- package/.agents/skills/qk-docs/SKILL.md +0 -193
- package/.agents/skills/qk-docs/capability.yaml +0 -23
- package/.agents/skills/qk-docs/evals/scorecard.yaml +0 -27
- package/.agents/skills/qk-engineering-standard/SKILL.md +0 -89
- package/.agents/skills/qk-engineering-standard/capability.yaml +0 -23
- package/.agents/skills/qk-engineering-standard/evals/scorecard.yaml +0 -28
- package/.agents/skills/qk-engineering-standard/references/anti-patterns.md +0 -121
- package/.agents/skills/qk-engineering-standard/rules/backend.md +0 -122
- package/.agents/skills/qk-engineering-standard/rules/database.md +0 -3
- package/.agents/skills/qk-engineering-standard/rules/frontend.md +0 -152
- package/.agents/skills/qk-engineering-standard/rules/security.md +0 -3
- package/.agents/skills/qk-engineering-standard/rules/testing.md +0 -3
- package/.agents/skills/qk-fe-api-integration/SKILL.md +0 -704
- package/.agents/skills/qk-fe-api-integration/capability.yaml +0 -21
- package/.agents/skills/qk-fe-api-integration/evals/scorecard.yaml +0 -29
- package/.agents/skills/qk-feature-delivery/capability.yaml +0 -24
- package/.agents/skills/qk-frontend-architecture/SKILL.md +0 -127
- package/.agents/skills/qk-frontend-architecture/capability.yaml +0 -28
- package/.agents/skills/qk-frontend-architecture/evals/scorecard.yaml +0 -28
- package/.agents/skills/qk-help/SKILL.md +0 -107
- package/.agents/skills/qk-help/capability.yaml +0 -20
- package/.agents/skills/qk-help/evals/scorecard.yaml +0 -13
- package/.agents/skills/qk-orchestrator/capability.yaml +0 -22
- package/.agents/skills/qk-product-specification/SKILL.md +0 -187
- package/.agents/skills/qk-product-specification/capability.yaml +0 -27
- package/.agents/skills/qk-product-specification/evals/scorecard.yaml +0 -27
- package/.agents/skills/qk-production-release/SKILL.md +0 -188
- package/.agents/skills/qk-production-release/capability.yaml +0 -27
- package/.agents/skills/qk-production-release/evals/scorecard.yaml +0 -28
- package/.agents/skills/qk-project-audit/SKILL.md +0 -174
- package/.agents/skills/qk-project-bootstrap/SKILL.md +0 -372
- package/.agents/skills/qk-project-bootstrap/capability.yaml +0 -23
- package/.agents/skills/qk-project-bootstrap/evals/scorecard.yaml +0 -28
- package/.agents/skills/qk-project-health/SKILL.md +0 -202
- package/.agents/skills/qk-project-health/capability.yaml +0 -23
- package/.agents/skills/qk-project-health/evals/scorecard.yaml +0 -27
- package/.agents/skills/qk-project-memory/SKILL.md +0 -303
- package/.agents/skills/qk-project-memory/capability.yaml +0 -23
- package/.agents/skills/qk-project-memory/evals/scorecard.yaml +0 -27
- package/.agents/skills/qk-refactor/SKILL.md +0 -243
- package/.agents/skills/qk-refactor/capability.yaml +0 -26
- package/.agents/skills/qk-refactor/evals/scorecard.yaml +0 -27
- package/.agents/skills/qk-security-audit/SKILL.md +0 -280
- package/.agents/skills/qk-security-audit/capability.yaml +0 -29
- package/.agents/skills/qk-security-audit/evals/scorecard.yaml +0 -27
- package/.agents/skills/qk-system-evolution/SKILL.md +0 -625
- package/.agents/skills/qk-system-evolution/capability.yaml +0 -24
- package/.agents/skills/qk-system-evolution/evals/scorecard.yaml +0 -26
- package/.agents/skills/qk-test-engineering/SKILL.md +0 -215
- package/.agents/skills/qk-test-engineering/capability.yaml +0 -28
- package/.agents/skills/qk-test-engineering/evals/scorecard.yaml +0 -26
- package/.agents/skills/qk-ui-audit/SKILL.md +0 -175
- package/.agents/skills/qk-ui-audit/capability.yaml +0 -23
- package/.agents/skills/qk-ui-audit/evals/scorecard.yaml +0 -26
- package/.agents/skills/qk-ui-audit/references/anti-slop-checklist.md +0 -136
- package/.agents/skills/qk-ui-builder/SKILL.md +0 -521
- package/.agents/skills/qk-ui-builder/capability.yaml +0 -29
- package/.agents/skills/qk-ui-builder/evals/scorecard.yaml +0 -26
- package/.agents/skills/qk-ui-builder/references/anti-patterns.md +0 -295
- package/.agents/skills/qk-ui-builder/references/color.md +0 -115
- package/.agents/skills/qk-ui-builder/references/component-cookbook.md +0 -458
- package/.agents/skills/qk-ui-builder/references/copy.md +0 -250
- package/.agents/skills/qk-ui-builder/references/interaction-and-states.md +0 -115
- package/.agents/skills/qk-ui-builder/references/layout-and-space.md +0 -111
- package/.agents/skills/qk-ui-builder/references/macrostructures/01-bento-grid.md +0 -48
- package/.agents/skills/qk-ui-builder/references/macrostructures/02-long-document.md +0 -50
- package/.agents/skills/qk-ui-builder/references/macrostructures/03-marquee-hero.md +0 -51
- package/.agents/skills/qk-ui-builder/references/macrostructures/04-stat-led.md +0 -49
- package/.agents/skills/qk-ui-builder/references/macrostructures/05-workbench.md +0 -44
- package/.agents/skills/qk-ui-builder/references/macrostructures/06-conversational-faq.md +0 -50
- package/.agents/skills/qk-ui-builder/references/macrostructures/07-manifesto.md +0 -51
- package/.agents/skills/qk-ui-builder/references/macrostructures/08-photographic.md +0 -50
- package/.agents/skills/qk-ui-builder/references/macrostructures/09-quote-led.md +0 -50
- package/.agents/skills/qk-ui-builder/references/macrostructures/11-catalogue.md +0 -49
- package/.agents/skills/qk-ui-builder/references/macrostructures/12-letter.md +0 -49
- package/.agents/skills/qk-ui-builder/references/macrostructures/13-index-first.md +0 -49
- package/.agents/skills/qk-ui-builder/references/macrostructures/14-narrative-workflow.md +0 -48
- package/.agents/skills/qk-ui-builder/references/macrostructures/15-split-studio.md +0 -48
- package/.agents/skills/qk-ui-builder/references/macrostructures/16-feature-stack.md +0 -51
- package/.agents/skills/qk-ui-builder/references/macrostructures/17-type-specimen.md +0 -48
- package/.agents/skills/qk-ui-builder/references/macrostructures/18-portfolio-grid.md +0 -48
- package/.agents/skills/qk-ui-builder/references/macrostructures/19-map-diagram.md +0 -50
- package/.agents/skills/qk-ui-builder/references/macrostructures/20-ecosystem-index.md +0 -48
- package/.agents/skills/qk-ui-builder/references/macrostructures/21-component-playground.md +0 -45
- package/.agents/skills/qk-ui-builder/references/macrostructures.md +0 -38
- package/.agents/skills/qk-ui-builder/references/motion.md +0 -95
- package/.agents/skills/qk-ui-builder/references/responsive.md +0 -115
- package/.agents/skills/qk-ui-builder/references/slop-test.md +0 -135
- package/.agents/skills/qk-ui-builder/references/structure.md +0 -280
- package/.agents/skills/qk-ui-builder/references/themes/atmospheric.md +0 -53
- package/.agents/skills/qk-ui-builder/references/themes/carnival.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/cobalt.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/editorial.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/garden.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/hum.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/lumen.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/midnight.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/modern-minimal.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/playful.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/specimen.md +0 -52
- package/.agents/skills/qk-ui-builder/references/themes/terminal.md +0 -52
- package/.agents/skills/qk-ui-builder/references/typography.md +0 -129
- package/.agents/skills/qk-ui-system-builder/SKILL.md +0 -183
- package/.agents/skills/qk-ui-system-builder/capability.yaml +0 -25
- package/.agents/skills/qk-ui-system-builder/evals/scorecard.yaml +0 -26
- package/.agents/skills/qk-upgrade/SKILL.md +0 -301
- package/.agents/skills/qk-upgrade/capability.yaml +0 -24
- package/.agents/skills/qk-upgrade/evals/scorecard.yaml +0 -26
- package/.agents/skills/qk-validation-gate/SKILL.md +0 -88
- package/.agents/skills/qk-validation-gate/capability.yaml +0 -23
- package/.agents/skills/qk-validation-gate/evals/scorecard.yaml +0 -26
- package/.agents/skills/qk-web-quality-gate/SKILL.md +0 -197
- package/.agents/skills/qk-web-quality-gate/capability.yaml +0 -24
- package/.agents/skills/qk-web-quality-gate/evals/scorecard.yaml +0 -26
- package/.agents/workflows/research.yml +0 -75
- package/.agents/workflows/skill-evolution.yml +0 -97
- package/tooling/fix-refactor.js +0 -8
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# 11 — Catalogue
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** product listings, e-commerce grid, filterable cards, scannable.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Search + Filters |
|
|
10
|
-
+------+--------------------+
|
|
11
|
-
| Facet| [card][card] |
|
|
12
|
-
| Nav | [card][card] |
|
|
13
|
-
| | [card][card] |
|
|
14
|
-
| | |
|
|
15
|
-
+------+--------------------+
|
|
16
|
-
| Pagination / Load more |
|
|
17
|
-
+---------------------------+
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Rules
|
|
21
|
-
|
|
22
|
-
- Grid: 3–4 columns desktop, 2 tablet, 1 mobile
|
|
23
|
-
- Card: image, title, price, rating, quick-add
|
|
24
|
-
- Facets: sticky filter sidebar, collapsible on mobile
|
|
25
|
-
- Pagination: numbered or infinite scroll, state preserved
|
|
26
|
-
- Sorting: visible control (price, popularity)
|
|
27
|
-
|
|
28
|
-
## Typography
|
|
29
|
-
|
|
30
|
-
- Heading: display for page title
|
|
31
|
-
- Price: tabular-nums, medium weight
|
|
32
|
-
- Title: 14px body, truncated to 2 lines
|
|
33
|
-
|
|
34
|
-
## Spacing
|
|
35
|
-
|
|
36
|
-
- Grid gap: `--space-4` (16px)
|
|
37
|
-
- Card padding: `--space-3` (12px)
|
|
38
|
-
- Filter width: 240px
|
|
39
|
-
|
|
40
|
-
## Anti-Patterns
|
|
41
|
-
|
|
42
|
-
- ❌ Cards with inconsistent heights breaking grid
|
|
43
|
-
- ❌ Hidden or unclear pricing
|
|
44
|
-
- ❌ Filters that require page reload
|
|
45
|
-
|
|
46
|
-
## Theme Affinity
|
|
47
|
-
|
|
48
|
-
- ✅ Carnival, Cobalt
|
|
49
|
-
- ❌ Hum (needs more product pop)
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# 12 — Letter
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** personal, newsletters, 1-on-1 communication, single readable column.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Salutation (Dear ...) |
|
|
10
|
-
+---------------------------+
|
|
11
|
-
| Body paragraphs |
|
|
12
|
-
| (personal, signed) |
|
|
13
|
-
| |
|
|
14
|
-
| Signature |
|
|
15
|
-
+---------------------------+
|
|
16
|
-
| PS / footnotes |
|
|
17
|
-
+---------------------------+
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Rules
|
|
21
|
-
|
|
22
|
-
- Single column, intimate width (max 60ch)
|
|
23
|
-
- Tone: first-person, conversational
|
|
24
|
-
- Salutation and signature frame the content
|
|
25
|
-
- Optional PS line for emphasis
|
|
26
|
-
- Minimal decoration; focus on the words
|
|
27
|
-
|
|
28
|
-
## Typography
|
|
29
|
-
|
|
30
|
-
- Heading: display or editorial for subject
|
|
31
|
-
- Body: body font, 17px, comfortable line-height
|
|
32
|
-
- Signature: italic or handwritten-style if theme allows
|
|
33
|
-
|
|
34
|
-
## Spacing
|
|
35
|
-
|
|
36
|
-
- Body padding: `--space-8` (32px)
|
|
37
|
-
- Paragraph gap: `--space-4` (16px)
|
|
38
|
-
- Signature margin-top: `--space-6` (24px)
|
|
39
|
-
|
|
40
|
-
## Anti-Patterns
|
|
41
|
-
|
|
42
|
-
- ❌ Corporate marketing tone
|
|
43
|
-
- ❌ Multi-column newsletter chaos
|
|
44
|
-
- ❌ Missing personal sign-off
|
|
45
|
-
|
|
46
|
-
## Theme Affinity
|
|
47
|
-
|
|
48
|
-
- ✅ Hum, Lumen
|
|
49
|
-
- ⚠️ Carnival (tone may clash)
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# 13 — Index-First
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** wiki-style, knowledge base, docs hub, alphabetical/topic index upfront.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Search + A-Z / Topics |
|
|
10
|
-
+------+--------------------+
|
|
11
|
-
| Index| Entry content |
|
|
12
|
-
| list | (when selected) |
|
|
13
|
-
| A B | |
|
|
14
|
-
| C D | headings, links |
|
|
15
|
-
+------+--------------------+
|
|
16
|
-
| Breadcrumb |
|
|
17
|
-
+---------------------------+
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Rules
|
|
21
|
-
|
|
22
|
-
- Index: alphabetical or categorical list, always visible
|
|
23
|
-
- Search: primary entry point, live filter
|
|
24
|
-
- Entries: cross-linked, consistent heading structure
|
|
25
|
-
- Breadcrumb: shows location in hierarchy
|
|
26
|
-
- Last-updated timestamp per entry
|
|
27
|
-
|
|
28
|
-
## Typography
|
|
29
|
-
|
|
30
|
-
- Heading: display for hub title
|
|
31
|
-
- Index items: 14px, hover underline
|
|
32
|
-
- Entry body: body font, 16px
|
|
33
|
-
|
|
34
|
-
## Spacing
|
|
35
|
-
|
|
36
|
-
- Index width: 220px
|
|
37
|
-
- Entry padding: `--space-6` (24px)
|
|
38
|
-
- Item gap: `--space-2` (8px)
|
|
39
|
-
|
|
40
|
-
## Anti-Patterns
|
|
41
|
-
|
|
42
|
-
- ❌ Deep nesting with no index
|
|
43
|
-
- ❌ Orphan pages without back-links
|
|
44
|
-
- ❌ Stale "last updated" dates
|
|
45
|
-
|
|
46
|
-
## Theme Affinity
|
|
47
|
-
|
|
48
|
-
- ✅ Lumen, Cobalt
|
|
49
|
-
- ❌ Carnival (too playful for reference)
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# 14 — Narrative Workflow
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** vertical scroll, step-by-step progression, progress indicator, one primary action per screen.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------+
|
|
9
|
-
| Progress Bar |
|
|
10
|
-
+---------------------+
|
|
11
|
-
| |
|
|
12
|
-
| Step Content |
|
|
13
|
-
| (text + media) |
|
|
14
|
-
| [Primary Action] |
|
|
15
|
-
+---------------------+
|
|
16
|
-
| Skip / Back |
|
|
17
|
-
+---------------------+
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Rules
|
|
21
|
-
|
|
22
|
-
- Max 1 primary action per step
|
|
23
|
-
- Progress bar always visible
|
|
24
|
-
- Steps must have clear entry/exit criteria
|
|
25
|
-
- Support keyboard navigation (Enter = next, Backspace = back)
|
|
26
|
-
|
|
27
|
-
## Typography
|
|
28
|
-
|
|
29
|
-
- Heading: display style, 1 per step
|
|
30
|
-
- Body: body font, max-width 65ch
|
|
31
|
-
- Helper text: muted color, 14px
|
|
32
|
-
|
|
33
|
-
## Spacing
|
|
34
|
-
|
|
35
|
-
- Step padding: `--space-8` (32px)
|
|
36
|
-
- Action margin-top: `--space-6` (24px)
|
|
37
|
-
- Progress bar height: 4px
|
|
38
|
-
|
|
39
|
-
## Anti-Patterns
|
|
40
|
-
|
|
41
|
-
- ❌ Multiple CTAs per step
|
|
42
|
-
- ❌ Progress bar that doesn't reflect actual state
|
|
43
|
-
- ❌ Steps that require going back to change data
|
|
44
|
-
|
|
45
|
-
## Theme Affinity
|
|
46
|
-
|
|
47
|
-
- ✅ Hum, Cobalt
|
|
48
|
-
- ⚠️ Carnival (can work but needs restraint)
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# 15 — Split Studio
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** before/after, comparison layouts, side-by-side, A/B showcase.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Title + toggle (vs) |
|
|
10
|
-
+-------------+-------------+
|
|
11
|
-
| BEFORE | AFTER |
|
|
12
|
-
| (media) | (media) |
|
|
13
|
-
| caption | caption |
|
|
14
|
-
+-------------+-------------+
|
|
15
|
-
| Diff / notes row |
|
|
16
|
-
+---------------------------+
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Rules
|
|
20
|
-
|
|
21
|
-
- Two equal panes, clear "vs" divider or toggle
|
|
22
|
-
- Sync scroll when comparing scrollable content
|
|
23
|
-
- Optional slider for wipe comparison
|
|
24
|
-
- Captions: label each side unambiguously
|
|
25
|
-
- Notes: explain the difference below
|
|
26
|
-
|
|
27
|
-
## Typography
|
|
28
|
-
|
|
29
|
-
- Heading: display for comparison title
|
|
30
|
-
- Pane labels: uppercase, 13px muted
|
|
31
|
-
- Notes: body font, 15px
|
|
32
|
-
|
|
33
|
-
## Spacing
|
|
34
|
-
|
|
35
|
-
- Pane gap: `--space-2` (8px) or divider line
|
|
36
|
-
- Pane padding: `--space-4` (16px)
|
|
37
|
-
- Notes margin-top: `--space-6` (24px)
|
|
38
|
-
|
|
39
|
-
## Anti-Patterns
|
|
40
|
-
|
|
41
|
-
- ❌ Asymmetric panes implying bias
|
|
42
|
-
- ❌ No labels on before/after
|
|
43
|
-
- ❌ Wipe slider that lags input
|
|
44
|
-
|
|
45
|
-
## Theme Affinity
|
|
46
|
-
|
|
47
|
-
- ✅ Cobalt, Lumen
|
|
48
|
-
- ⚠️ Carnival (keep divider clean)
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# 16 — Feature Stack
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** stacked feature highlights, SaaS product pages, alternating sections.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Hero (value prop) |
|
|
10
|
-
+------+--------------------+
|
|
11
|
-
| img | Feature 1 |
|
|
12
|
-
| | (title + desc) |
|
|
13
|
-
+------+--------------------+
|
|
14
|
-
| Feature 2 | img |
|
|
15
|
-
+------+--------------------+
|
|
16
|
-
| ... repeated N times |
|
|
17
|
-
+---------------------------+
|
|
18
|
-
| Final CTA |
|
|
19
|
-
+---------------------------+
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Rules
|
|
23
|
-
|
|
24
|
-
- Alternating image/text rows, consistent rhythm
|
|
25
|
-
- Each feature: one headline, 1–2 sentence desc, optional icon
|
|
26
|
-
- Max 5–6 features before fatigue
|
|
27
|
-
- Sticky or scroll-reveal for emphasis
|
|
28
|
-
- Final CTA after the stack
|
|
29
|
-
|
|
30
|
-
## Typography
|
|
31
|
-
|
|
32
|
-
- Heading: display for hero and feature titles
|
|
33
|
-
- Desc: body font, 16px, max-width 50ch
|
|
34
|
-
- Icon labels: 13px muted
|
|
35
|
-
|
|
36
|
-
## Spacing
|
|
37
|
-
|
|
38
|
-
- Row padding: `--space-10` (40px)
|
|
39
|
-
- Row gap: `--space-8` (32px)
|
|
40
|
-
- Media min-height: 320px
|
|
41
|
-
|
|
42
|
-
## Anti-Patterns
|
|
43
|
-
|
|
44
|
-
- ❌ More than 6 stacked features
|
|
45
|
-
- ❌ Inconsistent alternation direction
|
|
46
|
-
- ❌ Features without a clear benefit
|
|
47
|
-
|
|
48
|
-
## Theme Affinity
|
|
49
|
-
|
|
50
|
-
- ✅ Cobalt, Hum
|
|
51
|
-
- ⚠️ Carnival (restraint needed)
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# 17 — Type Specimen
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** typography showcase, design system docs, font scales on display.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Typeface name + meta |
|
|
10
|
-
+------+--------------------+
|
|
11
|
-
| Spec | Glyph / alphabet |
|
|
12
|
-
| nav | Aa Bb Cc ... |
|
|
13
|
-
| | Weight row |
|
|
14
|
-
+------+--------------------+
|
|
15
|
-
| Scale / line-height |
|
|
16
|
-
+---------------------------+
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Rules
|
|
20
|
-
|
|
21
|
-
- Show full character set and key glyphs
|
|
22
|
-
- Display each weight (light → black) with label
|
|
23
|
-
- Type scale: list sizes with px/rem and usage
|
|
24
|
-
- Sample text: pangram + real paragraph
|
|
25
|
-
- Nav: jump to typeface sections
|
|
26
|
-
|
|
27
|
-
## Typography
|
|
28
|
-
|
|
29
|
-
- Specimen: the typeface itself, all sizes
|
|
30
|
-
- Labels: mono, 12px muted for metadata
|
|
31
|
-
- Sample: body font fallback noted
|
|
32
|
-
|
|
33
|
-
## Spacing
|
|
34
|
-
|
|
35
|
-
- Specimen padding: `--space-8` (32px)
|
|
36
|
-
- Weight row gap: `--space-4` (16px)
|
|
37
|
-
- Nav width: 200px
|
|
38
|
-
|
|
39
|
-
## Anti-Patterns
|
|
40
|
-
|
|
41
|
-
- ❌ Showing only one weight
|
|
42
|
-
- ❌ No scale reference
|
|
43
|
-
- ❌ Illegible specimen background
|
|
44
|
-
|
|
45
|
-
## Theme Affinity
|
|
46
|
-
|
|
47
|
-
- ✅ Lumen, Cobalt
|
|
48
|
-
- ❌ Hum (too quiet for showcase)
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# 18 — Portfolio Grid
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** creative portfolio, masonry grid, varied tile sizes, visual-first.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Name + filter (tags) |
|
|
10
|
-
+---------------------------+
|
|
11
|
-
| [big][sm][sm] |
|
|
12
|
-
| [sm ][med ] |
|
|
13
|
-
| [med ][sm][big] |
|
|
14
|
-
+---------------------------+
|
|
15
|
-
| Hover = reveal meta |
|
|
16
|
-
+---------------------------+
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Rules
|
|
20
|
-
|
|
21
|
-
- Masonry or bento-style varied tile sizes
|
|
22
|
-
- Hover/focus: reveal title, category, year
|
|
23
|
-
- Filter: by tag/category, animates layout
|
|
24
|
-
- Click: opens project detail
|
|
25
|
-
- No fixed equal rows; embrace asymmetry
|
|
26
|
-
|
|
27
|
-
## Typography
|
|
28
|
-
|
|
29
|
-
- Heading: display for name/title
|
|
30
|
-
- Tile meta: 13px muted, revealed on hover
|
|
31
|
-
- Tags: 12px uppercase labels
|
|
32
|
-
|
|
33
|
-
## Spacing
|
|
34
|
-
|
|
35
|
-
- Grid gap: `--space-3` (12px)
|
|
36
|
-
- Tile min-height: 200px
|
|
37
|
-
- Filter margin-bottom: `--space-6` (24px)
|
|
38
|
-
|
|
39
|
-
## Anti-Patterns
|
|
40
|
-
|
|
41
|
-
- ❌ Rigid equal grid hiding creativity
|
|
42
|
-
- ❌ No hover state on tiles
|
|
43
|
-
- ❌ Missing project metadata
|
|
44
|
-
|
|
45
|
-
## Theme Affinity
|
|
46
|
-
|
|
47
|
-
- ✅ Carnival, Hum
|
|
48
|
-
- ❌ Cobalt (too rigid)
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# 19 — Map / Diagram
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** architecture diagrams, org charts, flows, node-and-edge layouts.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Legend + zoom controls |
|
|
10
|
-
+---------------------------+
|
|
11
|
-
| |
|
|
12
|
-
| [ node ] -- [ node ] |
|
|
13
|
-
| \ / |
|
|
14
|
-
| [ node ] |
|
|
15
|
-
| |
|
|
16
|
-
+---------------------------+
|
|
17
|
-
| Side panel (node info) |
|
|
18
|
-
+---------------------------+
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Rules
|
|
22
|
-
|
|
23
|
-
- Nodes: clear shapes with labels, consistent styling
|
|
24
|
-
- Edges: directional arrows, avoid crossing when possible
|
|
25
|
-
- Legend: explains node/edge types
|
|
26
|
-
- Zoom/pan: required for complex diagrams
|
|
27
|
-
- Side panel: details on node select
|
|
28
|
-
|
|
29
|
-
## Typography
|
|
30
|
-
|
|
31
|
-
- Heading: display for diagram title
|
|
32
|
-
- Node label: 13px medium, legible on node bg
|
|
33
|
-
- Legend: 12px muted
|
|
34
|
-
|
|
35
|
-
## Spacing
|
|
36
|
-
|
|
37
|
-
- Node padding: `--space-3` (12px)
|
|
38
|
-
- Edge spacing: auto-layout with min gap
|
|
39
|
-
- Panel width: 280px
|
|
40
|
-
|
|
41
|
-
## Anti-Patterns
|
|
42
|
-
|
|
43
|
-
- ❌ Overlapping nodes/edges
|
|
44
|
-
- ❌ Unlabeled connections
|
|
45
|
-
- ❌ No zoom on large diagrams
|
|
46
|
-
|
|
47
|
-
## Theme Affinity
|
|
48
|
-
|
|
49
|
-
- ✅ Lumen, Cobalt
|
|
50
|
-
- ❌ Carnival (distracts from structure)
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# 20 — Ecosystem Index
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** integrations, partners, plugins directory, logo grid with search.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------------------------+
|
|
9
|
-
| Search + category tabs |
|
|
10
|
-
+------+--------------------+
|
|
11
|
-
| Cat | [logo][logo] |
|
|
12
|
-
| nav | [logo][logo] |
|
|
13
|
-
| | [logo][logo] |
|
|
14
|
-
+------+--------------------+
|
|
15
|
-
| Featured / popular |
|
|
16
|
-
+---------------------------+
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Rules
|
|
20
|
-
|
|
21
|
-
- Logo grid: uniform tile size, grayscale → color on hover
|
|
22
|
-
- Categories: tab or sidebar filter
|
|
23
|
-
- Search: matches name and tags
|
|
24
|
-
- Featured row: highlights top integrations
|
|
25
|
-
- Each tile links to detail/install
|
|
26
|
-
|
|
27
|
-
## Typography
|
|
28
|
-
|
|
29
|
-
- Heading: display for directory title
|
|
30
|
-
- Tile name: 13px medium under logo
|
|
31
|
-
- Category: 14px, active state bold
|
|
32
|
-
|
|
33
|
-
## Spacing
|
|
34
|
-
|
|
35
|
-
- Grid gap: `--space-4` (16px)
|
|
36
|
-
- Tile padding: `--space-4` (16px)
|
|
37
|
-
- Cat nav width: 200px
|
|
38
|
-
|
|
39
|
-
## Anti-Patterns
|
|
40
|
-
|
|
41
|
-
- ❌ Logos at inconsistent sizes
|
|
42
|
-
- ❌ No search on large directories
|
|
43
|
-
- ❌ Missing category organization
|
|
44
|
-
|
|
45
|
-
## Theme Affinity
|
|
46
|
-
|
|
47
|
-
- ✅ Cobalt, Lumen
|
|
48
|
-
- ⚠️ Carnival (logos need neutral bg)
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# 21 — Component Playground
|
|
2
|
-
|
|
3
|
-
**Fingerprint:** tabbed or sidebar navigation, live preview, code snippet, copy button.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
+---------+------------------+
|
|
9
|
-
| Nav | Preview |
|
|
10
|
-
| (tabs) | (live render) |
|
|
11
|
-
| | |
|
|
12
|
-
+---------+------------------+
|
|
13
|
-
| Code Snippet [Copy] |
|
|
14
|
-
+-----------------------------+
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Rules
|
|
18
|
-
|
|
19
|
-
- Nav: vertical tabs or horizontal pills
|
|
20
|
-
- Preview: sandboxed iframe or isolated render
|
|
21
|
-
- Code: syntax highlighted, copy button
|
|
22
|
-
- Tabs: at least 3 examples per component
|
|
23
|
-
|
|
24
|
-
## Typography
|
|
25
|
-
|
|
26
|
-
- Heading: display style
|
|
27
|
-
- Code: mono, 13px
|
|
28
|
-
- Body: body font, 14px
|
|
29
|
-
|
|
30
|
-
## Spacing
|
|
31
|
-
|
|
32
|
-
- Nav width: 200px
|
|
33
|
-
- Preview padding: `--space-6`
|
|
34
|
-
- Code padding: `--space-4`
|
|
35
|
-
|
|
36
|
-
## Anti-Patterns
|
|
37
|
-
|
|
38
|
-
- ❌ Preview that doesn't update on tab switch
|
|
39
|
-
- ❌ Code snippets without syntax highlighting
|
|
40
|
-
- ❌ Missing copy button
|
|
41
|
-
|
|
42
|
-
## Theme Affinity
|
|
43
|
-
|
|
44
|
-
- ✅ Lumen, Cobalt
|
|
45
|
-
- ❌ Hum, Carnival (too decorative)
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Macrostructure Index
|
|
2
|
-
|
|
3
|
-
Load this index first, then load ONLY the chosen macrostructure file.
|
|
4
|
-
|
|
5
|
-
| ID | Name | Best For |
|
|
6
|
-
|----|------|----------|
|
|
7
|
-
| 01 | Bento Grid | Feature dashboards, app shells |
|
|
8
|
-
| 02 | Long Document | Docs, blogs, legal |
|
|
9
|
-
| 03 | Marquee Hero | Marketing, campaigns |
|
|
10
|
-
| 04 | Stat-Led | Analytics, metrics |
|
|
11
|
-
| 05 | Workbench | Tools, editors, IDEs |
|
|
12
|
-
| 06 | Conversational FAQ | Support, onboarding |
|
|
13
|
-
| 07 | Manifesto | Brand, about, careers |
|
|
14
|
-
| 08 | Photographic | Portfolios, travel |
|
|
15
|
-
| 09 | Quote-Led | Testimonials, editorial |
|
|
16
|
-
| 10 | Specimen | Design systems, pattern libraries |
|
|
17
|
-
| 11 | Catalogue | E-commerce, listings |
|
|
18
|
-
| 12 | Letter | Newsletters, personal |
|
|
19
|
-
| 13 | Index-First | Wikis, knowledge bases |
|
|
20
|
-
| 14 | Narrative Workflow | Onboarding, wizards |
|
|
21
|
-
| 15 | Split Studio | Comparison, before/after |
|
|
22
|
-
| 16 | Feature Stack | Product pages, SaaS |
|
|
23
|
-
| 17 | Type Specimen | Typography showcases |
|
|
24
|
-
| 18 | Portfolio Grid | Creative portfolios |
|
|
25
|
-
| 19 | Map/Diagram | Architecture, org charts |
|
|
26
|
-
| 20 | Ecosystem Index | Integrations, partners |
|
|
27
|
-
| 21 | Component Playground | UI libraries, docs |
|
|
28
|
-
|
|
29
|
-
## Load Rule
|
|
30
|
-
|
|
31
|
-
1. Read this index only
|
|
32
|
-
2. Pick ONE macrostructure based on brief
|
|
33
|
-
3. Load ONLY `references/macrostructures/XX-<name>.md`
|
|
34
|
-
4. Never load all 21 files
|
|
35
|
-
|
|
36
|
-
## Diversification Rule
|
|
37
|
-
|
|
38
|
-
No two consecutive builds in the same project may share the same macrostructure.
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
# Motion
|
|
2
|
-
|
|
3
|
-
Foundational rules for animation. Motion must feel intentional, fast, and accessible — never decorative bounce or layout-shifting transitions.
|
|
4
|
-
|
|
5
|
-
## Duration Scale
|
|
6
|
-
|
|
7
|
-
Use only these durations. Do not invent values like 250ms or 420ms.
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
100ms micro (hover, toggle, color)
|
|
11
|
-
150ms quick state change
|
|
12
|
-
200ms default UI transition
|
|
13
|
-
300ms panel / menu enter-exit
|
|
14
|
-
500ms large surface / page-level
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
```css
|
|
18
|
-
:root {
|
|
19
|
-
--dur-1: 100ms;
|
|
20
|
-
--dur-2: 150ms;
|
|
21
|
-
--dur-3: 200ms;
|
|
22
|
-
--dur-4: 300ms;
|
|
23
|
-
--dur-5: 500ms;
|
|
24
|
-
}
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Easing
|
|
28
|
-
|
|
29
|
-
Match easing to the direction of motion:
|
|
30
|
-
|
|
31
|
-
| Phase | Easing |
|
|
32
|
-
| --- | --- |
|
|
33
|
-
| Enter (appear) | `ease-out` |
|
|
34
|
-
| Exit (disappear) | `ease-in` |
|
|
35
|
-
| Continuous transition | `ease-in-out` |
|
|
36
|
-
|
|
37
|
-
```css
|
|
38
|
-
.card { transition: transform var(--dur-3) ease-out, opacity var(--dur-3) ease-out; }
|
|
39
|
-
.menu-close { transition: opacity var(--dur-2) ease-in; }
|
|
40
|
-
.theme-switch { transition: background-color var(--dur-4) ease-in-out; }
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Ban List
|
|
44
|
-
|
|
45
|
-
- **No bounce / overshoot easing.** Never use `cubic-bezier(0.68, -0.55, 0.265, 1.55)` or any springy curve for UI elements. It reads as unprofessional and slows perceived performance.
|
|
46
|
-
|
|
47
|
-
```css
|
|
48
|
-
/* BANNED */
|
|
49
|
-
transition: all 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
- **No infinite decorative animations** (marquee, pulsing glow) unless the user explicitly asks.
|
|
53
|
-
- **No `transition: all`** — name the specific properties.
|
|
54
|
-
|
|
55
|
-
## prefers-reduced-motion
|
|
56
|
-
|
|
57
|
-
Respect the user's OS setting. Under `reduce`, disable transforms/opacity animations and drop durations to **0ms**.
|
|
58
|
-
|
|
59
|
-
```css
|
|
60
|
-
@media (prefers-reduced-motion: reduce) {
|
|
61
|
-
*,
|
|
62
|
-
*::before,
|
|
63
|
-
*::after {
|
|
64
|
-
animation-duration: 0.01ms !important;
|
|
65
|
-
animation-iteration-count: 1 !important;
|
|
66
|
-
transition-duration: 0ms !important;
|
|
67
|
-
scroll-behavior: auto !important;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Apply this once globally; do not re-introduce motion for individual elements.
|
|
73
|
-
|
|
74
|
-
## No Animating Layout Properties
|
|
75
|
-
|
|
76
|
-
Never animate `width`, `height`, `padding`, `margin`, or `top/left`. These trigger layout/paint reflows and jank. Animate only **transform** and **opacity** (compositor-only).
|
|
77
|
-
|
|
78
|
-
```css
|
|
79
|
-
/* Good: animate transform/opacity only */
|
|
80
|
-
.modal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-3) ease-out, transform var(--dur-3) ease-out; }
|
|
81
|
-
.modal.open { opacity: 1; transform: translateY(0); }
|
|
82
|
-
|
|
83
|
-
/* Bad: animates layout */
|
|
84
|
-
.panel { transition: height 300ms ease; } /* reflows, janky */
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
For elements that change size (expand/collapse), use `transform: scaleY()` or animate `grid-template-rows: 0fr → 1fr` instead of height.
|
|
88
|
-
|
|
89
|
-
## Practical Checklist
|
|
90
|
-
|
|
91
|
-
- [ ] Durations only from the 5-step scale.
|
|
92
|
-
- [ ] ease-out enter / ease-in exit / ease-in-out transition.
|
|
93
|
-
- [ ] No bounce bezier, no `transition: all`, no infinite decoration.
|
|
94
|
-
- [ ] `prefers-reduced-motion` zeroes all motion.
|
|
95
|
-
- [ ] Only `transform` / `opacity` are animated.
|