Responsive layout system
Skill swd3k/skills/agent-skills/web-design/responsive-layout-system
Portable agent skills for desktop apps, programming, UI, and web design - Codex, Claude, Cursor, Grok. English SKILL.md playbooks (Photino, Inno, CI, landings).
npx -y skills add swd3k/skills --skill responsive-layout-systemAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 19 days oldThe repository was created 19 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Implement robust responsive layouts with breakpoints, fluid type, and container patterns. Use when fixing mobile breakage, overflow, or inconsistent section widths.
SKILL.md
0.9 KB, as published. Nobody here has run it
Responsive Layout System
Defaults
:root {
--content: 72rem;
--gutter: clamp(1rem, 4vw, 2rem);
}
.container {
width: min(100% - 2*var(--gutter), var(--content));
margin-inline: auto;
}
Breakpoints (example)
- sm 640 · md 768 · lg 1024 · xl 1280
- Design mobile structure first for content sites; desktop-first OK for dense tools
Rules
- Prefer
min,clamp, flex/grid over hard px pages - Avoid horizontal scroll on 360px width
- Tables: cardify or scroll with shadow hints
- Images:
max-width:100%; height:auto
Pitfalls
- Fixed 1440px mockups shipped as-is
- Hover-only critical actions on mobile
Acceptance
- 360 / 768 / 1280 checked for main templates