jakubkrehel avatar

Better Layout

Sets grouping, alignment, reading order, responsive structure and room for translated text, so a layout holds up when it is resized, translated or mirrored.

skills.sh installs
38.8K
GitHub stars
12.3K
last updated
Nov 17, 2026

Install

$ npx -y skills add jakubkrehel/skills --skill better-layout --agent claude-code

Installs into .claude/skills of the current project.

Files

Layout

This skill sets grouping, alignment, spacing and responsive structure. It then stress-tests that structure by resizing it, translating it and mirroring it for RTL.

Write every fix in the project's styling system. The numbers below apply only where the project has no spacing scale or density system; otherwise use its tokens. A finding needs a failure you can show, such as a clip, an overlap, a broken mirror or a misread group. A value that differs from these starting points is not one.

Hit areas and focus behavior belong to better-accessibility. Radius and shadows belong to better-ui, and animation to better-motion. Line length, text spacing and truncation mechanics belong to better-typography. The words themselves belong to better-writing.

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 is at least 2× the gap within one, so 8px inside a group means 16px or more between groups. Recipes are in grouping-and-alignment.md.

Keep controls distinct from content

Sponsors

Details

Repository
github.com/jakubkrehel/skills
Category
Frontend Development
First seen
Nov 17, 2026

More from jakubkrehel/skills

All 4
1clerk avatarclerk-react-patternsclerk/skillsReact SPA auth patterns with @clerk/react for Vite/CRA - ClerkProvider setup, useAuth/useUser/useClerk hooks, React Router protected routes, custom sign-in flow20.8Kskills.sh installs
2lombiq avatartailwind-4-docslombiq/tailwind-agent-skillsComprehensive Tailwind CSS v4 documentation snapshot and workflow guidance. Use when answering Tailwind v4 questions, selecting utilities/variants, configuring 19Kskills.sh installs
3antfu avatarvue-router-best-practicesantfu/skillsVue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.18.8Kskills.sh installs
4antfu avatarvue-testing-best-practicesantfu/skillsUse for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.17.2Kskills.sh installs
5vuejs-ai avatarvue-router-best-practicesvuejs-ai/skillsVue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.16.7Kskills.sh installs
6clerk avatarclerk-vue-patternsclerk/skillsVue 3 patterns with Clerk — composables (useAuth, useUser, useClerk, useOrganization), Vue Router guards, Pinia auth store integration. Triggers on: vue clerk, 14.7Kskills.sh installs