Skip to content
Back to skills

Component Transformer

ASecurity

Orchestrates the migration of legacy MUI or generic components to the Northcote Curio design system. Specializes in "Refactor-on-Port" logic, ensuring visual transformation while preserving business state and behavioral integrity.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentgo

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill component-transformer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Component Transformer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Component Transformer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-component-transformer/badge)](https://www.skillsdirectory.com/skills/majiayu000-component-transformer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: component-transformer
description: Orchestrates the migration of legacy MUI or generic components to the Northcote Curio design system. Specializes in "Refactor-on-Port" logic, ensuring visual transformation while preserving business state and behavioral integrity.
---

# Component Transformer Skill

## Migration Steps

### 1. The Audit (Discovery)

Use the `token-orchestrator` principles to scan the file for:

- ❌ Hardcoded colors (hex, rgb, rgba)
- ❌ Hardcoded spacing (padding, margin, gap in px)
- ❌ Hardcoded radii (4px, 8px, etc.)
- ❌ Generic fonts (Inter, Arial, System)
- ❌ Standard easing (ease-in-out)

### 2. The Context Selection

Determine if the component belongs in:

- **Mode A (Gallery)**: For "Wonder" (Marketing, Profile Hero, Landing).
- **Mode B (Laboratory)**: For "Rigor" (Parsing, Data, Settings, Editor).

### 3. The Transformation (Mapping)

Replace generic values with the Northcote Token Set:

- **Colors**: Map to `primary-wattle`, `tertiary-waratah`, `parchment`, etc.
- **Typography**: Inject the **Federation Stack**.
  - Wrap primary headers in `banksia-composition`.
  - Apply `font-variation-settings` for parametric weight (XTRA: 468).
- **Physics**: Replace linear transitions with `ease-viscous` or `ease-settle`.
- **Morphology**: Apply asymmetric border-radii (`radius-pebble`, etc.).

### 4. Behavioral Preservation

Ensure no business logic, event handlers, or state management is lost or altered during the visual upgrade.

### 5. Verification

- Generate unit tests using `jest-test-scaffolder`.
- Create a Storybook story using `storybook-scaffolder`.

## Implementation Principles

- **Anti-Slop**: Reject any transformation that results in a "generic SaaS" look.
- **Parametric**: Engage variable font axes for interactive elements (e.g., GRAD hover).
- **Layout-Safe**: Prefer `GRAD` over `wght` for hover animations to prevent reflow.

## Usage Example

"Transform Header.tsx to the Northcote Curio system. It should be in Gallery mode."

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.