Swiss Knife UI Skill

This note stores the reusable UI skill distilled from the eight YouTube videos provided on 2026-07-05. Raw captions were fetched for analysis, but full transcripts are not stored here. This is a paraphrased synthesis and working skill.

Source Videos

Video IDTitleAuthorCaption words
-uyI0TjhXdkThe Smart Way to Build WebsitesSajid2994
l04dDYW-QaIThe Easy Way to Build Responsive WebsitesSajid3279
9zt__YPULm8The Golden Rule of Web DesignSajid1852
AmY3db_Qs9423 Hacks about Building WebsitesSajid1267
9-oefwZ6Z74The 80% of UI Design, TypographySajid2076
vvPklRN0TcoThe Easy Way to Pick UI ColorsSajid1727
41IMbwQR-dcOriginal Ideas are OverratedSajid1261
wcZ6jSlZqDcThe Easy Way to Fix Boring UIsSajid1758

Local Codex Skill

Created locally at:

/home/code/.codex/skills/swiss-knife-ui

Validated with:

quick_validate.py /home/code/.codex/skills/swiss-knife-ui

Skill Frontmatter

name: swiss-knife-ui
description: Build or refactor polished, functional frontend UIs using a practical design system checklist. Use when Codex is asked to improve app UI, create dashboards, client portals, SaaS tools, landing pages, responsive layouts, typography, color systems, hierarchy, interaction states, or make an interface feel more professional and usable.

Skill Body

Use this skill to turn vague UI requests into a shippable interface. Prefer a functional product surface over a decorative landing page unless the user explicitly asks for marketing.

Workflow

  1. Identify the product type: operational app, dashboard, client portal, marketing page, checkout, editor, game, or internal tool.
  2. Define the primary user job and the first-screen workflow. Do not start with hero copy for an app.
  3. Choose the navigation model:
  1. Build layout before decoration: page shell, navigation, toolbar, content regions, empty states, dense lists, forms, tables, dialogs.
  2. Apply the UI checks below.
  3. Verify responsive behavior and text fit. Make the mobile flow usable, not merely compressed.
  4. Run the project build or equivalent validation.

Strong Defaults

UI Heuristics

Product First

Design from the user job. Before styling, answer:

If the app is operational, start with the workspace. Landing pages are for acquisition, not the core product.

Layout

Use layout primitives intentionally:

Navigation

Pick navigation based on information architecture:

A serious app should usually keep context visible: current account, case, project, status, and next action.

Hierarchy

Make the scan path obvious:

Typography

Typography does most of the polish work:

Color

Build a palette instead of choosing colors ad hoc:

Use lightness and saturation deliberately. Most UI should be neutral, with color reserved for navigation, state, and decisions. Avoid making the entire interface one hue family.

Depth

Use depth to separate layers, not to decorate everything:

Components

Create repeatable components for repeated objects:

Components should encode behavior and state, not just styling.

Interaction

A usable UI needs operational states:

Do not make a button if it cannot plausibly do something in the product model. In a mockup, label future actions clearly.

Responsive Behavior

Responsive design is not shrinking everything:

Reference-Driven Design

Originality is less important than useful execution. Before designing:

Final Quality Gate

Before finishing a UI task, check: