Home / Skills / nexu-io/open-design

od-nextjs-export

skillLicense: Apache-2.0 Source: nexu-io/open-design

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit nexu-io/open-design/plugins/_official/scenarios/od-nextjs-export .claude/skills/od-nextjs-export

Or install it for every project:

npx degit nexu-io/open-design/plugins/_official/scenarios/od-nextjs-export ~/.claude/skills/od-nextjs-export

File content

Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗

# Export To Next.js

Use this plugin when the user wants to hand an accepted OpenDesign artifact to a Next.js App Router project.

## Workflow

1. Decide whether the result should be a route, layout fragment, or reusable component.
2. Keep components server-first unless interactivity, browser APIs, or client state require `'use client'`.
3. Preserve the artifact's visual system while adapting image, link, font, and metadata usage to Next.js conventions.
4. Prefer Tailwind CSS when the target project already supports it; otherwise keep styling local and easy to move.
5. Finish with file placement notes, client/server assumptions, assets, and any data requirements.

## Quality Bar

- Do not mark the whole tree as client-side unless necessary.
- Do not add framework features unrelated to the artifact handoff.
- Keep route and component boundaries easy to review.