[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CMCN7HYXZ1VENTFYKAC0XD":3,"skill-same:01M7CMCN7HYXZ1VENTFYKAC0XD":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7CMCN7HYXZ1VENTFYKAC0XD","tailwind-file-first-vsa",null,"Prioritizes file-based Tailwind CSS styling using Vertical Slice Architecture (VSA) to reduce component bloat and maintain a scalable global design system. Use when structuring Tailwind styles, refactoring utility-bloated JSX\u002FHTML components, or organizing stylesheets into feature domain slices.","deJames-13\u002Fdeblog","deJames-13","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F109223910?v=4","01M7CFW3B0EF3WP64ZSQR5A7PR","Derick James M. Espinosa","01M7CMBS9K02PJPXCCH7BD7NJ6",1,"MIT","https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Ftailwind-file-first-vsa\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tailwind-file-first-vsa\ndescription: >-\n  Prioritizes file-based Tailwind CSS styling using Vertical Slice Architecture (VSA) to reduce component bloat and maintain a scalable global design system. Use when structuring Tailwind styles, refactoring utility-bloated JSX\u002FHTML components, or organizing stylesheets into feature domain slices.\nversion: 1.0.0\ntags: [\"tailwind\", \"css\", \"vsa\", \"architecture\", \"styling\"]\n---\n\n# Tailwind File-First VSA Architect\n\nEnforces a strict **\"File-Based First\"** architecture for Tailwind CSS development. Instead of polluting JSX\u002FHTML components with repetitive inline utility strings, styles are composed into dedicated, domain-sliced `.css` files using Tailwind's `@apply` directive.\n\n## 🎯 When to Activate This Skill\n\n- When creating or styling UI components with Tailwind CSS.\n- When refactoring JSX\u002FHTML files burdened with inline utility class bloat.\n- When structuring or auditing project stylesheets using Vertical Slice Architecture (VSA).\n- When establishing centralized design tokens, global themes, or domain-specific style aggregators.\n\n## 🧠 Core Objectives\n\n1. **Unified Global Design:** Consolidate design tokens and utility combinations into dedicated stylesheets for consistency.\n2. **Maintainable Design:** Decouple CSS style rules from React\u002FVue\u002FSvelte component logic.\n3. **Flexible Theming:** Centralized styling enables rapid token overrides, dark-mode variations, and theme swapping.\n4. **Zero Component Bloat:** Keep JSX\u002FHTML lean, semantic, and readable by abstracting utility chains into meaningful class names.\n\n## 📐 Vertical Slice Architecture (VSA) for Styles\n\nStyles mirror domain boundaries using screaming architecture:\n\n```text\nstyles\u002F\n├── dashboard\u002F                 # Feature Slice Context\n│   ├── main.css               # Feature Aggregator (imports slice styles)\n│   ├── header.css             # Domain-specific header styles\n│   └── sidebar.css            # Domain-specific sidebar styles\n├── button.css                 # Global shared element\n├── card.css                   # Global shared element\n├── input.css                  # Global shared element\n├── main.css                   # Shared elements aggregator\n└── styles.css                 # Root stylesheet (Tailwind directives & slice imports)\n```\n\n- **Global Shared Elements:** Primitive, universally reused components (`button.css`, `card.css`) live directly under `styles\u002F`.\n- **Feature Slices:** Co-located context styles belong in a dedicated domain folder (e.g., `styles\u002Fdashboard\u002F`, `styles\u002Fauth\u002F`).\n- **Aggregators (`main.css`):** Every slice folder contains a `main.css` that imports its child stylesheets.\n\n## 🚀 Execution Workflow for Agents\n\n### Step 1: Categorize Component Scope\nDetermine if the element is a **Global Shared Element** (used across features) or belongs to a **Feature Slice** (specific page or domain context).\n\n### Step 2: Scaffold the Stylesheet Slice\nCreate the target `.css` file in `styles\u002F` or the corresponding `styles\u002F\u003Cslice>\u002F` directory. You can automate this with the helper script:\n```bash\n.\u002Fscripts\u002Frun.sh \u003Cslice-name> \u003Celement-name>\n# Example: .\u002Fscripts\u002Frun.sh dashboard sidebar\n```\n\n### Step 3: Compose Utilities with `@apply`\nWrite semantic CSS classes wrapping Tailwind utilities within `@layer components`:\n```css\n@layer components {\n  .dashboard-sidebar {\n    @apply flex flex-col w-64 min-h-screen bg-slate-900 border-r border-slate-800 p-4;\n  }\n  .dashboard-sidebar-item {\n    @apply flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium text-slate-300 hover:text-white hover:bg-slate-800 transition-colors;\n  }\n}\n```\n\n### Step 4: Wire Aggregator & Root Imports\nEnsure the `.css` file is imported into its slice `main.css`, and that the slice aggregator is imported into the root `styles.css`.\n\n### Step 5: Apply Semantic Classes to Components\nReplace inline utility strings in JSX\u002FHTML with the semantic class names.\n\n## 📁 References & Examples\n\n- [Concrete Refactoring Walkthrough](.\u002Fexamples\u002Fbasic-example.md) - Before-and-after component refactor and file layout.\n- [Technical Architecture & @apply Guide](.\u002Freferences\u002Ftechnical-details.md) - Layer precedence, variant handling, and Tailwind v3\u002Fv4 compatibility.\n- [Scaffold Helper Script](.\u002Fscripts\u002Frun.sh) - Bash automation to generate VSA slices and wire aggregator imports.\n","# Tailwind File-First VSA Architect\n\nEnforces a strict **\"File-Based First\"** architecture for Tailwind CSS development. Instead of polluting JSX\u002FHTML components with repetitive inline utility strings, styles are composed into dedicated, domain-sliced `.css` files using Tailwind's `@apply` directive.\n\n## 🎯 When to Activate This Skill\n\n- When creating or styling UI components with Tailwind CSS.\n- When refactoring JSX\u002FHTML files burdened with inline utility class bloat.\n- When structuring or auditing project stylesheets using Vertical Slice Architecture (VSA).\n- When establishing centralized design tokens, global themes, or domain-specific style aggregators.\n\n## 🧠 Core Objectives\n\n1. **Unified Global Design:** Consolidate design tokens and utility combinations into dedicated stylesheets for consistency.\n2. **Maintainable Design:** Decouple CSS style rules from React\u002FVue\u002FSvelte component logic.\n3. **Flexible Theming:** Centralized styling enables rapid token overrides, dark-mode variations, and theme swapping.\n4. **Zero Component Bloat:** Keep JSX\u002FHTML lean, semantic, and readable by abstracting utility chains into meaningful class names.\n\n## 📐 Vertical Slice Architecture (VSA) for Styles\n\nStyles mirror domain boundaries using screaming architecture:\n\n```text\nstyles\u002F\n├── dashboard\u002F                 # Feature Slice Context\n│   ├── main.css               # Feature Aggregator (imports slice styles)\n│   ├── header.css             # Domain-specific header styles\n│   └── sidebar.css            # Domain-specific sidebar styles\n├── button.css                 # Global shared element\n├── card.css                   # Global shared element\n├── input.css                  # Global shared element\n├── main.css                   # Shared elements aggregator\n└── styles.css                 # Root stylesheet (Tailwind directives & slice imports)\n```\n\n- **Global Shared Elements:** Primitive, universally reused components (`button.css`, `card.css`) live directly under `styles\u002F`.\n- **Feature Slices:** Co-located context styles belong in a dedicated domain folder (e.g., `styles\u002Fdashboard\u002F`, `styles\u002Fauth\u002F`).\n- **Aggregators (`main.css`):** Every slice folder contains a `main.css` that imports its child stylesheets.\n\n## 🚀 Execution Workflow for Agents\n\n### Step 1: Categorize Component Scope\nDetermine if the element is a **Global Shared Element** (used across features) or belongs to a **Feature Slice** (specific page or domain context).\n\n### Step 2: Scaffold the Stylesheet Slice\nCreate the target `.css` file in `styles\u002F` or the corresponding `styles\u002F\u003Cslice>\u002F` directory. You can automate this with the helper script:\n```bash\n.\u002Fscripts\u002Frun.sh \u003Cslice-name> \u003Celement-name>\n# Example: .\u002Fscripts\u002Frun.sh dashboard sidebar\n```\n\n### Step 3: Compose Utilities with `@apply`\nWrite semantic CSS classes wrapping Tailwind utilities within `@layer components`:\n```css\n@layer components {\n  .dashboard-sidebar {\n    @apply flex flex-col w-64 min-h-screen bg-slate-900 border-r border-slate-800 p-4;\n  }\n  .dashboard-sidebar-item {\n    @apply flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium text-slate-300 hover:text-white hover:bg-slate-800 transition-colors;\n  }\n}\n```\n\n### Step 4: Wire Aggregator & Root Imports\nEnsure the `.css` file is imported into its slice `main.css`, and that the slice aggregator is imported into the root `styles.css`.\n\n### Step 5: Apply Semantic Classes to Components\nReplace inline utility strings in JSX\u002FHTML with the semantic class names.\n\n## 📁 References & Examples\n\n- [Concrete Refactoring Walkthrough](.\u002Fexamples\u002Fbasic-example.md) - Before-and-after component refactor and file layout.\n- [Technical Architecture & @apply Guide](.\u002Freferences\u002Ftechnical-details.md) - Layer precedence, variant handling, and Tailwind v3\u002Fv4 compatibility.\n- [Scaffold Helper Script](.\u002Fscripts\u002Frun.sh) - Bash automation to generate VSA slices and wire aggregator imports.\n",{"name":5,"tags":24,"version":30,"description":7},[25,26,27,28,29],"tailwind","css","vsa","architecture","styling","1.0.0","main","56b9c98c27212697000a026faeb3a6caa405ed47","web\u002F.agents\u002Fskills\u002Ftailwind-file-first-vsa",0,"https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog","https:\u002F\u002Fdeblog.derickespinosa.app","https:\u002F\u002Fgithub.com\u002FdeJames-13","https:\u002F\u002Fwww.derickespinosa.site\u002F","journey before destination\r\n","2026-09-14 18:56:08",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add deJames-13\u002Fdeblog --skill tailwind-file-first-vsa",{"tool":47,"command":48},"bunx","bunx skills add deJames-13\u002Fdeblog --skill tailwind-file-first-vsa",{"tool":50,"command":51},"pnpm","pnpm dlx skills add deJames-13\u002Fdeblog --skill tailwind-file-first-vsa","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Ftailwind-file-first-vsa\u002FSKILL.md",true,[55,61,65,69,74],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"agents\u002Fopenai.yaml","REFERENCE","参考文档",232,"https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Ftailwind-file-first-vsa\u002Fagents\u002Fopenai.yaml",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"examples\u002Fbasic-example.md",5850,"https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Ftailwind-file-first-vsa\u002Fexamples\u002Fbasic-example.md",{"path":66,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Ftechnical-details.md",5363,"https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Ftailwind-file-first-vsa\u002Freferences\u002Ftechnical-details.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":34,"sourceHtmlUrl":73},"resources\u002F.gitkeep","OTHER","其他","https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Ftailwind-file-first-vsa\u002Fresources\u002F.gitkeep",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Frun.sh","SCRIPT","脚本",4754,"https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Ftailwind-file-first-vsa\u002Fscripts\u002Frun.sh",[81,88,95,102,109,116],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7CMCXNMSGKS8VF2201NADJP","vertical-slice-architect","Enforces strict vertical slice architecture, highly granular file-based Single Responsibility Principle (SRP), and domain-driven folder structures before writing any code.","https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Fvertical-slice-architect\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7CMCSQX38862E7CE62DDDT6","tdd","Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions \"red-green-refactor\", or wants integration tests.","https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7CMCM0X4HNX2TRH6PKKM0RA","grill-me","A relentless interview to sharpen a plan or design.","https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Fgrill-me\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7CMCHFM31PQ629P5SG0HV0J","angular-new-app","Creates a new Angular app using the Angular CLI. This skill should be used whenever a user wants to create a new Angular application and contains important guidelines for how to effectively create a modern Angular application.","https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Fangular-new-app\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7CMCCN6AXD0AVMP943P3C6J","angular-developer","Generates Angular code and provides architectural guidance. Trigger when creating projects, components, services, or HTTP communication, or for best practices on reactivity (signals, linkedSignal, resource, httpResource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, naming conventions, or CLI tooling.","https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Fangular-developer\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M7CMC7QGJ6XQE2A73HNBPDVT","angular-architect","Generates Angular 17+ standalone components, configures advanced routing with lazy loading and guards, implements NgRx state management, applies RxJS patterns, and optimizes bundle performance. Use when building Angular 17+ applications with standalone components or signals, setting up NgRx stores, establishing RxJS reactive patterns, performance tuning, or writing Angular tests for enterprise apps.","https:\u002F\u002Fgithub.com\u002FdeJames-13\u002Fdeblog\u002Fblob\u002Fmain\u002Fweb\u002F.agents\u002Fskills\u002Fangular-architect\u002FSKILL.md",[],[]]