panda-css
Installation
SKILL.md
Panda CSS
Use this skill to configure, author, or debug Panda CSS in JavaScript and TypeScript projects.
Workflow
- Inspect the existing setup before changing anything:
- Package manager and repo instructions, especially AGENTS.md.
package.jsonscripts and dependencies.panda.config.*,postcss.config.*, framework config, root CSS imports,tsconfig.json, and generatedstyled-systemusage.
- Prefer the integration the project already uses. For new setup, prefer PostCSS when the framework supports it; use the Panda CLI when PostCSS is unavailable or the project already uses CLI-generated CSS.
- Respect the project's package manager and scripts. For JS/TS one-off commands, default to
pnpxunless the repo instructions or lockfile clearly prefer another command. - Keep authored styles extraction-safe. Prefer object literals passed to generated helpers such as
css, recipes, patterns, andstyled; avoid constructing style keys or class names dynamically unless the config explicitly covers them withstaticCss. - Regenerate Panda artifacts after config, token, utility, recipe, or pattern changes. Check whether the repo uses a
prepare,postinstall, dev, build, or explicitpanda codegenscript. - Verify the actual failure path: generated files, CSS layer import, content globs, TypeScript include paths, and runtime import paths.
References
Read references/panda-css.md when exact setup snippets, config keys, authoring patterns, token syntax, CLI commands, or troubleshooting checks are needed.