跳到正文
cccskills
免费在 GitHub 公开

baoyu-design

Create HTML design artifacts, including interface mockups, interactive prototypes, and slide decks, then preview and verify them. The skill also guides importing design references and building reusable design systems with shared styles and components.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Create polished design artifacts as self-contained HTML: UI mockups, interactive prototypes, wireframes, landing pages, dashboards, app screens, mobile apps, slide decks (a.k.a. PPT / PowerPoint presentations), documents and résumés, animations, 3D objects, research reports, HTML email, diagrams, fliers, and visual explorations. Use whenever the user asks to design, mock up, prototype, wireframe, visualize, explore, or make a PPT/deck for an interface, product screen, user flow, content layout, visual artifact, or pitch/deck concept, even if they do not say "design". Also use to export a deck built with this skill to PowerPoint (PPT/PPTX) — but only decks authored here (deck-stage / this skill's slide-structured HTML), NOT arbitrary HTML, so confirm the target is such a deck first. Also use for setting up, importing, or authoring reusable design systems, UI kits, brand tokens, or component libraries. Harness-agnostic for Claude Code, Cursor, Codex Agent, and similar file-capable agents.

集成工具PowerPointFigma
查看安装方法

适用场景

  • Creating interface mockups
  • Exploring user flows with interactive prototypes
  • Creating slides and exporting them to PowerPoint
  • Building reusable design systems

包含的文件(199)

  • SKILL.md10.7 KB
  • agents/assets/vision-probe.png263 B
  • agents/build-preview.mjs66.4 KB
  • agents/check-design-system.mjs4.3 KB
  • agents/compile-design-system.mjs14.5 KB
  • agents/design-system-checker.md1.9 KB
  • agents/fork-verifier-agent.md3.9 KB
  • agents/gen-pptx/.gitignore20 B
  • agents/gen-pptx/package-lock.json20.6 KB
  • agents/gen-pptx/package.json1.2 KB
  • agents/gen-pptx/src/browser/capture-editable.ts14.0 KB
  • agents/gen-pptx/src/browser/capture-screenshot.ts780 B
  • agents/gen-pptx/src/browser/dom-style.ts4.8 KB
  • agents/gen-pptx/src/browser/entry.ts1.1 KB
  • agents/gen-pptx/src/browser/gradient.ts9.0 KB
  • agents/gen-pptx/src/browser/media-browser.ts6.6 KB
  • agents/gen-pptx/src/browser/setup.ts9.4 KB
  • agents/gen-pptx/src/cli.ts4.1 KB
  • agents/gen-pptx/src/core/anim.ts13.7 KB
  • agents/gen-pptx/src/core/color.ts2.2 KB
  • agents/gen-pptx/src/core/css.ts7.0 KB
  • agents/gen-pptx/src/core/filename.ts519 B
  • agents/gen-pptx/src/core/fonts.ts1.2 KB
  • agents/gen-pptx/src/core/sanitize.ts511 B
  • agents/gen-pptx/src/core/units.ts581 B
  • agents/gen-pptx/src/index.ts385 B
  • agents/gen-pptx/src/orchestrator/driver.ts2.2 KB
  • agents/gen-pptx/src/orchestrator/errors.ts1.0 KB
  • agents/gen-pptx/src/orchestrator/inject.ts3.2 KB
  • agents/gen-pptx/src/orchestrator/output.ts652 B
  • agents/gen-pptx/src/orchestrator/run.ts6.1 KB
  • agents/gen-pptx/src/render/build-editable.ts3.8 KB
  • agents/gen-pptx/src/render/build-screenshot.ts1.4 KB
  • agents/gen-pptx/src/render/context.ts2.9 KB
  • agents/gen-pptx/src/render/list.ts2.4 KB
  • agents/gen-pptx/src/render/media-cache.ts2.9 KB
  • agents/gen-pptx/src/render/render-node.ts20.9 KB
  • agents/gen-pptx/src/render/text-runs.ts10.0 KB
  • agents/gen-pptx/src/render/timing.ts26.0 KB
  • agents/gen-pptx/src/types.ts5.6 KB
  • agents/gen-pptx/src/validate/validate.ts5.7 KB
  • agents/gen-pptx/test/anim-render.test.ts2.9 KB
  • agents/gen-pptx/test/anim.test.ts12.8 KB
  • agents/gen-pptx/test/core.test.ts8.3 KB
  • agents/gen-pptx/test/gradient.test.ts2.9 KB
  • agents/gen-pptx/test/timing.test.ts25.7 KB
  • agents/gen-pptx/test/vendor.test.ts5.4 KB
  • agents/gen-pptx/tsconfig.json495 B
  • agents/gen-pptx/vendor/pptxgenjs/libs/jszip.min.js95.3 KB
  • agents/gen-pptx/vendor/pptxgenjs/libs/polyfill.min.js97.0 KB
  • agents/gen-pptx/vendor/pptxgenjs/LICENSE1.1 KB
  • agents/gen-pptx/vendor/pptxgenjs/package.json279 B
  • agents/gen-pptx/vendor/pptxgenjs/src/core-enums.ts96.6 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/core-interfaces.ts46.3 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/gen-charts.ts99.4 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/gen-media.ts7.5 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/gen-objects.ts54.5 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/gen-tables.ts36.2 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/gen-utils.ts9.8 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/gen-xml.ts115.0 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/pptxgen.ts26.1 KB
  • agents/gen-pptx/vendor/pptxgenjs/src/slide.ts7.1 KB
  • agents/gen-pptx/vendor/pptxgenjs/types/index.d.ts71.5 KB
  • agents/gen-pptx/vendor/pptxgenjs/VENDOR.md3.9 KB
  • agents/gen-video/.gitignore20 B
  • agents/gen-video/package-lock.json16.3 KB
  • agents/gen-video/package.json778 B
  • agents/gen-video/src/cli.ts5.0 KB
  • agents/gen-video/src/orchestrator/driver.ts2.5 KB
  • agents/gen-video/src/orchestrator/encode.ts2.9 KB
  • agents/gen-video/src/orchestrator/errors.ts948 B
  • agents/gen-video/src/orchestrator/filename.ts519 B
  • agents/gen-video/src/orchestrator/output.ts762 B
  • agents/gen-video/src/orchestrator/run.ts7.3 KB
  • agents/gen-video/src/types.ts1.8 KB
  • agents/gen-video/src/validate/validate.ts2.2 KB
  • agents/gen-video/test/core.test.ts4.0 KB
  • agents/gen-video/tsconfig.json414 B
  • agents/import-design-system.mjs10.7 KB
  • agents/import-figma.mjs31.7 KB
  • agents/lib/asset-store.mjs6.7 KB
  • agents/lib/ds-core.mjs27.5 KB
  • agents/lib/ds-prompt.mjs12.5 KB
  • agents/record-asset.mjs7.4 KB
  • agents/tests/asset-store.test.mjs5.0 KB
  • agents/tests/build-preview.test.mjs1.5 KB
  • agents/tests/check-design-system.test.mjs2.4 KB
  • agents/tests/compile-design-system.test.mjs4.0 KB
  • agents/tests/ds-core.test.mjs10.6 KB
  • agents/tests/ds-prompt.test.mjs5.0 KB
  • agents/tests/fixtures/minimal.fig528 B
  • agents/tests/helpers.mjs4.4 KB
  • agents/tests/import-design-system.test.mjs4.4 KB
  • agents/tests/import-figma.test.mjs3.8 KB
  • agents/tests/project-types.test.mjs6.0 KB
  • agents/tests/record-asset.test.mjs3.6 KB
  • agents/tests/vision-probe-docs.test.mjs2.8 KB
  • agents/vendor/babel.min.js3.0 MB
  • agents/vendor/fflate.mjs31.4 KB
  • agents/vendor/fig-materialize.mjs311.7 KB
  • agents/vendor/react-18.3.1.production.min.js10.5 KB
  • agents/vendor/react-dom-18.3.1.production.min.js128.7 KB
  • agents/vision-probe-agent.md1.3 KB
  • built-in-skills/3d-object.md4.2 KB
  • built-in-skills/animated-video.md13.1 KB
  • built-in-skills/ask-the-user.md16.6 KB
  • built-in-skills/claude-api-in-prototypes.md1.1 KB
  • built-in-skills/create-design-system.md18.6 KB
  • built-in-skills/data-science.md21.6 KB
  • built-in-skills/data-visualization.md9.5 KB
  • built-in-skills/design-components.md3.3 KB
  • built-in-skills/design-feedback.md6.1 KB
  • built-in-skills/design-system-authoring-guide.md21.8 KB
  • built-in-skills/design-system-preview.md5.8 KB
  • built-in-skills/experiment-workflow.md11.4 KB
  • built-in-skills/export-as-pptx-editable.md9.8 KB
  • built-in-skills/export-as-pptx-screenshots.md2.9 KB
  • built-in-skills/export-as-video.md5.9 KB
  • built-in-skills/export-pptx-editable.md6.0 KB
  • built-in-skills/export-pptx-screenshots.md1.8 KB
  • built-in-skills/exportable-video.md2.3 KB
  • built-in-skills/flier.md2.1 KB
  • built-in-skills/frontend-design.md2.7 KB
  • built-in-skills/gemini-image.md604 B
  • built-in-skills/generate-images.md6.4 KB
  • built-in-skills/google-slides-safe.md821 B
  • built-in-skills/handoff-to-claude-code.md4.0 KB
  • built-in-skills/hi-fi-design.md3.3 KB
  • built-in-skills/html-email.md2.5 KB
  • built-in-skills/import-from-figma.md10.6 KB
  • built-in-skills/import-from-github.md2.4 KB
  • built-in-skills/import-from-html.md2.1 KB
  • built-in-skills/interactive-prototype.md423 B
  • built-in-skills/low-level-tweaks-api.md2.0 KB
  • built-in-skills/make-a-deck.md22.4 KB
  • built-in-skills/make-a-doc.md2.6 KB
  • built-in-skills/make-tweakable.md369 B
  • built-in-skills/maps-geography.md2.8 KB
  • built-in-skills/mobile-prototype.md3.3 KB
  • built-in-skills/options-stack.md1.1 KB
  • built-in-skills/read-pdf.md857 B
  • built-in-skills/save-as-pdf.md5.4 KB
  • built-in-skills/save-as-standalone-html.md5.7 KB
  • built-in-skills/send-to-canva.md3.5 KB
  • built-in-skills/send-to-figma.md1.8 KB
  • built-in-skills/social-media-content.md10.8 KB
  • built-in-skills/something-cool.md999 B
  • built-in-skills/sound-effects.md599 B
  • built-in-skills/speaker-notes.md1.5 KB
  • built-in-skills/trifold-brochure.md2.6 KB
  • built-in-skills/tweaks-protocol.md2.1 KB
  • built-in-skills/use-design-system.md18.2 KB
  • built-in-skills/watercolor-illustration.md12.2 KB
  • built-in-skills/web-research.md2.0 KB
  • built-in-skills/website-landing-page.md4.0 KB
  • built-in-skills/wireframe.md847 B
  • project-types.json2.1 KB
  • references/claude.md16.7 KB
  • references/codex.md7.1 KB
  • references/cursor.md10.7 KB
  • references/upstream-sync/apply-report.json21.2 KB
  • references/upstream-sync/built-in-skills.json224.4 KB
  • references/upstream-sync/provenance.json3.6 KB
  • references/upstream-sync/starter-components.json15.8 KB
  • references/upstream-system-prompt.md32.0 KB
  • starter-components/android-frame.jsx9.8 KB
  • starter-components/anim-demo.html7.9 KB
  • starter-components/animations-v2.jsx59.5 KB
  • starter-components/animations-v3.jsx53.9 KB
  • starter-components/animations.jsx24.0 KB
  • starter-components/browser-window.jsx4.4 KB
  • starter-components/chart-stage.js22.2 KB
  • starter-components/chrome-shell.js9.9 KB
  • starter-components/data-overlay.js94.4 KB
  • starter-components/deck-stage-patch.md61.0 KB
  • starter-components/deck-stage.js174.3 KB
  • starter-components/design-canvas-patch.md6.1 KB
  • starter-components/design-canvas.jsx53.3 KB
  • starter-components/doc-page.js37.4 KB
  • starter-components/facebook-shell.js15.2 KB
  • starter-components/file-window.js36.9 KB
  • starter-components/image-slot.js63.6 KB
  • starter-components/instagram-shell.js15.7 KB
  • starter-components/instagram-story.js13.9 KB
  • starter-components/ios-frame.jsx15.9 KB
  • starter-components/ios-shell.js12.4 KB
  • starter-components/linkedin-shell.js14.0 KB
  • starter-components/macos-window.jsx8.4 KB
  • starter-components/pinterest-shell.js12.0 KB
  • starter-components/post-card.js9.3 KB
  • starter-components/reddit-shell.js12.9 KB
  • starter-components/social-frames.js9.8 KB
  • starter-components/three-d-stage.js16.0 KB
  • starter-components/tiktok-shell.js18.7 KB
  • starter-components/tweaks-panel.jsx35.4 KB
  • starter-components/watercolor-kit.js48.1 KB
  • starter-components/x-shell.js13.6 KB
  • starter-components/youtube-shell.js13.2 KB
  • system-prompt.md46.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Design

You are an expert designer producing design artifacts as HTML on the user's behalf. This skill wraps a full design methodology — follow it whenever you're asked to design, mock up, prototype, wireframe, or visualize an interface. It is harness-agnostic: it runs on Claude Code, Cursor, Codex Agent, or any comparable file-capable agent, resolving each environment's unique tools from a per-harness reference doc.

How to use this skill

1. Load the methodology. Read system-prompt.md (in this skill's directory) — the core design process and craft standards. Follow it for the whole job.

2. Identify your harness and load its tool reference. Generic tools (shell, file read/write/edit/search, gh) work the same everywhere and need no special doc. The harness-unique tools — asking the user a question, previewing/showing a page, taking screenshots, and debugging/verifying — differ per environment. Detect your harness and read the matching doc once:

  • Claude Code (you have AskUserQuestion, SendUserFile, the Claude Preview MCP) → read references/claude.md.
  • Cursor (you have AskQuestion, the cursor-ide-browser / user-chrome-devtools MCP) → read references/cursor.md.
  • Codex Agent (you have functions.*, tool_search, Codex Browser/Chrome plugins, or Codex Plan Mode) → read references/codex.md.
  • Claude Desktop-like or unknown file-capable harness → use the generic workflow in system-prompt.md; ask questions in chat, write files normally, serve designs/ over HTTP, and tell the user the local file path + URL.

3. Load the right built-in skill(s). When starting a design project, read from built-in-skills/ (same directory):

  • The canonical 13-type routing table is in project-types.json. Use it when the request matches Slides, Mobile app design, Wireframe, Document, Animation, UI mockups, Résumé, 3D object, Research, HTML email, Color + type system, Diagram, or Flier.
  • The user explicitly asks for wireframes / low-fi / quick exploration → read built-in-skills/wireframe.md.
  • The user wants to set up / create / import a design system or UI kit (authoring the system itself) → read built-in-skills/design-system-authoring-guide.md (the full authoring flow), plus built-in-skills/create-design-system.md / built-in-skills/design-components.md as relevant. Generate the loadable artifacts with agents/compile-design-system.mjs and validate with the read-only checker (agents/check-design-system.mjs, or the agents/design-system-checker.md subagent) — see your harness reference for how to launch it. Finish by building the system's single-file review page with agents/build-preview.mjs (→ preview.html in the design-system folder) — see built-in-skills/design-system-preview.md.
  • The user provides a local Figma .fig file (as a design reference for a project, or to import as a design system) → read built-in-skills/import-from-figma.md. It drives agents/import-figma.mjs: outline first, then mount/materialize/render for references, or design-system for a full emission that continues into the authoring guide above. Decodes offline — no Figma account or MCP needed.
  • The user gives a GitHub repo as a design source (design-system data, a component library, or product code to reference) → read built-in-skills/import-from-github.md: browse with gh api, sparse-import narrowly into a scratch dir outside the project, record the repo URLs.
  • The user provides existing HTML/CSS pages as a design reference (loose files, saved/exported pages, or screens in a local codebase) → read built-in-skills/import-from-html.md: read the code not screenshots, extract tokens and states, copy assets out.
  • The project should follow / consume an existing design system (a regular project that uses one, not authoring) → read built-in-skills/use-design-system.md for discovery, importing a copy into _ds/<slug>/, wiring, loading the bound system's prompt and following it as a binding visual constraint (read its _ds/<slug>/_ds_prompt.md; its style is binding and it's a visual reference only — see that doc's "Load the design system's prompt"), starting-point seeds, and _d_meta.json.
  • The user wants a document — a resume, one-pager, memo, letter, or report meant to read and print as a paper page → read built-in-skills/make-a-doc.md.
  • The user wants an animated video / motion-design piece (timeline animation, explainer, product walkthrough) → read built-in-skills/animated-video.md. Once it looks right, the finished animation can be rendered to a real .mp4 via built-in-skills/export-as-video.md.
  • The user wants a 3D object → read built-in-skills/3d-object.md and start from starter-components/three-d-stage.js.
  • The user wants current-source research → read built-in-skills/web-research.md; cite live sources in the deliverable.
  • The user wants an HTML email → read built-in-skills/html-email.md; email-client constraints override normal browser layout instincts.
  • The user wants a diagram / chart / map → read built-in-skills/data-visualization.md, plus built-in-skills/maps-geography.md for geographic work.
  • The user wants a flier or brochure → read built-in-skills/flier.md or built-in-skills/trifold-brochure.md, and use starter-components/doc-page.js.
  • Otherwise (default) → read both built-in-skills/hi-fi-design.md and built-in-skills/interactive-prototype.md.
  • Other output types (deck, mobile app, animation, PDF/PPTX export, etc.) → read the matching file. For PPTX export, default to the editable export (export-as-pptx-editable.md; decks using the data-anim convention keep their animations as native PowerPoint builds); only use the screenshots export when the user explicitly asks for pixel-perfect, non-editable slides. The full list is at the bottom of system-prompt.md. One special case: if the user explicitly asks to be surprised / impressed without saying by what ("show me something cool", "surprise me") → read built-in-skills/something-cool.md and follow it (ask what they want first, then build). This is opt-in only — never the default.

For an explicitly painterly animation, the animation recipe also supports starter-components/watercolor-kit.js. Copy it before the animation engine when using watercolor components; it is optional, and ordinary animation projects do not need it.

4. Ask clarifying questions. For new or ambiguous work, use your harness's Ask-Question tool (see your reference doc) before building (see "Asking questions" in system-prompt.md). Confirm the design context (UI kit / design system / codebase / screenshots / brand), the fidelity, and what variations to explore. If there's no design context at all, ask the user to provide some — starting without it leads to weak design.

5. Set up the output folder. Ask where to save (default designs/<descriptive-project-name>/) and which design system(s) to use — discover available ones with glob designs/*/_ds_manifest.json and offer them (multiSelect: none / one / several). Create the project folder, write all HTML deliverables + copied assets there, and never scatter design files in the repo root. For each chosen system, import a self-contained copy with agents/import-design-system.mjs (→ _ds/<slug>/), record the binding in the project's _d_meta.json, then load that system's prompt and follow it as a binding visual style (read _ds/<slug>/_ds_prompt.md). As you build, also record each UI deliverable as an asset with agents/record-asset.mjs (this even bootstraps _d_meta.json for a project that uses no design system) — full flow in built-in-skills/use-design-system.md. Resuming an existing project? If the project folder already exists, read its _d_meta.json first: if it lists designSystems, load each bound system's prompt and follow it before designing (read each _ds/<slug>/_ds_prompt.md; don't re-ask which system to use).

6. Build, preview, and verify. Produce the deliverable following system-prompt.md, then surface it to the user and preview it over HTTP (the exact tools are in your harness reference doc) and confirm it loads cleanly. Fix any errors before finishing.

Notes

  • system-prompt.md is the single source of truth for craft; references/<harness>.md is the single source of truth for which tool to call. This file just orchestrates the entry flow.
  • references/upstream-system-prompt.md and references/upstream-sync/ are the exact latest snapshot extracted from claude-design-v2/ref; the operative prompt keeps portable harness/import/export behavior layered on top.
  • Keep deliverables self-contained: copy any asset you reference into the project folder.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Prepare software releases by detecting version files, reviewing changes, and writing changelogs in multiple languages. The workflow updates versions, creates annotated tags with release notes, and can publish GitHub Releases or fill in missing historical releases.

中文简介正在准备中。当前显示英语简介。

  • Preparing a new version from recent changes
  • Updating changelogs in multiple languages
  • Previewing release changes without modifying files
JimLiu/baoyu-design44592026年9月23日 更新

查看 JimLiu 的全部技能

报告此技能的问题