layout-review
Skill0 starsChanged 3 months agoMITView on GitHub
Review Web/App UI layout issues from existing evidence and turn them into implementation-ready fix briefs. Use when Codex needs a layout-only lane for screenshots, live UI, implemented pages, or design artifacts that show spacing, alignment, centering, overflow, wrapping, breakpoint, grid, sticky, modal, or clipping problems. Do not use for text-only planning documents, broad UX critique, or direct repo implementation; route those to `gemini-cli` or `uiux-design` as appropriate.
In this repository66 other files it gives its agents.
- adb-android-app-opsSkill
- agents-sdkSkill
- api-documentationSkill
- atlasSkill
- backend-api-auth-guardrailsSkill
- browser-useSkill
- bundleSkill
- changelogSkill
- chatgpt-appsSkill
- chrome-devtools-testSkill
- chronicleSkill
- cloudflare-deploySkill
- cloudflare-email-serviceSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- cloudflareSkill
- computer-useSkill
- create-planSkill
- database-analysisSkill
- database-data-guardrailsSkill
- debug-memory-leakSkill
- deep-initSkill
- deploySkill
- develop-web-gameSkill
- dev-workflowSkill
- docSkill
- durable-objectsSkill
- explainSkill
- figmaSkill
- firmware-feature-writerSkill
- fix-bugSkill
- fix-lintSkill
- frontend-mobile-uiux-designerSkill
- frontend-ui-guardrailsSkill
- gemini-cliSkill
- grok-x-searchSkill
- hermes-chromeSkill
- image-file-readerSkill
- imagegenSkill
- infra-ops-mobile-guardrailsSkill
- localizeSkill
- multimodal-lookerSkill
- openai-docsSkill
- optimizeSkill
- parallel-devSkill
- plan-modeSkill
- playwrightSkill
- project-planningSkill
- qa-testerSkill
- refactorSkill
- review-changesSkill
- review-fix-shipSkill
- rust-programmerSkill
- sandbox-sdkSkill
- screenshotSkill
- security-auditSkill
- security-scanSkill
- security-threat-modelSkill
- source-command-collab-startSkill
- turnstile-spinSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when the problem is specifically about layout quality in an existing Web/App UI surface.
- Distinctive: line 14
Use this skill for layout-only issues:
- Distinctive: line 20
Do not widen the review into general UX critique unless the user explicitly asks for it.
- Very specific: line 21
If the task starts from text-only requirements or planning notes, route to gemini-cli.
- Very specific: line 22
If the task needs repo edits, browser automation, or post-build verification, route to uiux-design after producing the fix brief.
- Distinctive: line 26
Prefer existing UI evidence:
- Distinctive: line 33
If the evidence is incomplete, ask for the smallest missing artifact needed to identify the layout issue reliably.
- Very specific: line 45
Use references/issue-checklist.md to classify the problem before recommending fixes.
- Distinctive: line 59
Keep the scope layout-only.
- Very specific: line 70
If the fix depends on implementation or browser validation, explicitly hand off to uiux-design.
- Very specific: line 74
Always answer in Traditional Chinese and use the structure from references/output-template.md.
- Distinctive: line 86
Keep each issue concrete: surface, viewport, symptom, impact, and recommended fix.
- Distinctive: line 87
Do not prescribe exact CSS unless the user explicitly asks for implementation detail.
- Distinctive: line 88
Do not expand into copywriting, feature scope, or general usability unless that directly blocks the layout fix.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Layout Review
Overview
Use this skill when the problem is specifically about layout quality in an existing Web/App UI surface. Focus on layout-only findings and remediation guidance, then hand the approved fix brief to uiux-design when repo edits or browser verification are required.
Boundaries
- Use this skill for layout-only issues:
- spacing inconsistency
- alignment or centering drift
- overflow, clipping, truncation, or wrapping failures
- breakpoint or responsive layout regressions
- grid, stack, column, card, table, toolbar, modal, or sticky element layout problems
- Do not widen the review into general UX critique unless the user explicitly asks for it.
- If the task starts from text-only requirements or planning notes, route to
gemini-cli. - If the task needs repo edits, browser automation, or post-build verification, route to
uiux-designafter producing the fix brief.
Inputs
Prefer existing UI evidence:
- screenshots
- live UI observations
- implemented pages or components
- design artifacts with concrete layout problems
If the evidence is incomplete, ask for the smallest missing artifact needed to identify the layout issue reliably. Do not guess from vague descriptions when the viewport, state, or affected surface is unclear.
Workflow
1. Gather and normalize evidence
- Identify the affected surface, state, and viewport first.
- Note whether the issue appears on mobile, tablet, desktop, or multiple breakpoints.
- Capture only the facts needed for layout diagnosis: component positions, spacing rhythm, overflow behavior, clipped content, sticky overlaps, or blocked actions.
2. Classify the layout issue
Use references/issue-checklist.md to classify the problem before recommending fixes.
Typical classes:
- spacing rhythm
- alignment and centering
- overflow and wrapping
- responsive transformation failure
- sticky, modal, drawer, or overlay collision
- form field and validation layout instability
- data-heavy layout such as cards, tables, toolbars, or filters
3. Write a narrow remediation brief
- Keep the scope layout-only.
- Describe the problem in observable terms instead of aesthetic preference language.
- State the user impact directly, for example hidden CTA, clipped error message, broken scan path, or horizontal scroll.
- Recommend the smallest fix that resolves the issue without changing unrelated behavior.
- Include viewport-specific layout rules when the problem is responsive.
4. Add acceptance checks
- Make the acceptance checks browser-testable.
- Name at least one affected viewport and one stable verification scenario.
- Include content safety expectations for long text, helper text, error messages, tables, toolbars, or sticky actions when relevant.
- If the fix depends on implementation or browser validation, explicitly hand off to
uiux-design.
Output Contract
Always answer in Traditional Chinese and use the structure from references/output-template.md.
Required sections:
版面摘要主要問題修正 brief驗收檢查轉交建議
Rules:
- Keep each issue concrete: surface, viewport, symptom, impact, and recommended fix.
- Do not prescribe exact CSS unless the user explicitly asks for implementation detail.
- Do not expand into copywriting, feature scope, or general usability unless that directly blocks the layout fix.
- Omit
轉交建議only when no downstream implementation or verification handoff is needed.
References
references/routing.md: when to use this skill versusgemini-clioruiux-designreferences/issue-checklist.md: layout issue categories and what to inspect for each onereferences/output-template.md: required report structure and acceptance-check writing pattern
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

