ai-developer-skill-os 7.5.0 → 7.5.1
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/CHANGELOG.md +2 -1
- package/.agents/README.md +51 -10
- package/.agents/docs/CHI_TIET_SKILLS.md +2 -1
- package/.agents/skills/qk-orchestrator/SKILL.md +3 -2
- package/.agents/skills/qk-orchestrator/references/routing-table.md +3 -2
- package/.agents/skills/qk-project-bootstrap/SKILL.md +2 -1
- package/.agents/skills/qk-project-memory/SKILL.md +46 -0
- package/.agents/skills/qk-ui-audit/SKILL.md +3 -2
- package/.agents/skills/qk-ui-builder/SKILL.md +446 -0
- package/.agents/skills/qk-ui-builder/references/anti-patterns.md +295 -0
- package/.agents/skills/qk-ui-builder/references/color.md +115 -0
- package/.agents/skills/qk-ui-builder/references/component-cookbook.md +1194 -0
- package/.agents/skills/qk-ui-builder/references/copy.md +250 -0
- package/.agents/skills/qk-ui-builder/references/interaction-and-states.md +115 -0
- package/.agents/skills/qk-ui-builder/references/layout-and-space.md +111 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/01-bento-grid.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/02-long-document.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/03-marquee-hero.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/04-stat-led.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/05-workbench.md +44 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/06-conversational-faq.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/07-manifesto.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/08-photographic.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/09-quote-led.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/11-catalogue.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/12-letter.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/13-index-first.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/14-narrative-workflow.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/15-split-studio.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/16-feature-stack.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/17-type-specimen.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/18-portfolio-grid.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/19-map-diagram.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/20-ecosystem-index.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/21-component-playground.md +45 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures.md +38 -0
- package/.agents/skills/qk-ui-builder/references/motion.md +95 -0
- package/.agents/skills/qk-ui-builder/references/responsive.md +115 -0
- package/.agents/skills/qk-ui-builder/references/slop-test.md +135 -0
- package/.agents/skills/qk-ui-builder/references/structure.md +280 -0
- package/.agents/skills/qk-ui-builder/references/themes/atmospheric.md +53 -0
- package/.agents/skills/qk-ui-builder/references/themes/carnival.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/cobalt.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/editorial.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/garden.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/hum.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/lumen.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/midnight.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/modern-minimal.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/playful.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/specimen.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/terminal.md +52 -0
- package/.agents/skills/qk-ui-builder/references/typography.md +129 -0
- package/.agents/skills.json +4 -4
- package/CHANGELOG.md +2 -1
- package/README.md +36 -16
- package/bin/lint.js +3 -2
- package/docs/CHI_TIET_SKILLS.md +2 -1
- package/framework/decision-primitives.md +2 -1
- package/package.json +2 -2
- package/skills/_template/SKILL.md +2 -1
- package/skills/qk-access-policy/SKILL.md +3 -2
- package/skills/qk-ai-builder/SKILL.md +3 -2
- package/skills/qk-api-lifecycle/SKILL.md +3 -2
- package/skills/qk-bug-resolution/SKILL.md +3 -2
- package/skills/qk-context-loader/SKILL.md +13 -12
- package/skills/qk-data-lifecycle/SKILL.md +3 -2
- package/skills/qk-db-optimizer/SKILL.md +3 -2
- package/skills/qk-docs/SKILL.md +3 -2
- package/skills/qk-engineering-standard/SKILL.md +19 -18
- package/skills/qk-fe-api-integration/SKILL.md +3 -2
- package/skills/qk-feature-delivery/SKILL.md +3 -2
- package/skills/qk-help/SKILL.md +3 -2
- package/skills/qk-orchestrator/SKILL.md +18 -16
- package/skills/qk-orchestrator/references/routing-table.md +3 -2
- package/skills/qk-production-release/SKILL.md +15 -14
- package/skills/qk-project-bootstrap/SKILL.md +5 -3
- package/skills/qk-project-health/SKILL.md +3 -2
- package/skills/qk-project-memory/SKILL.md +49 -2
- package/skills/qk-system-evolution/SKILL.md +16 -15
- package/skills/qk-ui-audit/SKILL.md +21 -19
- package/skills/qk-ui-builder/SKILL.md +447 -0
- package/skills/qk-ui-builder/references/anti-patterns.md +295 -0
- package/skills/qk-ui-builder/references/color.md +115 -0
- package/skills/qk-ui-builder/references/component-cookbook.md +1194 -0
- package/skills/qk-ui-builder/references/copy.md +250 -0
- package/skills/qk-ui-builder/references/interaction-and-states.md +115 -0
- package/skills/qk-ui-builder/references/layout-and-space.md +111 -0
- package/skills/qk-ui-builder/references/macrostructures/01-bento-grid.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/02-long-document.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/03-marquee-hero.md +51 -0
- package/skills/qk-ui-builder/references/macrostructures/04-stat-led.md +49 -0
- package/skills/qk-ui-builder/references/macrostructures/05-workbench.md +44 -0
- package/skills/qk-ui-builder/references/macrostructures/06-conversational-faq.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/07-manifesto.md +51 -0
- package/skills/qk-ui-builder/references/macrostructures/08-photographic.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/09-quote-led.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/11-catalogue.md +49 -0
- package/skills/qk-ui-builder/references/macrostructures/12-letter.md +49 -0
- package/skills/qk-ui-builder/references/macrostructures/13-index-first.md +49 -0
- package/skills/qk-ui-builder/references/macrostructures/14-narrative-workflow.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/15-split-studio.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/16-feature-stack.md +51 -0
- package/skills/qk-ui-builder/references/macrostructures/17-type-specimen.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/18-portfolio-grid.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/19-map-diagram.md +50 -0
- package/skills/qk-ui-builder/references/macrostructures/20-ecosystem-index.md +48 -0
- package/skills/qk-ui-builder/references/macrostructures/21-component-playground.md +45 -0
- package/skills/qk-ui-builder/references/macrostructures.md +38 -0
- package/skills/qk-ui-builder/references/motion.md +95 -0
- package/skills/qk-ui-builder/references/responsive.md +115 -0
- package/skills/qk-ui-builder/references/slop-test.md +135 -0
- package/skills/qk-ui-builder/references/structure.md +280 -0
- package/skills/qk-ui-builder/references/themes/atmospheric.md +53 -0
- package/skills/qk-ui-builder/references/themes/carnival.md +52 -0
- package/skills/qk-ui-builder/references/themes/cobalt.md +52 -0
- package/skills/qk-ui-builder/references/themes/editorial.md +52 -0
- package/skills/qk-ui-builder/references/themes/garden.md +52 -0
- package/skills/qk-ui-builder/references/themes/hum.md +52 -0
- package/skills/qk-ui-builder/references/themes/lumen.md +52 -0
- package/skills/qk-ui-builder/references/themes/midnight.md +52 -0
- package/skills/qk-ui-builder/references/themes/modern-minimal.md +52 -0
- package/skills/qk-ui-builder/references/themes/playful.md +52 -0
- package/skills/qk-ui-builder/references/themes/specimen.md +52 -0
- package/skills/qk-ui-builder/references/themes/terminal.md +52 -0
- package/skills/qk-ui-builder/references/typography.md +129 -0
- package/skills/qk-ui-system-builder/SKILL.md +3 -2
- package/skills/qk-validation-gate/SKILL.md +18 -17
- package/skills.json +28 -27
- package/.agents/_template/BEHAVIOR_SPEC.md +0 -96
- package/.agents/_template/examples/example-en.md +0 -49
- package/.agents/_template/examples/example-vi.md +0 -49
- package/.agents/skills/qk-design-to-code/SKILL.md +0 -285
- package/.qk-ai-skill-os/CHANGELOG.md +0 -69
- package/.qk-ai-skill-os/LICENSE +0 -21
- package/.qk-ai-skill-os/README.md +0 -59
- package/.qk-ai-skill-os/_template/BEHAVIOR_SPEC.md +0 -96
- package/.qk-ai-skill-os/_template/examples/example-en.md +0 -49
- package/.qk-ai-skill-os/_template/examples/example-vi.md +0 -49
- package/.qk-ai-skill-os/docs/CHI_TIET_SKILLS.md +0 -125
- package/.qk-ai-skill-os/docs/GOVERNANCE.md +0 -40
- package/.qk-ai-skill-os/docs/HUONG_DAN_SU_DUNG.md +0 -120
- package/.qk-ai-skill-os/docs/SPEC.md +0 -87
- package/.qk-ai-skill-os/docs/adr/0001-intent-based-architecture.md +0 -19
- package/.qk-ai-skill-os/docs/adr/0002-kernel-freeze.md +0 -21
- package/.qk-ai-skill-os/docs/adr/0003-risk-based-verification.md +0 -20
- package/.qk-ai-skill-os/docs/adr/0004-progressive-evidence.md +0 -19
- package/.qk-ai-skill-os/docs/skill-classification.md +0 -25
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-accessibility-audit/SKILL.md +0 -121
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-agent-orchestrator/SKILL.md +0 -179
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-api-integration/SKILL.md +0 -389
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-auth-security/SKILL.md +0 -96
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-backend-architecture/SKILL.md +0 -125
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-bug-fix/SKILL.md +0 -213
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-component-generator/SKILL.md +0 -136
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-context-manager/SKILL.md +0 -175
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-database-engineer/SKILL.md +0 -104
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-deployment/SKILL.md +0 -96
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-design-system/SKILL.md +0 -137
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-form-builder/SKILL.md +0 -140
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-architecture/SKILL.md +0 -155
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-debug/SKILL.md +0 -133
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-performance/SKILL.md +0 -129
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-testing/SKILL.md +0 -146
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-git-engineer/SKILL.md +0 -304
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-help/SKILL.md +0 -68
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-migration/SKILL.md +0 -284
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-project-audit/SKILL.md +0 -280
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-refactor/SKILL.md +0 -222
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-state-management/SKILL.md +0 -140
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-table-crud-generator/SKILL.md +0 -127
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-ui-builder/SKILL.md +0 -152
- package/.qk-ai-skill-os/skills/_template/SKILL.md +0 -238
- package/.qk-ai-skill-os/skills/qk-access-policy/SKILL.md +0 -179
- package/.qk-ai-skill-os/skills/qk-ai-builder/SKILL.md +0 -221
- package/.qk-ai-skill-os/skills/qk-api-lifecycle/SKILL.md +0 -176
- package/.qk-ai-skill-os/skills/qk-bug-resolution/SKILL.md +0 -307
- package/.qk-ai-skill-os/skills/qk-context-loader/SKILL.md +0 -218
- package/.qk-ai-skill-os/skills/qk-data-lifecycle/SKILL.md +0 -192
- package/.qk-ai-skill-os/skills/qk-db-optimizer/SKILL.md +0 -196
- package/.qk-ai-skill-os/skills/qk-design-to-code/SKILL.md +0 -291
- package/.qk-ai-skill-os/skills/qk-docs/SKILL.md +0 -198
- package/.qk-ai-skill-os/skills/qk-engineering-standard/SKILL.md +0 -351
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/backend.md +0 -122
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/database.md +0 -3
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/frontend.md +0 -152
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/security.md +0 -3
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/testing.md +0 -3
- package/.qk-ai-skill-os/skills/qk-fe-api-integration/SKILL.md +0 -326
- package/.qk-ai-skill-os/skills/qk-feature-delivery/SKILL.md +0 -305
- package/.qk-ai-skill-os/skills/qk-help/SKILL.md +0 -193
- package/.qk-ai-skill-os/skills/qk-orchestrator/SKILL.md +0 -277
- package/.qk-ai-skill-os/skills/qk-orchestrator/references/routing-table.md +0 -77
- package/.qk-ai-skill-os/skills/qk-production-release/SKILL.md +0 -290
- package/.qk-ai-skill-os/skills/qk-project-bootstrap/SKILL.md +0 -240
- package/.qk-ai-skill-os/skills/qk-project-health/SKILL.md +0 -199
- package/.qk-ai-skill-os/skills/qk-project-memory/SKILL.md +0 -172
- package/.qk-ai-skill-os/skills/qk-system-evolution/SKILL.md +0 -285
- package/.qk-ai-skill-os/skills/qk-ui-audit/SKILL.md +0 -314
- package/.qk-ai-skill-os/skills/qk-ui-audit/references/anti-slop-checklist.md +0 -136
- package/.qk-ai-skill-os/skills/qk-ui-system-builder/SKILL.md +0 -225
- package/.qk-ai-skill-os/skills/qk-validation-gate/SKILL.md +0 -361
- package/.qk-ai-skill-os/skills.json +0 -819
- package/skills/qk-design-to-code/SKILL.md +0 -285
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Theme: Modern Minimal
|
|
2
|
+
|
|
3
|
+
**Genre:** modern-minimal
|
|
4
|
+
**Use case:** SaaS, startups, portfolios
|
|
5
|
+
|
|
6
|
+
## Axes
|
|
7
|
+
|
|
8
|
+
| Axis | Value |
|
|
9
|
+
|------|-------|
|
|
10
|
+
| Paper band | mid (30–85% lightness) |
|
|
11
|
+
| Display style | geometric-sans |
|
|
12
|
+
| Accent hue | neutral |
|
|
13
|
+
|
|
14
|
+
## Token Overrides
|
|
15
|
+
|
|
16
|
+
```css
|
|
17
|
+
:root {
|
|
18
|
+
--color-background: hsl(220, 15%, 98%);
|
|
19
|
+
--color-surface: hsl(220, 15%, 100%);
|
|
20
|
+
--color-text: hsl(220, 20%, 12%);
|
|
21
|
+
--color-text-muted: hsl(220, 10%, 50%);
|
|
22
|
+
--color-accent: hsl(220, 15%, 45%);
|
|
23
|
+
--color-accent-hover: hsl(220, 15%, 38%);
|
|
24
|
+
--font-display: 'Inter', 'Helvetica Neue', sans-serif;
|
|
25
|
+
--font-body: 'Inter', 'Helvetica Neue', sans-serif;
|
|
26
|
+
--radius-sm: 6px;
|
|
27
|
+
--radius-md: 8px;
|
|
28
|
+
--shadow-sm: 0 1px 2px hsl(220, 15%, 90%);
|
|
29
|
+
--shadow-md: 0 4px 12px hsl(220, 15%, 90%);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Macrostructure Affinity
|
|
34
|
+
|
|
35
|
+
- ✅ Workbench
|
|
36
|
+
- ✅ Stat-Led
|
|
37
|
+
- ✅ Index-First
|
|
38
|
+
- ❌ Marquee Hero (too noisy)
|
|
39
|
+
- ❌ Manifesto (too expressive)
|
|
40
|
+
|
|
41
|
+
## Anti-Patterns (Modern Minimal-specific)
|
|
42
|
+
|
|
43
|
+
- ❌ Decorative illustrations
|
|
44
|
+
- ❌ Gradient buttons or backgrounds
|
|
45
|
+
- ❌ More than 2 font families
|
|
46
|
+
- ❌ Heavy drop shadows
|
|
47
|
+
|
|
48
|
+
## Voice
|
|
49
|
+
|
|
50
|
+
- Single-word actions: "Sign in", "Pricing", "Docs"
|
|
51
|
+
- No decorative copy
|
|
52
|
+
- Metrics and social proof prominent
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Theme: Playful
|
|
2
|
+
|
|
3
|
+
**Genre:** playful
|
|
4
|
+
**Use case:** games, kids, entertainment
|
|
5
|
+
|
|
6
|
+
## Axes
|
|
7
|
+
|
|
8
|
+
| Axis | Value |
|
|
9
|
+
|------|-------|
|
|
10
|
+
| Paper band | light (85–100% lightness) |
|
|
11
|
+
| Display style | rounded-sans |
|
|
12
|
+
| Accent hue | warm (30–60°) |
|
|
13
|
+
|
|
14
|
+
## Token Overrides
|
|
15
|
+
|
|
16
|
+
```css
|
|
17
|
+
:root {
|
|
18
|
+
--color-background: hsl(45, 60%, 97%);
|
|
19
|
+
--color-surface: hsl(45, 60%, 100%);
|
|
20
|
+
--color-text: hsl(45, 50%, 12%);
|
|
21
|
+
--color-text-muted: hsl(45, 20%, 45%);
|
|
22
|
+
--color-accent: hsl(35, 85%, 55%);
|
|
23
|
+
--color-accent-hover: hsl(35, 85%, 48%);
|
|
24
|
+
--font-display: 'Nunito', 'Varela Round', sans-serif;
|
|
25
|
+
--font-body: 'Nunito', 'Varela Round', sans-serif;
|
|
26
|
+
--radius-sm: 12px;
|
|
27
|
+
--radius-md: 16px;
|
|
28
|
+
--shadow-sm: 0 2px 4px hsl(45, 60%, 85%);
|
|
29
|
+
--shadow-md: 0 6px 16px hsl(45, 60%, 85%);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Macrostructure Affinity
|
|
34
|
+
|
|
35
|
+
- ✅ Bento Grid
|
|
36
|
+
- ✅ Marquee Hero
|
|
37
|
+
- ✅ Feature Stack
|
|
38
|
+
- ❌ Long Document (too text-heavy)
|
|
39
|
+
- ❌ Quote-Led (too serious)
|
|
40
|
+
|
|
41
|
+
## Anti-Patterns (Playful-specific)
|
|
42
|
+
|
|
43
|
+
- ❌ Serious or corporate tones
|
|
44
|
+
- ❌ Monochrome palettes
|
|
45
|
+
- ❌ Minimal whitespace (dense layouts)
|
|
46
|
+
- ❌ Sharp corners or rigid grids
|
|
47
|
+
|
|
48
|
+
## Voice
|
|
49
|
+
|
|
50
|
+
- Exclamation marks and emoji allowed
|
|
51
|
+
- Action verbs: "Play", "Join", "Explore"
|
|
52
|
+
- Friendly, inclusive language
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Theme: Specimen
|
|
2
|
+
|
|
3
|
+
**Genre:** editorial
|
|
4
|
+
**Use case:** design systems, documentation
|
|
5
|
+
|
|
6
|
+
## Axes
|
|
7
|
+
|
|
8
|
+
| Axis | Value |
|
|
9
|
+
|------|-------|
|
|
10
|
+
| Paper band | mid (30–85% lightness) |
|
|
11
|
+
| Display style | high-contrast-serif |
|
|
12
|
+
| Accent hue | neutral |
|
|
13
|
+
|
|
14
|
+
## Token Overrides
|
|
15
|
+
|
|
16
|
+
```css
|
|
17
|
+
:root {
|
|
18
|
+
--color-background: hsl(40, 10%, 96%);
|
|
19
|
+
--color-surface: hsl(40, 10%, 100%);
|
|
20
|
+
--color-text: hsl(40, 15%, 8%);
|
|
21
|
+
--color-text-muted: hsl(40, 5%, 45%);
|
|
22
|
+
--color-accent: hsl(40, 5%, 45%);
|
|
23
|
+
--color-accent-hover: hsl(40, 5%, 38%);
|
|
24
|
+
--font-display: 'Playfair Display', Georgia, serif;
|
|
25
|
+
--font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;
|
|
26
|
+
--radius-sm: 4px;
|
|
27
|
+
--radius-md: 4px;
|
|
28
|
+
--shadow-sm: 0 1px 2px hsl(40, 15%, 90%);
|
|
29
|
+
--shadow-md: 0 4px 12px hsl(40, 15%, 90%);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Macrostructure Affinity
|
|
34
|
+
|
|
35
|
+
- ✅ Type Specimen
|
|
36
|
+
- ✅ Index-First
|
|
37
|
+
- ✅ Component Playground
|
|
38
|
+
- ❌ Marquee Hero (too playful)
|
|
39
|
+
- ❌ Bento Grid (too casual)
|
|
40
|
+
|
|
41
|
+
## Anti-Patterns (Specimen-specific)
|
|
42
|
+
|
|
43
|
+
- ❌ Playful illustrations or mascots
|
|
44
|
+
- ❌ Warm saturated accents (orange, coral)
|
|
45
|
+
- ❌ Rounded corners > 4px
|
|
46
|
+
- ❌ Gradient hero backgrounds
|
|
47
|
+
|
|
48
|
+
## Voice
|
|
49
|
+
|
|
50
|
+
- Typographic precision: "Style guide", "Type scale", "Spacing rhythm"
|
|
51
|
+
- Noun-first labels: "Design tokens", "Component states"
|
|
52
|
+
- Neutral, authoritative tone
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Theme: Terminal
|
|
2
|
+
|
|
3
|
+
**Genre:** tech
|
|
4
|
+
**Use case:** CLI tools, developer tools, terminals
|
|
5
|
+
|
|
6
|
+
## Axes
|
|
7
|
+
|
|
8
|
+
| Axis | Value |
|
|
9
|
+
|------|-------|
|
|
10
|
+
| Paper band | dark (0–30% lightness) |
|
|
11
|
+
| Display style | mono |
|
|
12
|
+
| Accent hue | phosphor green (120–150°) |
|
|
13
|
+
|
|
14
|
+
## Token Overrides
|
|
15
|
+
|
|
16
|
+
```css
|
|
17
|
+
:root {
|
|
18
|
+
--color-background: hsl(220, 15%, 4%);
|
|
19
|
+
--color-surface: hsl(220, 15%, 8%);
|
|
20
|
+
--color-text: hsl(120, 30%, 75%);
|
|
21
|
+
--color-text-muted: hsl(120, 10%, 45%);
|
|
22
|
+
--color-accent: hsl(120, 60%, 55%);
|
|
23
|
+
--color-accent-hover: hsl(120, 60%, 48%);
|
|
24
|
+
--font-display: 'JetBrains Mono', 'Fira Code', monospace;
|
|
25
|
+
--font-body: 'JetBrains Mono', 'Fira Code', monospace;
|
|
26
|
+
--radius-sm: 0px;
|
|
27
|
+
--radius-md: 0px;
|
|
28
|
+
--shadow-sm: none;
|
|
29
|
+
--shadow-md: none;
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Macrostructure Affinity
|
|
34
|
+
|
|
35
|
+
- ✅ Workbench
|
|
36
|
+
- ✅ Component Playground
|
|
37
|
+
- ✅ Stat-Led
|
|
38
|
+
- ❌ Manifesto (too expressive)
|
|
39
|
+
- ❌ Photographic (too visual)
|
|
40
|
+
|
|
41
|
+
## Anti-Patterns (Terminal-specific)
|
|
42
|
+
|
|
43
|
+
- ❌ Serif or display fonts
|
|
44
|
+
- ❌ Warm accent hues
|
|
45
|
+
- ❌ Decorative shadows or borders
|
|
46
|
+
- ❌ Smooth transitions/animations
|
|
47
|
+
|
|
48
|
+
## Voice
|
|
49
|
+
|
|
50
|
+
- Command-line syntax: `$ npm install`, `> init()`
|
|
51
|
+
- Terse, imperative: "Run", "Deploy", "Configure"
|
|
52
|
+
- Status codes and badges
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Typography
|
|
2
|
+
|
|
3
|
+
Foundational rules for font selection, type scale, and textual hierarchy. These rules exist to guarantee readable, professional, and consistent type across every generated UI.
|
|
4
|
+
|
|
5
|
+
## The 2+1 Rule
|
|
6
|
+
|
|
7
|
+
Use **at most 2 font families + 1 monospace** per project. Exceeding this causes visual noise and slows load time.
|
|
8
|
+
|
|
9
|
+
- **Display / Heading family** (1): used for titles, hero text.
|
|
10
|
+
- **Body / UI family** (1): used for paragraphs, labels, controls.
|
|
11
|
+
- **Monospace** (1, optional): used for code, IDs, numeric tables, logs.
|
|
12
|
+
|
|
13
|
+
```css
|
|
14
|
+
:root {
|
|
15
|
+
--font-display: "Playfair Display", Georgia, serif;
|
|
16
|
+
--font-body: "Inter", system-ui, sans-serif;
|
|
17
|
+
--font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
If you only need one family, the body family can double as the display family. Do not introduce a third decorative family.
|
|
22
|
+
|
|
23
|
+
## Font Catalog
|
|
24
|
+
|
|
25
|
+
Pick from this approved catalog. Prefer fonts that share the same optical quality and load reliably via Google Fonts or system fallbacks.
|
|
26
|
+
|
|
27
|
+
| Family | Role | Notes |
|
|
28
|
+
| --- | --- | --- |
|
|
29
|
+
| Inter | Body / UI | Neutral, legible at small sizes. Default choice. |
|
|
30
|
+
| Source Serif 4 | Display / Body | Serif companion to Inter; good for reading-heavy UI. |
|
|
31
|
+
| Playfair Display | Display | High-contrast serif for hero/editorial headings. |
|
|
32
|
+
| JetBrains Mono | Mono | Developer-friendly monospace. |
|
|
33
|
+
| Poppins | Display / UI | Geometric, friendly; use sparingly. |
|
|
34
|
+
| Roboto / Roboto Flex | Body / UI | Safe system-adjacent alternative. |
|
|
35
|
+
| IBM Plex Sans / Mono | Body / Mono | Corporate, consistent pairing. |
|
|
36
|
+
|
|
37
|
+
Pairing examples that work:
|
|
38
|
+
- **Inter + Playfair Display + JetBrains Mono** (editorial + code)
|
|
39
|
+
- **Inter + Source Serif 4 + JetBrains Mono** (clean + reading)
|
|
40
|
+
- **Poppins + Inter + JetBrains Mono** (friendly branding)
|
|
41
|
+
|
|
42
|
+
## Type Scale
|
|
43
|
+
|
|
44
|
+
Use only these sizes. Do not invent intermediate sizes.
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
12px caption / meta
|
|
48
|
+
14px small text / secondary
|
|
49
|
+
16px body (base)
|
|
50
|
+
18px lead / intro paragraph
|
|
51
|
+
24px h3 / section title
|
|
52
|
+
32px h2 / page title
|
|
53
|
+
48px h1 / hero
|
|
54
|
+
64px display / marketing hero
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
```css
|
|
58
|
+
:root {
|
|
59
|
+
--text-xs: 0.75rem; /* 12px */
|
|
60
|
+
--text-sm: 0.875rem; /* 14px */
|
|
61
|
+
--text-base: 1rem; /* 16px */
|
|
62
|
+
--text-lg: 1.125rem; /* 18px */
|
|
63
|
+
--text-xl: 1.5rem; /* 24px */
|
|
64
|
+
--text-2xl: 2rem; /* 32px */
|
|
65
|
+
--text-3xl: 3rem; /* 48px */
|
|
66
|
+
--text-4xl: 4rem; /* 64px */
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Line Height
|
|
71
|
+
|
|
72
|
+
| Content | Line height |
|
|
73
|
+
| --- | --- |
|
|
74
|
+
| Body text | **1.5** |
|
|
75
|
+
| Headings (h1–h3) | **1.2** |
|
|
76
|
+
| Tight display (64px) | 1.1 |
|
|
77
|
+
|
|
78
|
+
```css
|
|
79
|
+
p, li, label { line-height: 1.5; }
|
|
80
|
+
h1, h2, h3 { line-height: 1.2; }
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Hierarchy
|
|
84
|
+
|
|
85
|
+
Establish hierarchy with **size + weight + color**, not decoration.
|
|
86
|
+
|
|
87
|
+
```css
|
|
88
|
+
h1 { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; }
|
|
89
|
+
h2 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; }
|
|
90
|
+
h3 { font-family: var(--font-body); font-size: var(--text-xl); font-weight: 600; }
|
|
91
|
+
body { font-family: var(--font-body); font-size: var(--text-base); font-weight: 400; }
|
|
92
|
+
.meta { font-size: var(--text-sm); color: var(--color-text-muted); }
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Keep weight range tight: 400 (body), 500/600 (emphasis), 700 (headings). Avoid 900 unless for a single display word.
|
|
96
|
+
|
|
97
|
+
## Prose Measure
|
|
98
|
+
|
|
99
|
+
Constrain reading width for paragraphs to **45–75 characters** (`ch`).
|
|
100
|
+
|
|
101
|
+
```css
|
|
102
|
+
.prose {
|
|
103
|
+
max-width: 65ch;
|
|
104
|
+
font-size: var(--text-base);
|
|
105
|
+
line-height: 1.5;
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
For multi-column or card text, keep each text block within this measure. Never let body copy stretch across a full 1200px container.
|
|
110
|
+
|
|
111
|
+
## Ban List
|
|
112
|
+
|
|
113
|
+
Do **not** use these as an identity or UI font:
|
|
114
|
+
|
|
115
|
+
- Comic Sans
|
|
116
|
+
- Papyrus
|
|
117
|
+
- Bradley Hand
|
|
118
|
+
- Any `cursive` generic family used as a primary brand font
|
|
119
|
+
- Other "novelty" fonts that undermine legibility
|
|
120
|
+
|
|
121
|
+
System fallbacks (`system-ui`, `sans-serif`, `serif`, `monospace`) are allowed only as graceful degradation, never as the chosen aesthetic.
|
|
122
|
+
|
|
123
|
+
## Practical Checklist
|
|
124
|
+
|
|
125
|
+
- [ ] At most 2 families + 1 mono.
|
|
126
|
+
- [ ] Sizes only from the 8-step scale.
|
|
127
|
+
- [ ] Body line-height 1.5, headings 1.2.
|
|
128
|
+
- [ ] Prose capped at 65ch.
|
|
129
|
+
- [ ] No banned novelty fonts.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-ui-system-builder
|
|
3
3
|
category: frontend
|
|
4
|
-
version: 7.5.
|
|
4
|
+
version: 7.5.1
|
|
5
5
|
description: "Xây dựng Design System và token library từ DESIGN.md — không tự đặt ra token ngoài contract."
|
|
6
6
|
platforms: [antigravity, claude-code, cursor, windsurf, kilo-code]
|
|
7
7
|
execution_mode: deterministic
|
|
@@ -17,7 +17,7 @@ token_budget:
|
|
|
17
17
|
max_shell_commands: 0
|
|
18
18
|
stop_early: true
|
|
19
19
|
exit_codes: [SUCCESS, BLOCKED, FAILED, PARTIAL]
|
|
20
|
-
skill_version: 7.5.
|
|
20
|
+
skill_version: 7.5.1
|
|
21
21
|
runtime_version: 1
|
|
22
22
|
schema_version: 2
|
|
23
23
|
---
|
|
@@ -219,3 +219,4 @@ Recommended Assumptions:
|
|
|
219
219
|
---
|
|
220
220
|
|
|
221
221
|
|
|
222
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qk-validation-gate
|
|
3
3
|
category: qa
|
|
4
|
-
version: 7.5.
|
|
4
|
+
version: 7.5.1
|
|
5
5
|
description: "Cổng kiểm tra chất lượng bắt buộc với ngưỡng pass/fail cụ thể — chặn đứng mọi mã nguồn lỗi."
|
|
6
6
|
platforms: [antigravity, claude-code, cursor, windsurf, kilo-code]
|
|
7
7
|
execution_mode: deterministic
|
|
@@ -20,7 +20,7 @@ token_budget:
|
|
|
20
20
|
stop_early: false # Must run all checks — cannot skip for token budget
|
|
21
21
|
|
|
22
22
|
exit_codes: [SUCCESS, BLOCKED, FAILED, PARTIAL]
|
|
23
|
-
skill_version: 7.5.
|
|
23
|
+
skill_version: 7.5.1
|
|
24
24
|
runtime_version: 1
|
|
25
25
|
schema_version: 2
|
|
26
26
|
---
|
|
@@ -29,7 +29,7 @@ schema_version: 2
|
|
|
29
29
|
|
|
30
30
|
> **Language rule:** Code, identifiers, file names ? English. Explanations, summaries ? Vietnamese.
|
|
31
31
|
|
|
32
|
-
skill_version: 7.5.
|
|
32
|
+
skill_version: 7.5.1
|
|
33
33
|
runtime_version: 1
|
|
34
34
|
schema_version: 2
|
|
35
35
|
---
|
|
@@ -44,7 +44,7 @@ On missing precondition:
|
|
|
44
44
|
Message: "Không tìm thấy script lint/test. Vui lòng chỉ định lệnh kiểm tra."
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
skill_version: 7.5.
|
|
47
|
+
skill_version: 7.5.1
|
|
48
48
|
runtime_version: 1
|
|
49
49
|
schema_version: 2
|
|
50
50
|
---
|
|
@@ -59,7 +59,7 @@ schema_version: 2
|
|
|
59
59
|
- ❌ Skip any gate check unless user explicitly allows
|
|
60
60
|
- ❌ Override failing thresholds with "ignore" flags
|
|
61
61
|
|
|
62
|
-
skill_version: 7.5.
|
|
62
|
+
skill_version: 7.5.1
|
|
63
63
|
runtime_version: 1
|
|
64
64
|
schema_version: 2
|
|
65
65
|
---
|
|
@@ -90,7 +90,7 @@ build:
|
|
|
90
90
|
bundle_size_limit: 500KB # Gzipped (if applicable)
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
skill_version: 7.5.
|
|
93
|
+
skill_version: 7.5.1
|
|
94
94
|
runtime_version: 1
|
|
95
95
|
schema_version: 2
|
|
96
96
|
---
|
|
@@ -108,7 +108,7 @@ schema_version: 2
|
|
|
108
108
|
| P7 | Build | YES | Never |
|
|
109
109
|
| P8 | Bundle size | WARN only | Budget < 80% |
|
|
110
110
|
|
|
111
|
-
skill_version: 7.5.
|
|
111
|
+
skill_version: 7.5.1
|
|
112
112
|
runtime_version: 1
|
|
113
113
|
schema_version: 2
|
|
114
114
|
---
|
|
@@ -131,7 +131,7 @@ ELSE IF critical or high found
|
|
|
131
131
|
→ Report: exact package name, CVE, severity
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
skill_version: 7.5.
|
|
134
|
+
skill_version: 7.5.1
|
|
135
135
|
runtime_version: 1
|
|
136
136
|
schema_version: 2
|
|
137
137
|
---
|
|
@@ -155,7 +155,7 @@ ELSE IF lint errors > 0 (warnings OK)
|
|
|
155
155
|
→ EXIT: FAILED — list errors
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
skill_version: 7.5.
|
|
158
|
+
skill_version: 7.5.1
|
|
159
159
|
runtime_version: 1
|
|
160
160
|
schema_version: 2
|
|
161
161
|
---
|
|
@@ -186,7 +186,7 @@ Test fail
|
|
|
186
186
|
└─ FAIL on retry → EXIT: FAILED — not flaky, real failure
|
|
187
187
|
```
|
|
188
188
|
|
|
189
|
-
skill_version: 7.5.
|
|
189
|
+
skill_version: 7.5.1
|
|
190
190
|
runtime_version: 1
|
|
191
191
|
schema_version: 2
|
|
192
192
|
---
|
|
@@ -209,7 +209,7 @@ ELSE IF warnings > 5
|
|
|
209
209
|
→ EXIT: PARTIAL — list warnings, continue to release if user confirms
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
skill_version: 7.5.
|
|
212
|
+
skill_version: 7.5.1
|
|
213
213
|
runtime_version: 1
|
|
214
214
|
schema_version: 2
|
|
215
215
|
---
|
|
@@ -222,7 +222,7 @@ schema_version: 2
|
|
|
222
222
|
| MEDIUM | Inferred from partial output (truncated logs) | Note potential missing info |
|
|
223
223
|
| LOW | Script not found or output format unknown | EXIT: BLOCKED — clarify commands |
|
|
224
224
|
|
|
225
|
-
skill_version: 7.5.
|
|
225
|
+
skill_version: 7.5.1
|
|
226
226
|
runtime_version: 1
|
|
227
227
|
schema_version: 2
|
|
228
228
|
---
|
|
@@ -236,7 +236,7 @@ schema_version: 2
|
|
|
236
236
|
| MEDIUM | Coverage below threshold | 67% coverage (threshold 80%) |
|
|
237
237
|
| LOW | Build warning | Unused export |
|
|
238
238
|
|
|
239
|
-
skill_version: 7.5.
|
|
239
|
+
skill_version: 7.5.1
|
|
240
240
|
runtime_version: 1
|
|
241
241
|
schema_version: 2
|
|
242
242
|
---
|
|
@@ -262,7 +262,7 @@ Actual: 47/50 tests passed
|
|
|
262
262
|
Fix: See failing tests: auth.test.ts:L45, user.test.ts:L23, order.test.ts:L89
|
|
263
263
|
```
|
|
264
264
|
|
|
265
|
-
skill_version: 7.5.
|
|
265
|
+
skill_version: 7.5.1
|
|
266
266
|
runtime_version: 1
|
|
267
267
|
schema_version: 2
|
|
268
268
|
---
|
|
@@ -282,7 +282,7 @@ Recommended Assumptions:
|
|
|
282
282
|
- Standard: npm run lint + npm test + npm run build
|
|
283
283
|
```
|
|
284
284
|
|
|
285
|
-
skill_version: 7.5.
|
|
285
|
+
skill_version: 7.5.1
|
|
286
286
|
runtime_version: 1
|
|
287
287
|
schema_version: 2
|
|
288
288
|
---
|
|
@@ -306,7 +306,7 @@ schema_version: 2
|
|
|
306
306
|
}
|
|
307
307
|
```
|
|
308
308
|
|
|
309
|
-
skill_version: 7.5.
|
|
309
|
+
skill_version: 7.5.1
|
|
310
310
|
runtime_version: 1
|
|
311
311
|
schema_version: 2
|
|
312
312
|
---
|
|
@@ -333,7 +333,7 @@ Failures (action required):
|
|
|
333
333
|
Exit Code: [SUCCESS | PARTIAL | BLOCKED | FAILED]
|
|
334
334
|
```
|
|
335
335
|
|
|
336
|
-
skill_version: 7.5.
|
|
336
|
+
skill_version: 7.5.1
|
|
337
337
|
runtime_version: 1
|
|
338
338
|
schema_version: 2
|
|
339
339
|
---
|
|
@@ -357,3 +357,4 @@ schema_version: 2
|
|
|
357
357
|
---
|
|
358
358
|
|
|
359
359
|
|
|
360
|
+
|