migrate-radix-to-base SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

migrate-radix-to-base from shadcn/ui is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shadcn/ui/migrate-radix-to-base@git:20260703.f3e7de1

Pins git:20260703.f3e7de1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shadcn/ui
Path
skills/migrate-radix-to-base/SKILL.md
Versions recorded
1
Latest version
git:20260703.f3e7de1, committed Jul 3, 2026
Size
9,313 bytes
Repository stars
128,500
License
MIT

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Radix UI -> Base UI migration

You migrate shadcn wrappers, hand-rolled radix compositions, and their
consumers to `@base-ui/react`, keeping the project buildable at every step.
Be precise; never guess a mapping. When a prop or part is not in these
reference files, check `node_modules/@base-ui/react/**/*.d.ts` before
transforming, and record gaps in the report.

## Preflight (always)

1. `npx shadcn@latest info --json` (or the project's runner): gives the
   current base, STYLE (e.g. `radix-lyra`), tailwind version, aliases,
   installed components, and package manager. Trust it over inference.
2. Detect the package manager (packageManager field / lockfile:
   pnpm-lock.yaml, bun.lock, yarn.lock, package-lock.json) and use IT for
   every install. Never leave a stale lockfile.
3. Require a clean git tree; work on a branch; one commit per component.
4. Baseline check BEFORE touching dependencies: run the project's
   typecheck/build so pre-existing failures are never attributed to you.
5. Install `@base-ui/react` alongside radix. Radix packages are removed only
   after the LAST component is migrated (both coexist fine).
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_p5ofb477w2nv273m/64c879f6f1eab0decc306ca52ad32d41327c05c4d2fb7e708335e956c61dadf8.json

Then /plugin install migrate-radix-to-base@markdownregistry-p5ofb477w2nv273m in Claude Code. It installs git:20260703.f3e7de1, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add shadcn/ui/migrate-radix-to-base@sha256:64c879f6f1eab0de

The line at the top of this page pins the label git:20260703.f3e7de1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_p5ofb477w2nv273m.svg)](https://markdownregistry.com/a/art_p5ofb477w2nv273m)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in shadcn/ui/migrate-radix-to-base since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of migrate-radix-to-base from somewhere else? Ask it: where did my migrate-radix-to-base come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Jul 3, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260703.f3e7de1 latest2026-07-03 f3e7de1 9,313 BA view

Copies

Copies in other repositories

1 file in 1 other repository holds the exact bytes of one of this file's versions, each committed after this file had them: it holds the newest version.

A copy does not update when this file does. Whoever holds one can learn which version it is with the Check your copy box below, or by asking their agent. Matched on exact bytes and commit dates only.

Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9313 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

shadcn/ui · 128,500 stars · license MIT · pushed 2026-11-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_p5ofb477w2nv273m
GET https://markdownregistry.com/api/v1/resolve?ref=shadcn/ui/migrate-radix-to-base
GET https://markdownregistry.com/api/v1/blob/64c879f6f1eab0decc306ca52ad32d41327c05c4d2fb7e708335e956c61dadf8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from shadcn/ui

AGENTS.md@apps/v4 AGENTS.md file
shadcn/ui · apps/v4/AGENTS.md
git:20261026.5687d64 · audit A · 128,500 stars
CLAUDE.md@apps/v4 CLAUDE.md file
shadcn/ui · apps/v4/CLAUDE.md
git:20261026.5687d64 · audit B · 128,500 stars
llms.txt@apps/v4/public llms.txt file
shadcn/ui · apps/v4/public/llms.txt
git:20260710.3cdaa6e · audit A · 128,500 stars
shadcn SKILL.md skill
shadcn/ui · skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including…
git:20261014.4233ed1 · audit A · 128,500 stars
AGENTS.md@templates/next-app AGENTS.md file
shadcn/ui · templates/next-app/AGENTS.md
git:20260930.b0fcb58 · audit A · 128,500 stars
CLAUDE.md@templates/next-app CLAUDE.md file
shadcn/ui · templates/next-app/CLAUDE.md
git:20260930.b0fcb58 · audit B · 128,500 stars
AGENTS.md@templates/next-monorepo AGENTS.md file
shadcn/ui · templates/next-monorepo/AGENTS.md
git:20260930.b0fcb58 · audit A · 128,500 stars
CLAUDE.md@templates/next-monorepo CLAUDE.md file
shadcn/ui · templates/next-monorepo/CLAUDE.md
git:20260930.b0fcb58 · audit B · 128,500 stars

Every file in shadcn/ui

Other files named migrate-radix-to-base

migrate-radix-to-base SKILL.md skill
aiskillstore/marketplace · pending/shadcn-ui/migrate-radix-to-base/SKILL.md · Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui…
git:20260924.cdceeaf · audit A · 486 stars

Browse by kind, by grade A, or by owner.