skills/tailwindcss/SKILL.md
Write Tailwind utility classes with proper responsive design, dark mode, and configuration.
npx skillsauth add iberi22/swal-skills Tailwind CSSInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
content array in tailwind.config.js must include ALL files with classes—missing paths = missing styles in production"./src/**/*.{js,jsx,ts,tsx,html}" covers nested directoriesbg-${color}-500 won't be detected—use complete class names or safelistmd: applies at medium AND abovesm:hidden md:block means hidden on small, visible on medium+—not "only on medium"extend.screens to add without replacingdark: prefix requires darkMode: 'class' in config—won't work with default media strategy if you need manual toggle<html> or <body>, not on individual componentsdark:bg-gray-900 only applies when ancestor has class="dark"darkMode: 'media' uses prefers-color-schemehover:, focus:, active: work as expectedgroup-hover: requires group class on parent—child reacts to parent hoverpeer-focus: requires peer class on sibling AND sibling must come first in DOMdark:hover:bg-gray-700 applies on hover in dark modebg-[#1da1f2] for one-off colors—brackets for any arbitrary valuew-[calc(100%-2rem)] for calc expressionsgrid-cols-[1fr_2fr_1fr] underscores for spaces in values[mask-type:alpha] for unsupported CSS properties@apply in component CSS loses responsive/state variants—@apply hover:bg-blue-500 doesn't work as expected@apply matters unlike HTML classes—later utilities override earlier@apply—easier to maintain, better tree-shaking@apply, keep it simple: base styles onlyextend adds to defaults: extend: { colors: { brand: '#xxx' } } keeps all existing colorscolors: { brand: '#xxx' } removes all default colorstheme() function in CSS: border-color: theme('colors.gray.200')! prefix forces important: !mt-4 generates margin-top: 1rem !importantimportant: true in config makes ALL utilities important—avoid, breaks third-party CSSimportant: '#app' scopes specificity to selector—better than global importantclass="px-4 px-6" last one wins in stylesheet, not in HTML—both get applied, cascade decidesoverflow-hidden with rounded-* on parent with absolute childrenh-screen doesn't account for mobile browser chrome—use h-dvh (dynamic viewport height)truncate needs width constraint or max-w-* to actually truncatesafelist with patterns like bg-*—defeats tree-shaking@layer components for reusable component styles—proper cascade ordertesting
Xavier2 as the central context engine for SWAL - intelligent memory, decision-making, and context orchestration. Xavier2 is the CEO brain that stores memories, coordinates agents, and maintains project state.
tools
Delegate coding tasks to Codex, Claude Code, or Pi agents via background process. Use when: (1) building/creating new features or apps, (2) reviewing PRs (spawn in temp dir), (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit), reading code (use read tool), thread-bound ACP harness requests in chat (for example spawn/run Codex or Claude Code in a Discord thread; use sessions_spawn with runtime:"acp"), or any work in ~/clawd workspace (never spawn agents here). Claude Code: use --print --permission-mode bypassPermissions (no PTY). Codex/Pi/OpenCode: pty:true required.
testing
Validador automático para WorldExams. Verifica integridad técnica y calidad pedagógica, activando regeneración automática si es necesario.
tools
Generador de bundles de preguntas ICFES Colombia (Matemáticas, Lectura Crítica, Ciencias, Sociales, Inglés) para grados 6, 9 y 11 usando MiniMax MCP.