Agent skill

Panda CSS

by bangumi in bangumi/frontend

Implement, migrate, review, or debug Panda CSS styles in the Bangumi frontend.

BSD-3-ClauseAuto-check passedData & Analytics

Install Panda CSS

skills CLI
$ npx skills add bangumi/frontend --skill panda-css -a claude-code

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

GitHub CLI
$ gh skill install bangumi/frontend panda-css --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/bangumi/frontend.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/panda-css .claude/skills/panda-css && 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
panda-css
GitHub stars
127
Token cost
~1.4k tokens
SKILL.md length
620 words
Files
2 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Implement, migrate, review, or debug Panda CSS styles in the Bangumi frontend.

  • Works in 4 steps: Read AGENTS.md, panda.config.ts, the… → Read references/project-patterns.md for… → Inspect package.json and pnpm-lock.yaml… → …
  • Editing TS/TSX styles imported from @bangumi/styled-system
  • SKILL.md covers Establish Context, Choose the Styling Path, Write Extractable Styles and Respect Repository Integration, plus 2 more sections
  • Calls pnpm

What it does

Panda CSS is an agent skill from bangumi/frontend. Implement, migrate, review, or debug Panda CSS styles in the Bangumi frontend. Use when editing TS/TSX styles imported from @bangumi/styled-system, converting Less or CSS Modules to Panda CSS, adding responsive or conditional styles, modeling component variants, changing panda.config.ts or PostCSS integration, regenerating packages/styled-system, or diagnosing missing Panda styles.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/project-patterns.md`).

It sits in Data & Analytics, covering DataFrames. The licence is BSD-3-Clause.

When your agent uses it

  • Editing TS/TSX styles imported from @bangumi/styled-system
  • Converting Less
  • CSS Modules to Panda CSS
  • Adding responsive

Example prompts

  • “/panda-css”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read AGENTS.md, panda.config.ts, the target component, and adjacent components before editing.
  2. Read references/project-patterns.md for repository-specific
  3. Inspect package.json and pnpm-lock.yaml for the installed Panda version. Treat the checked-in
  4. When library behavior or API details matter, follow AGENTS.md and query current official Panda

What it can do on your machine

Read from SKILL.md and the folder at commit a0ad2aa. 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

    Shell commands in SKILL.md call:

    • pnpm

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

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    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

Panda CSS loads about 1.4k tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 100 tokens; SKILL.md has 620 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
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.2k

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

The full file from bangumi/frontend at commit a0ad2aa, republished under its BSD-3-Clause licence (© bangumi). 620 words, ~1,378 tokens.

Download SKILL.mdSave it as .claude/skills/panda-css/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
panda-css
description
Implement, migrate, review, or debug Panda CSS styles in the Bangumi frontend. Use when editing TS/TSX styles imported from `@bangumi/styled-system`, converting Less or CSS Modules to Panda CSS, adding responsive or conditional styles, modeling component variants, changing `panda.config.ts` or PostCSS integration, regenerating `packages/styled-system`, or diagnosing missing Panda styles.

Panda CSS for Bangumi

Apply Panda CSS in the form already integrated into this repository. Keep source styles statically extractable, preserve existing UI behavior, and regenerate the committed styled-system artifacts.

Establish Context

  1. Read AGENTS.md, panda.config.ts, the target component, and adjacent components before editing.
  2. Read references/project-patterns.md for repository-specific setup, examples, extraction constraints, and migration guidance.
  3. Inspect package.json and pnpm-lock.yaml for the installed Panda version. Treat the checked-in configuration and generated types as the source of truth for this repository.
  4. When library behavior or API details matter, follow AGENTS.md and query current official Panda CSS documentation through Context7. Resolve Panda CSS, then query with the user's full question.

Choose the Styling Path

  • Add all new TS/TSX styles with Panda CSS.
  • Continue using an existing CSS Module or Less file when only adjusting its existing styles and a migration is not part of the task. Do not add new rules to *.module.less.
  • Migrate a complete, coherent component or style unit when migration is requested. Do not leave two competing sources for the same rule.
  • Reuse @bangumi/design and existing local styles before adding a new abstraction.
  • Use module-level css({...}) constants for ordinary component and page styles.
  • Use cx(...) for a small number of conditional classes.
  • Use cva(...) only when a reusable component has a real variant API with several combinations.
  • Use inline styles or a CSS custom property for truly runtime-only values such as coordinates, progress percentages, or asset-derived positions. Keep the surrounding layout in Panda CSS.

Write Extractable Styles

Import from the generated workspace package:

tsx
import { css, cx } from '@bangumi/styled-system/css';

const item = css({
  display: 'flex',
  alignItems: 'center',
  gap: '8px',
  _hover: { color: '#3db3f5' },
  smDown: { gap: '4px' },
});

const selected = css({ fontWeight: '600' });

<div className={cx(item, isSelected && selected)} />;

Keep style keys and values statically visible to Panda. Do not build css() calls from arbitrary props, API data, template strings, or computed property names. For finite variants, enumerate every value in static classes or cva. For unbounded runtime values, use style or a CSS variable.

Prefer typed built-in conditions such as _hover, _focusVisible, _disabled, _before, and _after. Use smDown and other generated breakpoint conditions when they match the design; use an explicit @media (...) key for a nonstandard breakpoint. Use & selectors for attributes, descendants, and legacy class hooks.

Do not invent token names. Reuse a token only after confirming it exists in @bangumi/styled-system/tokens or the generated types. Add shared semantic tokens to panda.config.ts only when the reuse justifies a repository-wide contract.

Show full SKILL.md (243 more words)Show less

Respect Repository Integration

  • Confirm the styled source is covered by panda.config.ts#include. Extend include deliberately if Panda styles are added under a new source tree.
  • Do not enable Panda preflight casually. This repository sets preflight: false and imports reset-css separately.
  • Do not import packages/styled-system/styles.css from individual components. The website entry CSS already imports it and declares the cascade layer order.
  • Do not hand-edit generated files under packages/styled-system.
  • Preserve the PostCSS repository-root cwd; extraction globs depend on it in workspace commands.
  • Keep imports compatible with the repository's sorting and type-import rules.

Regenerate and Verify

After source-only Panda style changes, run:

bash
pnpm panda:cssgen

After changing Panda configuration, tokens, recipes, patterns, conditions, or generated API shape, run both commands:

bash
pnpm panda:codegen
pnpm panda:cssgen

Review the packages/styled-system diff and commit the relevant generated changes. Then run checks in proportion to the change, normally including:

bash
pnpm lint
pnpm lint:style
pnpm type-check
pnpm prettier:check
pnpm build

Run focused tests for changed behavior. For visual implementation or regression work, use the repository's playwright-visual-implementation skill and screenshot workflow; do not leave a dev or preview server running.

Diagnose Missing Styles

Check these causes in order:

  1. Confirm the source path matches a panda.config.ts#include glob.
  2. Confirm the css/cva definition contains static literals Panda can extract.
  3. Confirm the import comes from @bangumi/styled-system, not directly from @pandacss/dev.
  4. Regenerate CSS and inspect the generated diff for the expected declaration.
  5. Confirm the application entry imports packages/styled-system/styles.css through its normal CSS entry and that cascade layer order remains intact.
  6. Run the build to catch extraction, import, and type failures.

© bangumi, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in .agents/skills/panda-css of bangumi/frontend.

  • SKILL.md
  • references/project-patterns.md

Open the folder on GitHubat commit a0ad2aa

Compare with similar skills

Panda CSS 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.

Panda CSS compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Panda CSS this skillbangumi/frontend127—~1.4kAutomated safety check: PassBSD-3-Clause
Chdb Datastorevemetric/vemetric3942 repos~1.4kAutomated safety check: PassApache-2.0
Polar Python SDKpolarsource/polar10k—~1.8kAutomated safety check: PassApache-2.0
Polar Typescript SDKpolarsource/polar10k—~2kAutomated safety check: PassApache-2.0
CSV Data Summarizercoffeefuelbump/csv-data-summarizer-claude-skill4682 repos~1.4kAutomated safety check: PassNone
Paper FiguresEvoScientist/EvoSkills4751 repos~4.4kAutomated safety check: PassApache-2.0

Similar skills

  • Chdb Datastore

    vemetric/vemetric

    A skill your agent uses when the user has tabular data (pandas DataFrame, parquet, csv, Arrow, json) and wants to filter, group, aggregate, join, or speed up slow pandas.

    394 GitHub starsUsed in 2 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • Polar Python SDK

    polarsource/polar

    Integrate Polar billing in server-side Python applications using the versioned Polar and PolarAsync clients.

    10k GitHub stars~1.8k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Polar Typescript SDK

    polarsource/polar

    Integrate Polar billing in server-side TypeScript applications using the versioned createPolar and createPolarCore clients.

    10k GitHub stars~2k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • CSV Data Summarizer

    coffeefuelbump/csv-data-summarizer-claude-skill

    Analyzes CSV files, generates summary stats, and plots quick visualizations using Python and pandas.

    468 GitHub starsUsed in 2 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • Paper Figures

    EvoScientist/EvoSkills

    A skill your agent uses to produce standalone, publication-ready PNG graphics and reproducible matplotlib scripts from tabular data (CSVs or DataFrames).

    475 GitHub starsUsed in 1 repo~4.4k tokens
    Data & AnalyticsAuto-check passed
  • Python Executor

    cortega26/chile-hub

    Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).

    113 GitHub starsUsed in 2 repos~1.5k tokens
    Data & AnalyticsAuto-check passed

More from bangumi/frontend

  • Use Playwright screenshots to implement or repair a frontend against one or more visual references.

    127 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed

Questions about Panda CSS

What does Panda CSS do?

Implement, migrate, review, or debug Panda CSS styles in the Bangumi frontend. Panda CSS is an agent skill from bangumi/frontend. Implement, migrate, review, or debug Panda CSS styles in the Bangumi frontend.

When should I use Panda CSS?

Panda CSS fits situations like: editing TS/TSX styles imported from @bangumi/styled-system; converting Less; CSS Modules to Panda CSS; adding responsive.

How do I install Panda CSS in Claude Code?

Run `npx skills add bangumi/frontend --skill panda-css -a claude-code`. Or copy the skill folder (.agents/skills/panda-css in bangumi/frontend) into .claude/skills/panda-css in your project. Claude Code loads it when a task matches its description.

How do I install Panda CSS in Codex?

Run `npx skills add bangumi/frontend --skill panda-css -a codex`. Or copy the skill folder (.agents/skills/panda-css in bangumi/frontend) into .agents/skills/panda-css in your project. Codex loads it when a task matches its description.

Can I use Panda CSS 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 bangumi/frontend --skill panda-css -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/panda-css, .gemini/skills/panda-css, .github/skills/panda-css and .opencode/skills/panda-css in your project.

What does Panda CSS need to run?

Going by SKILL.md and its folder, Panda CSS needs the command-line tools its instructions call (pnpm).

Does Panda CSS 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 Panda CSS 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 Panda CSS use?

Panda CSS is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Panda CSS use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Panda CSS?

Skills that share tags, products or a category with Panda CSS: Chdb Datastore (vemetric/vemetric, 394 stars), Polar Python SDK (polarsource/polar, 10k stars), Polar Typescript SDK (polarsource/polar, 10k stars) and CSV Data Summarizer (coffeefuelbump/csv-data-summarizer-claude-skill, 468 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Panda CSS?

bangumi (a GitHub organization) maintains it in bangumi/frontend, which has 127 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 5, 2026.

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