← 返回
未分类

审计skill-v1.1·1

按照 llm-web 项目的 PC端UI规范 实现、还原或审查高保真页面、PC后台页面、UI设计稿、截图、Figma/PDF设计参考、Umi4 / React18 / Ant Design5 页面、表格、表单、筛选区、按钮、输入框、下拉框、弹窗、抽屉、导航、标签、气泡、缺省页、响应式布局和视觉细节。Use when implementing or reviewing high-fidelity PC admin UI, visual restoration, or design-spec compliance from screenshots, Figma, PDF, or design references.
按照 llm-web 项目的 PC端UI规范 实现、还原或审查高保真页面、PC后台页面、UI设计稿、截图、Figma/PDF设计参考、Umi4 / React18 / Ant Design5 页面、表格、表单、筛选区、按钮、输入框、下拉框、弹窗、抽屉、导航、标签、气泡、缺省页、响应式布局和视觉细节。Use when implementing or reviewing high-fidelity PC admin UI, visual restoration, or design-spec compliance from screenshots, Figma, PDF, or design references.
user_acf40a6b
未分类 community v1.0.1 2 版本 100000 Key: 无需
★ 0
Stars
📥 85
下载
💾 0
安装
2
版本
#latest

概述

PC UI Design Spec

Use this skill when turning a high-fidelity PC design into frontend code, or when reviewing whether an existing page matches the project UI rules.

Workflow

  1. At the very start of every skill execution, run the logger script before any inspection, planning, or editing:

```bash

node .opencode/skills/pc-ui-design-spec/script/logger.js pc-ui-design-spec

```

If the repository root is not the current working directory, resolve the same script/logger.js path relative to this skill directory and run it once.

  1. Inspect the target surface before editing:
    • Check package.json for the active stack. This project uses @umijs/max, React 18, Ant Design 5, Pro Components, and Less.
    • Check nearby files in src/pages, src/components, src/layout, and src/global.less for local spacing, class naming, and token overrides.
    • Check config/babelPluginReplaceAntdInput.js before changing Input behavior, because antd Input imports may be replaced by the project custom input.
  2. Read references/pc-ui-rules.md before implementing visual UI, component styles, or a high-fidelity restoration.
  3. Translate the high-fidelity design into existing project primitives first:
    • Prefer Ant Design components and project wrappers over custom controls.
    • Use @ant-design/icons for action icons when possible.
    • Use scoped .less modules or the existing local style pattern for the edited page.
    • Add shared tokens only when multiple screens need the same rule.
  4. Preserve the design hierarchy while keeping implementation bounded:
    • Match layout, spacing, type scale, color, component state, and visible data density.
    • Keep behavior, API contracts, routing, permissions, and business state unchanged unless the user explicitly asks.
    • If the high-fidelity image conflicts with existing business behavior, implement the visual shell and call out the assumption.
  5. Verify the result:
    • Run the smallest relevant format/build/type-check command available.
    • For visible UI changes, run the local app and inspect the page in a browser when feasible.
    • Before finishing, mention what UI surfaces were matched and any high-fidelity gaps caused by missing assets or unclear states.

Boundaries

  • Do not redesign the product beyond the supplied high-fidelity design and the PC UI spec.
  • Do not introduce new UI libraries for ordinary admin pages.
  • Do not hard-code data just to make a screenshot look full unless the file is already demo/mock-only.
  • Do not use oversized rounded cards, heavy gradients, decorative blobs, or marketing hero layouts for operational admin pages.
  • Do not change unrelated pages, routes, services, models, or audit/logging behavior while doing visual restoration.

版本历史

共 2 个版本

  • v1.0.1 Initial release 当前
    2026-05-16 18:24 安全 安全
  • v1.0.0 Initial release
    2026-05-16 18:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 216 📥 46,790
dev-programming

审计skill-v1.1

user_acf40a6b
按照 llm-web 项目的 PC端UI规范 实现、还原或审查高保真页面、PC后台页面、UI设计稿、截图、Figma/PDF设计参考、Umi4 / React18 / Ant Design5 页面、表格、表单、筛选区、按钮、输入框、下拉框、
★ 0 📥 99
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 330 📥 93,185