
Framed Grid Layout
FreeCreate structured, editorial web layouts with precision.
Free · Opens the source repo
What Framed Grid Layout does
Framed Grid Layout is a skill designed for developers and designers who need to create clean, structured web layouts that emphasize precision and organization. This skill provides a set of guidelines and CSS templates to help you establish a grid system with visible section boundaries and consistent alignment. The focus is on maintaining a technical aesthetic that is suitable for editorial content, technical documentation, or any project requiring a system-like appearance.
The layout rules outlined in this skill ensure that every section adheres to a strict grid structure, promoting uniformity across the design. By utilizing thin borders, L-shaped corner brackets, and a subtle diagonal texture, you can achieve a visually appealing yet understated look. The instructions emphasize the importance of using a single border color and spacing scale throughout the layout, which helps maintain a cohesive design language.
This skill is particularly useful when you need to create layouts that require clear separation between sections without overwhelming the user with heavy design elements. It serves as a practical solution for projects that demand a minimalistic approach while ensuring that content is presented in an organized and accessible manner. Whether you are working on a technical guide, a portfolio, or an editorial piece, Framed Grid Layout provides the tools necessary to achieve a professional finish.
In essence, this skill is ideal for those who value clarity and structure in their web designs, allowing them to focus on content while adhering to a visually appealing framework. By following the established guidelines, you can create layouts that are not only functional but also aesthetically pleasing, making it easier for users to navigate and engage with the content.
When to use it
Use this skill when you need to design web pages with a clean and precise layout, especially for technical or editorial content.
When not to use it
This skill may not be suitable for projects requiring more creative or fluid design elements, such as those with organic shapes or heavy visual effects.
What you can build with it
Technical Documentation
Use the framed grid layout to create clear and organized technical documentation that enhances readability and user engagement.
Editorial Websites
Design editorial websites with a structured layout that emphasizes content clarity and visual appeal, making it easy for readers to navigate.
Portfolio Presentation
Showcase your work in a professional manner by utilizing the framed grid layout to maintain consistency and precision across your portfolio.
How to install Framed Grid Layout
View source1. Install with the skills CLI
npx skills add mengto/skills/framed-grid-layout --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by mengtoFramed Grid Layout
Use When
- A page needs a clean technical structure with visible section boundaries.
- Content should feel precise, organized, editorial, or system-like.
- The design calls for thin guide borders, L-shaped corner brackets, and consistent framed boxes.
Layout Rules
- Define the parent grid first; make every section snap to the same columns and rows.
- Use one border color, one corner bracket color, and one spacing scale across the page.
- Keep frames rectangular and precise. Avoid floating cards, soft blobs, and uneven margins.
- Use thin lines:
1pxborders, low-contrast dividers, and subtle bracket marks. - Add diagonal background texture at very low opacity; it should read only as surface tension.
- Align section padding, headings, controls, and media edges to the same grid rhythm.
- Separate sections with consistent gaps, not random whitespace.
Base Tokens
Use neutral colors and tune contrast per theme.
:root {
--fg-bg: #f7f7f4;
--fg-surface: rgba(255, 255, 255, 0.62);
--fg-line: rgba(24, 24, 27, 0.14);
--fg-line-strong: rgba(24, 24, 27, 0.34);
--fg-texture: rgba(24, 24, 27, 0.035);
--fg-gap: 16px;
--fg-pad: clamp(16px, 2vw, 28px);
--fg-corner: 18px;
}
Parent Grid
Use the parent grid to enforce vertical and horizontal alignment.
.framed-grid {
min-height: 100vh;
padding: var(--fg-gap);
background:
repeating-linear-gradient(
135deg,
transparent 0 11px,
var(--fg-texture) 11px 12px
),
var(--fg-bg);
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: var(--fg-gap);
}
.framed-grid > * {
min-width: 0;
}
Framed Section
Each section gets the same box model, line weight, and padding.
.frame {
position: relative;
border: 1px solid var(--fg-line);
background: var(--fg-surface);
padding: var(--fg-pad);
overflow: hidden;
}
.frame + .frame {
margin-top: 0;
}
L-Shaped Corner Brackets
Use background layers so brackets stay crisp without extra markup.
.frame-brackets {
background:
linear-gradient(var(--fg-line-strong), var(--fg-line-strong)) left top / var(--fg-corner) 1px no-repeat,
linear-gradient(var(--fg-line-strong), var(--fg-line-strong)) left top / 1px var(--fg-corner) no-repeat,
linear-gradient(var(--fg-line-strong), var(--fg-line-strong)) right top / var(--fg-corner) 1px no-repeat,
linear-gradient(var(--fg-line-strong), var(--fg-line-strong)) right top / 1px var(--fg-corner) no-repeat,
linear-gradient(var(--fg-line-strong), var(--fg-line-strong)) left bottom / var(--fg-corner) 1px no-repeat,
linear-gradient(var(--fg-line-strong), var(--fg-line-strong)) left bottom / 1px var(--fg-corner) no-repeat,
linear-gradient(var(--fg-line-strong), var(--fg-line-strong)) right bottom / var(--fg-corner) 1px no-repeat,
linear-gradient(var(--fg-line-strong), var(--fg-line-strong)) right bottom / 1px var(--fg-corner) no-repeat,
var(--fg-surface);
}
Section Spans
Prefer explicit grid spans over ad hoc widths.
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
@media (max-width: 760px) {
.framed-grid {
grid-template-columns: 1fr;
}
.span-12,
.span-8,
.span-6,
.span-4 {
grid-column: 1 / -1;
}
}
Example
<main class="framed-grid">
<section class="frame frame-brackets span-12">...</section>
<section class="frame frame-brackets span-8">...</section>
<aside class="frame frame-brackets span-4">...</aside>
<section class="frame frame-brackets span-6">...</section>
<section class="frame frame-brackets span-6">...</section>
</main>
Taste Rules
- Keep frames aligned to the parent grid even when content inside varies.
- Use square or lightly rounded corners only if the product style requires it.
- Do not mix different border weights in adjacent frames.
- Do not add heavy shadows; the visible frame is the structure.
- Keep diagonal texture below
0.05opacity. - Repeat corner bracket size consistently across all major sections.
Quick Checks
- Section edges line up vertically and horizontally.
- Every frame uses the same border, padding, and corner bracket scale.
- Gaps between frames are consistent on desktop and mobile.
- The diagonal texture is visible only on close inspection.
- The layout still reads clearly if the texture layer is removed.
Frequently asked questions about Framed Grid Layout
Similar skills
Penpot UI/UX Design
Create professional UI/UX designs in Penpot with ease.
UX Theming
Streamline your VS Code theming process with best practices.
Wireframe
Create low-fidelity UI wireframes in SVG format.
Waitlist Page
Create a clean, focused pre-launch landing page.
Hallmark
Design skill for creating unique, structured UIs.
UI Styling
Create beautiful, accessible user interfaces effortlessly.
