Skip to content

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가 이기고, 이 스킬은 양과 위계만 다룬다.

FileKindSize
SKILL.mdskill md15.7 KB
references/benchmarks.mdmarkdown5.9 KB
scripts/audit.mjsscript39.6 KB
scripts/fixtures/busy.htmlother5.6 KB
scripts/fixtures/restrained.htmlother3.1 KB
scripts/selftest.mjsscript1.3 KB

scripts/fixtures/busy.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>Busy fixture</title>
<!-- omd-restraint self-test: this page must FAIL on several independent rules at once, so one
     threshold change cannot flip it: eyebrow pill, 4-line headline, many sizes, 4+ hero actions,
     stat tiles, several accent hues, bordered cards on a grid backdrop, mono captions, a long page. -->
<style>
  * { box-sizing: border-box; margin: 0; }
  body { background: #fff; color: #222; font: 400 15px/1.5 system-ui, sans-serif;
    background-image: linear-gradient(#eee 1px, transparent 1px), linear-gradient(90deg, #eee 1px, transparent 1px); background-size: 32px 32px; }
  header { display: flex; align-items: center; gap: 18px; padding: 14px 32px; font-size: 14px; border-bottom: 1px solid #ddd; }
  header .lang button { font-size: 12px; border: 1px solid #ccc; background: #fff; }
  .hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 40px 32px; }
  .pill { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; background: #f3e8ff; color: #7c3aed; padding: 4px 10px; border-radius: 999px; }
  h1 { font-size: 50px; line-height: 1.1; max-width: 640px; margin-top: 12px; }
  .lede { font-size: 17px; max-width: 560px; margin-top: 16px; }
  .row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
  .row a, .row button { font-size: 14px; padding: 10px 16px; border-radius: 8px; border: 1px solid #ccc; background: #fff; color: #222; text-decoration: none; }
  .row .p1 { background: #7c3aed; color: #fff; }
  .row .p2 { background: #f97316; color: #fff; }
  .search { margin-top: 14px; display: flex; gap: 8px; }
  .search input { font-size: 14px; padding: 10px; width: 260px; border: 1px solid #ccc; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
  .stat { border: 1px solid #e5e5e5; padding: 12px; background: #fff; }
  .stat b { display: block; font-size: 34px; color: #16a34a; }
  .stat small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #777; }
  .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { border: 1px solid #ddd; border-radius: 12px; padding: 14px; background: #fff; }
  .card h3 { font-size: 19px; }
  .card .idx { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #db2777; }
  .card .tag { display: inline-block; font-size: 11px; background: #dcfce7; color: #166534; border-radius: 999px; padding: 2px 8px; }
  .card p { font-size: 13px; color: #555; }
  .list { padding: 40px 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .list .item { border: 1px solid #ddd; border-radius: 12px; padding: 20px; height: 260px; background: #fff; }
  .list .item h4 { font-size: 21px; } .list .item span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
  @media (max-width: 700px) { .hero { grid-template-columns: 1fr; padding: 20px 16px; } h1 { font-size: 34px; } .stats { grid-template-columns: 1fr 1fr; } .list { grid-template-columns: 1fr; } header { flex-wrap: wrap; } }
</style>
</head>
<body>
  <header>
    <strong>Platformly</strong>
    <nav><a href="#">Product</a> <a href="#">Solutions</a> <a href="#">Pricing</a> <a href="#">Docs</a> <a href="#">Blog</a> <a href="#">Changelog</a></nav>
    <span class="lang"><button>EN</button><button>KO</button><button>JA</button></span>
  </header>
  <section class="hero">
    <div>
      <span class="pill">New · v2.0 released</span>
      <h1>The all-in-one platform to build, ship, scale and monitor every product your team dreams of</h1>
      <p class="lede">Trusted by 10,000+ teams in 150+ countries, Platformly unifies your roadmap, analytics, deployments, billing and support in one beautiful workspace with 300+ integrations and AI everywhere.</p>
      <div class="row">
        <a class="p1" href="#">Start free trial</a>
        <a class="p2" href="#">Book a demo</a>
        <a href="#">Watch video</a>
        <button>Talk to sales</button>
      </div>
      <div class="search"><input placeholder="Search 500+ templates"><button>Search</button></div>
      <div class="stats">
        <div class="stat"><b>10k+</b><small>Teams</small></div>
        <div class="stat"><b>99.9%</b><small>Uptime</small></div>
        <div class="stat"><b>150+</b><small>Countries</small></div>
        <div class="stat"><b>4.9</b><small>Rating</small></div>
      </div>
    </div>
    <div class="cards">
      <div class="card"><span class="idx">01 /</span> <span class="tag">Beta</span><h3>Roadmaps</h3><p>Plan everything.</p></div>
      <div class="card"><span class="idx">02 /</span> <span class="tag">Beta</span><h3>Analytics</h3><p>Measure everything.</p></div>
      <div class="card"><span class="idx">03 /</span> <span class="tag">Beta</span><h3>Deploys</h3><p>Ship everything.</p></div>
      <div class="card"><span class="idx">04 /</span> <span class="tag">Beta</span><h3>Billing</h3><p>Charge everything.</p></div>
      <div class="card"><span class="idx">05 /</span> <span class="tag">New</span><h3>Support</h3><p>Answer everything.</p></div>
      <div class="card"><span class="idx">06 /</span> <span class="tag">New</span><h3>AI</h3><p>Automate everything.</p></div>
    </div>
  </section>
  <section class="list" id="list"></section>
  <script>
    const list = document.getElementById('list');
    for (let i = 1; i <= 30; i++) list.insertAdjacentHTML('beforeend', `<div class="item"><span>Feature ${i}</span><h4>Integration ${i}</h4><p>Connect your stack in minutes. <a href="#">Start free trial</a></p></div>`);
  </script>
</body>
</html>
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall