Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sanity-ui-migration-progress

Skill by sanity-io

Measures how far a side-by-side @sanity/ui v5 migration has progressed in a directory. Reports per-component import, JSX and styled() counts for teams tracking migration status.

  • Score 85
  • 6.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sanity-ui-migration-progress

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sanity-io/sanity /tmp/sanity && mkdir -p ~/.claude/skills && cp -r /tmp/sanity/.agents/skills/sanity-ui-migration-progress ~/.claude/skills/sanity-ui-migration-progress

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sanity-ui-migration-progress in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The sanity-ui-migration-progress skill reports how far a migration from @sanity/ui to v5 has progressed in a directory tree. It assumes a side-by-side setup where v5 is installed under an alias, usually ui5. Migrated components import from the alias, while unmigrated ones still import from @sanity/ui. A bash script, measure-progress.sh, counts files importing each component from each package, plus JSX and styled() instances, resolving aliases along the way.

The script can scan the repo root or a subdirectory, and it can measure a named component even before its migration has started. It detects the alias from package.json when the default finds no imports. The skill only reports results. It does not install dependencies or run migrations. It is aimed at developers who need migration status for a batch or periodic snapshots, including in CI.

Written from the project's SKILL.md and checked against it.

What it can do

  • Per-component import countsCounts files importing a component from the v5 alias and from @sanity/ui.
  • JSX instance countsCounts migrated and unmigrated JSX instances using alias-resolved bindings.
  • styled() instance countsCounts styled(LocalName) instances at their definition sites.
  • Alias auto-detectionFinds the v5 alias from the nearest package.json when the default alias has no imports.
  • Single component measurementReports one or more named components with the --component flag, even before migration starts.
  • Progress summaryGroups components into fully migrated and in progress, using a markdown template.

What you need

  • Bash shell
  • ripgrep (rg) for alias detection
  • A repo with a v5 alias in package.json (side-by-side setup)

Try asking

  • Show @sanity/ui v5 migration progress across the whole repo
  • Measure migration progress for the Flex component in src/
  • Compare current @sanity/ui v5 migration status to our last baseline

Good to know

  • Reports only. Does not install dependencies or run migrations.
  • Element-type indirection such as cond ? Box : Card is not counted.
  • Cross-file styled wrappers are counted only where they are defined.
  • Counts depend on the directory scanned, so the scope should be stated in reports.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/sanity-ui-migration-progress/SKILL.md, .agents/skills/sanity-ui-migration-progress/scripts/measure-progress.sh. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • scripts/measure-progress.sh11 KB

Alternatives to sanity-ui-migration-progress

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

sanity-ui-migration-progress: common questions

What does the sanity-ui-migration-progress skill measure?

It measures per-component import file counts for the v5 alias and @sanity/ui, plus JSX and styled() instance counts with alias resolution. The source describes these as progress measures for a directory.

Does this skill migrate components automatically?

No. The source says the skill reports only and does not install dependencies or run migrations.

What happens if a repo has no v5 alias?

If discover mode finds no v5 imports, the skill reports that and stops. A missing alias in package.json means there is no side-by-side setup to measure.

How do I install sanity-ui-migration-progress?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sanity-ui-migration-progress free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is sanity-ui-migration-progress safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sanity-ui-migration-progress?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

sanity-ui-migration-progress Install

Add to stack

Loading.