@maccesar/titools 3.2.0 → 3.3.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/README.md CHANGED
@@ -736,7 +736,7 @@ This pattern is documented across three TiTools skills: `ti-ui`, `ti-expert`, an
736
736
  | Skill | SKILL.md | References |
737
737
  | --------- | ----------------------------- | ----------------------------------------------------- |
738
738
  | ti-expert | Architecture + Implementation | 21 files (patterns, testing, security, etc.) |
739
- | purgetss | Setup + Critical Rules | 29 files (grid, animations, icons, class-index, etc.) |
739
+ | purgetss | Setup + Critical Rules | 31 files (grid, animations, icons, class-index, etc.) |
740
740
  | ti-ui | UI Rules + Platform Diffs | 14 files (layouts, lists, gestures, etc.) |
741
741
 
742
742
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maccesar/titools",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "Titanium SDK skills and agents for AI coding assistants (Claude Code, Gemini CLI, Codex CLI)",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",
@@ -237,9 +237,9 @@ purgetss create 'MyApp' -d -v fa
237
237
  > ```
238
238
  >
239
239
  > **Common Issue:** If you see elements appearing in unexpected positions (e.g., a header bar "behind" content), check if parent containers have conflicting layout modes. Each container's layout affects its direct children only.
240
- >
241
- > ### 🚨 PLATFORM-SPECIFIC PROPERTIES REQUIRE MODIFIERS
242
- >
240
+
241
+ ### 🚨 PLATFORM-SPECIFIC PROPERTIES REQUIRE MODIFIERS
242
+
243
243
  > **🚨 CRITICAL: Platform-Specific Properties Require Modifiers**
244
244
  > Using `Ti.UI.iOS.*` or `Ti.UI.Android.*` properties WITHOUT platform modifiers causes cross-platform compilation failures.
245
245
  >
@@ -274,23 +274,23 @@ purgetss create 'MyApp' -d -v fa
274
274
  > 1. Check if user's project supports that platform
275
275
  > 2. ALWAYS use `[platform=ios]` or `[platform=android]` TSS modifier
276
276
  > 3. OR use PurgeTSS platform classes like `ios:bg-blue-500`
277
- >
278
- > **For complete reference on platform modifiers, see** [Platform Modifiers](references/platform-modifiers.md).
279
- >
280
- > ### Other Mandatory Rules
281
- >
282
- > - **NO `p-` padding classes**: Titanium does NOT support a native `padding` property on `View`, `Window`, `ScrollView`, or `TableView`. Always use **margins on children** (`m-`) to simulate internal spacing.
283
- > - **View defaults to `SIZE`**: Use `w-screen`/`h-screen` to fill space when needed.
284
- > - **`rounded-full`**: To get a perfect circle, use `rounded-full-XX` (where XX is the width/height of the square element).
285
- > - **`rounded-full-XX` includes size**: These classes already set `width`, `height`, and `borderRadius`. Do **not** add `w-XX h-XX`/`wh-XX` unless you need to override.
286
- > - **`m-xx` on FILL elements**: Adding `m-4` to a `w-screen` element pins it to all four edges (top, bottom, left, right). This will **stretch the component vertically** to fill the parent unless you explicitly add `h-auto` (`Ti.UI.SIZE`) to constrain it to its content.
287
- > - **`w-XX` + `h-XX` → `wh-XX`**: If both width and height use the same scale value, prefer a single `wh-XX` (order doesn't matter: `w-10 h-10` and `h-10 w-10` are equivalent).
288
- > - **Use `wh-` shortcuts**: PurgeTSS provides a complete scale of combined width/height utilities:
289
- > - **Numeric Scale**: `wh-0` to `wh-96` (e.g., `wh-16` sets both to 64px).
290
- > - **Fractions**: `wh-1/2`, `wh-3/4`, up to `wh-11/12` for proportional sizing.
291
- > - **Special Values**: `wh-auto` (explicit `SIZE`), `wh-full` (`100%`), and `wh-screen` (`FILL`).
292
- > - Using these instead of separate `w-` and `h-` classes improves XML readability and reduces generated TSS size.
293
- >
277
+
278
+ **For complete reference on platform modifiers, see** [Platform Modifiers](references/platform-modifiers.md).
279
+
280
+ ### Other Mandatory Rules
281
+
282
+ - **NO `p-` padding classes**: Titanium does NOT support a native `padding` property on `View`, `Window`, `ScrollView`, or `TableView`. Always use **margins on children** (`m-`) to simulate internal spacing.
283
+ - **View defaults to `SIZE`**: Use `w-screen`/`h-screen` to fill space when needed.
284
+ - **`rounded-full`**: To get a perfect circle, use `rounded-full-XX` (where XX is the width/height of the square element).
285
+ - **`rounded-full-XX` includes size**: These classes already set `width`, `height`, and `borderRadius`. Do **not** add `w-XX h-XX`/`wh-XX` unless you need to override.
286
+ - **`m-xx` on FILL elements**: Adding `m-4` to a `w-screen` element pins it to all four edges (top, bottom, left, right). This will **stretch the component vertically** to fill the parent unless you explicitly add `h-auto` (`Ti.UI.SIZE`) to constrain it to its content.
287
+ - **`w-XX` + `h-XX` → `wh-XX`**: If both width and height use the same scale value, prefer a single `wh-XX` (order doesn't matter: `w-10 h-10` and `h-10 w-10` are equivalent).
288
+ - **Use `wh-` shortcuts**: PurgeTSS provides a complete scale of combined width/height utilities:
289
+ - **Numeric Scale**: `wh-0` to `wh-96` (e.g., `wh-16` sets both to 64px).
290
+ - **Fractions**: `wh-1/2`, `wh-3/4`, up to `wh-11/12` for proportional sizing.
291
+ - **Special Values**: `wh-auto` (explicit `SIZE`), `wh-full` (`100%`), and `wh-screen` (`FILL`).
292
+ - Using these instead of separate `w-` and `h-` classes improves XML readability and reduces generated TSS size.
293
+
294
294
  > **💡 LAYOUT TIP: EDGE PINNING**
295
295
  > If opposite margins cause a `Label`, `Button`, or `Switch` to stretch unexpectedly, it is due to Titanium's **Edge Pinning** rule (2 opposite pins = computed dimension). This applies to **any component whose default size is `Ti.UI.SIZE`**.
296
296
  >
@@ -306,169 +306,169 @@ purgetss create 'MyApp' -d -v fa
306
306
  > <Switch class="my-1 mr-2 h-auto" />
307
307
  > <Label class="my-1 ml-2 h-auto" text="Option" />
308
308
  > ```
309
- >
310
- > - **NEVER add `composite` class explicitly** - That's the default, use `horizontal`/`vertical` when needed
311
- > - **Arbitrary values use parentheses**: `w-(100px)`, `bg-(#ff0000)` - NO square brackets
312
- > - **`mode: 'all'` required** in `config.cjs` for Ti Elements styling
313
- > - **Classes use `kebab-case`**: `.my-class`, IDs use `camelCase`: `#myId`
314
- >
315
- > ## Common Anti-Patterns
316
- >
317
- > **WRONG:**
318
- > ```xml
319
- > <View class="flex-row justify-between"> <!-- Flexbox doesn't exist -->
320
- > <View class="p-4"> <!-- No padding on Views -->
321
- > <View class="composite"> <!-- Never add composite explicitly -->
322
- > ```
323
- >
324
- > **CORRECT:**
325
- > ```xml
326
- > <View class="horizontal">
327
- > <View class="m-4"> <!-- Use margins on children -->
328
- > <View> <!-- Omit layout = composite by default -->
329
- > ```
330
- >
331
- > **WRONG (Dynamic Components):**
332
- > ```javascript
333
- > // Manual styling with Ti.UI.create()
334
- > const view = Ti.UI.createView({
335
- > width: Ti.UI.FILL,
336
- > backgroundColor: '#fff',
337
- > borderRadius: 8
338
- > })
339
- > ```
340
- >
341
- > **CORRECT (Dynamic Components):**
342
- > ```javascript
343
- > // PurgeTSS classes with $.UI.create()
344
- > const view = $.UI.create('View', {
345
- > classes: ['w-screen', 'bg-white', 'rounded-lg']
346
- > })
347
- > ```
348
- >
349
- > ## Class Verification Workflow
350
- >
309
+
310
+ - **NEVER add `composite` class explicitly** - That's the default, use `horizontal`/`vertical` when needed
311
+ - **Arbitrary values use parentheses**: `w-(100px)`, `bg-(#ff0000)` - NO square brackets
312
+ - **`mode: 'all'` required** in `config.cjs` for Ti Elements styling
313
+ - **Classes use `kebab-case`**: `.my-class`, IDs use `camelCase`: `#myId`
314
+
315
+ ## Common Anti-Patterns
316
+
317
+ **WRONG:**
318
+ ```xml
319
+ <View class="flex-row justify-between"> <!-- Flexbox doesn't exist -->
320
+ <View class="p-4"> <!-- No padding on Views -->
321
+ <View class="composite"> <!-- Never add composite explicitly -->
322
+ ```
323
+
324
+ **CORRECT:**
325
+ ```xml
326
+ <View class="horizontal">
327
+ <View class="m-4"> <!-- Use margins on children -->
328
+ <View> <!-- Omit layout = composite by default -->
329
+ ```
330
+
331
+ **WRONG (Dynamic Components):**
332
+ ```javascript
333
+ // Manual styling with Ti.UI.create()
334
+ const view = Ti.UI.createView({
335
+ width: Ti.UI.FILL,
336
+ backgroundColor: '#fff',
337
+ borderRadius: 8
338
+ })
339
+ ```
340
+
341
+ **CORRECT (Dynamic Components):**
342
+ ```javascript
343
+ // PurgeTSS classes with $.UI.create()
344
+ const view = $.UI.create('View', {
345
+ classes: ['w-screen', 'bg-white', 'rounded-lg']
346
+ })
347
+ ```
348
+
349
+ ## Class Verification Workflow
350
+
351
351
  > **🚨 CRITICAL: VERIFY CLASSES BEFORE SUGGESTING**
352
352
  > **NEVER guess or hallucinate classes based on other CSS Frameworks knowledge!**
353
- >
354
- > PurgeTSS shares naming with some CSS Frameworks but has DIFFERENT classes for Titanium.
355
- > Always verify a class exists before suggesting it.
356
- >
357
- > ### Verification Steps
358
- >
359
- > 1. **Check if it's a KNOWN anti-pattern**
360
- > - See [PROHIBITED Classes](references/class-index.md#prohibited-tailwind-classes-that-do-not-exist)
361
- > - Common mistakes: `flex-row`, `justify-between`, `p-4` on Views (p-* not supported on Views)
362
- >
363
- > 2. **Check the Class Index**
364
- > - See [Class Index](references/class-index.md) for available patterns
365
- > - Constant properties like `keyboard-type-*`, `return-key-type-*` have dedicated classes
366
- >
367
- > 3. **Search the project when unsure**
368
- > ```bash
369
- > # Search for a class pattern in the project's utilities.tss
370
- > grep -E "keyboard-type-" ./purgetss/styles/utilities.tss
371
- > grep -E "return-key-type-" ./purgetss/styles/utilities.tss
372
- > grep -E "^'bg-" ./purgetss/styles/utilities.tss
373
- > ```
374
- >
375
- > 4. **After making changes**
376
- > - Check `app.tss` for "Unused or unsupported classes" section at the end
377
- > - Report any typos or non-existent classes to the user
378
- >
379
- > ### What HAS Classes vs What DOESN'T
380
- >
381
- > | Has Classes in PurgeTSS | Does NOT Have Classes |
382
- > | ----------------------- | ------------------------------------- |
383
- > | `keyboard-type-email` | `hintText` (use attribute) |
384
- > | `return-key-type-next` | `passwordMask` (use attribute) |
385
- > | `text-center` | `autocorrect` (use attribute) |
386
- > | `bg-blue-500` | `autocapitalization` (use attribute) |
387
- > | `w-screen` | `flex-row` → use `horizontal` |
388
- > | `wh-16` | `justify-between` → use margins |
389
- > | `rounded-lg` | `w-full` → use `w-screen` |
390
- > | `m-4`, `gap-4` | `p-4` on View → use `m-4` on children |
391
- >
353
+
354
+ PurgeTSS shares naming with some CSS Frameworks but has DIFFERENT classes for Titanium.
355
+ Always verify a class exists before suggesting it.
356
+
357
+ ### Verification Steps
358
+
359
+ 1. **Check if it's a KNOWN anti-pattern**
360
+ - See [PROHIBITED Classes](references/class-index.md#prohibited-tailwind-classes-that-do-not-exist)
361
+ - Common mistakes: `flex-row`, `justify-between`, `p-4` on Views (p-* not supported on Views)
362
+
363
+ 2. **Check the Class Index**
364
+ - See [Class Index](references/class-index.md) for available patterns
365
+ - Constant properties like `keyboard-type-*`, `return-key-type-*` have dedicated classes
366
+
367
+ 3. **Search the project when unsure**
368
+ ```bash
369
+ # Search for a class pattern in the project's utilities.tss
370
+ grep -E "keyboard-type-" ./purgetss/styles/utilities.tss
371
+ grep -E "return-key-type-" ./purgetss/styles/utilities.tss
372
+ grep -E "^'bg-" ./purgetss/styles/utilities.tss
373
+ ```
374
+
375
+ 4. **After making changes**
376
+ - Check `app.tss` for "Unused or unsupported classes" section at the end
377
+ - Report any typos or non-existent classes to the user
378
+
379
+ ### What HAS Classes vs What DOESN'T
380
+
381
+ | Has Classes in PurgeTSS | Does NOT Have Classes |
382
+ | ----------------------- | ------------------------------------- |
383
+ | `keyboard-type-email` | `hintText` (use attribute) |
384
+ | `return-key-type-next` | `passwordMask` (use attribute) |
385
+ | `text-center` | `autocorrect` (use attribute) |
386
+ | `bg-blue-500` | `autocapitalization` (use attribute) |
387
+ | `w-screen` | `flex-row` → use `horizontal` |
388
+ | `wh-16` | `justify-between` → use margins |
389
+ | `rounded-lg` | `w-full` → use `w-screen` |
390
+ | `m-4`, `gap-4` | `p-4` on View → use `m-4` on children |
391
+
392
392
  > **💡 TIP**
393
393
  > When in doubt, prefer using the search command above to verify. It's better to spend 5 seconds verifying than suggesting a class that doesn't exist and will appear in the "unused classes" warning.
394
- >
395
- > ## Reference Guides
396
- >
397
- > Load these only when needed:
398
- >
399
- > ### Essential References
400
- > - **[Class Index](references/class-index.md)** - Naming conventions, 416-property table, prohibited classes, verification commands (LOAD FIRST when unsure about a class)
401
- > - **[Class Categories](references/class-categories.md)** - Complete prefix inventory by category (layout, colors, typography, states, etc.)
402
- > - **[Dynamic Component Creation](references/dynamic-component-creation.md)** - `$.UI.create()` and `Alloy.createStyle()` for creating components in Controllers (READ FIRST for dynamic components)
403
- > - **[Appearance Module](references/appearance-module.md)** - Light/Dark/System mode switching with persistence (v7.5.3)
404
- > - **[Semantic Colors](references/semantic-colors.md)** - Titanium semantic colors for Light/Dark mode via `semantic` command (v7.6.0)
405
- >
406
- > ### Setup & Configuration
407
- > - [Installation & Setup](references/installation-setup.md) - First run, VS Code, LiveView
408
- > - [CLI Commands](references/cli-commands.md) - All `purgetss` commands
409
- > - [Migration Guide](references/migration-guide.md) - Migrating existing apps from manual TSS to PurgeTSS
410
- > - **[Values and Units](references/values-and-units.md)** - How `ti.ui.defaultunit` in `tiapp.xml` interprets the unitless numeric values PurgeTSS writes (foundational concept for spacing, sizes, typography)
411
- >
412
- > ### Customization
413
- > - [Deep Customization](references/customization-deep-dive.md) - config.cjs, colors, spacing, Ti Elements
414
- > - [Custom Rules](references/custom-rules.md) - Styling Ti Elements, IDs, classes
415
- > - [Apply Directive](references/apply-directive.md) - Extracting utility combinations
416
- > - [Configurable Properties](references/configurable-properties.md) - All 80+ customizable properties
417
- >
418
- > ### Appearance & Theming
419
- > - **[Appearance Module](references/appearance-module.md)** - Light/Dark/System mode switching with persistence (v7.5.3)
420
- > - **[Semantic Colors](references/semantic-colors.md)** - `semantic` command + runtime usage for Light/Dark mode (v7.6.0)
421
- >
422
- > ### Layout & Styling
423
- > - **[UI/UX Design Patterns](references/ui-ux-design.md)** - Complete guide to mobile UI components with PurgeTSS (cards, lists, forms, buttons, navigation, modals, accessibility)
424
- > - [Grid Layout System](references/grid-layout.md) - 12-column grid, responsive layouts
425
- > - [Smart Mappings](references/smart-mappings.md) - How gap, shadows, and grid work under the hood
426
- > - [Arbitrary Values](references/arbitrary-values.md) - Parentheses notation for custom values
427
- > - [Platform Modifiers](references/platform-modifiers.md) - ios:, android:, tablet:, handheld:
428
- > - [Opacity Modifier](references/opacity-modifier.md) - Color transparency with /50 syntax
429
- > - [Titanium Resets](references/titanium-resets.md) - Default styles for Ti elements
430
- > - [iOS Large Titles](references/ios-large-titles.md) - Best practice for iOS Large Title navigation
431
- >
432
- > ### App Assets
433
- > - [App Branding](references/app-branding.md) - `brand` command for launcher icons, adaptive, iOS 18+ Dark/Tinted, marketplace assets (v7.6.0)
434
- > - [Multi-Density Images](references/multi-density-images.md) - `images` command for Android res-*dpi + iPhone @1x/@2x/@3x UI images (v7.6.0)
435
- >
436
- > ### Performance
437
- > - [Performance Tips](references/performance-tips.md) - Optimizing PurgeTSS apps (bridge crossings, ListView, animations)
438
- >
439
- > ### Components
440
- > - [TiKit UI Components](references/tikit-components.md) - Ready-to-use Alerts, Avatars, Buttons, Cards, Tabs built with PurgeTSS
441
- >
442
- > ### Fonts & Animations
443
- > - [Icon Fonts](references/icon-fonts.md) - Font Awesome 7, Material Icons, custom icon libraries
444
- > - [Animation System](references/animation-system.md) - 15 methods including collision detection, transitions, and sequential animations
445
- > - [Animation Advanced](references/animation-advanced.md) - Property inheritance, utility classes, implementation rules, complex UI example
446
- >
447
- > ### Release Notes
448
- > - [Version History](references/version-history.md) - Release-by-release feature additions and behavior changes (v7.4.0 → v7.9.0)
449
- >
394
+
395
+ ## Reference Guides
396
+
397
+ Load these only when needed:
398
+
399
+ ### Essential References
400
+ - **[Class Index](references/class-index.md)** - Naming conventions, 416-property table, prohibited classes, verification commands (LOAD FIRST when unsure about a class)
401
+ - **[Class Categories](references/class-categories.md)** - Complete prefix inventory by category (layout, colors, typography, states, etc.)
402
+ - **[Dynamic Component Creation](references/dynamic-component-creation.md)** - `$.UI.create()` and `Alloy.createStyle()` for creating components in Controllers (READ FIRST for dynamic components)
403
+ - **[Appearance Module](references/appearance-module.md)** - Light/Dark/System mode switching with persistence (v7.5.3)
404
+ - **[Semantic Colors](references/semantic-colors.md)** - Titanium semantic colors for Light/Dark mode via `semantic` command (v7.6.0)
405
+
406
+ ### Setup & Configuration
407
+ - [Installation & Setup](references/installation-setup.md) - First run, VS Code, LiveView
408
+ - [CLI Commands](references/cli-commands.md) - All `purgetss` commands
409
+ - [Migration Guide](references/migration-guide.md) - Migrating existing apps from manual TSS to PurgeTSS
410
+ - **[Values and Units](references/values-and-units.md)** - How `ti.ui.defaultunit` in `tiapp.xml` interprets the unitless numeric values PurgeTSS writes (foundational concept for spacing, sizes, typography)
411
+
412
+ ### Customization
413
+ - [Deep Customization](references/customization-deep-dive.md) - config.cjs, colors, spacing, Ti Elements
414
+ - [Custom Rules](references/custom-rules.md) - Styling Ti Elements, IDs, classes
415
+ - [Apply Directive](references/apply-directive.md) - Extracting utility combinations
416
+ - [Configurable Properties](references/configurable-properties.md) - All 80+ customizable properties
417
+
418
+ ### Appearance & Theming
419
+ - **[Appearance Module](references/appearance-module.md)** - Light/Dark/System mode switching with persistence (v7.5.3)
420
+ - **[Semantic Colors](references/semantic-colors.md)** - `semantic` command + runtime usage for Light/Dark mode (v7.6.0)
421
+
422
+ ### Layout & Styling
423
+ - **[UI/UX Design Patterns](references/ui-ux-design.md)** - Complete guide to mobile UI components with PurgeTSS (cards, lists, forms, buttons, navigation, modals, accessibility)
424
+ - [Grid Layout System](references/grid-layout.md) - 12-column grid, responsive layouts
425
+ - [Smart Mappings](references/smart-mappings.md) - How gap, shadows, and grid work under the hood
426
+ - [Arbitrary Values](references/arbitrary-values.md) - Parentheses notation for custom values
427
+ - [Platform Modifiers](references/platform-modifiers.md) - ios:, android:, tablet:, handheld:
428
+ - [Opacity Modifier](references/opacity-modifier.md) - Color transparency with /50 syntax
429
+ - [Titanium Resets](references/titanium-resets.md) - Default styles for Ti elements
430
+ - [iOS Large Titles](references/ios-large-titles.md) - Best practice for iOS Large Title navigation
431
+
432
+ ### App Assets
433
+ - [App Branding](references/app-branding.md) - `brand` command for launcher icons, adaptive, iOS 18+ Dark/Tinted, marketplace assets (v7.6.0)
434
+ - [Multi-Density Images](references/multi-density-images.md) - `images` command for Android res-*dpi + iPhone @1x/@2x/@3x UI images (v7.6.0)
435
+
436
+ ### Performance
437
+ - [Performance Tips](references/performance-tips.md) - Optimizing PurgeTSS apps (bridge crossings, ListView, animations)
438
+
439
+ ### Components
440
+ - [TiKit UI Components](references/tikit-components.md) - Ready-to-use Alerts, Avatars, Buttons, Cards, Tabs built with PurgeTSS
441
+
442
+ ### Fonts & Animations
443
+ - [Custom Fonts](references/custom-fonts.md) - `build-fonts` command for Google Fonts, brand typefaces, and community icon fonts (.ttf + .css)
444
+ - [Icon Fonts](references/icon-fonts.md) - The 4 official families (Font Awesome 7, Material Icons, Material Symbols, Framework7) — variant tables + `icon-library` install flow + recreating removed libraries
445
+ - [Animation System](references/animation-system.md) - 15 methods including collision detection, transitions, and sequential animations
446
+ - [Animation Advanced](references/animation-advanced.md) - Property inheritance, utility classes, implementation rules, complex UI example
447
+
448
+ ### Release Notes
449
+ - [Version History](references/version-history.md) - Release-by-release feature additions and behavior changes (v7.4.0 → v7.10.2)
450
+
450
451
  > **💡 TEXT FONTS (Google Fonts, Roboto, etc.)**
451
- > For text fonts, see [CLI Commands → build-fonts](references/cli-commands.md#purgetss-build-fonts-alias-bf).
452
- >
453
- > ## Examples
454
- >
455
- > For complete WRONG vs CORRECT examples including:
456
- > - Titanium layout patterns (horizontal, vertical, composite)
457
- > - Grid with percentages
458
- > - Gap usage
459
- > - Manual .tss anti-patterns
460
- > - Dynamic component creation with `$.UI.create()` and `Alloy.createStyle()`
461
- >
462
- > See [EXAMPLES.md](references/EXAMPLES.md) and [Dynamic Component Creation](references/dynamic-component-creation.md)
463
- >
464
- > ## Related Skills
465
- >
466
- > For tasks beyond styling, use these complementary skills:
467
- >
468
- > | Task | Use This Skill |
469
- > | -------------------------------------------- | -------------- |
470
- > | Project architecture, services, controllers | `ti-expert` |
471
- > | Complex UI components, ListViews, gestures | `ti-ui` |
472
- > | Alloy MVC concepts, data binding, TSS syntax | `alloy-guides` |
473
- > | Native features (camera, location, push) | `ti-howtos` |
474
- >
452
+ > For text fonts, see [Custom Fonts](references/custom-fonts.md).
453
+
454
+ ## Examples
455
+
456
+ For complete WRONG vs CORRECT examples including:
457
+ - Titanium layout patterns (horizontal, vertical, composite)
458
+ - Grid with percentages
459
+ - Gap usage
460
+ - Manual .tss anti-patterns
461
+ - Dynamic component creation with `$.UI.create()` and `Alloy.createStyle()`
462
+
463
+ See [EXAMPLES.md](references/EXAMPLES.md) and [Dynamic Component Creation](references/dynamic-component-creation.md)
464
+
465
+ ## Related Skills
466
+
467
+ For tasks beyond styling, use these complementary skills:
468
+
469
+ | Task | Use This Skill |
470
+ | -------------------------------------------- | -------------- |
471
+ | Project architecture, services, controllers | `ti-expert` |
472
+ | Complex UI components, ListViews, gestures | `ti-ui` |
473
+ | Alloy MVC concepts, data binding, TSS syntax | `alloy-guides` |
474
+ | Native features (camera, location, push) | `ti-howtos` |