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.
npx skills add kanfu-panda/pdlc-skills --skill pdlc-ui-design-progit clone --depth 1 https://github.com/kanfu-panda/pdlc-skillsWrote 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.
[](https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-ui-design-pro)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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.
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。以下规则不可协商:
- 文件必须落盘:正文要求创建的文件必须作为实际文件写入磁盘,不可仅在对话中输出(只要求在对话里输出的,照正文办)。
- 自检必须执行:产出后按本命令的自检项逐项核对,不得以"已经很好了"为由跳过。
- 防循环:修复只做一次,不递归。修不了的问题记进报告,继续往下走。
违反任一条 = 立即中止当前命令,输出违规详情,等待人工介入。
本命令是 PDLC 的 UI 设计集成点,负责 PRD 守卫、PDLC 文档结构管理、以及调用设计智能引擎。
优先调用 ui-ux-pro-max 开源 skill(67 种风格 / 161 款配色 / 57 组字体搭配 / 161 行业推理规则),skill 未安装时自动启用内置流程。
PDLC 前置检查(必须执行,不可跳过)
- 从用户输入中提取功能名称关键词
- 在
docs/01_requirements/prd/目录下搜索对应 PRD 文档 - 未找到 → 立即停止并输出:
⛔ PDLC 守卫:未找到与「<功能名>」相关的 PRD 文档。 UI 设计必须基于已有的 PRD。请先运行: 👉 /pdlc-prd <需求描述> - 找到 → 提取功能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 |
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.
- 1mo ago Changed 1a66eb1be2d4
- 1mo ago Changed · -3 lines · +18 tokens per session cfa5b71628a3
- 2mo ago Changed · +30 lines 1c73a520aef3
- 3mo ago First seen · 194 lines · 28 tokens per session scan A f96bcf20698c
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.
pdlc-ui-design-pro compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdlc-ui-design-prokanfu-panda/pdlc-skills | Skill | 19 | 16d ago | MIT | A | 46 | Claude Code |
| pm-fe-assistantwj100/fe-skills | Skill | 6 | 7mo ago | none | A | 161 | Claude Code |
| postgres-database-migrationtimescale/pg-aiguide | Skill | 1.9k | yesterday | Apache-2.0 | A | 220 | Cursor |
| timescaledb-hyperfunctionstimescale/pg-aiguide | Skill | 1.9k | yesterday | Apache-2.0 | A | 298 | Cursor |
| design-postgis-tablestimescale/pg-aiguide | Skill | 1.9k | yesterday | Apache-2.0 | A | 31 | Cursor |
| setup-timescaledb-hypertablestimescale/pg-aiguide | Skill | 1.9k | yesterday | Apache-2.0 | A | 219 | Cursor |
| migrate-postgres-tables-to-hypertablestimescale/pg-aiguide | Skill | 1.9k | yesterday | Apache-2.0 | A | 181 | Cursor |