by pritamux
An agent skill for alignment passes: draw guide lines down an interface, find every item that misses its line, fix the padding.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/pritamux/gridlinesGuides for using ai agents skills like gridlines.
See how gridlines compares with popular alternatives.
An agent skill for alignment passes. It draws vertical guide lines down an interface, finds every item that misses its line, and fixes the padding so sidebars, toolbars, panels, menus and tables share a small set of edges.
Draw the lines first, then move the items.
npx skills add pritamux/gridlines
Or copy skills/gridlines/ into your agent's skills folder (for Claude Code, ~/.claude/skills/gridlines/).
Then ask your agent for an alignment pass, or call it directly:
/gridlines line up the settings sidebar
| File | What it does |
|---|---|
skills/gridlines/SKILL.md |
The process and the rules the agent follows |
skills/gridlines/probe.js |
Runs in the page: measures the ink edges of text, icons and controls, draws the guides, lists every miss |
skills/gridlines/audit.mjs |
Loads a page in headless Chromium, runs the probe, saves a 2x capture with the guides and a JSON report |
examples/sidebar.html |
A sidebar with four planted misses, to see a report before pointing it at your app |
The audit script needs Playwright. Install it anywhere and point PW_DIR at that folder:
npm i --prefix /tmp/gridlines-pw playwright
npx --prefix /tmp/gridlines-pw playwright install chromium
PW_DIR=/tmp/gridlines-pw node skills/gridlines/audit.mjs "file://$PWD/examples/sidebar.html" .gridlines 800
## Sidebar x0 w240
lead 12px icon centre 20px label 36px trailing 12px trailing centre 22px
MISS y56 trailing: 15px vs 12px [12]
MISS y88 leading: 15px vs 12px Workspace
MISS y120 label: 38px vs 36px Views
MISS y120 vertical-centre: 3px vs 0px <svg> … Views
The probe also works without the script: paste probe.js into any page's console and call window.__gridlines().


The rules come from Karri Saarinen's redraw of the Linear sidebar and his notes on rhythm, edges and centring, backed by the layout chapter of Apple's Human Interface Guidelines.
MIT
gridlines is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by pritamux. An agent skill for alignment passes: draw guide lines down an interface, find every item that misses its line, fix the padding. It has 54 GitHub stars.
gridlines's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/pritamux/gridlines" and add it to your Claude Code skills directory (see the Installation section above).
gridlines is primarily written in JavaScript. It is open-source under pritamux on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh gridlines against similar tools.
No comments yet. Be the first to share your thoughts!