pdlc-ui-design-pro

pdlc-ui-design-pro is a skill for Claude Code from kanfu-panda/pdlc-skills. It costs 28 tokens per session (1,909 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 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.

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 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,909 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.00028 $0.01909
Opus 5 $0.00014 $0.00955
Sonnet 5 $0.00006 $0.00382
Haiku 4.5 $0.00003 $0.00191

Measured 12d ago against content hash f96bcf20698c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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 · 194 lines

How it starts

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

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

本命令是 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

第三步:整合为 PDLC 设计文档

基于 skill 输出,结构化写入以下文件:

文档 路径
UI 主文档(线框图 + 交互规范) docs/02_design/ui-ux/<功能ID>-<功能名>-ui.md
设计 Token docs/02_design/ui-ux/design-system/tokens.md
组件目录 docs/02_design/ui-ux/design-system/components.md

所有文档顶部必须包含 PDLC 追溯头:

<!-- PDLC-TRACE -->
<!-- 功能ID: <功能ID> -->
<!-- 功能名称: <功能名> -->
<!-- 阶段: 设计 -->
<!-- 前置文档: docs/01_requirements/prd/<功能ID>-<功能名>-prd.md -->

Read the full file on GitHub · 194 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. 12d 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 (13 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 1,909 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

pm-fe-assistant

A front-end change assistant for product managers, designers, and other non-developers. Front-end work changes what users see and interact with in a web interface.

wj100/fe-skills · 161 tokens

postgres-database-migration

Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases. Trigger when user asks to: Test a schema migration before applying it to production Add, remove, or rename columns safely on a live table Change a column's data…

timescale/pg-aiguide · 220 tokens

setup-timescaledb-hypertables

Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. Trigger when user asks to: Create or design SQL schemas/tables AND…

timescale/pg-aiguide · 219 tokens

design-postgis-tables

Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications.

timescale/pg-aiguide · 31 tokens

migrate-postgres-tables-to-hypertables

Use this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation. Trigger when user asks to: Migrate or convert PostgreSQL tables to hypertables Execute hypertable migration with minimal downtime Plan blue-green migration for large tables Validate…

timescale/pg-aiguide · 181 tokens

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens