smithery/Emz1998

designing-components

Use this skill when you need to design a component

Installation

$ npx skills add smithery/Emz1998 --skill designing-components

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/Emz1998.

npx skills add smithery/Emz1998

Browse all from smithery/Emz1998

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,200 B
  • docs SUMMARY.md 78 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Instructions

  • Follow the rules below to design a component:

Rules

  • Create a seperate css file to style the component
  • Use the tailwind apply directive to style the component
  • Use the @layer components directive to style the component
  • For tailwind 4.1 context, read the following docs:

- .claude/context/tailwind/tw-v4-theme-variable.md to get the design principles - .claude/context/tailwind/tw-v4-custom-styles.md to get the custom styles - .claude/context/tailwind/tw-v4-function-and-directives.md to get the functions and directives - .claude/context/tailwind/tw-v4-detecting-classes-in-source-files.md to get the detecting classes in source files - .claude/context/tailwind/tw-v4-upgrade-guide.md to get the upgrade guide

  • Use nested classes in @layer components for 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/components root directory
  • Never touch the files in srs/components/ui directory