kwakseongjae/oh-my-design / .claude/skills/omd-restraint
omd:restraint
Verified절제미를 측정 가능한 규칙으로 — 덜어내기(subtraction)·여백·위계를 AUDIT(렌더된 페이지를 데스크톱·모바일에서 재서 규칙별 PASS/FAIL+수치)하거나 APPLY(인벤토리 → 필요 없는 것 삭제 → 중복 병합 → 비운 자리를 초점 요소에 준다 → 재측정)한다. 초점 1개(1등 ≥ 2× 2등), 첫 화면 조각 ≤ 5, 서체 크기 ≤ 4, 헤드라인 ≤ 2줄, 첫 화면 단어 예산, 히어로 CTA ≤ 2, 액센트 1개, 장식 선·그리드·eyebrow 금지, 첫 화면 빈 면적 ≥ 65%, 얇은 화면 금지, 페이지 길이 예산. 규칙마다 출처 등급(실측/관례/휴리스틱). '덜어내 줘', '절제미', '너무 복잡해', '여백 살려줘', '심플하게', 'too busy', 'simplify the page', 'declutter', 'more whitespace', 「余白を活かして」, 「引き算のデザイン」, 「留白」, 「太擁擠了」 류에 트리거. 브랜드 토큰은 DESIGN.md가 이기고, 이 스킬은 양과 위계만 다룬다.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 15.7 KB |
| references/benchmarks.md | markdown | 5.9 KB |
| scripts/audit.mjs | script | 39.6 KB |
| scripts/fixtures/busy.html | other | 5.6 KB |
| scripts/fixtures/restrained.html | other | 3.1 KB |
| scripts/selftest.mjs | script | 1.3 KB |
scripts/fixtures/restrained.html
View on GitHub<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Restrained fixture</title>
<!-- omd-restraint self-test: this page must PASS every rule at 1440x900 and 390x844.
One focal object, one copy stack, one primary + one quiet action, one accent, no lines,
and a single colour-field section so no screen reads as thin. -->
<style>
:root { --ground: #f5f4f2; --ink: #141414; --muted: #4a4a4a; --accent: #1f5eff; --field: #1c1c1c; --paper: #f5f4f2; }
* { box-sizing: border-box; margin: 0; }
body { background: var(--ground); color: var(--ink); font: 400 18px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
header { display: flex; justify-content: space-between; align-items: center; height: 80px; padding: 0 48px; font-size: 16px; }
header a { color: var(--ink); text-decoration: none; }
header nav a { margin-left: 28px; }
.hero { min-height: calc(100vh - 80px); display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; padding: 0 48px 64px; }
h1 { font-size: 104px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.lede { margin-top: 28px; max-width: 26ch; color: var(--muted); }
.actions { margin-top: 40px; display: flex; gap: 12px; align-items: center; }
.btn { font-size: 16px; padding: 14px 24px; border-radius: 999px; text-decoration: none; }
.primary { background: var(--accent); color: #fff; }
.quiet { color: var(--ink); }
.visual svg { display: block; width: 100%; height: auto; }
.field { background: var(--field); color: var(--paper); min-height: 90vh; padding: 34vh 48px 12vh; }
.field p.statement { font-size: 44px; line-height: 1.15; max-width: 18ch; font-weight: 500; }
.field p.note { margin-top: 24px; max-width: 46ch; color: #c9c9c9; }
@media (max-width: 700px) {
header { padding: 0 20px; }
header nav a { margin-left: 18px; }
.hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 48px; align-items: start; }
h1 { font-size: 64px; }
.field { padding: 30vh 20px 10vh; }
.field p.statement { font-size: 32px; }
}
</style>
</head>
<body>
<header>
<a href="#">Atlas</a>
<nav><a href="#">Work</a><a href="#">About</a></nav>
</header>
<main>
<section class="hero">
<div>
<h1>Say less.</h1>
<p class="lede">One line on what this is and who it is for.</p>
<div class="actions">
<a class="btn primary" href="#">Start a project</a>
<a class="btn quiet" href="#">See the work</a>
</div>
</div>
<div class="visual" aria-hidden="true">
<svg viewBox="0 0 560 560" xmlns="http://www.w3.org/2000/svg">
<circle cx="280" cy="280" r="270" fill="#dcd8d1"/>
<rect x="190" y="190" width="180" height="180" fill="#141414"/>
</svg>
</div>
</section>
<section class="field">
<p class="statement">Everything else was cut so this could be large.</p>
<p class="note">The rest of the page carries its full content at a readable size, on a field of its own, so the quiet first screen does not read as an unfinished one.</p>
</section>
</main>
</body>
</html>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |