Agent skill

Makepad Shaders

by sickn33 in sickn33/agentic-awesome-skills

CRITICAL: Use for Makepad shader system. An agent skill from sickn33/agentic-awesome-skills.

MITAuto-check passedGame Development

Install Makepad Shaders

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill makepad-shaders -a claude-code

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

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills makepad-shaders --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/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/makepad-shaders .claude/skills/makepad-shaders && 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
makepad-shaders
GitHub stars
47k
Used in
2 other repos
Token cost
~1.5k tokens
SKILL.md length
478 words
Files
1
Skills in repo
1,354
Repo updated
First seen
Licence
MIT

At a glance

CRITICAL: Use for Makepad shader system. An agent skill from sickn33/agentic-awesome-skills.

  • Works in 4 steps: Basic Custom Shader → Rounded Rectangle with Border → Gradient Background → …
  • Makepad shader system
  • SKILL.md covers When to Use, Documentation, Advanced Patterns and IMPORTANT: Documentation…, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Makepad Shaders is an agent skill from sickn33/agentic-awesome-skills. CRITICAL: Use for Makepad shader system. Triggers on: makepad shader, makepad drawbg, Sdf2d, makepad pixel, makepad glsl, makepad sdf, drawquad, makepad gpu, makepad 着色器, makepad shader 语法, makepad 绘制

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering Shaders. It works with Makepad. The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

When your agent uses it

  • Makepad shader system
  • : makepad shader
  • Makepad shader 语法

Example prompts

  • “/makepad-shaders”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Basic Custom Shader
  2. Rounded Rectangle with Border
  3. Gradient Background
  4. Circle Shape

What it can do on your machine

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

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

  • Network

    Links to these hosts (documentation or services it may open):

    • crates.io

    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

Makepad Shaders loads about 1.5k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 478 words of instructions outside code blocks.

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

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 sickn33/agentic-awesome-skills at commit ec02547, republished under its MIT licence (© sickn33). 478 words, ~1,510 tokens.

Download SKILL.mdSave it as .claude/skills/makepad-shaders/SKILL.md (or your agent's skills folder).
name
makepad-shaders
description
CRITICAL: Use for Makepad shader system. Triggers on: makepad shader, makepad draw_bg, Sdf2d, makepad pixel, makepad glsl, makepad sdf, draw_quad, makepad gpu, makepad 着色器, makepad shader 语法, makepad 绘制
risk
critical
source
community
date_added
2026-09-04

Makepad Shaders Skill

Version: makepad-widgets (dev branch) | Last Updated: 2026-01-19

Check for updates: https://crates.io/crates/makepad-widgets

You are an expert at Makepad shaders. Help users by:

  • Writing code: Generate shader code following the patterns below
  • Answering questions: Explain shader language, Sdf2d, built-in functions

When to Use

  • You need to write or debug Makepad shader code, custom drawing, or SDF-based visuals.
  • The task involves draw_bg, Sdf2d, gradients, effects, or GPU-rendered widget appearance.
  • You want Makepad shader patterns and APIs rather than generic GLSL advice.

Documentation

Refer to the local files for detailed documentation:

  • ./references/shader-basics.md - Shader language fundamentals
  • ./references/sdf2d-reference.md - Complete Sdf2d API reference

Advanced Patterns

For production-ready shader patterns, see the _base/ directory:

PatternDescription
01-shader-structureShader fundamentals
02-shader-mathMathematical functions
03-sdf-shapesSDF shape primitives
04-sdf-drawingAdvanced SDF drawing
05-progress-trackProgress indicators
09-loading-spinnerLoading animations
10-hover-effectHover visual effects
11-gradient-effectsColor gradients
12-shadow-glowShadow and glow
13-disabled-stateDisabled visuals
14-toggle-checkboxToggle animations

Community contributions: ./community/

IMPORTANT: Documentation Completeness Check

Before answering questions, Claude MUST:

  1. Read the relevant reference file(s) listed above
  2. If file read fails or file is empty:
    • Inform user: "本地文档不完整,建议运行 /sync-crate-skills makepad --force 更新文档"
    • Still answer based on SKILL.md patterns + built-in knowledge
  3. If reference file exists, incorporate its content into the answer

Key Patterns

1. Basic Custom Shader
rust
<View> {
    show_bg: true
    draw_bg: {
        // Shader uniforms
        color: #FF0000

        // Custom pixel shader
        fn pixel(self) -> vec4 {
            return self.color;
        }
    }
}
2. Rounded Rectangle with Border
rust
<View> {
    show_bg: true
    draw_bg: {
        color: #333333
        border_color: #666666
        border_radius: 8.0
        border_size: 1.0

        fn pixel(self) -> vec4 {
            let sdf = Sdf2d::viewport(self.pos * self.rect_size);
            sdf.box(1.0, 1.0,
                    self.rect_size.x - 2.0,
                    self.rect_size.y - 2.0,
                    self.border_radius);
            sdf.fill_keep(self.color);
            sdf.stroke(self.border_color, self.border_size);
            return sdf.result;
        }
    }
}
3. Gradient Background
rust
<View> {
    show_bg: true
    draw_bg: {
        color: #FF0000
        color_2: #0000FF

        fn pixel(self) -> vec4 {
            let t = self.pos.x;  // Horizontal gradient
            return mix(self.color, self.color_2, t);
        }
    }
}
4. Circle Shape
rust
<View> {
    show_bg: true
    draw_bg: {
        color: #0066CC

        fn pixel(self) -> vec4 {
            let sdf = Sdf2d::viewport(self.pos * self.rect_size);
            let center = self.rect_size * 0.5;
            let radius = min(center.x, center.y) - 1.0;
            sdf.circle(center.x, center.y, radius);
            sdf.fill(self.color);
            return sdf.result;
        }
    }
}

Shader Structure

ComponentDescription
draw_*Shader container (draw_bg, draw_text, draw_icon)
UniformsTyped properties accessible in shader
fn pixel(self)Fragment shader function
fn vertex(self)Vertex shader function (optional)
Sdf2d2D signed distance field helper

Built-in Variables

VariableTypeDescription
self.posvec2Normalized position (0-1)
self.rect_sizevec2Widget size in pixels
self.rect_posvec2Widget position
Show full SKILL.md (205 more words)Show less

Sdf2d Quick Reference

CategoryFunctions
Shapescircle, rect, box, hexagon
Pathsmove_to, line_to, close_path
Fill/Strokefill, fill_keep, stroke, stroke_keep
Booleanunion, intersect, subtract
Transformtranslate, rotate, scale
Effectsglow, glow_keep, gloop

Built-in Functions (GLSL)

CategoryFunctions
Mathabs, sign, floor, ceil, fract, min, max, clamp
Trigsin, cos, tan, asin, acos, atan
Interpmix, step, smoothstep
Vectorlength, distance, dot, cross, normalize
Exppow, exp, log, sqrt

When Writing Code

  1. Always use show_bg: true to enable background shader
  2. Use Sdf2d::viewport() to create SDF context
  3. Return vec4 (RGBA) from fn pixel()
  4. Uniforms must be declared before shader functions
  5. Use self. prefix to access uniforms and built-ins

When Answering Questions

  1. Makepad shaders use Rust-like syntax, compiled to GPU code
  2. Every widget can have custom shaders (draw_bg, draw_text, etc.)
  3. Shaders are live-reloaded - edit and see changes instantly
  4. Sdf2d is the primary tool for 2D shape rendering
  5. GLSL ES 1.0 built-in functions are available

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/makepad-shaders of sickn33/agentic-awesome-skills.

Open the folder on GitHubat commit ec02547

Used in 2 other repositories

We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Makepad Shaders 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.

Makepad Shaders compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Makepad Shaders this skillsickn33/agentic-awesome-skills47k2 repos~1.5kAutomated safety check: PassMIT
Makepad Skillsaiskillstore/marketplace4305 repos~198Automated safety check: PassNone
Assets Shader List AllIvanMurzak/Unity-MCP4.4k1 repos~435Automated safety check: PassApache-2.0
New ExperimentTresjs/tres3.8k—~782Automated safety check: PassMIT
Unreal Material and VFX Workflowflopperam/unreal-engine-mcp1.1k—~927Automated safety check: PassNone
Rdc CLIBANANASJIM/rdc-cli181—~2.9kAutomated safety check: PassMIT

Similar skills

  • Makepad Skills

    aiskillstore/marketplace

    Makepad UI development skills for Rust apps: setup, patterns, shaders, packaging, and troubleshooting.

    430 GitHub starsUsed in 5 repos~198 tokens
    Game DevelopmentAuto-check passed
  • Assets Shader List All

    IvanMurzak/Unity-MCP

    List all shaders available in the project assets and packages, sorted by name.

    4.4k GitHub starsUsed in 1 repo~435 tokens
    Game DevelopmentAuto-check passed
  • New Experiment

    Tresjs/tres

    Create a new experiment in TresJS Lab with all necessary files

    3.8k GitHub stars~782 tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Unreal Material and VFX Workflow

    flopperam/unreal-engine-mcp

    Walks an Unreal Engine MCP agent through building materials, Niagara particle systems, Chaos destruction, and curve assets with inspect-then-edit steps.

    1.1k GitHub stars~927 tokensUpdated 3 mo ago
    Game DevelopmentAuto-check passed
  • Rdc CLI

    BANANASJIM/rdc-cli

    A skill your agent uses when working with RenderDoc capture files (.rdc), analyzing GPU frames, tracing shaders, inspecting draw calls, or running CI assertions against GPU captures.

    181 GitHub stars~2.9k tokensUpdated today
    Game DevelopmentAuto-check passed
  • UMG Material MCP

    winyunq/UnrealMotionGraphicsMCP

    Creates, edits and compiles Unreal Engine 5.8 material assets as one HLSL Custom node through the UMG MCP bridge, instead of editing .uasset files directly.

    208 GitHub stars~913 tokensUpdated 2 mo ago
    Game DevelopmentAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,354 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed
  • Content Creator

    sickn33/agentic-awesome-skills

    Drafts and reviews audience-specific content from supplied brand examples, with local scripts for brand voice and SEO diagnostics, channel templates and a content calendar.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Works with

Questions about Makepad Shaders

What does Makepad Shaders do?

CRITICAL: Use for Makepad shader system. An agent skill from sickn33/agentic-awesome-skills. Makepad Shaders is an agent skill from sickn33/agentic-awesome-skills. CRITICAL: Use for Makepad shader system.

When should I use Makepad Shaders?

Makepad Shaders fits situations like: makepad shader system; : makepad shader; makepad shader 语法.

How do I install Makepad Shaders in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill makepad-shaders -a claude-code`. Or copy the skill folder (skills/makepad-shaders in sickn33/agentic-awesome-skills) into .claude/skills/makepad-shaders in your project. Claude Code loads it when a task matches its description.

How do I install Makepad Shaders in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill makepad-shaders -a codex`. Or copy the skill folder (skills/makepad-shaders in sickn33/agentic-awesome-skills) into .agents/skills/makepad-shaders in your project. Codex loads it when a task matches its description.

Can I use Makepad Shaders 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 sickn33/agentic-awesome-skills --skill makepad-shaders -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/makepad-shaders, .gemini/skills/makepad-shaders, .github/skills/makepad-shaders and .opencode/skills/makepad-shaders in your project.

What does Makepad Shaders need to run?

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

Does Makepad Shaders access the network?

SKILL.md names 1 domain. As links in the text: crates.io. This is read from the text; nothing was executed.

Is Makepad Shaders 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 Makepad Shaders use?

Makepad Shaders is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Makepad Shaders use?

About 1.5k tokens (SKILL.md is roughly 6k 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 Makepad Shaders?

Skills that share tags, products or a category with Makepad Shaders: Makepad Skills (aiskillstore/marketplace, 430 stars), Assets Shader List All (IvanMurzak/Unity-MCP, 4.4k stars), New Experiment (Tresjs/tres, 3.8k stars) and Unreal Material and VFX Workflow (flopperam/unreal-engine-mcp, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Makepad Shaders?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,343 GitHub stars. The repository holds 1,354 skills in this directory. The repository was last updated on October 7, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.