design-preferences

When designing, refactoring, or reviewing web and app interfaces, follow swyx’s visual preferences: avoid decorative card ribbons, preserve information density, use readable typography, and assign clear purposes to brand colors. Should be used in conjunction with specific design processes and tasks.

Last repository push
GitHub Stars
203
Forks
12
Issues / PRs
3

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "design-preferences" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-66ac019d4bca7b2c30000cb7a24409a20ea061d459d2780eeae472e3c0923b51. Verify the upstream source and version against https://github.com/swyxio/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

When designing, refactoring, or reviewing web and app interfaces, follow swyx’s visual preferences: avoid decorative card ribbons, preserve information density, use readable typography, and assign clear purposes to brand colors. Should be used in conjunction with specific design processes and tasks.

0 Downloads

Introduction source: third_party · swyxio · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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 ::before lines 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.

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value68/100

Highlights

  • 提供专业级 UI/UX 设计规范,涵盖信息密度、排版、品牌色使用等关键维度
  • 适用于网站/App 重构、审查等真实开发场景,具备落地价值
Trigger Precision85/100

Highlights

  • 触发词覆盖全面,明确限定于界面设计与重构任务
  • description 位置正确且语义完整,无截断或错位
Structure and Standards92/100

Highlights

  • 结构清晰分层:基础偏好→共享布局→完成前检查清单
  • frontmatter 完整,单文件长度适中,符合文档规范
Execution Reliability88/100

Highlights

  • 参数具体可执行(如字体大小范围、移动端重排策略)
  • 覆盖多种异常状态处理,强调任务边界控制
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.