A specialized AI agent skill designed for Claude Code, Cursor, GitHub Copilot, Windsurf, and 40+ other agents. It enforces modern, breakpoint-free responsive CSS layouts following the Intrinsic Web Design methodology.
This skill encodes the "Intrinsic Design" methodology (based on the excellent Frontend Masters article by Amit Sheen). It teaches your AI agent to move away from using @media viewport breakpoints as the primary layout engine, and instead rely on context-aware layout primitives where content dictates the layout.
The skill instructs the AI to use a four-method approach to CSS:
- Intrinsic Layouts: Using
auto-fit,minmax(),flex-wrap, andcalc(infinity)instead of fixed column counts at breakpoints. - Fluid Values: Smooth scaling using
clamp(),min(), andmax()withviunits instead of stepped size changes. - Container Units: Using
cqiandcqbfor sizing relative to the component itself, not the global viewport. - Container Queries: Using
@containerfor structural shifts at the component level.
It explicitly reserves @media queries exclusively for:
- Device capabilities:
hover,pointer,display-mode,update,scripting. - User preferences:
prefers-color-scheme,prefers-reduced-motion,prefers-contrast,prefers-reduced-data.
This skill is compatible with the Vercel skills ecosystem. You can install it using the open skills CLI.
Install into your current project:
npx skills add pagelab/intrinsic-design-skillInstall just this specific skill:
npx skills add pagelab/intrinsic-design-skill --skill intrinsic-designInstall to a specific agent only:
npx skills add pagelab/intrinsic-design-skill --agent claude-code
npx skills add pagelab/intrinsic-design-skill --agent cursorInstall globally (user-wide, across all projects):
npx skills add pagelab/intrinsic-design-skill --globalOnce installed, the highly-optimized trigger description ensures that your AI agent will automatically apply these techniques anytime you ask it to refactor a grid, scale typography, adapt a responsive component without media queries, or anytime you mention fluid typography, clamp(), or Container Queries.
skills/
intrinsic-design/
SKILL.md # The core prompt instructions, formatting rules, and anti-patterns
- Modern Standards: The CSS techniques advocated here (
clamp,@container,cqi,vi) have been cross-referenced withcaniusedata and hold Baseline: Widely Available status across all major modern browsers. - Agent Performance: During simulated benchmarking, this skill achieved a 100% pass rate on generating modern CSS without viewport breakpoints, compared to a 50% pass rate from baseline models. It also significantly reduces token usage by preventing the model from writing excessively verbose viewport
calc()math or repetitive media query blocks.
MIT License