Agent skill

Better Layout

by Lily-404 in Lily-404/blog

Layout structure for web interfaces. An agent skill from Lily-404/blog.

No licenceAuto-check passedFrontend & Design

Install Better Layout

skills CLI
$ npx skills add Lily-404/blog --skill better-layout -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Lily-404/blog better-layout --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Lily-404/blog.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/better-layout .claude/skills/better-layout && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
better-layout
GitHub stars
151
Used in
3 other repos
Token cost
~1.5k tokens
SKILL.md length
780 words
Files
4
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Layout structure for web interfaces. An agent skill from Lily-404/blog.

  • Structuring a page
  • SKILL.md covers Group with space, not lines, Keep controls distinct from…, Align to shared edges and Order by importance, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Deciding what collapses at small sizes

What it does

Better Layout is an agent skill from Lily-404/blog. Layout structure for web interfaces. Use when structuring a page or component, deciding what collapses at small sizes, or reviewing frontend code for layout. Triggers on layout, spacing, alignment, grouping, whitespace, visual hierarchy, reading order, progressive disclosure, breakpoints, container queries, safe area, full-bleed, layout margins, RTL layout, logical properties.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `agents/openai.yaml`, `grouping-and-alignment.md` and `spacing-and-adaptivity.md`).

It sits in Frontend & Design, covering Frontend development and Responsive design.

When your agent uses it

  • Structuring a page
  • Deciding what collapses at small sizes
  • Reviewing frontend code for layout
  • Visual hierarchy

Example prompts

  • “/better-layout”

What it can do on your machine

Read from SKILL.md and the folder at commit cce7f29. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Better Layout loads about 1.5k tokens when it runs. Until then it costs about 98 tokens; SKILL.md has 780 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 780 words (~1,477 tokens).

“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.”

— opening of SKILL.md by Lily-404
name
better-layout

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files in .agents/skills/better-layout of Lily-404/blog.

  • SKILL.md
  • agents/openai.yaml
  • grouping-and-alignment.md
  • spacing-and-adaptivity.md

Open the folder on GitHubat commit cce7f29

Used in 3 other repositories

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in Lily-404/blog, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Better Layout next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Better Layout compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Better Layout this skillLily-404/blog1513 repos~1.5kAutomated safety check: PassNone
Frontend Design Routercode-yeongyu/oh-my-openagent70k—~5.3kAutomated safety check: PassCustom licence
Using Ouds Web Version Major MinorOrange-OpenSource/Orange-Boosted-Bootstrap222—~4.2kAutomated safety check: PassMIT
Frontend Design UltimateaAAaqwq/AGI-Super-Team1052 repos~2.7kAutomated safety check: PassMIT
UI CraftMemTensor/memmy-agent2.1k—~2.9kAutomated safety check: PassMIT
Web Design Guidelinesehmo/platform-design-skills606—~9.7kAutomated safety check: PassMIT

Similar skills

  • Frontend Design Router

    code-yeongyu/oh-my-openagent

    Routes frontend and UI work through design reference rulesets, with a design-system gate plus layout and print guidance, before any UI code is written.

    70k GitHub stars~5.3k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Using Ouds Web Version Major Minor

    Orange-OpenSource/Orange-Boosted-Bootstrap

    Provides comprehensive knowledge of the OUDS Web library (Orange Unified Design System for Web), a Bootstrap-based CSS/JS framework for building Orange-branded web interfaces.

    222 GitHub stars~4.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Frontend Design Ultimate

    aAAaqwq/AGI-Super-Team

    Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.

    105 GitHub starsUsed in 2 repos~2.7k tokens
    Frontend & DesignAuto-check passed
  • UI Craft

    MemTensor/memmy-agent

    Design, build, redesign, or modify browser-visible web interfaces with product-quality composition, visual systems, interaction states, responsive behavior, accessibility, and browser visual QA.

    2.1k GitHub stars~2.9k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Web Design Guidelines

    ehmo/platform-design-skills

    Web platform design and accessibility guidelines. An agent skill from ehmo/platform-design-skills.

    606 GitHub stars~9.7k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check passed
  • Web Design Guidelines

    CloudAI-X/claude-workflow-v2

    Review UI code for Web Interface Guidelines compliance. An agent skill from CloudAI-X/claude-workflow-v2.

    1.4k GitHub stars~1.7k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from Lily-404/blog

All 8 skills in this repo
  • Better Writing

    Lily-404/blog

    UX writing and interface copy. An agent skill from Lily-404/blog.

    151 GitHub starsUsed in 3 repos~1.7k tokens
    Auto-check passed
  • Better Typography

    Lily-404/blog

    Web typography. An agent skill from Lily-404/blog.

    151 GitHub starsUsed in 5 repos~2.8k tokens
    Auto-check passed
  • Accessibility engineering for product interfaces. An agent skill from Lily-404/blog.

    151 GitHub starsUsed in 3 repos~2.2k tokens
    Auto-check passed
  • Better Colors

    Lily-404/blog

    Color systems for digital products. An agent skill from Lily-404/blog.

    151 GitHub starsUsed in 3 repos~2k tokens
    Auto-check passed
  • Interface Review

    Lily-404/blog

    Interface review of a change rather than a screen: uncommitted work, the current branch, or a pull request.

    151 GitHub starsUsed in 3 repos~2.7k tokens
    Auto-check passed
  • Better Interface

    Lily-404/blog

    Cross-discipline interface review. An agent skill from Lily-404/blog.

    151 GitHub starsUsed in 2 repos~2.4k tokens
    Auto-check passed

Questions about Better Layout

What does Better Layout do?

Layout structure for web interfaces. An agent skill from Lily-404/blog. Better Layout is an agent skill from Lily-404/blog. Layout structure for web interfaces.

When should I use Better Layout?

Better Layout fits situations like: structuring a page; deciding what collapses at small sizes; reviewing frontend code for layout; visual hierarchy.

How do I install Better Layout in Claude Code?

Run `npx skills add Lily-404/blog --skill better-layout -a claude-code`. Or copy the skill folder (.agents/skills/better-layout in Lily-404/blog) into .claude/skills/better-layout in your project. Claude Code loads it when a task matches its description.

How do I install Better Layout in Codex?

Run `npx skills add Lily-404/blog --skill better-layout -a codex`. Or copy the skill folder (.agents/skills/better-layout in Lily-404/blog) into .agents/skills/better-layout in your project. Codex loads it when a task matches its description.

Can I use Better Layout in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Lily-404/blog --skill better-layout -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/better-layout, .gemini/skills/better-layout, .github/skills/better-layout and .opencode/skills/better-layout in your project.

What does Better Layout need to run?

SKILL.md names no scripts, command-line tools or credentials: Better Layout is instructions for the agent only.

Does Better Layout access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Better Layout safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Better Layout use?

No licence was found for Better Layout or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Better Layout use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Better Layout?

Skills that share tags, products or a category with Better Layout: Frontend Design Router (code-yeongyu/oh-my-openagent, 70k stars), Using Ouds Web Version Major Minor (Orange-OpenSource/Orange-Boosted-Bootstrap, 222 stars), Frontend Design Ultimate (aAAaqwq/AGI-Super-Team, 105 stars) and UI Craft (MemTensor/memmy-agent, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Better Layout?

Lily-404 (a GitHub user) maintains it in Lily-404/blog, which has 151 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 23, 2026.

Source: Lily-404/blog on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.