@damenor/agent-docs 0.1.1 → 0.4.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.
Files changed (41) hide show
  1. package/README.md +65 -29
  2. package/dist/index.js +3834 -217
  3. package/package.json +14 -11
  4. package/templates/modules/agents/.agents/agents/doc-designer.md +39 -37
  5. package/templates/modules/agents/.agents/agents/doc-maintainer.md +35 -35
  6. package/templates/modules/agents/.agents/agents/doc-reviewer.md +55 -46
  7. package/templates/modules/agents/.agents/agents/doc-writer.md +34 -33
  8. package/templates/modules/agents/.agents/agents/reviewer.md +114 -100
  9. package/templates/modules/agents/.agents/skills/doc-design/SKILL.md +176 -174
  10. package/templates/modules/agents/.agents/skills/doc-design/references/design-system-format.md +241 -247
  11. package/templates/modules/agents/.agents/skills/doc-maintain/SKILL.md +205 -195
  12. package/templates/modules/agents/.agents/skills/doc-maintain/references/triggers.md +171 -165
  13. package/templates/modules/agents/.agents/skills/doc-review/SKILL.md +245 -240
  14. package/templates/modules/agents/.agents/skills/doc-review/references/health-checklist.md +115 -112
  15. package/templates/modules/agents/.agents/skills/doc-scaffold/SKILL.md +164 -157
  16. package/templates/modules/agents/.agents/skills/doc-scaffold/references/diataxis-quick-ref.md +110 -110
  17. package/templates/modules/agents/.agents/skills/doc-write/SKILL.md +240 -212
  18. package/templates/modules/agents/.agents/skills/doc-write/references/adr-format.md +99 -93
  19. package/templates/modules/agents/.agents/skills/doc-write/references/diataxis-patterns.md +221 -200
  20. package/templates/base/AGENTS.md +0 -177
  21. package/templates/base/CHANGELOG.md +0 -86
  22. package/templates/base/README.md +0 -110
  23. package/templates/base/docs/CONTEXT.md +0 -111
  24. package/templates/base/docs/README.md +0 -131
  25. package/templates/base/docs/adr/TEMPLATE.md +0 -83
  26. package/templates/modules/design/docs/DESIGN.md +0 -253
  27. package/templates/modules/explanation/docs/explanation/agent-flow.md +0 -15
  28. package/templates/modules/explanation/docs/explanation/architecture.md +0 -138
  29. package/templates/modules/guides/docs/guides/deployment.md +0 -189
  30. package/templates/modules/guides/docs/guides/runbooks/TEMPLATE.md +0 -86
  31. package/templates/modules/guides/docs/guides/troubleshooting.md +0 -65
  32. package/templates/modules/operations/docs/operations/README.md +0 -115
  33. package/templates/modules/product/docs/product/overview.md +0 -90
  34. package/templates/modules/product/docs/roadmap.md +0 -80
  35. package/templates/modules/reference/docs/reference/api.md +0 -131
  36. package/templates/modules/reference/docs/reference/code-style.md +0 -275
  37. package/templates/modules/reference/docs/reference/configuration.md +0 -117
  38. package/templates/modules/reference/docs/reference/infrastructure.md +0 -191
  39. package/templates/modules/tutorials/docs/tutorials/environment-setup.md +0 -212
  40. package/templates/modules/tutorials/docs/tutorials/first-task.md +0 -246
  41. package/templates/modules/tutorials/docs/tutorials/quick-start.md +0 -146
@@ -1,118 +1,118 @@
1
1
  ---
2
2
  name: doc-design
3
3
  description: >
4
- Crea y mantiene la documentación del sistema de diseño (DESIGN.md).
5
- Extrae tokens reales del código (CSS vars, Tailwind config, theme files),
6
- genera documentación estructurada con YAML frontmatter para colores,
7
- tipografía, espaciado, bordes, elevación y componentes.
8
- TRIGGER: Cuando el usuario dice "documentar diseño", "design system",
9
- "tokens de diseño", "DESIGN.md", "extraer estilos", "auditar estilos",
10
- o se detectan cambios en archivos de estilos/CSS/theme.
4
+ Creates and maintains the design system documentation (DESIGN.md).
5
+ Extracts real tokens from code (CSS vars, Tailwind config, theme files),
6
+ generates structured documentation with YAML frontmatter for colors,
7
+ typography, spacing, borders, elevation and components.
8
+ TRIGGER: When the user says "document design", "design system",
9
+ "design tokens", "DESIGN.md", "extract styles", "audit styles",
10
+ or changes in style/CSS/theme files are detected.
11
11
  license: Apache-2.0
12
12
  metadata:
13
13
  author: damenordev
14
- version: "1.0"
14
+ version: '1.0'
15
15
  ---
16
16
 
17
17
  # doc-design
18
18
 
19
- ## Cuándo Usar
19
+ ## When to Use
20
20
 
21
- - **Proyecto nuevo**: Se necesita crear el archivo DESIGN.md con el sistema de diseño
22
- - **Cambios en UI**: Se modificaron estilos, componentes o tokens de diseño
23
- - **Extracción de tokens**: Se quiere documentar los valores reales del código (CSS vars, Tailwind config, theme files)
24
- - **Auditoría de consistencia**: Se detectan inconsistencias en el diseño (colores duplicados, spacing inconsistente)
25
- - **Post-design-change**: Después de cambios en CSS/theme, actualizar DESIGN.md
21
+ - **New project**: Need to create DESIGN.md with the design system
22
+ - **UI changes**: Styles, components or design tokens were modified
23
+ - **Token extraction**: Want to document real values from code (CSS vars, Tailwind config, theme files)
24
+ - **Consistency audit**: Design inconsistencies detected (duplicate colors, inconsistent spacing)
25
+ - **Post-design-change**: After CSS/theme changes, update DESIGN.md
26
26
 
27
- ## Patrones Críticos
27
+ ## Critical Patterns
28
28
 
29
- ### REGLA #1: DESIGN.md usa frontmatter YAML para tokens estructurados
29
+ ### RULE #1: DESIGN.md uses YAML frontmatter for structured tokens
30
30
 
31
31
  ```yaml
32
32
  ---
33
- created: "2024-01-15"
33
+ created: '2024-01-15'
34
34
  status: active
35
35
  type: reference
36
36
  tags: [design-system, tokens, componentes]
37
37
  colors:
38
38
  brand:
39
- primary: "#3B82F6"
40
- secondary: "#8B5CF6"
39
+ primary: '#3B82F6'
40
+ secondary: '#8B5CF6'
41
41
  surface:
42
- background: "#FFFFFF"
43
- card: "#F9FAFB"
44
- elevated: "#FFFFFF"
42
+ background: '#FFFFFF'
43
+ card: '#F9FAFB'
44
+ elevated: '#FFFFFF'
45
45
  text:
46
- primary: "#111827"
47
- secondary: "#6B7280"
48
- disabled: "#9CA3AF"
46
+ primary: '#111827'
47
+ secondary: '#6B7280'
48
+ disabled: '#9CA3AF'
49
49
  semantic:
50
- success: "#10B981"
51
- warning: "#F59E0B"
52
- error: "#EF4444"
53
- info: "#3B82F6"
50
+ success: '#10B981'
51
+ warning: '#F59E0B'
52
+ error: '#EF4444'
53
+ info: '#3B82F6'
54
54
  typography:
55
- heading-xl: { font-size: "2rem", font-weight: "700", line-height: "1.2" }
56
- heading-lg: { font-size: "1.5rem", font-weight: "600", line-height: "1.3" }
57
- heading-md: { font-size: "1.25rem", font-weight: "600", line-height: "1.4" }
58
- body-lg: { font-size: "1.125rem", font-weight: "400", line-height: "1.6" }
59
- body-md: { font-size: "1rem", font-weight: "400", line-height: "1.6" }
60
- body-sm: { font-size: "0.875rem", font-weight: "400", line-height: "1.5" }
61
- caption: { font-size: "0.75rem", font-weight: "400", line-height: "1.4" }
55
+ heading-xl: { font-size: '2rem', font-weight: '700', line-height: '1.2' }
56
+ heading-lg: { font-size: '1.5rem', font-weight: '600', line-height: '1.3' }
57
+ heading-md: { font-size: '1.25rem', font-weight: '600', line-height: '1.4' }
58
+ body-lg: { font-size: '1.125rem', font-weight: '400', line-height: '1.6' }
59
+ body-md: { font-size: '1rem', font-weight: '400', line-height: '1.6' }
60
+ body-sm: { font-size: '0.875rem', font-weight: '400', line-height: '1.5' }
61
+ caption: { font-size: '0.75rem', font-weight: '400', line-height: '1.4' }
62
62
  spacing:
63
- scale: [0, "0.25rem", "0.5rem", "0.75rem", "1rem", "1.5rem", "2rem", "3rem", "4rem", "6rem"]
64
- tokens: { xs: "0.25rem", sm: "0.5rem", md: "1rem", lg: "1.5rem", xl: "2rem", "2xl": "3rem", "3xl": "4rem" }
63
+ scale: [0, '0.25rem', '0.5rem', '0.75rem', '1rem', '1.5rem', '2rem', '3rem', '4rem', '6rem']
64
+ tokens: { xs: '0.25rem', sm: '0.5rem', md: '1rem', lg: '1.5rem', xl: '2rem', '2xl': '3rem', '3xl': '4rem' }
65
65
  rounded:
66
- scale: [0, "0.25rem", "0.5rem", "0.75rem", "1rem", "1.5rem", "9999px"]
67
- tokens: { none: "0", sm: "0.25rem", md: "0.5rem", lg: "0.75rem", xl: "1rem", "2xl": "1.5rem", full: "9999px" }
66
+ scale: [0, '0.25rem', '0.5rem', '0.75rem', '1rem', '1.5rem', '9999px']
67
+ tokens: { none: '0', sm: '0.25rem', md: '0.5rem', lg: '0.75rem', xl: '1rem', '2xl': '1.5rem', full: '9999px' }
68
68
  elevation:
69
69
  tiers:
70
- flat: "none"
71
- sm: "0 1px 2px rgba(0,0,0,0.05)"
72
- md: "0 4px 6px rgba(0,0,0,0.1)"
73
- lg: "0 10px 15px rgba(0,0,0,0.1)"
74
- xl: "0 20px 25px rgba(0,0,0,0.15)"
70
+ flat: 'none'
71
+ sm: '0 1px 2px rgba(0,0,0,0.05)'
72
+ md: '0 4px 6px rgba(0,0,0,0.1)'
73
+ lg: '0 10px 15px rgba(0,0,0,0.1)'
74
+ xl: '0 20px 25px rgba(0,0,0,0.15)'
75
75
  components:
76
76
  button:
77
77
  variants: [primary, secondary, outline, ghost, danger]
78
78
  sizes: [sm, md, lg]
79
- base: "font-weight: 600, border-radius: {rounded.md}, padding: {spacing.sm} {spacing.md}"
79
+ base: 'font-weight: 600, border-radius: {rounded.md}, padding: {spacing.sm} {spacing.md}'
80
80
  card:
81
81
  variants: [default, outlined, elevated]
82
- base: "border-radius: {rounded.lg}, padding: {spacing.lg}, background: {colors.surface.card}"
82
+ base: 'border-radius: {rounded.lg}, padding: {spacing.lg}, background: {colors.surface.card}'
83
83
  input:
84
84
  variants: [default, error, disabled]
85
85
  sizes: [sm, md, lg]
86
- base: "border: 1px solid, border-radius: {rounded.md}, padding: {spacing.sm} {spacing.md}"
86
+ base: 'border: 1px solid, border-radius: {rounded.md}, padding: {spacing.sm} {spacing.md}'
87
87
  responsive:
88
- breakpoints: { sm: "640px", md: "768px", lg: "1024px", xl: "1280px", "2xl": "1536px" }
88
+ breakpoints: { sm: '640px', md: '768px', lg: '1024px', xl: '1280px', '2xl': '1536px' }
89
89
  ---
90
90
  ```
91
91
 
92
- ### REGLA #2: Cada componente referencia tokens con notación `{sección.token}`
92
+ ### RULE #2: Each component references tokens with `{section.token}` notation
93
93
 
94
94
  ```yaml
95
95
  components:
96
96
  button:
97
- base: "border-radius: {rounded.md}, padding: {spacing.sm} {spacing.md}"
97
+ base: 'border-radius: {rounded.md}, padding: {spacing.sm} {spacing.md}'
98
98
  # NO: border-radius: 0.5rem, padding: 0.5rem 1rem
99
99
  # SÍ: Referenciar tokens para mantener consistencia
100
100
  ```
101
101
 
102
- ### REGLA #3: Extraer valores REALES del código
102
+ ### RULE #3: Extract REAL values from code
103
103
 
104
- NUNCA inventar valores. Extraer de:
104
+ NEVER invent values. Extract from:
105
105
 
106
- | Fuente | Qué buscar |
107
- |--------|------------|
108
- | CSS variables | `:root { --color-primary: ... }` |
109
- | Tailwind config | `tailwind.config.js` → `theme.extend` |
110
- | Theme files | `theme.ts`, `theme.json`, `tokens.json` |
111
- | Styled-components | `Theme` object |
112
- | Design tokens | Figma API, Style Dictionary |
113
- | Sass/Less vars | `_variables.scss`, `_variables.less` |
106
+ | Source | What to look for |
107
+ | ----------------- | --------------------------------------- |
108
+ | CSS variables | `:root { --color-primary: ... }` |
109
+ | Tailwind config | `tailwind.config.js` → `theme.extend` |
110
+ | Theme files | `theme.ts`, `theme.json`, `tokens.json` |
111
+ | Styled-components | `Theme` object |
112
+ | Design tokens | Figma API, Style Dictionary |
113
+ | Sass/Less vars | `_variables.scss`, `_variables.less` |
114
114
 
115
- ### REGLA #4: Mantener sincronizado con el código
115
+ ### RULE #4: Keep synchronized with the code
116
116
 
117
117
  ```
118
118
  Si cambia el código de estilos → cambiar DESIGN.md
@@ -121,9 +121,10 @@ Si cambia DESIGN.md → cambiar el código de estilos
121
121
 
122
122
  La sincronización es bidireccional. Usar `doc-review` para verificar.
123
123
 
124
- ### REGLA #5: Estructura consistente
124
+ ### RULE #5: Consistent structure
125
125
 
126
126
  El YAML frontmatter debe seguir este orden:
127
+
127
128
  1. `colors` (brand, surface, text, semantic)
128
129
  2. `typography` (jerarquía completa con tokens)
129
130
  3. `spacing` (escala y tokens nombrados)
@@ -132,7 +133,7 @@ El YAML frontmatter debe seguir este orden:
132
133
  6. `components` (componentes UI documentados)
133
134
  7. `responsive` (breakpoints)
134
135
 
135
- ### REGLA #6: Sección overview en markdown
136
+ ### RULE #6: Overview section in markdown
136
137
 
137
138
  Después del frontmatter, incluir una sección narrativa:
138
139
 
@@ -146,147 +147,149 @@ Después del frontmatter, incluir una sección narrativa:
146
147
  [Cómo referenciar tokens en el código — con ejemplo específico del stack]
147
148
  ```
148
149
 
149
- ## Flujo del Proceso
150
+ ## Process Flow
150
151
 
151
- ### Paso 1: Verificar archivos de diseño existentes
152
+ ### Step 1: Check existing design files
152
153
 
153
154
  ```
154
- Buscar:
155
+ Search for:
155
156
  ├── CSS variables → :root, [data-theme]
156
157
  ├── Tailwind → tailwind.config.js/ts, tailwind.config.cjs
157
158
  ├── Theme files → theme.ts, theme.json, tokens.json
158
159
  ├── Sass/Less → _variables.scss, _variables.less
159
160
  ├── Styled-components → Theme provider
160
- ├── Existing DESIGN.md → NO sobreescribir sin preguntar
161
+ ├── Existing DESIGN.md → DO NOT overwrite without asking
161
162
  └── Design tool exports → Figma, Sketch, tokens.json
162
163
  ```
163
164
 
164
- ### Paso 2: Extraer valores actuales
165
+ ### Step 2: Extract current values
165
166
 
166
167
  ```
167
- 1. Leer cada archivo de estilos encontrado
168
- 2. Extraer colores, tipografía, spacing, borders, shadows
169
- 3. Normalizar formato (hex, rem, px → formato consistente)
170
- 4. Identificar tokens nombrados vs valores hardcodeados
171
- 5. Detectar duplicados e inconsistencias
168
+ 1. Read each style file found
169
+ 2. Extract colors, typography, spacing, borders, shadows
170
+ 3. Normalize format (hex, rem, px → consistent format)
171
+ 4. Identify named tokens vs hardcoded values
172
+ 5. Detect duplicates and inconsistencies
172
173
  ```
173
174
 
174
- ### Paso 3: Crear/actualizar DESIGN.md
175
+ ### Step 3: Create/update DESIGN.md
175
176
 
176
177
  ```
177
- 1. Generar frontmatter YAML con todos los tokens extraídos
178
- 2. Documentar componentes que existen en el código
179
- 3. Agregar sección overview en markdown
180
- 4. Notar gaps e inconsistencias encontrados
178
+ 1. Generate YAML frontmatter with all extracted tokens
179
+ 2. Document components that exist in the code
180
+ 3. Add overview section in markdown
181
+ 4. Note gaps and inconsistencies found
181
182
  ```
182
183
 
183
- ### Paso 4: Agregar overview narrativo
184
+ ### Step 4: Add narrative overview
184
185
 
185
186
  ```markdown
186
- ## Visión General
187
+ ## Overview
187
188
 
188
- Este sistema de diseño sigue un enfoque basado en tokens donde los valores
189
- base (colores, spacing, tipografía) se definen como variables y se referencian
190
- en los componentes. La jerarquía es:
189
+ This design system follows a token-based approach where base values
190
+ (colors, spacing, typography) are defined as variables and referenced
191
+ in components. The hierarchy is:
191
192
 
192
- 1. **Tokens base**: Valores crudos (colores hex, tamaños rem)
193
- 2. **Tokens semánticos**: Tokens con propósito ({colors.semantic.error})
194
- 3. **Tokens de componente**: Valores por defecto de cada componente
193
+ 1. **Base tokens**: Raw values (hex colors, rem sizes)
194
+ 2. **Semantic tokens**: Purpose-based tokens ({colors.semantic.error})
195
+ 3. **Component tokens**: Default values for each component
195
196
 
196
- ## Paleta de Colores
197
+ ## Color Palette
197
198
 
198
- [Explicar la lógica de la paleta no solo listar valores]
199
+ [Explain palette logicnot just list values]
199
200
 
200
- ## Tipografía
201
+ ## Typography
201
202
 
202
- [Explicar la jerarquía tipográfica]
203
+ [Explain typographic hierarchy]
203
204
 
204
- ## Componentes
205
+ ## Components
205
206
 
206
- [Resumen de los componentes documentados y su lógica]
207
+ [Summary of documented components and their logic]
207
208
  ```
208
209
 
209
- ### Paso 5: Documentar componentes existentes
210
+ ### Step 5: Document existing components
210
211
 
211
- Para cada componente encontrado en el código:
212
+ For each component found in the code:
212
213
 
213
214
  ```yaml
214
215
  components:
215
216
  button:
216
217
  variants: [primary, secondary, outline, ghost, danger]
217
218
  sizes: [sm, md, lg]
218
- base: "font-weight: 600, border-radius: {rounded.md}"
219
+ base: 'font-weight: 600, border-radius: {rounded.md}'
219
220
  primary:
220
- bg: "{colors.brand.primary}"
221
- text: "#FFFFFF"
222
- hover: "darken 10%"
221
+ bg: '{colors.brand.primary}'
222
+ text: '#FFFFFF'
223
+ hover: 'darken 10%'
223
224
  secondary:
224
- bg: "{colors.brand.secondary}"
225
- text: "#FFFFFF"
225
+ bg: '{colors.brand.secondary}'
226
+ text: '#FFFFFF'
226
227
  ```
227
228
 
228
- ### Paso 6: Notar gaps e inconsistencias
229
+ ### Step 6: Note gaps and inconsistencies
229
230
 
230
231
  ```markdown
231
- ## Hallazgos
232
+ ## Findings
233
+
234
+ ### ⚠️ Detected Inconsistencies
232
235
 
233
- ### ⚠️ Inconsistencias detectadas
234
- - Color `#3b82f6` usado en 3 archivos como hardcoded (debería ser token)
235
- - Spacing inconsistente en cards: algunos usan 1rem, otros 1.25rem
236
- - No existe token para el shadow del modal
236
+ - Color `#3b82f6` used in 3 files as hardcoded (should be token)
237
+ - Inconsistent card spacing: some use 1rem, others 1.25rem
238
+ - No token exists for modal shadow
237
239
 
238
- ### 📋 Pendientes
239
- - Migrar colores hardcodeados a CSS variables
240
- - Unificar spacing de cards
241
- - Crear tokens de elevation para modals y tooltips
240
+ ### 📋 Pending
241
+
242
+ - Migrate hardcoded colors to CSS variables
243
+ - Unify card spacing
244
+ - Create elevation tokens for modals and tooltips
242
245
  ```
243
246
 
244
- ## Comandos
247
+ ## Commands
245
248
 
246
- ### Archivo principal
249
+ ### Main file
247
250
 
248
251
  ```
249
- DESIGN.md — Sistema de diseño del proyecto
252
+ DESIGN.md — Project design system
250
253
  ```
251
254
 
252
- ### Verificación post-creación
255
+ ### Post-creation verification
253
256
 
254
257
  ```
255
- 1. ¿DESIGN.md tiene frontmatter YAML con todas las secciones? → colors, typography, spacing, rounded, elevation, components
256
- 2. ¿Los tokens referenciados existen? → {colors.brand.primary} debe estar definido
257
- 3. ¿Los valores son reales (extraídos del código)? → No inventados
258
- 4. ¿Hay sección overview en markdown? → Filosofía + uso de tokens
259
- 5. ¿Se notaron gaps e inconsistencias? → Sección de hallazgos
258
+ 1. Does DESIGN.md have YAML frontmatter with all sections? → colors, typography, spacing, rounded, elevation, components
259
+ 2. Do referenced tokens exist? → {colors.brand.primary} must be defined
260
+ 3. Are values real (extracted from code)? → Not invented
261
+ 4. Is there an overview section in markdown? → Philosophy + token usage
262
+ 5. Were gaps and inconsistencies noted? → Findings section
260
263
  ```
261
264
 
262
- ## Sincronización con el Código
265
+ ## Synchronization with Code
263
266
 
264
- ### Detección de cambios
267
+ ### Change detection
265
268
 
266
- | Archivo cambia | Qué actualizar en DESIGN.md |
267
- |----------------|----------------------------|
268
- | CSS variables | Sección `colors`, `spacing`, etc. |
269
- | Tailwind config | Todas las secciones de tokens |
270
- | Theme files | Todas las secciones |
271
- | Componente nuevo | Sección `components` |
272
- | Breakpoints | Sección `responsive` |
269
+ | File changed | What to update in DESIGN.md |
270
+ | --------------- | ---------------------------------- |
271
+ | CSS variables | `colors`, `spacing` sections, etc. |
272
+ | Tailwind config | All token sections |
273
+ | Theme files | All sections |
274
+ | New component | `components` section |
275
+ | Breakpoints | `responsive` section |
273
276
 
274
- ### Formatos por stack
277
+ ### Formats by stack
275
278
 
276
- | Stack | Fuente de tokens | Formato |
277
- |-------|-----------------|---------|
278
- | CSS puro | `:root { --token: value }` | Mapear `--color-primary` → `{colors.brand.primary}` |
279
- | Tailwind | `theme.extend.colors` | Mapear config directo |
280
- | Sass | `$color-primary: value` | Mapear variables |
281
- | Styled-components | `theme.colors.primary` | Mapear theme object |
282
- | CSS Modules | Compose from variables | Mapear composes |
279
+ | Stack | Token source | Format |
280
+ | ----------------- | -------------------------- | ------------------------------------------------ |
281
+ | Pure CSS | `:root { --token: value }` | Map `--color-primary` → `{colors.brand.primary}` |
282
+ | Tailwind | `theme.extend.colors` | Map config directly |
283
+ | Sass | `$color-primary: value` | Map variables |
284
+ | Styled-components | `theme.colors.primary` | Map theme object |
285
+ | CSS Modules | Compose from variables | Map composes |
283
286
 
284
- ## Ejemplo Concreto de Extracción
287
+ ## Concrete Extraction Example
285
288
 
286
- ### Input: Proyecto con Tailwind
289
+ ### Input: Project with Tailwind
287
290
 
288
291
  ```javascript
289
- // tailwind.config.ts encontrado
292
+ // tailwind.config.ts found
290
293
  module.exports = {
291
294
  theme: {
292
295
  extend: {
@@ -304,56 +307,55 @@ module.exports = {
304
307
  }
305
308
  ```
306
309
 
307
- ### Output: DESIGN.md generado
310
+ ### Output: Generated DESIGN.md
308
311
 
309
312
  ```yaml
310
313
  ---
311
- created: "2026-05-07"
312
- updated: "2026-05-07"
314
+ created: '2026-05-07'
315
+ updated: '2026-05-07'
313
316
  status: active
314
317
  type: design
315
318
  tags: [design-system, tokens, tailwind]
316
319
  colors:
317
320
  brand:
318
- primary: "#3B82F6"
319
- primary-dark: "#2563EB"
320
- primary-light: "#93C5FD"
321
+ primary: '#3B82F6'
322
+ primary-dark: '#2563EB'
323
+ primary-light: '#93C5FD'
321
324
  surface:
322
- background: "#FFFFFF"
323
- muted: "#F9FAFB"
325
+ background: '#FFFFFF'
326
+ muted: '#F9FAFB'
324
327
  text:
325
- primary: "#111827"
326
- secondary: "#6B7280"
328
+ primary: '#111827'
329
+ secondary: '#6B7280'
327
330
  semantic:
328
- error: "#EF4444"
329
- success: "#10B981"
331
+ error: '#EF4444'
332
+ success: '#10B981'
330
333
  typography:
331
- heading-xl: { fontFamily: "Inter, system-ui, sans-serif", fontSize: "2rem", fontWeight: "700" }
332
- heading-lg: { fontFamily: "Inter, system-ui, sans-serif", fontSize: "1.5rem", fontWeight: "600" }
333
- body-md: { fontFamily: "Inter, system-ui, sans-serif", fontSize: "1rem", fontWeight: "400" }
334
- body-sm: { fontFamily: "Inter, system-ui, sans-serif", fontSize: "0.875rem", fontWeight: "400" }
335
- code: { fontFamily: "JetBrains Mono, monospace", fontSize: "0.875rem" }
334
+ heading-xl: { fontFamily: 'Inter, system-ui, sans-serif', fontSize: '2rem', fontWeight: '700' }
335
+ heading-lg: { fontFamily: 'Inter, system-ui, sans-serif', fontSize: '1.5rem', fontWeight: '600' }
336
+ body-md: { fontFamily: 'Inter, system-ui, sans-serif', fontSize: '1rem', fontWeight: '400' }
337
+ body-sm: { fontFamily: 'Inter, system-ui, sans-serif', fontSize: '0.875rem', fontWeight: '400' }
338
+ code: { fontFamily: 'JetBrains Mono, monospace', fontSize: '0.875rem' }
336
339
  rounded:
337
- sm: "6px"
338
- md: "8px"
339
- lg: "12px"
340
- xl: "16px"
341
- full: "9999px"
340
+ sm: '6px'
341
+ md: '8px'
342
+ lg: '12px'
343
+ xl: '16px'
344
+ full: '9999px'
342
345
  spacing:
343
- xs: "0.25rem"
344
- sm: "0.5rem"
345
- md: "1rem"
346
- lg: "1.5rem"
347
- xl: "2rem"
348
- "2xl": "3rem"
346
+ xs: '0.25rem'
347
+ sm: '0.5rem'
348
+ md: '1rem'
349
+ lg: '1.5rem'
350
+ xl: '2rem'
351
+ '2xl': '3rem'
349
352
  ---
353
+ ## Overview
350
354
 
351
- ## Visión General
352
-
353
- Design system basado en Tailwind CSS con tokens extendidos. ...
355
+ Design system based on Tailwind CSS with extended tokens. ...
354
356
  ```
355
357
 
356
- ## Recursos
358
+ ## Resources
357
359
 
358
- - [Design System Format](references/design-system-format.md) — Esquema completo del formato YAML con ejemplos
359
- - Skills relacionados: `doc-write` (escribir docs), `doc-review` (auditar consistencia), `doc-maintain` (sincronizar cambios)
360
+ - [Design System Format](references/design-system-format.md) — Complete YAML format schema with examples
361
+ - Related skills: `doc-write` (write docs), `doc-review` (audit consistency), `doc-maintain` (sync changes)