Skip to main content
skill CX Codex

2d-pixel-perfect — Claude Code skill: install and use

Checks Unity pixel-art rendering when sprites look blurred, shake during motion, or fall off the pixel grid.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Unity-Technologies/skills --skill 2d-pixel-perfect -a claude-code
Open on GitHub

What 2d-pixel-perfect does

This skill helps diagnose and configure Unity pixel-art rendering through PixelPerfectCamera. It calls DetectPipeline() before changing anything, then checks the camera, sprite imports, grid snapping, and quality settings.

URP uses UnityEngine.Rendering.Universal.PixelPerfectCamera; Built-in uses UnityEngine.U2D.PixelPerfectCamera. Built-in requires com.unity.2d.pixel-perfect at v6.0.0+, while URP must not add that package. Checking the pipeline first is mandatory because those components cannot be swapped.

It covers blurry textures, Tilemap seams, and migration issues. Reference material includes references/pipeline-detection.cs, references/sprite-settings.cs, and camera setup files. It is not for HDRP or scenes containing only UI; use Canvas Scaler for the latter.

What it helps with

  • remove blur from pixel-art sprites
  • trace camera jitter and off-grid objects
  • configure PixelPerfectCamera for URP or Built-in
  • fix gaps between Tilemap tiles
  • update an old URP camera namespace

Example prompts for the agent

  • Inspect this Unity pixel-art scene and run DetectPipeline() before making changes
  • Diagnose blurred sprites in the current scene, then fix only the failed checks
  • Set up PixelPerfectCamera for this Tilemap after identifying the render pipeline

How to install 2d-pixel-perfect

1Skills CLI (Vercel)

npx skills add Unity-Technologies/skills --skill 2d-pixel-perfect -a claude-code

2Manually: put the files in place

~/.claude/skills/2d-pixel-perfect/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/2d-pixel-perfect/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about 2d-pixel-perfect

How do I install 2d-pixel-perfect in Claude Code?

Run npx skills add Unity-Technologies/skills --skill 2d-pixel-perfect -a claude-code, then run npx skills add Unity-Technologies/skills --skill 2d-pixel-perfect -a claude-code again. The skill file is at ~/.claude/skills/2d-pixel-perfect/SKILL.md.

What does 2d-pixel-perfect do?

It diagnoses and fixes Unity pixel-art rendering problems. The checks cover the camera component, sprite import settings, snapping, and quality configuration.

Why should com.unity.2d.pixel-perfect not be added to URP?

URP uses the component in UnityEngine.Rendering.Universal. The com.unity.2d.pixel-perfect package is for Built-in and its component does not replace the URP version.

Similar skills

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set31

audio-setup-mixers Sorts Audio Sources in an open Unity project by what they play and assigns each one to an existing Audio Mixer group. Saves the slow pass over dozens of sources by hand. CX Codex +1 3,500installs manage-sprite-atlas This skill guides SpriteAtlas creation and setup in Unity projects through the build pipeline. Use it when configuring built-in atlases or Addressables loading. CX Codex +1 3,400installs generate-editor-search-query Turns a plain request to find an asset or scene object into a Unity Search query and opens the search window in the editor. CX Codex +1 3,400installs sprite-segment-3x3grid Splits a sprite into nine equal sectors to generate a color match string relative to the central area. Useful for asset regression checks in tests. CX Codex +1 3,300installs migrate-birp-to-urp Guides Unity projects from the Built-in Render Pipeline to URP across phased audits and asset updates. CX Codex +1 3,200installs physics-3d-collision A diagnostic skill for Unity PhysX: explains why collision and trigger callbacks stay silent, objects slip through each other, or a raycast misses. CX Codex +1 2,200installs asset-transformer-toolkit This skill guides Unity workflows for bringing in 3D models and point clouds, then working with RuleSets, Actions, and LODs. Use it with Asset Transformer Toolkit or Pixyz. CX Codex +1 1,800installs build-gtk Lets the agent author graph and state machine tools in the Unity editor through the public Unity.GraphToolkit.Editor API, checking the editor version first. CX Codex +1 1,500installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor