align-grid
Skill by danielvm-git
Builds editorial, magazine and report webpages on a Müller-Brockmann modular grid in the International Typographic Style. It also provides a scaffold generator and a Puppeteer harness that checks grid adherence at 0px. Aimed at designers and front-end developers.
Install align-grid
Built from the published package, never by AI.
git clone --depth 1 https://github.com/danielvm-git/bigpowers /tmp/bigpowers && mkdir -p ~/.claude/skills && cp -r /tmp/bigpowers/.pi/skills/align-grid ~/.claude/skills/align-gridRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/danielvm-git/bigpowers /tmp/bigpowers && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/bigpowers/.pi/skills/align-grid ~/.gemini/antigravity-cli/skills/align-gridAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The align-grid skill helps an AI assistant build editorial, magazine and report webpages on a modular grid in the International Typographic Style, based on Josef Müller-Brockmann's work. It sets out design rules such as columns, modules, an 8px baseline, grotesque type, flush-left text and a black, white and red palette. It also covers front-end methods: CSS variables as one source of truth, a grid overlay inside the same content box, subgrid bands and optical alignment of display type.
The package includes grid_tokens.py, which generates the grid CSS, toggle script and optical alignment code. It also includes verify_grid.js, a Puppeteer harness that renders a page at several widths and reports pass or fail for column, overlay, baseline and ink alignment. It is intended for designers and developers who want a grid they can toggle and measure.
Written from the project's SKILL.md and checked against it.
What it can do
- Grid design rulesGuides the assistant through columns, modules, baseline, grotesque type and a restrained palette.
- grid_tokens.pyGenerates the :root grid variables, subgrid band scaffold, overlay CSS, toggle and optical alignment JavaScript.
- Subgrid bandsPlaces headlines, text, photos and captions on identical column lines using CSS subgrid.
- Grid overlay toggleShows numbered column fields, baseline and margin lines over the page with a button or the G key.
- Baseline lockSets leading and spacing as multiples of an 8px baseline unit so vertical rhythm stays consistent.
- Optical alignmentShifts large display type so its visible ink, not its box, lands on a column line.
- verify_grid.jsPuppeteer harness that asserts column, overlay, baseline and optical ink alignment at several widths.
What you need
- Python 3 for grid_tokens.py
- Node.js for verify_grid.js
- Puppeteer or puppeteer-core module
- Headless Chrome binary
Try asking
- Build a magazine-style report page on a 12-column grid with an 8px baseline.
- Scaffold a Swiss-style page with 8 columns and a red accent colour.
- Run verify_grid.js on my page at 1440, 1180 and 900px widths.
Good to know
- verify_grid.js needs a Chrome binary and a Puppeteer module path, set through CHROME and PUP.
- Optical checks need the real webfont embedded, because headless Chrome may measure a fallback font.
- The CLI screenshot option can hang on tall pages, so the source recommends driving screenshots through Puppeteer.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .pi/skills/align-grid/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to align-grid
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
align-grid: common questions
Does the skill check grid alignment automatically?
Yes. verify_grid.js renders the page in headless Chrome at several widths and asserts column, overlay, baseline and optical ink alignment.
What is optical alignment in align-grid?
It shifts large display type so the visible ink, not the layout box, sits on a column line, using the side-bearing measured from the loaded font.
How do I toggle the grid overlay?
A button or the G key toggles a body.grid-on class, which fades in an overlay of column fields, baseline and margin lines.
How do I install align-grid?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is align-grid free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is align-grid safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to align-grid?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
