Official agent skill

Migrate Container Queries

by getsentry in getsentry/sentry

Guide for migrating viewport media queries (@media, useMedia, and screen:-prefixed responsive props) to container queries in Sentry's frontend.

OfficialCustom licenceAuto-check passedFrontend & Design

Install Migrate Container Queries

skills CLI
$ npx skills add getsentry/sentry --skill migrate-container-queries -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install getsentry/sentry migrate-container-queries --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/getsentry/sentry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/migrate-container-queries .claude/skills/migrate-container-queries && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
migrate-container-queries
GitHub stars
46k
Token cost
~2.4k tokens
SKILL.md length
913 words
Files
2
Skills in repo
29
Repo updated
First seen
Licence
Custom licence

At a glance

Guide for migrating viewport media queries (@media, useMedia, and screen:-prefixed responsive props) to container queries in Sentry's frontend.

  • Migrating responsive layout to container queries
  • SKILL.md covers Approach: refactor first, swap…, ⚠️ Convert to the nearest…, Genuine viewport width →… and Existing screen: props are…, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Replacing @media/useMedia/screen: breakpoints

What it does

Migrate Container Queries is an agent skill from getsentry/sentry, published by the product's own GitHub organization. Guide for migrating viewport media queries (@media, useMedia, and screen:-prefixed responsive props) to container queries in Sentry's frontend. Use when migrating responsive layout to container queries, replacing @media/useMedia/screen: breakpoints, refactoring styled responsive components to Container/Flex/Grid primitives, or working on the DE container-query migration.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `SPEC.md`).

It sits in Frontend & Design, covering Responsive design and Refactoring. It works with Sentry. The repository describes itself as: Developer-first error tracking and performance monitoring.

When your agent uses it

  • Migrating responsive layout to container queries
  • Replacing @media/useMedia/screen: breakpoints
  • Refactoring styled responsive components to Container/Flex/Grid primitives
  • Working on the DE container-query migration

Example prompts

  • “/migrate-container-queries”

What it can do on your machine

Read from SKILL.md and the folder at commit 99b4c2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Migrate Container Queries loads about 2.4k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 913 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 913 words (~2,440 tokens).

“Migrate viewport-based responsive logic (@media, useMedia, and screen:-prefixed responsive props) to container queries so components respond to their own available space instead of the raw viewport.”

— opening of SKILL.md by getsentry, Custom licence
name
migrate-container-queries

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .agents/skills/migrate-container-queries of getsentry/sentry.

  • SKILL.md
  • SPEC.md

Open the folder on GitHubat commit 99b4c2b

Compare with similar skills

Migrate Container Queries next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Migrate Container Queries compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrate Container Queries this skillgetsentry/sentry46k—~2.4kAutomated safety check: PassCustom licence
Html5 BootstrapBlueAndi/Pixelix443—~1.7kAutomated safety check: PassMIT
Modern CSSpass-agent/loomkin181—~3.8kAutomated safety check: PassMIT
Common Web Visual TestingHoangNguyen0403/agent-skills-standard571—~760Automated safety check: PassMIT
Refactoring UIs0xDk/refactoring-ui-skill586—~3.5kAutomated safety check: PassMIT
Plate UIudecode/plate17k—~2.6kAutomated safety check: PassCustom licence

Similar skills

  • Html5 Bootstrap

    BlueAndi/Pixelix

    Create, refactor, and review HTML using the HTML Living Standard and Bootstrap 5.3.

    443 GitHub stars~1.7k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Modern CSS

    pass-agent/loomkin

    Specialized knowledge for writing modern high-quality CSS. An agent skill from pass-agent/loomkin.

    181 GitHub stars~3.8k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • Common Web Visual Testing

    HoangNguyen0403/agent-skills-standard

    Standardizes visual audits, responsive design, and behavioral testing for web apps.

    571 GitHub stars~760 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Refactoring UI

    s0xDk/refactoring-ui-skill

    Design and improve user interfaces using the concrete rules from Refactoring UI (Wathan & Schoger) — constrained spacing/type/color/shadow scales, visual hierarchy through weight and color rather…

    586 GitHub stars~3.5k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Plate UI

    udecode/plate

    Build new shadcn-style components for Plate's registry and editor surfaces.

    17k GitHub stars~2.6k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Worklog Design

    regisx001/Worklog

    Design and UI skill for the Worklog desktop project manager.

    261 GitHub stars~3.3k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed

More from getsentry/sentry

All 29 skills in this repo
  • Scraps Review

    getsentry/sentry

    Official

    Filter large Sentry Scraps design-system migration PRs for review by separating mechanical import-path changes, generated baseline updates, snapshot mocks, and pure renames from substantive…

    46k GitHub stars~1.2k tokensUpdated today
    Auto-check: notes
  • Analytics

    getsentry/sentry

    Official

    Instrument and discover analytics events in Sentry's frontend UI.

    46k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Hybrid Cloud Outboxes

    getsentry/sentry

    Official

    Guide for creating and maintaining outbox-based eventually consistent operations in Sentry.

    46k GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Hybrid Cloud Rpc

    getsentry/sentry

    Official

    Guide for creating, updating, and deprecating hybrid cloud RPC services in Sentry.

    46k GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Hybrid Cloud Test Gen

    getsentry/sentry

    Official

    Generate hybrid cloud tests for the Sentry codebase. An agent skill from getsentry/sentry.

    46k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Lint Fix

    getsentry/sentry

    Official

    Fix violations of an eslintPluginScraps rule across the codebase.

    46k GitHub stars~1k tokensUpdated today
    Auto-check passed

Works with

Questions about Migrate Container Queries

What does Migrate Container Queries do?

Guide for migrating viewport media queries (@media, useMedia, and screen:-prefixed responsive props) to container queries in Sentry's frontend. Migrate Container Queries is an agent skill from getsentry/sentry, published by the product's own GitHub organization. Guide for migrating viewport media queries (@media, useMedia, and screen:-prefixed responsive props) to container queries in Sentry's frontend.

When should I use Migrate Container Queries?

Migrate Container Queries fits situations like: migrating responsive layout to container queries; replacing @media/useMedia/screen: breakpoints; refactoring styled responsive components to Container/Flex/Grid primitives; working on the DE container-query migration.

How do I install Migrate Container Queries in Claude Code?

Run `npx skills add getsentry/sentry --skill migrate-container-queries -a claude-code`. Or copy the skill folder (.agents/skills/migrate-container-queries in getsentry/sentry) into .claude/skills/migrate-container-queries in your project. Claude Code loads it when a task matches its description.

How do I install Migrate Container Queries in Codex?

Run `npx skills add getsentry/sentry --skill migrate-container-queries -a codex`. Or copy the skill folder (.agents/skills/migrate-container-queries in getsentry/sentry) into .agents/skills/migrate-container-queries in your project. Codex loads it when a task matches its description.

Can I use Migrate Container Queries in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add getsentry/sentry --skill migrate-container-queries -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrate-container-queries, .gemini/skills/migrate-container-queries, .github/skills/migrate-container-queries and .opencode/skills/migrate-container-queries in your project.

What does Migrate Container Queries need to run?

SKILL.md names no scripts, command-line tools or credentials: Migrate Container Queries is instructions for the agent only.

Does Migrate Container Queries access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Migrate Container Queries safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Migrate Container Queries use?

Migrate Container Queries has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Migrate Container Queries use?

About 2.4k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Migrate Container Queries?

Skills that share tags, products or a category with Migrate Container Queries: Html5 Bootstrap (BlueAndi/Pixelix, 443 stars), Modern CSS (pass-agent/loomkin, 181 stars), Common Web Visual Testing (HoangNguyen0403/agent-skills-standard, 571 stars) and Refactoring UI (s0xDk/refactoring-ui-skill, 586 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migrate Container Queries?

getsentry (a GitHub organization, an official publisher) maintains it in getsentry/sentry, which has 45,505 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 8, 2026.

Source: getsentry/sentry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.