Token导航 LogoToken导航

Agent Skill · 研究检索

ring%3apre-dev-design-validation(Ring%3apre 开发设计验证)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

ring%3apre-dev-design-validation 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 51,212。

总安装 588周安装 25GitHub Stars 180下载 206核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ring%3apre-dev-design-validation(Ring%3apre 开发设计验证)
来源仓库:https://github.com/lerianstudio/ring
仓库路径:skills/ring%3Apre-dev-design-validation
安装命令:
npx skills add https://github.com/lerianstudio/ring --skill ring:pre-dev-design-validation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lerianstudio/ring --skill ring:pre-dev-design-validation

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

ring%3apre-dev-design-validation 用于界面设计、视觉规范和交互体验优化支持。它可协助生成 UI 方案、检查布局一致性和响应式表现,提升前端质量。使用时需结合品牌指南和设计系统,避免仅堆砌装饰性元素。涉及真实页面修改时,应通过截图或预览验证文本溢出和对齐问题。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/ring%3Apre-dev-design-validation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/lerianstudio/ring --skill ring:pre-dev-design-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ring%3apre-dev-design-validation 怎么安装?

在终端执行 npx skills add https://github.com/lerianstudio/ring --skill ring:pre-dev-design-validation。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ring%3apre-dev-design-validation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ring%3apre-dev-design-validation 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

ring%3apre-dev-design-validation 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ring%3apre-dev-design-validation 用的人多吗?

公开数据是累计安装 588 次,近一周安装 25 次,下载 206 次,GitHub 180 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ring%3apre-dev-design-validation 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ring%3apre-dev-design-validation

Ring%3apre 开发设计验证 · 本页

588180需要联网未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Design Validation Gate

⛔ MANDATORY GATE - CANNOT BE SKIPPED

This gate is REQUIRED for all features with UI. No exceptions. No shortcuts.

Enforcement Points

EnforcementWhat Happens
TRD checks for design-validation.mdTRD skill will STOP if this file is missing or verdict is not VALIDATED
Commands enforce gate orderpre-dev-feature and pre-dev-full require this gate before TRD
Critical gaps = HARD STOPAny Section 1-2 failure blocks progression to TRD

Why This Gate Exists

Without ValidationWith Validation
Missing UI states discovered during codingAll states defined upfront
"Mobile later" becomes "Mobile never"Responsive specs locked in
Accessibility retrofitted expensivelyA11y baked in from start
10x implementation reworkDesign complete before code

Standards Loading (MANDATORY)

This skill is a validation/checklist skill and does NOT require WebFetch of language-specific standards.

Purpose: Design Validation verifies UX artifact completeness against a checklist. Technical standards are irrelevant at this stage—they apply during TRD (Gate 3) and implementation.

However, if validating component library alignment (Section 8), MUST reference the UI library's documentation to verify component availability and variant names.


Purpose

Verify that UX specifications are COMPLETE before investing in technical architecture.

This gate prevents:

  • Incomplete wireframes reaching implementation
  • Missing UI states causing implementation rework
  • Accessibility gaps discovered late
  • Responsive behavior undefined until coding

This is a VALIDATION gate, not a CREATION gate. It checks existing artifacts, does not create new ones.


Gate Entry Criteria

MUST have these artifacts before running this gate:

ArtifactLocationRequired For
prd.mddocs/pre-dev/{feature}/all features
ux-criteria.mddocs/pre-dev/{feature}/all features with UI
wireframes/docs/pre-dev/{feature}/wireframes/all features with UI
user-flows.mddocs/pre-dev/{feature}/wireframes/all features with UI
feature-map.mddocs/pre-dev/{feature}/Large track only

If artifacts do not exist -> STOP. Return to previous gate.


UI Detection

Feature has UI if PRD contains any of:

  • User stories with: "see", "view", "click", "navigate", "page", "screen", "button", "form"
  • Features involving: login, dashboard, settings, profile, reports, notifications
  • Any direct user-facing interaction

If feature has NO UI -> Skip this gate, proceed to TRD.


Validation Checklist

Section 1: Wireframe Completeness (CRITICAL)

CheckPass CriteriaFail Action
all screens definedEvery user-facing screen has a .yaml fileList missing screens
ASCII prototype presentEvery wireframe has ascii_prototype: sectionList wireframes without ASCII
Components specifiedEvery wireframe has components: with typesList incomplete wireframes
Route definedEvery wireframe has route: fieldList wireframes without routes

Section 2: UI States Coverage (CRITICAL)

CheckPass CriteriaFail Action
Loading stateEvery data-fetching screen defines loadingList screens missing loading
Error stateEvery data-fetching screen defines errorList screens missing error
Empty stateEvery list/table screen defines emptyList screens missing empty
Success stateEvery form/action screen defines successList screens missing success

State Detection Rules:

  • Screen has data_source: or API reference -> Needs loading/error states
  • Screen has type: table or type: list -> Needs empty state
  • Screen has type: form or type: button with action -> Needs success state

Section 3: Accessibility Specifications

CheckPass CriteriaFail Action
Keyboard navigationux-criteria.md has "Keyboard accessible" criteriaFlag missing
Screen reader supportux-criteria.md has "ARIA" or "screen reader" criteriaFlag missing
Contrast requirementsux-criteria.md specifies contrast ratioFlag missing
Focus managementModal/dialog wireframes specify focus behaviorList modals without focus spec

Section 4: Responsive Specifications

CheckPass CriteriaFail Action
Mobile layout definedWireframes with significant layout have mobile ASCIIList wireframes without mobile
Breakpoints documentedux-criteria.md specifies breakpoint behaviorFlag missing
Touch targets notedMobile wireframes consider 44x44px targetsFlag if not mentioned

Section 5: User Flow Completeness

CheckPass CriteriaFail Action
Happy path documenteduser-flows.md has primary success flowFlag missing
Error paths documenteduser-flows.md has at least one error flowFlag missing
Entry points definedFlows specify how user arrivesFlag missing
Exit points definedFlows specify where user goes afterFlag missing

Section 6: Content Specifications

CheckPass CriteriaFail Action
Button labels definedall buttons have explicit label:List buttons with generic labels
Error messages specifiedError states have specific messagesList generic error messages
Empty state CTAsEmpty states have actionable CTAsList empty states without CTA
Form validation messagesForm fields with validation have error textList fields without error text

Section 7: Design System (New Projects)

This section applies when: Project is new (no existing design system detected).

CheckPass CriteriaFail Action
design-system.md existsdocs/pre-dev/{feature}/design-system.md presentFlag: "Missing design-system.md"
Color palette definedPrimary, neutral, semantic colors documentedFlag: "Incomplete color palette"
Typography specifiedFont family, scale, line heights documentedFlag: "Missing typography specs"
Contrast validatedAccessibility contrast ratios calculatedFlag: "Missing contrast validation"
CSS variables listedAll required CSS custom properties documentedFlag: "Missing CSS variables"

Detection Rule: Project is "new" if:

  • No globals.css with CSS variables exists, OR
  • No tailwind.config.* with custom colors exists

Why This Matters:

  • Frontend engineers need design tokens before implementation
  • TRD references design-system.md for styling architecture
  • Missing design system = styling decisions made ad-hoc during coding

Section 8: Component Library Alignment (All UI Features)

This section validates that wireframes use components available in the project's UI library.

CheckPass CriteriaFail Action
UI library identifiedux-criteria.md specifies UI library (shadcn, Chakra, etc.)Flag: "Missing UI library specification"
Components exist in libraryall components: in wireframes exist in specified libraryList unavailable components
Variants match libraryButton variants, input types match library's variantsList incorrect variant usage
Custom components flaggedComponents not in library marked as custom: trueList unmarked custom components

Validation Process:

  1. Read UI library from ux-criteria.md: ui_library: shadcn/ui | Chakra UI | Material UI | Custom
  2. For each wireframe, check components: components: - type: Button # Exists in shadcn? ✅ variant: primary # Valid variant? ✅ - type: DataGrid # Exists in shadcn? ❌ (custom needed)
  3. Flag mismatches:

- Component doesn't exist → Needs custom: true or different component - Variant doesn't exist → Use correct library variant

Why This Matters:

  • Prevents wireframes specifying components that don't exist
  • Prevents implementation errors from incorrect variant names
  • Identifies custom component work needed before TRD

Validation Process

Phase 1: Artifact Discovery

1. Read docs/pre-dev/{feature}/prd.md
2. Detect if feature has UI (see UI Detection rules)
3. If no UI -> Skip validation, proceed to TRD
4. Read docs/pre-dev/{feature}/ux-criteria.md
5. Glob docs/pre-dev/{feature}/wireframes/*.yaml
6. Read docs/pre-dev/{feature}/wireframes/user-flows.md
7. If Large track: Read docs/pre-dev/{feature}/feature-map.md

Phase 2: Systematic Validation

FOR EACH section in checklist:
  FOR EACH check in section:
    - Evaluate against artifacts
    - Record PASS or FAIL
    - If FAIL: Record specific gaps with file locations

Phase 3: Verdict

ConditionVerdictAction
all checks PASSDESIGN VALIDATEDProceed to TRD
Any Section 1-2 check FAILCRITICAL GAPSReturn to UX gate, fix gaps
Only Section 3-6 checks FAILMINOR GAPSDocument gaps, user decides

Output Format

# Design Validation Report

## Feature: {feature_name}

## Validation Date: {date}

## Artifacts Validated

| Artifact | Status | Location |
|----------|--------|----------|
| PRD | Found/Not Found | docs/pre-dev/{feature}/prd.md |
| UX Criteria | Found/Not Found | docs/pre-dev/{feature}/ux-criteria.md |
| Wireframes | Found (N files) | docs/pre-dev/{feature}/wireframes/ |
| User Flows | Found/Not Found | docs/pre-dev/{feature}/wireframes/user-flows.md |

## Validation Results

### Section 1: Wireframe Completeness

| Check | Status | Details |
|-------|--------|---------|
| all screens defined | PASS/FAIL | N/N screens have wireframes |
| ASCII prototype present | PASS/FAIL | Details |
| Components specified | PASS/FAIL | Details |
| Route defined | PASS/FAIL | Details |

### Section 2: UI States Coverage

| Check | Status | Details |
|-------|--------|---------|
| Loading state | PASS/FAIL | Details |
| Error state | PASS/FAIL | Details |
| Empty state | PASS/FAIL | Details |
| Success state | PASS/FAIL | Details |

### Section 3: Accessibility Specifications

| Check | Status | Details |
|-------|--------|---------|
| Keyboard navigation | PASS/FAIL | Details |
| Screen reader support | PASS/FAIL | Details |
| Contrast requirements | PASS/FAIL | Details |
| Focus management | PASS/FAIL | Details |

### Section 4: Responsive Specifications

| Check | Status | Details |
|-------|--------|---------|
| Mobile layout defined | PASS/FAIL | Details |
| Breakpoints documented | PASS/FAIL | Details |
| Touch targets noted | PASS/FAIL | Details |

### Section 5: User Flow Completeness

| Check | Status | Details |
|-------|--------|---------|
| Happy path documented | PASS/FAIL | Details |
| Error paths documented | PASS/FAIL | Details |
| Entry points defined | PASS/FAIL | Details |
| Exit points defined | PASS/FAIL | Details |

### Section 6: Content Specifications

| Check | Status | Details |
|-------|--------|---------|
| Button labels defined | PASS/FAIL | Details |
| Error messages specified | PASS/FAIL | Details |
| Empty state CTAs | PASS/FAIL | Details |
| Form validation messages | PASS/FAIL | Details |

### Section 7: Design System (New Projects Only)

| Check | Status | Details |
|-------|--------|---------|
| design-system.md exists | PASS/FAIL/N/A | Details |
| Color palette defined | PASS/FAIL/N/A | Details |
| Typography specified | PASS/FAIL/N/A | Details |
| Contrast validated | PASS/FAIL/N/A | Details |
| CSS variables listed | PASS/FAIL/N/A | Details |

### Section 8: Component Library Alignment

| Check | Status | Details |
|-------|--------|---------|
| UI library identified | PASS/FAIL | Details |
| Components exist in library | PASS/FAIL | Details |
| Variants match library | PASS/FAIL | Details |
| Custom components flagged | PASS/FAIL | Details |

## Summary

| Section | Status | Critical? |
|---------|--------|-----------|
| Wireframe Completeness | PASS/FAIL | Yes |
| UI States Coverage | PASS/FAIL | Yes |
| Accessibility | PASS/FAIL | Yes |
| Responsive | PASS/FAIL | No |
| User Flows | PASS/FAIL | Yes |
| Content | PASS/FAIL | No |
| Design System (new projects) | PASS/FAIL/N/A | Yes (if applicable) |
| Component Library Alignment | PASS/FAIL | Yes |

## Verdict: [DESIGN VALIDATED | CRITICAL GAPS | MINOR GAPS]

### Critical Gaps (MUST fix before TRD)

[List each critical gap with:]
1. **Gap description**
   - File: `path/to/file`
   - Required: What needs to be added

### Minor Gaps (Recommended to fix)

[List each minor gap with:]
1. **Gap description**
   - File: `path/to/file`
   - Issue: What's missing or incomplete

## Next Steps

| Priority | Action | Gate |
|----------|--------|------|
| P0 | Fix critical gaps | Return to Gate 1/2 |
| P1 | Review minor gaps | Optional |
| - | Re-run validation | After fixes |
| - | Proceed to TRD | After validation passes |

Anti-Rationalization Table

RationalizationWhy It's WRONGRequired Action
"Error states are implementation details"Error states are UX decisions. Users experience errors.Specify all error states before TRD
"We'll figure out mobile layout during coding"Responsive is design decision, not implementation.Specify mobile layout now
"Loading state is just a spinner"Loading UX varies: skeleton, spinner, progressive.Specify loading behavior explicitly
"Accessibility can be added later"Retrofitting a11y is 10x more expensive.Include a11y specs from start
"These are minor gaps, let's proceed"Minor gaps compound. Fix them now.Fix gaps or explicitly accept risk
"The wireframe is self-explanatory"Self-explanatory to you does not mean clear to developer.Document all states explicitly
"This validation is slowing us down"Incomplete design slows implementation 10x more.Complete validation before TRD
"We have tight deadlines"Incomplete specs cause missed deadlines.Invest time now, save time later
"Designer already approved this"Designer approval does not equal completeness check.Run systematic validation
"We'll add states as we implement"Adding states during implementation causes scope creep.Define all states upfront

Pressure Resistance

User SaysYour Response
"Skip validation, design is good enough""Design validation prevents implementation rework. 'Good enough' does not equal complete."
"We don't have time for this gate""Incomplete design costs 10x in implementation. Time invested now saves time later."
"Just the critical sections, skip the rest""all sections exist because they prevent real problems. No cherry-picking."
"Error states are obvious, no need to specify""Obvious to you does not equal obvious to developer does not equal obvious to user. Specify them."
"Mobile can wait for v2""Mobile users are 60%+ of traffic. Responsive is not optional."
"Let's start TRD in parallel""TRD depends on complete design. Starting with gaps creates rework."
"The previous feature didn't need this""Each feature is validated independently. Past shortcuts don't justify current ones."
"I'll fix gaps after TRD""Fixing design after technical architecture causes cascade changes. Fix now."

Blocker Criteria - STOP and Report

ConditionAction
PRD not foundSTOP. Return to Gate 1 to create PRD.
Feature has UI but no ux-criteria.mdSTOP. Return to Gate 1 to create UX criteria.
Feature has UI but no wireframesSTOP. Return to Gate 1/2 to create wireframes.
Critical gaps found (Section 1-2)STOP. Return to UX gate to fix gaps.
Minor gaps found (Section 3-6)ASK USER. Proceed with documented risk or fix first?

Severity Calibration

SeverityCriteriaExamplesAction
CRITICALMissing Section 1-2 itemsNo wireframe for screen, no error state, no loading stateSTOP, return to previous gate
CRITICALMissing Section 7 items (new projects)No design-system.md, no color paletteSTOP, return to PRD creation
CRITICALMissing Section 8 itemsComponents don't exist in library, wrong variantsSTOP, fix wireframes
HIGHMissing Section 3-5 itemsNo a11y criteria, no mobile layout, no error flowDocument, strongly recommend fix
MEDIUMMissing Section 6 itemsGeneric button labels, missing CTA on empty stateDocument, recommend fix
LOWIncomplete but presentMobile layout exists but lacks touch target noteNote for future improvement

When Validation is Not Needed

Skip this gate when all conditions are true:

  • Feature is backend-only (no user-facing UI)
  • Feature is pure API/infrastructure
  • PRD explicitly states "No UI changes"
  • Feature is bug fix with no UX modifications

If any UI exists -> Validation is REQUIRED.


Metrics

MetricDescriptionTarget
validation_pass_rate% of features passing on first validation> 70%
critical_gaps_per_validationAverage critical gaps found< 2
validation_time_minutesTime to complete validation< 15
rework_reductionImplementation rework after validation-50%

平台分布

Codex

34.46%
按下载量换算71

Claude

30.68%
按下载量换算63

Cursor

18.89%
按下载量换算39

Gemini CLI

8.25%
按下载量换算17

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills