hr-better-layout SKILL.md skillA

hr-better-layout from bompus/house-rules is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bompus/house-rules/hr-better-layout@git:20261008.2645dd1

Pins git:20261008.2645dd1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
bompus/house-rules
Path
skills/hr-better-layout/SKILL.md
Versions recorded
3
Latest version
git:20261008.2645dd1, committed Oct 8, 2026
First version recorded
Oct 5, 2026
Size
7,329 bytes
Repository stars
3
License
MIT

Layout rules for web UI: grouping, alignment, spacing, reading order, responsive breakpoints, logical properties and clipping at narrow widths. Use when building or reviewing page or component layout CSS.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Layout

Position, spacing and alignment carry hierarchy before a word is read. This skill builds that structure and stress-tests it: resize it, translate it, mirror it for RTL.

Write every fix in the project's styling system. The numbers below are starting points for interfaces with no established density system, and where one applies, use it as written rather than a familiar-looking substitute. Keep deliberate platform chrome, compact professional tools and project tokens where they still pass the stress tests.

Hit areas and focus behavior belong to `hr-better-accessibility`. Radius, shadows and animation are outside this skill. Line length and text spacing belong to `hr-better-typography`.

## Group with space, not lines

Space groups first, background shapes second, separator lines last and only where space alone can't carry the structure. The gap between groups must be at least 2× the gap within one (`8px` intra-group to `16px`+ inter-group), or the grouping reads as noise. Alignment edges and importance ordering are in [grouping-and-alignment.md](grouping-and-alignment.md).

## Keep controls distinct from content
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bompus/house-rules/hr-better-layout@sha256:2019494f96b46b2c

The line at the top of this page pins the label git:20261008.2645dd1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7tmnyqkubbm76vkb.svg)](https://markdownregistry.com/a/art_7tmnyqkubbm76vkb)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Oct 5, 2026 and Oct 8, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261008.2645dd1 latest2026-10-08 2645dd1 7,329 BA view · diff
git:20261007.8b8a7102026-10-07 8b8a710 6,719 BA view · diff
git:20261005.d51b6a92026-10-05 d51b6a9 7,085 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7329 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

bompus/house-rules · 3 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7tmnyqkubbm76vkb
GET https://markdownregistry.com/api/v1/resolve?ref=bompus/house-rules/hr-better-layout
GET https://markdownregistry.com/api/v1/blob/2019494f96b46b2c8a2a172c9551d60e4369fe4c0fa92f66f6a8dff83c26b612

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from bompus/house-rules

AGENTS.md AGENTS.md file
bompus/house-rules · AGENTS.md
git:20261101.33e1213 · audit A · 3 stars
AGENTS.md@examples/project AGENTS.md file
bompus/house-rules · examples/project/AGENTS.md
git:20261003.bcf970e · audit A · 3 stars
hr-agent-guidance-audit SKILL.md skill
bompus/house-rules · skills/hr-agent-guidance-audit/SKILL.md · Audit and simplify agent-facing rules, skills and linked docs within the requested repository scope. Use for guidance…
git:20261013.dac23a8 · audit A · 3 stars
hr-agent-guidance-refresh SKILL.md skill
bompus/house-rules · skills/hr-agent-guidance-refresh/SKILL.md · Reread the agent guidance a session loaded (instruction files, skills and subagent definitions) and report what changed…
git:20261012.4d7e92b · audit A · 3 stars
hr-api-exposure-check SKILL.md skill
bompus/house-rules · skills/hr-api-exposure-check/SKILL.md · Keep API responses to the fields a real consumer reads and the caller is allowed to read. Use when designing, changing…
git:20261007.be080b1 · audit A · 3 stars
hr-audit-choices SKILL.md skill
bompus/house-rules · skills/hr-audit-choices/SKILL.md · Audit the decisions an implementing agent made for the user, not its diff: trace the work into a choices ledger with a…
git:20261019.be21b82 · audit A · 3 stars
hr-benchmarking SKILL.md skill
bompus/house-rules · skills/hr-benchmarking/SKILL.md · Benchmark equivalent work with repeated timing, CPU and memory measurements under stated inputs and controls, and check…
git:20261102.a032362 · audit A · 3 stars
hr-better-accessibility SKILL.md skill
bompus/house-rules · skills/hr-better-accessibility/SKILL.md · Accessibility rules for web UI: native elements, keyboard and focus, form labels and errors, accessible names, live…
git:20261018.d9ae3a7 · audit A · 3 stars
hr-better-colors SKILL.md skill
bompus/house-rules · skills/hr-better-colors/SKILL.md · Color rules for web UI: palette ramps, semantic color tokens, color notation and gamut, and measured contrast of…
git:20261008.2645dd1 · audit A · 3 stars
hr-better-typography SKILL.md skill
bompus/house-rules · skills/hr-better-typography/SKILL.md · Typography rules for web UI: type scale, line-height, wrapping, truncation, tabular numbers, font loading and mobile…
git:20261008.2645dd1 · audit A · 3 stars
hr-better-writing SKILL.md skill
bompus/house-rules · skills/hr-better-writing/SKILL.md · Interface copy rules: button and link labels, error messages, empty states, placeholders, toggles and consistent…
git:20261008.2645dd1 · audit A · 3 stars
hr-code-review SKILL.md skill
bompus/house-rules · skills/hr-code-review/SKILL.md · Review a branch, PR, working-tree changes or changes since a revision for repository standards, spec conformance and…
git:20261105.822a707 · audit A · 3 stars

Every file in bompus/house-rules

Browse by kind, by grade A, or by owner.