Claude Code plugin with a systematic process for identifying repeated UI patterns, designing minimal shared components, and applying them across codebases.
When you say "I want to create a new component" or ask to audit UI patterns, Claude follows a 6-phase process:
- Audit — Search the codebase for all instances of the pattern
- Present — Generate a visual HTML report you open in the browser
- Decide — Design the minimal API (props, slots, emits)
- Create — Build the component
- Apply — Migrate all instances, running tests between batches
- Report — Document which cases don't apply and why
It also works when building new features — checks if existing shared components cover the use case before writing inline code.
claude plugin add https://github.com/josschavez/creating-shared-components-pluginThe skill activates automatically when you:
- Say "I want to create a new component"
- Ask to standardize a repeated UI pattern
- Ask to audit for reusable components
- Build a new feature that may need a reusable component
Josue Chavez — github.com/josschavez
MIT