cui-frontend-development
CommunityBuild modern, high-quality web UIs with ease.
Authorcuioss
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Frontend development often suffers from inconsistent coding styles, poor documentation, and inadequate testing, leading to maintainability issues and bugs. This Skill provides a comprehensive set of standards for JavaScript, CSS, Web Components, JSDoc, and Cypress, ensuring a unified, high-quality, and efficient frontend development process, so you can build beautiful UIs faster.
Core Features & Use Cases
- Modern JavaScript: Enforces ES2022+ syntax, vanilla JS preference, and strict complexity limits for clean, performant code.
- Structured CSS: Guides the use of CSS custom properties, Grid/Flexbox, BEM conventions, and Stylelint for maintainable styles.
- Lit Web Components: Standardizes component structure, property management, and CSS-in-JS for reusable UI elements.
- Comprehensive Testing: Provides Cypress E2E testing patterns with
data-testidselectors and console error monitoring for robust quality assurance. - Use Case: When developing a new user interface, use this skill to ensure your JavaScript adheres to modern best practices, your CSS is modular and responsive, your web components are well-structured, and your E2E tests provide reliable coverage, letting you focus on user experience.
Quick Start
Create New Web Component
- Define component class extending LitElement
- Add static styles with CSS-in-JS
- Define properties with decorators
- Implement render() method
- Register with customElements.define()
- Add JSDoc documentation
- Write Cypress tests
Add E2E Test
- Create test file in cypress/e2e/
- Use data-testid for selectors
- Test user workflows end-to-end
- Verify console errors
- Ensure test independence
- Run:
npm run cypress:run
Dependency Matrix
Required Modules
Node.jsnpmLitCypressJestBabelESLintStylelintPostCSSPrettier
Components
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cui-frontend-development Download link: https://github.com/cuioss/cui-llm-rules/archive/main.zip#cui-frontend-development Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.