Skip to content

mxyhi/ok-skills / huashu-design

huashu-design

Unverified

花叔Design——用HTML做高保真原型、幻灯片、动画、可视化与专家评审。任何新设计100%先出三个方向初稿给用户选(指定风格/品牌也不豁免),选定后才执行。触发词:做原型、PPT、幻灯片、动画、设计风格、评审、做个HTML页面、UI mockup、导出MP4/GIF、做个好看的。生产级Web App/需后端的系统不适用。

FileKindSize
.env.exampleother463 B
.gitignoreother844 B
LICENSEother1.1 KB
README.en.mdmarkdown27.9 KB
README.mdmarkdown28.2 KB
SECURITY.mdmarkdown7.2 KB
SKILL.mdskill md15.2 KB
assets/android_frame.jsxother4.4 KB
assets/animations.jsxother10.3 KB
assets/banner.svgother9.3 KB
assets/bgm-ad.mp3binary4.7 MB
assets/bgm-educational-alt.mp3binary4.3 MB
assets/bgm-educational.mp3binary3.9 MB
assets/bgm-tech.mp3binary4.6 MB
assets/bgm-tutorial-alt.mp3binary3.8 MB
assets/bgm-tutorial.mp3binary5.3 MB
assets/browser_window.jsxother3.9 KB
assets/cursor.jsxother14.1 KB
assets/deck_index.htmlother20.8 KB
assets/deck_stage.jsscript11.4 KB
assets/design_canvas.jsxother5.1 KB
assets/director-notes-samples/launch-film-30s-sample.mdmarkdown78.3 KB
assets/ios_frame.jsxother4.6 KB
assets/macos_window.jsxother2.5 KB
assets/narration_stage.jsxother20.2 KB
assets/personal-asset-index.example.jsonconfig1.8 KB
assets/sfx/container/card-flip.mp3binary11.9 KB
assets/sfx/container/card-snap.mp3binary8.6 KB
assets/sfx/container/modal-open.mp3binary10.2 KB
assets/sfx/container/stack-collapse.mp3binary13.5 KB
assets/sfx/feedback/achievement.mp3binary24.1 KB
assets/sfx/feedback/error-tone.mp3binary11.9 KB
assets/sfx/feedback/notification-pop.mp3binary10.2 KB
assets/sfx/feedback/success-chime.mp3binary16.8 KB
assets/sfx/impact/brand-stamp.mp3binary16.8 KB
assets/sfx/impact/drop-thud.mp3binary11.9 KB
assets/sfx/impact/logo-reveal-v2.mp3binary24.1 KB
assets/sfx/impact/logo-reveal.mp3binary24.1 KB
assets/sfx/keyboard/delete-key.mp3binary8.6 KB
assets/sfx/keyboard/enter.mp3binary8.6 KB
assets/sfx/keyboard/space-tap.mp3binary8.6 KB
assets/sfx/keyboard/type-fast.mp3binary24.1 KB
assets/sfx/keyboard/type.mp3binary13.5 KB
assets/sfx/magic/ai-process.mp3binary19.6 KB
assets/sfx/magic/sparkle.mp3binary13.5 KB
assets/sfx/magic/transform.mp3binary16.8 KB
assets/sfx/progress/complete-done.mp3binary13.5 KB
assets/sfx/progress/generate-start.mp3binary13.5 KB
assets/sfx/progress/loading-tick.mp3binary8.6 KB
assets/sfx/terminal/command-execute.mp3binary8.6 KB
assets/sfx/terminal/cursor-blink.mp3binary8.6 KB
assets/sfx/terminal/output-appear.mp3binary10.2 KB
assets/sfx/transition/dissolve.mp3binary13.5 KB
assets/sfx/transition/slide-in.mp3binary10.2 KB
assets/sfx/transition/swipe-horizontal.mp3binary11.9 KB
assets/sfx/transition/whoosh-fast.mp3binary8.6 KB
assets/sfx/transition/whoosh.mp3binary10.2 KB
assets/sfx/ui/click-soft.mp3binary8.6 KB
assets/sfx/ui/click.mp3binary8.6 KB
assets/sfx/ui/focus.mp3binary8.6 KB
assets/sfx/ui/hover-subtle.mp3binary8.6 KB
assets/sfx/ui/tap-finger.mp3binary8.6 KB
assets/sfx/ui/toggle-on.mp3binary8.6 KB
assets/showcases/INDEX.mdmarkdown5.4 KB
assets/showcases/cover/cover-build.htmlother5.5 KB
assets/showcases/cover/cover-build.pngbinary113.6 KB
assets/showcases/cover/cover-pentagram.htmlother4.8 KB
assets/showcases/cover/cover-pentagram.pngbinary35.2 KB
assets/showcases/cover/cover-takram.htmlother11.5 KB
assets/showcases/cover/cover-takram.pngbinary151.7 KB
assets/showcases/infographic/infographic-build.htmlother11.4 KB
assets/showcases/infographic/infographic-build.pngbinary106.2 KB
assets/showcases/infographic/infographic-pentagram.htmlother13.6 KB
assets/showcases/infographic/infographic-pentagram.pngbinary155.3 KB
assets/showcases/infographic/infographic-takram.htmlother21.9 KB
assets/showcases/infographic/infographic-takram.pngbinary159.2 KB
assets/showcases/ppt/ppt-build.htmlother8.9 KB
assets/showcases/ppt/ppt-build.pngbinary82.4 KB
assets/showcases/ppt/ppt-pentagram.htmlother11.7 KB
assets/showcases/ppt/ppt-pentagram.pngbinary99.0 KB
assets/showcases/ppt/ppt-takram.htmlother15.3 KB
assets/showcases/ppt/ppt-takram.pngbinary456.2 KB
assets/showcases/website-ai-nav/ainav-build.htmlother9.4 KB
assets/showcases/website-ai-nav/ainav-build.pngbinary83.1 KB
assets/showcases/website-ai-nav/ainav-pentagram.htmlother10.3 KB
assets/showcases/website-ai-nav/ainav-pentagram.pngbinary103.1 KB
assets/showcases/website-ai-nav/ainav-takram.htmlother12.4 KB
assets/showcases/website-ai-nav/ainav-takram.pngbinary118.8 KB
assets/showcases/website-ai-writing/aiwriting-build.htmlother13.7 KB
assets/showcases/website-ai-writing/aiwriting-build.pngbinary127.5 KB
assets/showcases/website-ai-writing/aiwriting-pentagram.htmlother13.9 KB
assets/showcases/website-ai-writing/aiwriting-pentagram.pngbinary146.7 KB
assets/showcases/website-ai-writing/aiwriting-takram.htmlother17.6 KB
assets/showcases/website-ai-writing/aiwriting-takram.pngbinary153.5 KB
assets/showcases/website-devdocs/devdocs-build.htmlother9.7 KB
assets/showcases/website-devdocs/devdocs-build.pngbinary66.6 KB
assets/showcases/website-devdocs/devdocs-pentagram.htmlother12.5 KB
assets/showcases/website-devdocs/devdocs-pentagram.pngbinary114.3 KB
assets/showcases/website-devdocs/devdocs-takram.htmlother12.8 KB
assets/showcases/website-devdocs/devdocs-takram.pngbinary109.2 KB
assets/showcases/website-homepage/homepage-build.htmlother8.1 KB
assets/showcases/website-homepage/homepage-build.pngbinary60.3 KB
assets/showcases/website-homepage/homepage-pentagram.htmlother8.3 KB
assets/showcases/website-homepage/homepage-pentagram.pngbinary55.8 KB
assets/showcases/website-homepage/homepage-takram.htmlother10.3 KB
assets/showcases/website-homepage/homepage-takram.pngbinary124.6 KB
assets/showcases/website-saas/saas-build.htmlother12.6 KB
assets/showcases/website-saas/saas-build.pngbinary97.4 KB
assets/showcases/website-saas/saas-pentagram.htmlother14.7 KB
assets/showcases/website-saas/saas-pentagram.pngbinary94.3 KB
assets/showcases/website-saas/saas-takram.htmlother17.8 KB
assets/showcases/website-saas/saas-takram.pngbinary120.6 KB
assets/style-specimens/app/01-hardware-panel.htmlother7.1 KB
assets/style-specimens/app/01-hardware-panel.jpgbinary73.7 KB
assets/style-specimens/app/02-liquid-glass.htmlother6.8 KB
assets/style-specimens/app/02-liquid-glass.jpgbinary87.9 KB
assets/style-specimens/app/03-playful-3d.htmlother5.6 KB
assets/style-specimens/app/03-playful-3d.jpgbinary92.8 KB
assets/style-specimens/app/04-friendly-fintech.htmlother6.2 KB
assets/style-specimens/app/04-friendly-fintech.jpgbinary91.3 KB
assets/style-specimens/app/05-pro-camera.htmlother7.1 KB
assets/style-specimens/app/05-pro-camera.jpgbinary74.5 KB
assets/style-specimens/app/06-topo-outdoor.htmlother8.9 KB
assets/style-specimens/app/06-topo-outdoor.jpgbinary90.4 KB
assets/style-specimens/app/07-feed-waterfall.htmlother7.5 KB
assets/style-specimens/app/07-feed-waterfall.jpgbinary81.5 KB
assets/style-specimens/app/08-command-palette.htmlother6.4 KB
assets/style-specimens/app/08-command-palette.jpgbinary55.4 KB
assets/style-specimens/app/09-health-color-code.htmlother7.3 KB
assets/style-specimens/app/09-health-color-code.jpgbinary74.2 KB
assets/style-specimens/app/10-native-polish.htmlother6.4 KB
assets/style-specimens/app/10-native-polish.jpgbinary74.5 KB
assets/style-specimens/app/11-gentle-encouraging.htmlother6.3 KB
assets/style-specimens/app/11-gentle-encouraging.jpgbinary80.1 KB
assets/style-specimens/app/12-editorial-reader.htmlother5.9 KB
assets/style-specimens/app/12-editorial-reader.jpgbinary114.1 KB
assets/style-specimens/east/01-lu-jingren-bookcraft.htmlother4.0 KB
assets/style-specimens/east/01-lu-jingren-bookcraft.jpgbinary68.5 KB
assets/style-specimens/east/02-song-block-print.htmlother4.7 KB
assets/style-specimens/east/02-song-block-print.jpgbinary146.3 KB
assets/style-specimens/east/03-republic-book-jacket.htmlother4.6 KB
assets/style-specimens/east/03-republic-book-jacket.jpgbinary57.7 KB
assets/style-specimens/east/04-shanghai-deco-calendar.htmlother5.0 KB
assets/style-specimens/east/04-shanghai-deco-calendar.jpgbinary76.3 KB
assets/style-specimens/east/05-hanzi-experimental-poster.htmlother5.0 KB
assets/style-specimens/east/05-hanzi-experimental-poster.jpgbinary54.1 KB
assets/style-specimens/east/06-hk-street-signs.htmlother4.4 KB
assets/style-specimens/east/06-hk-street-signs.jpgbinary115.5 KB
assets/style-specimens/east/07-traditional-colors-solar-terms.htmlother6.0 KB
assets/style-specimens/east/07-traditional-colors-solar-terms.jpgbinary79.7 KB
assets/style-specimens/east/08-sugiura-info-mandala.htmlother27.9 KB
assets/style-specimens/east/08-sugiura-info-mandala.jpgbinary127.3 KB
assets/style-specimens/east/09-tanaka-geometric-poster.htmlother3.1 KB
assets/style-specimens/east/09-tanaka-geometric-poster.jpgbinary53.6 KB
assets/style-specimens/east/10-hattori-playful-offset.htmlother2.9 KB
assets/style-specimens/east/10-hattori-playful-offset.jpgbinary89.6 KB
assets/style-specimens/east/11-sato-minimal-symbol.htmlother2.8 KB
assets/style-specimens/east/11-sato-minimal-symbol.jpgbinary45.4 KB
assets/style-specimens/east/12-japan-magazine-dense.htmlother14.2 KB
assets/style-specimens/east/12-japan-magazine-dense.jpgbinary122.6 KB
assets/style-specimens/info/01-personal-annual-report.htmlother9.3 KB
assets/style-specimens/info/01-personal-annual-report.jpgbinary121.4 KB
assets/style-specimens/info/02-explanation-graphics.htmlother4.9 KB
assets/style-specimens/info/02-explanation-graphics.jpgbinary109.8 KB
assets/style-specimens/info/03-cross-section-epic.htmlother7.1 KB
assets/style-specimens/info/03-cross-section-epic.jpgbinary150.3 KB
assets/style-specimens/info/04-magazine-pop-data.htmlother3.6 KB
assets/style-specimens/info/04-magazine-pop-data.jpgbinary84.8 KB
assets/style-specimens/info/05-isotype.htmlother3.9 KB
assets/style-specimens/info/05-isotype.jpgbinary120.6 KB
assets/style-specimens/info/06-data-humanism.htmlother5.9 KB
assets/style-specimens/info/06-data-humanism.jpgbinary85.7 KB
assets/style-specimens/info/07-scrollytelling.htmlother4.9 KB
assets/style-specimens/info/07-scrollytelling.jpgbinary69.8 KB
assets/style-specimens/info/08-cartographic-lead.htmlother4.6 KB
assets/style-specimens/info/08-cartographic-lead.jpgbinary83.8 KB
assets/style-specimens/info/09-newsroom-chart.htmlother5.1 KB
assets/style-specimens/info/09-newsroom-chart.jpgbinary63.9 KB
assets/style-specimens/info/10-computational-portrait.htmlother4.4 KB
assets/style-specimens/info/10-computational-portrait.jpgbinary147.4 KB
assets/style-specimens/info/11-beautiful-information.htmlother4.2 KB
assets/style-specimens/info/11-beautiful-information.jpgbinary92.2 KB
assets/style-specimens/info/12-open-research-data.htmlother3.4 KB
assets/style-specimens/info/12-open-research-data.jpgbinary84.8 KB
assets/style-specimens/info/13-speculative-tech-diagram.htmlother4.0 KB
assets/style-specimens/info/13-speculative-tech-diagram.jpgbinary49.0 KB
assets/style-specimens/info/14-pictogram-system.htmlother4.3 KB
assets/style-specimens/info/14-pictogram-system.jpgbinary79.8 KB
assets/style-specimens/info/15-small-multiples.htmlother3.0 KB
assets/style-specimens/info/15-small-multiples.jpgbinary68.6 KB
assets/style-specimens/info/16-topological-transit-map.htmlother3.6 KB
assets/style-specimens/info/16-topological-transit-map.jpgbinary63.1 KB
assets/style-specimens/info/17-ma-emptiness.htmlother2.0 KB
assets/style-specimens/info/17-ma-emptiness.jpgbinary20.5 KB
assets/style-specimens/info/18-bookcraft-data.htmlother3.0 KB
assets/style-specimens/info/18-bookcraft-data.jpgbinary96.8 KB
assets/style-specimens/info/19-scientific-figure-plate.htmlother5.2 KB
assets/style-specimens/info/19-scientific-figure-plate.jpgbinary80.6 KB
assets/style-specimens/info/20-swiss-grid-report.htmlother3.2 KB
assets/style-specimens/info/20-swiss-grid-report.jpgbinary69.2 KB

assets/android_frame.jsx

View on GitHub
/**
 * AndroidFrame — Android设备边框(参考Pixel 8系列)
 *
 * 含:punch-hole相机 + 状态栏 + 导航栏 + 圆角
 *
 * 用法:
 *   <AndroidFrame time="9:41" battery={85}>
 *     <YourAppContent />
 *   </AndroidFrame>
 */

const androidFrameStyles = {
  wrapper: {
    display: 'inline-block',
    padding: 10,
    background: '#1a1a1a',
    borderRadius: 44,
    boxShadow: '0 0 0 2px #2a2a2a, 0 20px 60px rgba(0,0,0,0.3)',
    position: 'relative',
  },
  screen: {
    position: 'relative',
    borderRadius: 36,
    overflow: 'hidden',
    background: '#fff',
  },
  statusBar: {
    position: 'absolute',
    top: 0,
    left: 0,
    right: 0,
    height: 32,
    display: 'flex',
    alignItems: 'center',
    justifyContent: 'space-between',
    padding: '0 24px',
    fontSize: 14,
    fontWeight: 500,
    fontFamily: 'Roboto, -apple-system, sans-serif',
    zIndex: 20,
    pointerEvents: 'none',
  },
  punchHole: {
    position: 'absolute',
    top: 10,
    left: '50%',
    transform: 'translateX(-50%)',
    width: 14,
    height: 14,
    background: '#000',
    borderRadius: '50%',
    zIndex: 30,
  },
  statusIcons: {
    display: 'flex',
    alignItems: 'center',
    gap: 6,
  },
  batteryText: {
    fontSize: 11,
    fontWeight: 600,
    marginLeft: 2,
  },
  content: {
    position: 'absolute',
    top: 32,
    left: 0,
    right: 0,
    bottom: 24,
    overflow: 'auto',
  },
  navBar: {
    position: 'absolute',
    bottom: 0,
    left: 0,
    right: 0,
    height: 24,
    display: 'flex',
    alignItems: 'center',
    justifyContent: 'center',
    gap: 60,
    zIndex: 10,
  },
  navButton: {
    width: 36,
    height: 4,
    background: 'rgba(0,0,0,0.3)',
    borderRadius: 999,
  },
};

function AndroidFrame({
  children,
  width = 412,
  height = 892,
  time = '9:41',
  battery = 100,
  darkMode = false,
  navStyle = 'gesture',
}) {
  const textColor = darkMode ? '#fff' : '#1a1a1a';

  return (
    <div style={androidFrameStyles.wrapper}>
      <div style={{
        ...androidFrameStyles.screen,
        width,
        height,
        background: darkMode ? '#000' : '#fff',
      }}>
        <div style={{ ...androidFrameStyles.statusBar, color: textColor }}>
          <span>{time}</span>
          <div style={androidFrameStyles.statusIcons}>
            <svg width="14" height="10" viewBox="0 0 14 10" fill="currentColor">
              <rect x="0" y="6" width="2" height="4" rx="0.5" />
              <rect x="4" y="4" width="2" height="6" rx="0.5" />
              <rect x="8" y="2" width="2" height="8" rx="0.5" />
              <rect x="12" y="0" width="2" height="10" rx="0.5" />
            </svg>
            <svg width="14" height="10" viewBox="0 0 14 10" fill="none">
              <path d="M7 9a1 1 0 100-2 1 1 0 000 2z" fill="currentColor" />
              <path d="M3 6a5 5 0 018 0" stroke="currentColor" strokeWidth="1.2" />
              <path d="M0.5 3.5a11 11 0 0113 0" stroke="currentColor" strokeWidth="1.2" opacity="0.6" />
            </svg>
            <div style={{
              width: 22,
              height: 10,
              border: '1.5px solid currentColor',
              borderRadius: 2,
              padding: 1,
              position: 'relative',
            }}>
              <div style={{
                width: `${battery}%`,
                height: '100%',
                background: 'currentColor',
                borderRadius: 1,
              }} />
            </div>
            <span style={androidFrameStyles.batteryText}>{battery}%</span>
          </div>
        </div>

        <div style={androidFrameStyles.punchHole} />

        <div style={androidFrameStyles.content}>
          {children}
        </div>

        {navStyle === 'gesture' && (
          <div style={androidFrameStyles.navBar}>
            <div style={{
              ...androidFrameStyles.navButton,
              width: 100,
              height: 4,
              background: darkMode ? 'rgba(255,255,255,0.5)' : 'rgba(0,0,0,0.4)',
            }} />
          </div>
        )}

        {navStyle === 'buttons' && (
          <div style={androidFrameStyles.navBar}>
            <span style={{ color: textColor, fontSize: 20 }}>◁</span>
            <span style={{ color: textColor, fontSize: 16 }}>○</span>
            <span style={{ color: textColor, fontSize: 16 }}>□</span>
          </div>
        )}
      </div>
    </div>
  );
}

if (typeof window !== 'undefined') {
  window.AndroidFrame = AndroidFrame;
}
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall