design-preferences
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "design-preferences":https://skillpi.com/zh/skills/deepskill-66ac019d4bca7b2c30000cb7a24409a20ea061d459d2780eeae472e3c0923b51。安装前核对上游来源和版本:https://github.com/swyxio/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在设计、重构或审查网站与应用界面时,遵循 swyx 的视觉偏好:避免装饰性卡片色带,保持信息密度,采用易读排版,并为品牌色彩指定明确用途。应与具体设计流程和任务结合使用。
介绍来源: third_party · swyxio · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: design-preferences
description: "Apply swyx's design preferences when building or changing app screens, or designing, restyling, or reviewing websites: reuse shared app layouts, preserve information density, use readable typography, avoid decorative card accent strips, and give brand color a clear purpose. Use alongside task-specific design workflows."Design preferences
These are the user's defaults, not universal design rules. Follow an explicit visual reference or request when it overrides them. Apply them to the requested surface; do not expand a small task into a site redesign.
- No decorative thin accent strips on cards. Avoid colored or gradient top borders, ribbons, and
::beforelines added just to make repeated panels look designed. Functional table rules, chart marks, focus rings, and active-navigation indicators are fine. - Choose the layout for the information. Use aligned rows or tables for repeated comparisons, and place a finding beside its evidence. Use cards when items genuinely form independent units, not as the automatic wrapper for every paragraph or statistic. Avoid nested cards.
- Density comes from composition, not tiny text. Start around 17–18px for reading text on desktop and 16–17px on mobile. Keep secondary labels legible. Shorten repetitive copy, align related facts, and reduce container padding before shrinking type. Recompose mobile comparisons rather than scaling down a desktop table.
- Make whitespace earn its place. Use space to distinguish sections and establish hierarchy. Avoid oversized introductory regions, tall rows around two numbers, and equal-height panels full of emptiness. Put repeated caveats once at the relevant section level while retaining essential denominators beside the data.
- Use brand color confidently and purposefully. Prefer meaningful series colors, selected states, or a substantial focal region over ornamental gradients repeated everywhere. Preserve strong text contrast on colored surfaces. Follow the actual brand assets and palette; do not invent a substitute logo. A dark masthead and a broad gradient can work when appropriate, but are not mandatory.
Shared application layout
- Signed-in pages inherit the shared app shell. Reuse the existing navigation, account controls, and workspace switcher where the app has one. Include workspace selection, settings, creation/editing, and detail pages; do not build detached page-specific chrome. The shell must also work before a workspace is selected.
- Keep context through every state. Loading, empty, error, expired-session, and permission states retain applicable navigation and account or sign-in controls, with useful recovery actions. A missing workspace must not strand the user without a way to switch accounts or sign out.
- Recompose navigation on mobile. Preserve access to the same destinations and account controls through the app's existing drawer or equivalent; hiding the desktop sidebar alone is insufficient.
- Make exceptions deliberate. Fullscreen/focus views have an explicit, reachable exit in success and failure states. Public sharing, signing, and review pages use a consistent public header with Sign in or Open app as appropriate; they remain usable without an account and do not expose private navigation.
- Check route coverage, not just the screenshot. For a new or changed screen, verify direct URL entry and adjacent navigation inherit the intended layout. For an app-wide audit or redesign, inventory active screen routes, identify shell exceptions, and distinguish intentional public/focus views from accidental omissions. Report unrelated gaps without expanding a bounded task.
Before finishing, inspect the rendered result at desktop and phone sizes: verify shared navigation and account access, remove decorative card strips, identify wasted space, check the smallest meaningful text, and confirm that evidence and existing actions remain reachable. Do not claim visual quality from a successful build alone. Do not add a design approval gate unless the user's request or another applicable workflow requires one.
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供专业级 UI/UX 设计规范,涵盖信息密度、排版、品牌色使用等关键维度
- 适用于网站/App 重构、审查等真实开发场景,具备落地价值
亮点
- 触发词覆盖全面,明确限定于界面设计与重构任务
- description 位置正确且语义完整,无截断或错位
亮点
- 结构清晰分层:基础偏好→共享布局→完成前检查清单
- frontmatter 完整,单文件长度适中,符合文档规范
亮点
- 参数具体可执行(如字体大小范围、移动端重排策略)
- 覆盖多种异常状态处理,强调任务边界控制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。