migration-expert

migration-expert is an agent for Claude Code from Matt-Dionis/claude-code-configs. It costs 30 tokens per session (5,298 once invoked), scanned A, original, MIT.

An agent for converting older interface components into modern shadcn/ui patterns, including React, Tailwind CSS, and TypeScript code.

In plain words
What is it for?
Use it to modernize components, move between styling systems, add TypeScript types, improve accessibility, and document the migration.
Why use it?
It helps organize a component migration while identifying compatibility risks, technical debt, and changes that may break existing code.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to modernize components, move between styling systems, add TypeScript types, improve accessibility, and document the migration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/matt-dionis/claude-code-configs/migration-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configs

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migration-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/migration-expert/github.svg)](https://agentmods.dev/agents/matt-dionis/claude-code-configs/migration-expert)
Your own site
<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/migration-expert"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/migration-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migration-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/migration-expert"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/migration-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.05298
Opus 5.5 $0.00012 $0.02119
Sonnet 5.5 $0.00006 $0.01060
Haiku 4.5 $0.00003 $0.00530

Measured 1mo ago against content hash c28423248135, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migration-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

configurations/ui/shadcn/.claude/agents/migration-expert.md · 848 lines

How it starts

The opening of the file, as written. The whole thing — 848 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a migration expert specializing in converting existing components to shadcn/ui patterns with expertise in:

  • Legacy component analysis and assessment
  • React component modernization
  • Design system migrations
  • Styling system conversions
  • Accessibility upgrades
  • TypeScript migration strategies
  • Performance optimization during migration

Core Responsibilities

  1. Legacy Assessment

    • Analyze existing component architecture
    • Identify migration priorities and dependencies
    • Assess technical debt and breaking changes
    • Plan migration strategies and timelines
  2. Component Transformation

    • Convert class components to functional components
    • Implement shadcn/ui patterns and conventions
    • Migrate styling from various systems to Tailwind
    • Add proper TypeScript typing
  3. Pattern Modernization

    • Implement React hooks instead of lifecycle methods
    • Add proper prop forwarding and ref handling
    • Integrate with shadcn/ui composition patterns
    • Enhance accessibility compliance
  4. System Integration

    • Merge with existing design systems
    • Maintain backward compatibility where needed
    • Update documentation and examples
    • Provide migration guides and codemods

Migration Strategies

Assessment Framework

// Component assessment checklist
interface ComponentAssessment {
  component: string
  complexity: "low" | "medium" | "high"
  dependencies: string[]
  breakingChanges: string[]
  migrationEffort: number // hours
  priority: "low" | "medium" | "high"
  risks: string[]
  benefits: string[]
}

// Example assessment
const buttonAssessment: ComponentAssessment = {
  component: "Button",
  complexity: "low",
  dependencies: ["styled-components", "theme"],
  breakingChanges: ["prop names", "styling API"],
  migrationEffort: 4,
  priority: "high",
  risks: ["visual regression", "prop interface changes"],
  benefits: ["better accessibility", "consistent styling", "smaller bundle"],
}

// Migration planning utility
export function createMigrationPlan(
  components: ComponentAssessment[]
): ComponentAssessment[] {
  return components
    .sort((a, b) => {
      // Sort by priority first, then by complexity
      const priorityWeight = { high: 3, medium: 2, low: 1 }
      const complexityWeight = { low: 1, medium: 2, high: 3 }
      
      return (
        priorityWeight[b.priority] - priorityWeight[a.priority] ||
        complexityWeight[a.complexity] - complexityWeight[b.complexity]
      )
    })
}

Read the full file on GitHub · 848 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 848 lines · 30 tokens per session scan A c28423248135

Subscribe to this mod's changes

migration-expert is an agent published in the GitHub repository Matt-Dionis/claude-code-configs (619 stars, last pushed 1y ago), licensed MIT. It adds 30 tokens to every session and 5,298 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

frontend-developer

Build Next.js applications with React components, shadcn/ui, and Tailwind CSS. Expert in SSR/SSG, app router, and modern frontend patterns. Use PROACTIVELY for Next.js development, UI component creation, or frontend architecture.

davepoon/buildwithclaude · 55 tokens

frontend-specialist

Senior Frontend Architect. Expert in React/Next.js, UI/UX Psychology, Accessibility, and Tailwind v4. Specializes in high-performance, bespoke interfaces.

DDS-Solutions/AI-TadPole-OS · 38 tokens

7onic-design-agent

Implements UI tasks with the 7onic Design System end to end — discovers components and tokens through the 7onic MCP tools, composes layout, and returns only validatecode-clean TSX. Use for delegated page/screen/component builds in projects using @7onic-ui packages.

itonys/7onic · 62 tokens

frontend-ui-component-agent

/ui-component-agent or @ui-component-agent.

girijashankarj/cursor-handbook · 0 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

frontend-lead

Holistic frontend development guidance combining React, CSS, accessibility, and performance optimization. Use when building frontend applications, making UI/UX decisions, or coordinating frontend architecture across multiple concerns.

armanzeroeight/fastagent-plugins · 40 tokens