principle-product-design

principle-product-design is a skill for Claude Code from lugassawan/swe-workbench. It costs 81 tokens per session (2,231 once invoked), scanned A, original, MIT.

A guide to designing usable product interfaces, including layout, interaction patterns, visual hierarchy, and consistent design systems. It is based on common usability rules for user-facing software.

In plain words
What is it for?
Use it when reviewing a user interface, evaluating usability, planning responsive layouts, or checking whether interactions are clear and consistent.
Why use it?
It helps uncover confusing screens, missing feedback, inconsistent controls, and preventable user errors before they become larger product problems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the swe-workbench plugin — 60 skills, 25 commands, 22 agents, 4 hooks shipped together

Good fit Use it when reviewing a user interface, evaluating usability, planning responsive layouts, or checking whether interactions are clear and consistent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lugassawan/swe-workbench/principle-product-design
Install

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.

Any agent
npx skills add lugassawan/swe-workbench --skill principle-product-design
Clone the repo
git clone --depth 1 https://github.com/lugassawan/swe-workbench

Made for: Claude Code.

Or install swe-workbench, the plugin that ships this one along with the rest of its 60 skills, 25 commands, 22 agents, 4 hooks.

Wrote 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.

agentmods badge for principle-product-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/lugassawan/swe-workbench/principle-product-design/github.svg)](https://agentmods.dev/skills/lugassawan/swe-workbench/principle-product-design)
Your own site
<a href="https://agentmods.dev/skills/lugassawan/swe-workbench/principle-product-design"><img src="https://agentmods.dev/badge/skills/lugassawan/swe-workbench/principle-product-design/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.

agentmods 80×15 button for principle-product-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/lugassawan/swe-workbench/principle-product-design"><img src="https://agentmods.dev/badge/skills/lugassawan/swe-workbench/principle-product-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,231 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.02231
Opus 5 $0.00041 $0.01115
Sonnet 5 $0.00016 $0.00446
Haiku 4.5 $0.00008 $0.00223

Measured 6d ago against content hash 07016a69c513, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

principle-product-design 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 6d 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.

skills/principle-product-design/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Product Design Principles

Usability Heuristics (Nielsen's 10)

Every user-facing component must satisfy these. Violations block progress.

Heuristic Rule Common Violation
Visibility of system status Users always know what's happening No loading indicator during async operations; silent failures with no feedback
Match between system and real world Use language and concepts users know Developer jargon in UI labels ("null", "undefined", "404"); unfamiliar abbreviations
User control and freedom Provide undo, cancel, and escape routes Destructive action with no confirmation; no way to cancel an in-progress operation
Consistency and standards Same action, same result, everywhere Button styles that vary across views; inconsistent terminology for the same concept
Error prevention Prevent errors before they happen Allowing invalid input submission; no constraints on date ranges or numeric fields
Recognition over recall Show options, don't force memorization Hidden navigation requiring memorized paths; no search/filter on long lists
Flexibility and efficiency Support both novice and expert users No keyboard shortcuts for power users; no progressive disclosure for complex forms
Aesthetic and minimalist design Every element earns its place Cluttered layouts with competing visual weights; information overload on a single view
Error recovery Clear error messages with actionable next steps "Something went wrong" with no guidance; error messages using technical stack traces
Help and documentation Contextual help where users need it No tooltips on ambiguous icons; no onboarding for complex features

Visual Hierarchy

Users scan, they don't read. Guide their attention.

Principle Rule Common Violation
Size communicates importance Primary content largest, secondary smaller, tertiary smallest All text same size; critical numbers not emphasized
Weight directs attention Bold for key data, regular for supporting content Everything bold (nothing stands out) or everything light (nothing anchors)
Color creates meaning Semantic colors for states (profit/loss, success/error), muted for secondary Arbitrary color usage; profit shown in red (wrong cultural mapping)
Spacing creates grouping Related items closer together, unrelated items further apart Uniform spacing everywhere; no visual relationship between elements
Alignment creates order Consistent alignment grid; numbers right-aligned in tables Mixed alignment; numbers left-aligned making comparison impossible
Whitespace prevents overload Generous padding around content blocks; breathing room between sections Cramped layouts; every pixel filled with content

Read the full file on GitHub · 145 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 6d ago First seen · 145 lines · 81 tokens per session scan A 07016a69c513

Subscribe to this mod's changes

principle-product-design is a skill published in the GitHub repository lugassawan/swe-workbench (2 stars, last pushed 5d ago), licensed MIT. It adds 81 tokens to every session and 2,231 once invoked, about $0.0004 per session on Opus 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-09-03.

Related

Other skills, from other repositories

modern-css

Proactively apply when creating design systems, component libraries, or any frontend application. Triggers on CSS Grid, Subgrid, Flexbox, Container Queries, :has(), @layer, @scope, CSS nesting, @property, @function, if(), oklch, color-mix, light-dark, relative color, @starting-style, scroll-driven animations, view…

ccheney/robust-skills · 181 tokens

scroll-craft

Build premium scroll-driven landing pages for service, product, food, and drink brands. Plan the visitor journey, page grammar, emotional peak, and bespoke signature move. Create dimensional heroes with independent visual planes, restrained motion, and separate mobile composition. Use supplied photos and footage or…

nateherkai/scroll-craft · 177 tokens

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens