Preview unavailable. Watch on X
Prefer Container Queries
Design & UI
Instructs coding agents to use CSS container queries instead of viewport media queries so UI components adapt cleanly to any parent layout without duplicate markup.
Install command
npx skills add flornkm/skills
Agent prompt
Use the "Prefer Container Queries" skill for my current task. GitHub source: https://github.com/flornkm/skills Fetch this source and read its README, applicable SKILL.md files, and referenced instructions before using it. Add the relevant skill to your own supported skills directory or use the documented installation method. Check the source and permissions before running any setup commands. Published installation command: npx skills add flornkm/skills Apply the skill to my current project: Instructs coding agents to use CSS container queries instead of viewport media queries so UI components adapt cleanly to any parent layout without duplicate markup. Follow the repository instructions, make the required changes, and verify the result. If my intended task is missing, ask me to describe it first.
Agents: Universal (all coding agents)
1,708 likes 79,449 views at import