frontend-component-refactoring

Community

Refactor Vue components for cleaner, scalable UI.

Authorarpa73
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of duplicating HTML/CSS patterns across a Vue.js project by guiding teams to refactor into a lean, reusable component library with a consistent theming system.

Core Features & Use Cases

  • Component categorization: Organize UI into Base/Public/Admin to improve discoverability and reuse.
  • Theme separation: Introduce CSS variables and separate public/admin themes for consistent styling.
  • Migration workflow: Provide a structured process for extracting base components from large views and reducing duplication.
  • Design system alignment: Align components with a shared design vocabulary (buttons, cards, forms, typography) to ensure UX consistency.

Quick Start

Audit the codebase to identify repeated HTML/CSS patterns, then start by extracting core base components (e.g., BaseButton.vue, BaseCard.vue) and wiring them into public/admin layouts. Define theme variables in frontend/src/styles/themes and apply theming across routes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: frontend-component-refactoring
Download link: https://github.com/arpa73/AIKnowSys/archive/main.zip#frontend-component-refactoring

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.