nested-container-frames — Claude Code skill: how to install
Guides AI coding agents in building container-in-container layouts with framed bounds and inset sections. Useful for clean landing page structure.
npx skills add MengTo/Skills --skill nested-container-frames -a claude-codeWhat nested-container-frames does
This skill guides layout generation through a five-step container-in-container workflow. An outer centered container controls global page width, bounded by visible vertical guide lines and corner markers.
Inner containers sit inset from the perimeter with dedicated padding, custom background colors, and rounded borders. This hierarchy separates hero blocks, feature lists, social proof, and call-to-action sections without piling up heavy cards.
Layout guardrails prevent common design mistakes here. Over-nesting cards will quickly box in the layout, and thick boundary lines risk hurting text readability.
What it helps with
- structure web layouts with nested container frames
- add visible boundary lines and corner markers to outer bounds
- separate page modules without stacking heavy card components
- maintain consistent inset padding and border radii across frame levels
Example prompts for the agent
- Build a hero section and feature grid using nested-container-frames
- Structure this landing page with outer boundary lines and inset frames via nested-container-frames
- Refactor our page layout to use nested-container-frames instead of heavy card blocks
How to install nested-container-frames
1Skills CLI (Vercel)
npx skills add MengTo/Skills --skill nested-container-frames -a claude-code2Manually: put the files in place
~/.claude/skills/nested-container-frames/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/nested-container-frames/
1Skills CLI (Vercel)
npx skills add MengTo/Skills --skill nested-container-frames -a codex2Manually: put the files in place
.agents/skills/nested-container-frames/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add MengTo/Skills --skill nested-container-frames -a cursor2Manually: put the files in place
.cursor/skills/nested-container-frames/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install MengTo/Skills nested-container-frames2Manually: put the files in place
.github/skills/nested-container-frames/SKILL.md1Skills CLI (Vercel)
npx skills add MengTo/Skills --skill nested-container-frames -a gemini-cli2Platform CLI
gemini skills install https://github.com/MengTo/Skills --path agent-skills/web-design/nested-container-framesManually: put the files in place
.devin/skills/nested-container-frames/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add MengTo/Skills --skill nested-container-frames -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about nested-container-frames
How to install nested-container-frames in Claude Code?
Run npx skills add MengTo/Skills --skill nested-container-frames -a claude-code.
What does the nested-container-frames skill do?
It instructs the agent to create a layered container-in-container system. The outer container sets boundaries and corner markers, while inner blocks handle content with distinct backgrounds and paddings.
What design guardrails are included in nested-container-frames?
It explicitly restricts nesting cards inside cards until the design feels boxed in. It also warns against aggressive frame lines that distract from reading content.
Source text
SKILL.md · MIT
--- name: nested-container-frames description: "Create a container-in-container layout system using nested frames. Use an outer centered container with visible vertical boundary lines and corner markers. Inside, place inner containers inset from the edges, each with its own background and rounded frame. Technique: outer container defines global bounds, inner containers use padding to create inset spacing, layered frames (border + background) to separate levels, and consistent spacing between outer frame and inner blocks." --- # Nested Container Frames Skill ## Use When - A layout needs a container-in-container system with visible outer bounds, inset inner frames, and layered page structure. ## Workflow 1. Define an outer centered container that controls the global page width. 2. Add visible vertical boundary lines and small corner markers to establish the frame. 3. Place inner containers inset from the outer edges using consistent padding. 4. Give each inner level its own background, border, radius, and spacing rhythm. 5. Use the frame hierarchy to separate hero, feature, proof, and CTA modules without adding heavy cards. ## Guardrails - Do not nest cards inside cards until the layout feels boxed in. - Do not let frame lines overpower content readability.
© MengTo · MIT · MengTo/Skills