pdlc-ui-design-pro

pdlc-ui-design-pro is a skill for Claude Code from kanfu-panda/pdlc-skills. It costs 46 tokens per session (2,427 once invoked), scanned A, original, MIT.

A UI/UX design workflow for projects that use a PRD, or product requirements document, as the starting point. It checks the PRD and related design documents before creating or updating design-system guidance.

In plain words
What is it for?
Use it to generate design-system and page-specific guidance from a PRD, while checking existing API, UI, and design-token documents. It can use the separate ui-ux-pro-max skill when that skill is installed.
Why use it?
It prevents UI work from starting without an agreed description of the feature. It also keeps the design tied to the project’s existing API plans and visual rules.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Part of the pdlc plugin — 38 skills, 2 hooks shipped together

Good fit Use it to generate design-system and page-specific guidance from a PRD, while checking existing API, UI, and design-token documents. It can use the separate ui-ux-pro-max skill when that skill is installed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kanfu-panda/pdlc-skills/pdlc-ui-design-pro
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kanfu-panda/pdlc-skills --skill pdlc-ui-design-pro
Clone the repo
git clone --depth 1 https://github.com/kanfu-panda/pdlc-skills

Made for: Claude Code.

Or install pdlc, the plugin that ships this one along with the rest of its 38 skills, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pdlc-ui-design-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-ui-design-pro/github.svg)](https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-ui-design-pro)
Your own site
<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-ui-design-pro"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-ui-design-pro/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pdlc-ui-design-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-ui-design-pro"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-ui-design-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,427 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 17
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 17
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 103
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 103
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.02427
Opus 5.5 $0.00018 $0.00971
Sonnet 5.5 $0.00009 $0.00485
Haiku 4.5 $0.00005 $0.00243

Measured 1mo ago against content hash 1a66eb1be2d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pdlc-ui-design-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pdlc-ui-design-pro/SKILL.md · 221 lines

How it starts

The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI/UX 专业设计(PDLC 集成层)

⛔ IRON LAW · 不可违反的硬门禁(工具型命令)

本命令不是主链路上的阶段:不追加 history,不改 current_stage / next_step / last_phase_result,也不为此分配功能ID。以下规则不可协商:

  1. 文件必须落盘:正文要求创建的文件必须作为实际文件写入磁盘,不可仅在对话中输出(只要求在对话里输出的,照正文办)。
  2. 自检必须执行:产出后按本命令的自检项逐项核对,不得以"已经很好了"为由跳过。
  3. 防循环:修复只做一次,不递归。修不了的问题记进报告,继续往下走。

违反任一条 = 立即中止当前命令,输出违规详情,等待人工介入。

本命令是 PDLC 的 UI 设计集成点,负责 PRD 守卫、PDLC 文档结构管理、以及调用设计智能引擎。 优先调用 ui-ux-pro-max 开源 skill(67 种风格 / 161 款配色 / 57 组字体搭配 / 161 行业推理规则),skill 未安装时自动启用内置流程。


PDLC 前置检查(必须执行,不可跳过)

  1. 从用户输入中提取功能名称关键词
  2. 在 docs/01_requirements/prd/ 目录下搜索对应 PRD 文档
  3. 未找到 → 立即停止并输出:
    ⛔ PDLC 守卫:未找到与「<功能名>」相关的 PRD 文档。
    UI 设计必须基于已有的 PRD。请先运行:
    👉 /pdlc-prd <需求描述>
    
  4. 找到 → 提取功能ID,读取 PRD 内容;同时读取(若存在):
    • docs/02_design/api/ 下相关 API 设计文档
    • docs/02_design/ui-ux/ 下已有 UI 设计文档
    • docs/02_design/ui-ux/design-system/tokens.md(项目 Token 规范)

设计引擎选择

按如下优先级检测 ui-ux-pro-max skill 是否可用:

安装范围 检测路径
项目级 .claude/skills/ui-ux-pro-max/scripts/search.py
全局 ~/.claude/skills/ui-ux-pro-max/scripts/search.py

按顺序检测上述路径,将第一个找到的路径记为 $UIPM_SCRIPT。

✅ 路径 A:ui-ux-pro-max skill 可用(推荐)

此路径适用于已通过 uipro-cli 安装了 ui-ux-pro-max 的用户。 安装方法:npm install -g uipro-cli && uipro init --ai claude

第一步:生成设计系统

从 PRD 中提取:产品类型、行业、关键词、技术栈,然后运行:

python3 $UIPM_SCRIPT "<产品类型> <行业> <关键词>" \
  --design-system --persist -p "<项目名称>"
  • 输出保存到 design-system/MASTER.md(全局设计规范)
  • 如有具体页面,追加 --page "<页面名>" 生成页面级覆盖文件

第二步:补充领域搜索(按需)

# 获取动效 / 无障碍最佳实践
python3 $UIPM_SCRIPT "animation accessibility" --domain ux

# 获取技术栈特定最佳实践(可选値见下表)
python3 $UIPM_SCRIPT "<关键词>" --stack <栈名>
栈名 适用场景
html-tailwind Tailwind CSS(默认)
react React / Vite
nextjs Next.js
vue Vue 3
shadcn shadcn/ui
react-native React Native
flutter Flutter
swiftui iOS SwiftUI

Read the full file on GitHub · 221 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 1a66eb1be2d4
  2. 1mo ago Changed · -3 lines · +18 tokens per session cfa5b71628a3
  3. 2mo ago Changed · +30 lines 1c73a520aef3
  4. 3mo ago First seen · 194 lines · 28 tokens per session scan A f96bcf20698c

Subscribe to this mod's changes

pdlc-ui-design-pro is a skill published in the GitHub repository kanfu-panda/pdlc-skills (19 stars, last pushed 16d ago), licensed MIT. It adds 46 tokens to every session and 2,427 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

pdlc-ui-design-pro compared with skills from other repositories

pdlc-ui-design-pro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pdlc-ui-design-prokanfu-panda/pdlc-skillsSkill1916d agoMITA46Claude Code
pm-fe-assistantwj100/fe-skillsSkill67mo agononeA161Claude Code
postgres-database-migrationtimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A220Cursor
timescaledb-hyperfunctionstimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A298Cursor
design-postgis-tablestimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A31Cursor
setup-timescaledb-hypertablestimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A219Cursor
migrate-postgres-tables-to-hypertablestimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A181Cursor