Coding with tailiwnd
Skill ComeOnOliver/skillshub/skills/aiskillstore/marketplace/emz1998/coding-with-tailiwnd
Use this skill when you need to code with tailwind cssFrom its SKILL.md
npx -y skills add ComeOnOliver/skillshub --skill coding-with-tailiwndAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.2 KB, 273 tokens by cl100k_base, as published. Nobody here has run it
Instructions
- Follow the rules below to code with tailwind css:
Rules
- Create a seperate css file to style the component
- Use the tailwind
applydirective to style the component - Use the
@layer componentsdirective to style the component - For tailwind 4.1 context, read the following docs:
.claude/context/tailwind/tw-v4-theme-variable.mdto get the design principles.claude/context/tailwind/tw-v4-custom-styles.mdto get the custom styles.claude/context/tailwind/tw-v4-function-and-directives.mdto get the functions and directives.claude/context/tailwind/tw-v4-detecting-classes-in-source-files.mdto get the detecting classes in source files.claude/context/tailwind/tw-v4-upgrade-guide.mdto get the upgrade guide
- Use nested classes in
@layer componentsfor styling parents and children elements - Use @utility directives to add custom utilities to the component
- Use @variant directives to add custom variants to the component
- Create a new component in
srs/componentsroot directory - Never touch the files in
srs/components/uidirectory
What ships with it
11.1 KB alongside SKILL.md
GitHub clipped this repository’s file list, so this is at least 1 file and may be more.
- skill-report.json11.1 KB