AGENT SKILL
od-react-export
暂无简介
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-30
- Stars
- ★ 1
- Forks
- 0
02 资源文件 1
- 参考文档open-design.json5.2 KB
03 SKILL.md 正文
Export To React
Use this plugin when the user wants to hand an accepted OpenDesign artifact to a React app.
Workflow
- Inspect the current artifact and identify the smallest React component boundary that preserves the design.
- Produce React 18 + TypeScript code with clear props only for content or state that is likely to vary.
- Prefer Tailwind CSS when the target project already supports it; otherwise keep styling local and easy to move.
- Preserve accessibility semantics from the artifact, including headings, buttons, links, labels, focus states, and alt text.
- Finish with file placement notes, required assets, and any assumptions about routing or data.
Quality Bar
- Do not flatten the artifact into generic divs.
- Do not introduce a component library unless the target project already uses it.
- Keep generated props and variants minimal.
04 同仓库更多 Skills
Beta Skill
Instruction-only fixture skill.
★ 1
Alpha Skill
First fixture skill with a runnable demo.
★ 1
Deck One
A small deck template fixture.
★ 1
youtube-clipper
YouTube clip generation and editing with automated workflows — pull source video, slice highlights, add captions, and export.
★ 1
writing-guidelines
Review docs/prose for Writing Guidelines compliance. Use when asked to "review my docs", "check writing style", "audit prose", "review docs voice and tone", or "check this page against the writing handbook".
★ 1
wpds
WordPress Design System. Apply WordPress's official design tokens, typography, and component patterns to themes and sites.
★ 1