design-sense

design-sense is a skill for Claude Code, Codex from hamza-ali-shahjahan/hamzaish. It costs 52 tokens per session (2,295 once invoked), scanned A, original, MIT.

A guide to building and reviewing user interfaces, starting with layout structure before visual details.

In plain words
What is it for?
Use it when creating UI components, fitting new elements into an existing layout, or reviewing spacing, alignment, and sizing.
Why use it?
It helps diagnose interfaces that feel misaligned or inconsistent, even when the exact problem is hard to describe.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating UI components, fitting new elements into an existing layout, or reviewing spacing, alignment, and sizing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamza-ali-shahjahan/hamzaish/design-sense
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 hamza-ali-shahjahan/hamzaish --skill design-sense
Clone the repo
git clone --depth 1 https://github.com/hamza-ali-shahjahan/hamzaish

Made for: Claude Code, Codex.

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 design-sense

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/design-sense/github.svg)](https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/design-sense)
Your own site
<a href="https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/design-sense"><img src="https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/design-sense/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 design-sense

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/design-sense"><img src="https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/design-sense.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,295 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.00052 $0.02295
Opus 5.5 $0.00021 $0.00918
Sonnet 5.5 $0.00010 $0.00459
Haiku 4.5 $0.00005 $0.00230

Measured 2mo ago against content hash 34858e7003ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-sense 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 2mo 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.

factory/skills/design-sense/SKILL.md · 231 lines

How it starts

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

Design sense

Most UI that "looks off" is not ugly. It is structurally inconsistent — two alignments in one row, two things that should match sized by different mechanisms, a number column that shifts with its digit count. The viewer cannot name it and reports a feeling. This skill is how to not create that feeling.

Every rule below came from a real defect. None is a preference.


1. The order of operations

Build in this order. Doing them out of order is how a layout ends up needing to be rebuilt rather than adjusted.

  1. Skeleton. Boxes, widths, alignment. No colour, no type, no borders. If it is wrong here, no amount of styling saves it — and styling makes the wrongness harder to see, because now there is something to look at.
  2. Rhythm. One spacing scale. Every gap is a step on it.
  3. Hierarchy. Size and weight decide what is read first. Still no colour.
  4. Theme. Colour, borders, shadow — applied last, on top of a layout that already works in greyscale.

The test: turn the colour off. If you cannot tell what matters, the problem is in step 3, and reaching for a brighter accent will not fix it.


2. Composition rules

One alignment per row

A row that aligns its children to the bottom, containing a label aligned to the centre, containing a note on its own baseline, is three alignments in one line. Nobody can name it; everybody sees it.

Pick one — items-center for controls, items-baseline for text of different sizes — and let every child inherit it. A child that needs to differ says so explicitly (self-center), and that exception should be rare enough to notice.

Failure seen: a bid bar with the row at items-end, the label at items-center, and the caption on neither.

A child in a top-aligned row must declare itself

Add an element to a row aligned at the top and it will sit flush against the top edge and clip. Nothing is wrong with the element; it never said where it goes. self-center is not decoration — it is the element stating its place.

Read the full file on GitHub · 231 lines

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. 2mo ago Changed · +23 lines 34858e7003ef
  2. 3mo ago First seen · 208 lines · 52 tokens per session scan A 3142ba745aa3

Subscribe to this mod's changes

design-sense is a skill published in the GitHub repository hamza-ali-shahjahan/hamzaish (11 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 2,295 once invoked, about $0.0002 per session on Opus 5.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

design-sense compared with skills from other repositories

design-sense next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-sensehamza-ali-shahjahan/hamzaishSkill111mo agoMITA52Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34kyesterdayMITA52Codex
baseline-uivercel-labs/open-agentsSkill5.9kyesterdayMITA48Claude Code, Codex
prototype-webnexu-io/html-anythingSkill17k4d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9kyesterdayMITA67Claude Code, Codex