[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72SZAF7YNTK2F5W3421BHNM":3,"skill-same:01M72SZAF7YNTK2F5W3421BHNM":51},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M72SZAF7YNTK2F5W3421BHNM","Tailwind CSS",null,"Tailwind CSS utility, variant and config pitfalls (v3 config model; v4 uses CSS-first config). Use when writing or debugging Tailwind classes or config.","iberi22\u002Fskills","iberi22","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10615454?v=4","01M72SQ2NXAA3GW0FSH053A5ES","Brahyan Belalcazar","01M72SQ2PYCH0SSA1K61NGEHDV",0,"MIT","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fframework\u002Ftailwindcss\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nid: tailwind-css\nname: Tailwind CSS\ndescription: Tailwind CSS utility, variant and config pitfalls (v3 config model; v4 uses CSS-first config). Use when writing or debugging Tailwind classes or config.\ncategory: framework\ntags:\n  - tailwind-css\ngoals:\n  - \"Write Tailwind utility classes with proper responsive design, dark mode, and configuration.\"\nauthors:\n  - Brahyan Belalcazar\n---\n\n## Content Configuration\n\n- `content` array in tailwind.config.js must include ALL files with classes—missing paths = missing styles in production\n- Glob patterns: `\".\u002Fsrc\u002F**\u002F*.{js,jsx,ts,tsx,html}\"` covers nested directories\n- Dynamic class names like `bg-${color}-500` won't be detected—use complete class names or safelist\n- Check production build size—if unexpectedly small, content paths are wrong\n\n## Responsive Prefixes\n\n- Mobile-first: unprefixed styles apply to all sizes, `md:` applies at medium AND above\n- `sm:hidden md:block` means hidden on small, visible on medium+—not \"only on medium\"\n- Breakpoints: sm(640px), md(768px), lg(1024px), xl(1280px), 2xl(1536px)\n- Custom breakpoints in config override defaults—use `extend.screens` to add without replacing\n\n## Dark Mode\n\n- `dark:` prefix requires `darkMode: 'class'` in config—won't work with default media strategy if you need manual toggle\n- Dark class on `\u003Chtml>` or `\u003Cbody>`, not on individual components\n- `dark:bg-gray-900` only applies when ancestor has `class=\"dark\"`\n- System preference: `darkMode: 'media'` uses `prefers-color-scheme`\n\n## State Variants\n\n- `hover:`, `focus:`, `active:` work as expected\n- `group-hover:` requires `group` class on parent—child reacts to parent hover\n- `peer-focus:` requires `peer` class on sibling AND sibling must come first in DOM\n- Stack variants: `dark:hover:bg-gray-700` applies on hover in dark mode\n\n## Arbitrary Values\n\n- `bg-[#1da1f2]` for one-off colors—brackets for any arbitrary value\n- `w-[calc(100%-2rem)]` for calc expressions\n- `grid-cols-[1fr_2fr_1fr]` underscores for spaces in values\n- Arbitrary properties: `[mask-type:alpha]` for unsupported CSS properties\n\n## @apply Traps\n\n- `@apply` in component CSS loses responsive\u002Fstate variants—`@apply hover:bg-blue-500` doesn't work as expected\n- Order in `@apply` matters unlike HTML classes—later utilities override earlier\n- Prefer HTML classes over `@apply`—easier to maintain, better tree-shaking\n- If you must use `@apply`, keep it simple: base styles only\n\n## Configuration\n\n- `extend` adds to defaults: `extend: { colors: { brand: '#xxx' } }` keeps all existing colors\n- Top-level replaces defaults: `colors: { brand: '#xxx' }` removes all default colors\n- `theme()` function in CSS: `border-color: theme('colors.gray.200')`\n- Plugin order matters—later plugins can override earlier ones\n\n## Important Modifier\n\n- `!` prefix forces important: `!mt-4` generates `margin-top: 1rem !important`\n- Use sparingly—usually indicates specificity battle that should be fixed\n- `important: true` in config makes ALL utilities important—avoid, breaks third-party CSS\n- `important: '#app'` scopes specificity to selector—better than global important\n\n## Common Mistakes\n\n- `class=\"px-4 px-6\"` last one wins in stylesheet, not in HTML—both get applied, cascade decides\n- Forgetting `overflow-hidden` with `rounded-*` on parent with absolute children\n- `h-screen` doesn't account for mobile browser chrome—use `h-dvh` (dynamic viewport height)\n- `truncate` needs width constraint or `max-w-*` to actually truncate\n\n## Performance\n\n- JIT is default since v3—generates only used classes, no purge needed\n- Avoid `safelist` with patterns like `bg-*`—defeats tree-shaking\n- `@layer components` for reusable component styles—proper cascade order\n- Large arbitrary values generate unique classes—extract to config if repeated","## Content Configuration\n\n- `content` array in tailwind.config.js must include ALL files with classes—missing paths = missing styles in production\n- Glob patterns: `\".\u002Fsrc\u002F**\u002F*.{js,jsx,ts,tsx,html}\"` covers nested directories\n- Dynamic class names like `bg-${color}-500` won't be detected—use complete class names or safelist\n- Check production build size—if unexpectedly small, content paths are wrong\n\n## Responsive Prefixes\n\n- Mobile-first: unprefixed styles apply to all sizes, `md:` applies at medium AND above\n- `sm:hidden md:block` means hidden on small, visible on medium+—not \"only on medium\"\n- Breakpoints: sm(640px), md(768px), lg(1024px), xl(1280px), 2xl(1536px)\n- Custom breakpoints in config override defaults—use `extend.screens` to add without replacing\n\n## Dark Mode\n\n- `dark:` prefix requires `darkMode: 'class'` in config—won't work with default media strategy if you need manual toggle\n- Dark class on `\u003Chtml>` or `\u003Cbody>`, not on individual components\n- `dark:bg-gray-900` only applies when ancestor has `class=\"dark\"`\n- System preference: `darkMode: 'media'` uses `prefers-color-scheme`\n\n## State Variants\n\n- `hover:`, `focus:`, `active:` work as expected\n- `group-hover:` requires `group` class on parent—child reacts to parent hover\n- `peer-focus:` requires `peer` class on sibling AND sibling must come first in DOM\n- Stack variants: `dark:hover:bg-gray-700` applies on hover in dark mode\n\n## Arbitrary Values\n\n- `bg-[#1da1f2]` for one-off colors—brackets for any arbitrary value\n- `w-[calc(100%-2rem)]` for calc expressions\n- `grid-cols-[1fr_2fr_1fr]` underscores for spaces in values\n- Arbitrary properties: `[mask-type:alpha]` for unsupported CSS properties\n\n## @apply Traps\n\n- `@apply` in component CSS loses responsive\u002Fstate variants—`@apply hover:bg-blue-500` doesn't work as expected\n- Order in `@apply` matters unlike HTML classes—later utilities override earlier\n- Prefer HTML classes over `@apply`—easier to maintain, better tree-shaking\n- If you must use `@apply`, keep it simple: base styles only\n\n## Configuration\n\n- `extend` adds to defaults: `extend: { colors: { brand: '#xxx' } }` keeps all existing colors\n- Top-level replaces defaults: `colors: { brand: '#xxx' }` removes all default colors\n- `theme()` function in CSS: `border-color: theme('colors.gray.200')`\n- Plugin order matters—later plugins can override earlier ones\n\n## Important Modifier\n\n- `!` prefix forces important: `!mt-4` generates `margin-top: 1rem !important`\n- Use sparingly—usually indicates specificity battle that should be fixed\n- `important: true` in config makes ALL utilities important—avoid, breaks third-party CSS\n- `important: '#app'` scopes specificity to selector—better than global important\n\n## Common Mistakes\n\n- `class=\"px-4 px-6\"` last one wins in stylesheet, not in HTML—both get applied, cascade decides\n- Forgetting `overflow-hidden` with `rounded-*` on parent with absolute children\n- `h-screen` doesn't account for mobile browser chrome—use `h-dvh` (dynamic viewport height)\n- `truncate` needs width constraint or `max-w-*` to actually truncate\n\n## Performance\n\n- JIT is default since v3—generates only used classes, no purge needed\n- Avoid `safelist` with patterns like `bg-*`—defeats tree-shaking\n- `@layer components` for reusable component styles—proper cascade order\n- Large arbitrary values generate unique classes—extract to config if repeated",{"id":24,"name":5,"tags":25,"goals":26,"authors":28,"category":29,"description":7},"tailwind-css",[24],[27],"Write Tailwind utility classes with proper responsive design, dark mode, and configuration.",[12],"framework","main","688810f2886d212632acf81e532b24e483dd8b98","skills\u002Fframework\u002Ftailwindcss","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills","https:\u002F\u002Fgithub.com\u002Fiberi22","Senior WEB Full-Stack","2026-10-12 02:46:21",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add iberi22\u002Fskills --skill \"Tailwind CSS\"",{"tool":43,"command":44},"bunx","bunx skills add iberi22\u002Fskills --skill \"Tailwind CSS\"",{"tool":46,"command":47},"pnpm","pnpm dlx skills add iberi22\u002Fskills --skill \"Tailwind CSS\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fframework\u002Ftailwindcss\u002FSKILL.md",true,[],[52,58,65,71,77,83],{"skillNo":53,"name":54,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M72TWQEQD46ZC9TRBAABF78P","web-design-guidelines","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fweb-design-guidelines\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M72TWMQFTYD08DGXVAXRPPEB","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall. Recovers the page via archives and provenance-checked fallbacks.","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M72TVQMS3HCTX18C8T97WTQQ","studio-coach","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftools\u002Fstudio-coach\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M72TVNA2PR9RZW0ZAXYP1G6J","src-generator","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftools\u002Fsrc-generator\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M72TVEJHHB6SAT3R3TY9MJKS","sqlite-pro","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftools\u002Fsqlite-pro\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M72TVC2EVBHQHCX96VTTYKB8","rigor-evaluator","Use when you need a quick heuristic rigor score (10 criteria, 0-2 each) for the features in a .gitcore\u002Ffeatures.json file, to decide which features are ready to ship.","https:\u002F\u002Fgithub.com\u002Fiberi22\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftools\u002Frigor-evaluator\u002FSKILL.md",[],[]]