All skills
SKILL.md / zh

css-debug

majiayu000/spellbook

Use this skill to diagnose CSS and frontend layout issues such as positioning, overflow clipping, Tailwind class conflicts, z-index stacking, and React rendering visibility problems.

Install css-debug in 1 command

skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.

Claude Code

Run in your terminal, inside the project.

npx skills add majiayu000/spellbook --skill css-debug -a claude-code

Codex

Installs into .agents/skills for Codex.

npx skills add majiayu000/spellbook --skill css-debug -a codex

claude.ai

No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.

  1. Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
  2. In Settings, Capabilities, turn on code execution and file creation.
  3. Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.

Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist

What it does

Use this skill to diagnose CSS and frontend layout issues such as positioning, overflow clipping, Tailwind class conflicts, z-index stacking, and React rendering visibility problems.

Source on GitHub: majiayu000/spellbook

Example prompt

Paste this after installing. Replace the task with your own.

Use the css-debug skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

Or let your agent review and install it

Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.

GitHub file

Path
skills/css-debug/SKILL.md
Source updated
02/10/2026

SKILL.md

read only

Open the full file on GitHub

Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.

Read SKILL.md on GitHub

Get the free Claude Code skills PDF

A short guide to the skills worth installing first, sent in Telegram by Anton Shumeiko. It also opens the free Claude Skills course.

Open in Telegram

About the css-debug skill

css-debug is an Agent Skill from the majiayu000/spellbook GitHub repository, which has 287 stars and 26 forks. The skill file is skills/css-debug/SKILL.md on the main branch: open it on GitHub.

Description: Use this skill to diagnose CSS and frontend layout issues such as positioning, overflow clipping, Tailwind class conflicts, z-index stacking, and React rendering visibility problems.

Repository licence: MIT. Categories: Frontend, Testing. Source updated: 2026-10-02.

Start of SKILL.md

CSS Debug Skill <command-name>css-debug</command-name> <user-invocable>true</user-invocable> ## 使用场景 当用户遇到以下问题时使用此 skill: - CSS 定位问题(元素位置不正确、被裁剪、溢出等) - React 组件渲染问题 - Tailwind CSS 类不生效 - 绝对定位/相对定位问题 - Flexbox/Grid 布局问题 - z-index 层叠问题 ## 调试步骤 ### 1. 收集信息 首先向用户询问或获取: - 浏览器开发者工具中的 HTML 结构 - 相关元素的 computed styles - 父容器的 CSS 属性(特别是 position、overflow、display) -…

Install css-debug in 1 command

Claude Code: npx skills add majiayu000/spellbook --skill css-debug -a claude-code

Codex: npx skills add majiayu000/spellbook --skill css-debug -a codex

claude.ai: download the skill folder from GitHub and zip it, turn on code execution and file creation in Settings, Capabilities, then upload the zip in Customize, Skills, Create skill, Upload a skill. Read SKILL.md and any scripts first. Step-by-step guides: install in Claude Code, install in Codex and the security checklist.

Example prompt

Use the css-debug skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

More skills from majiayu000/spellbook

Related skills

  • agentic-workflows (mono/SkiaSharp): Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
  • remotion-best-practices (haydenbleasel/blume): Best practices for Remotion - Video creation in React
  • deep-research (daymade/claude-code-skills): Generate format-controlled research reports with evidence tracking, citations, source governance, and multi-pass synthesis. This skill should be used when users request…
  • auteur (agiwhitelist/auteur): Design and build complete web experiences from scratch — award-level product and marketing pages, cinematic scroll-directed sites where the page is directed like a film,…
  • dd-triage-flaky-test (DataDog/pup): Load when investigating a specific flaky test. Gets history, failure pattern, and category, then recommends fix, quarantine, or escalate.
  • brand-visual-generator (kostja94/marketing-skills): When the user wants to define, audit, or apply visual identity (typography, colors, spacing, design tokens, frontend aesthetics). Also use when the user mentions "brand…

Browse the free Claude skills catalogue