mcpField
N
no-duplicate-ui

no-duplicate-ui

github.com/heyeddi-comTesting & quality087 installsUpdated 1d ago
Repository

About no-duplicate-ui

A skill for finding and consolidating duplicate UI components in a project. It guides users to scan for similar wrappers, review likely matches, and move shared components into `@/components/ui/`.

Key features

  1. 01Scan project for duplicate UI
  2. 02Review template similarity and filenames
  3. 03Consolidate shared components

Use cases

  1. 01Checking a PR that adds a Button or Card wrapper
  2. 02Consolidating forked components
  3. 03Running an optional pre-merge duplicate scan

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/heyeddi-com/heyeddi-skills --skill no-duplicate-ui

After installing, type/no-duplicate-uiin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

manifest.json
context/
ANTI_PATTERNS.md
EXAMPLES.md
PROSE_ANTI_SLOP.md
VOCABULARY.md
scripts/
_skill_cli.py
find_duplicate_ui.py

Details

From the project README

No Duplicate UI

When to use

  • PR adds a new Button/Card wrapper similar to existing ones
  • Refactoring to consolidate forked components
  • Pre-merge gate optional duplicate scan

Instructions

  1. Run python scripts/find_duplicate_ui.py --project-root <root>.
  2. Review pairs with high template similarity or matching filenames.
  3. Consolidate into shared components under @/components/ui/.

Comments

Markdown supported