import · subframeapp — Claude Code skill: what it does, how to install
Imports an existing codebase or website design system into Subframe. Recreates theme tokens, typography, icon assets, and reusable component libraries.
no license 266 installs ★ 467 updated 2026-11-07
npx skills add SubframeApp/subframe --skill import -a claude-codeWhat import does
The skill performs a strict audit of the source assets before touching destination themes. It parses Tailwind CSS configs, global stylesheet files, font rules, and icon sprites to establish a full N of M inventory. When inspecting live websites, the agent uses environment browser tools to examine computed styles and actual rendered states.
Execution order matters during the migration. Missing fonts and theme tokens land first, followed by icon glyphs, and finally UI components built from primitives up to composites. Dark values are stored as explicit dark mode overrides via edit_theme rather than flattened into base colors.
Runtime application logic and network calls stay in the original repository. The skill ports solely the visual contract, expressing dynamic states as Subframe component variants.
What it helps with
- extract theme tokens from Tailwind CSS configurations into Subframe
- upload missing web fonts and recolorable SVG icons
- map dark mode overrides without flattening the primary palette
- recreate nested UI components in proper dependency order
Example prompts for the agent
- Import the design system from this repository into Subframe.
- Transfer our Tailwind CSS theme tokens and dark mode overrides to Subframe.
- Audit and port button primitives and icon assets from the frontend directory into Subframe.
How to install import
1Skills CLI (Vercel)
npx skills add SubframeApp/subframe --skill import -a claude-code2Manually: put the files in place
~/.claude/skills/import/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/import/
1Skills CLI (Vercel)
npx skills add SubframeApp/subframe --skill import -a codex2Manually: put the files in place
.agents/skills/import/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add SubframeApp/subframe --skill import -a cursor2Manually: put the files in place
.cursor/skills/import/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install SubframeApp/subframe plugins/subframe/skills/import2Manually: put the files in place
.github/skills/import/SKILL.md1Skills CLI (Vercel)
npx skills add SubframeApp/subframe --skill import -a gemini-cli2Platform CLI
gemini skills install https://github.com/SubframeApp/subframe --path plugins/subframe/skills/importManually: put the files in place
.devin/skills/import/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add SubframeApp/subframe --skill import -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about import
How to install import in Claude Code?
Run npx skills add SubframeApp/subframe --skill import -a claude-code in your terminal.
What does the import skill do?
It audits design tokens, typography, SVGs, and component structures in your project, then recreates them inside Subframe.
Does this skill migrate application logic and API calls?
No. It ports the visual layer and component variants only, leaving data fetching and state handling inside the source app.
Similar skills
All skills for Design →import by other authors comes first.