Agent skill
phoenix-design
BEM CSS naming conventions for the Phoenix frontend. Use when naming new CSS classes or className assignments in app/src/.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/phoenix-design
Metadata
Additional technical details for this skill
- author
- [email protected]
- version
- 1.0.0
- internal
- YES
SKILL.md
Phoenix Design System — BEM Naming
Pattern
block → disclosure, tabs, slider
block__element → slider__label, dialog__title, search-field__icon
block--modifier → theme--dark, dropdown--picker
Rules
- Block: A standalone component —
disclosure,search-field,toggle-button - Element: A part that cannot exist independently — uses
__separator —slider__label,field__icon - Modifier: A variant or state — uses
--separator —theme--dark,dropdown--picker - Compound names within a segment use hyphens:
search-field,toggle-button,dialog__close-button - No prefix — never add any prefix to class names
Examples
className="search-field"
className="search-field__clear"
className="disclosure__panel"
className="theme--dark"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?