Skip to content

GLSL and Shadertoy shader skills for Claude Code, Codex, Cursor, Copilot and Gemini CLI. 186 functions, SDF raymarching, procedural terrain, water, clouds and generative art, with a bundler, checker and 11 examples.

Improve repository discovery, installation and release documentation

Gokay Aydogan6807a9e5ec11
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index c24ce1a..2af3a8c 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -1,14 +1,25 @@
{
"name": "shader-skills",
- "description": "Procedural shader art skills for coding agents",
- "owner": { "name": "gokayfem", "url": "https://github.com/gokayfem" },
+ "description": "GLSL and Shadertoy shader skills for AI coding agents",
+ "owner": {
+ "name": "gokayfem",
+ "url": "https://github.com/gokayfem"
+ },
"plugins": [
{
"name": "shader-skills",
"source": "./",
- "description": "Procedural GLSL / Shadertoy shaders with a verified building-block library",
+ "description": "Create and debug procedural GLSL shaders with a tested library, SDF raymarching, terrain, water, clouds and ready-to-run Shadertoy examples.",
"category": "development",
- "tags": ["glsl", "shadertoy", "webgl", "sdf", "raymarching"]
+ "tags": [
+ "agent-skills",
+ "glsl",
+ "shadertoy",
+ "webgl2",
+ "raymarching",
+ "procedural-generation",
+ "generative-art"
+ ]
}
]
}
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 0e7ff42..a3e5253 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -2,10 +2,27 @@
"name": "shader-skills",
"displayName": "Shader Skills",
"version": "2.0.0",
- "description": "Procedural GLSL / Shadertoy shader skill: a verified building-block library (SDFs, noise, raymarching, shading, color, volumes) with a bundler, checker, templates and references.",
- "author": { "name": "gokayfem", "url": "https://github.com/gokayfem" },
+ "description": "GLSL and Shadertoy shader skill for AI coding agents. Includes 186 functions, SDF raymarching, procedural terrain, water, clouds, noise, a bundler, a checker and 11 examples.",
+ "author": {
+ "name": "gokayfem",
+ "url": "https://github.com/gokayfem"
+ },
"homepage": "https://github.com/gokayfem/shader-skills",
"repository": "https://github.com/gokayfem/shader-skills",
"license": "MIT",
- "keywords": ["glsl", "shadertoy", "webgl", "shader", "sdf", "raymarching", "procedural", "noise", "generative-art"]
+ "keywords": [
+ "agent-skills",
+ "claude-code",
+ "glsl",
+ "shadertoy",
+ "webgl2",
+ "shaders",
+ "sdf",
+ "raymarching",
+ "procedural-generation",
+ "generative-art",
+ "terrain",
+ "water",
+ "noise"
+ ]
}
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..198792c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,33 @@
+name: Bug report
+description: Report a shader, installation, bundler or documentation problem.
+title: "[Bug]: "
+body:
+ - type: textarea
+ id: problem
+ attributes:
+ label: What went wrong?
+ description: Describe the expected result and what happened instead.
+ validations:
+ required: true
+ - type: textarea
+ id: reproduce
+ attributes:
+ label: How can we reproduce it?
+ description: Include a minimal prompt, shader, command or sequence of steps. Remove private data and credentials.
+ validations:
+ required: true
+ - type: input
+ id: version
+ attributes:
+ label: Version or commit
+ placeholder: "v2.0.0, or the commit from git rev-parse HEAD"
+ - type: textarea
+ id: environment
+ attributes:
+ label: Environment
+ description: Coding agent and version, install method, OS, and browser/GPU if relevant.
+ - type: textarea
+ id: evidence
+ attributes:
+ label: Screenshots or logs
+ description: Add compiler output, checker results, or images showing the problem.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..2c4e2a2
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
+blank_issues_enabled: true
+contact_links:
+ - name: Installation and usage
+ url: https://github.com/gokayfem/shader-skills#install
+ about: Find setup instructions for supported coding agents.
+ - name: GLSL function reference
+ url: https://github.com/gokayfem/shader-skills/blob/main/skills/shader-art-coding/references/library-index.md
+ about: Browse functions, signatures and intended uses before requesting a new technique.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 0000000..3f3825d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,21 @@
+name: Technique or feature request
+description: Suggest a GLSL technique, shader example, integration or documentation improvement.
+title: "[Feature]: "
+body:
+ - type: textarea
+ id: use_case
+ attributes:
+ label: What would you like to create or improve?
+ description: Describe the visual result or workflow and who it would help.
+ validations:
+ required: true
+ - type: textarea
+ id: proposal
+ attributes:
+ label: Proposed approach
+ description: Suggest a technique or explain what the current library is missing.
+ - type: textarea
+ id: references
+ attributes:
+ label: References or examples
+ description: Link relevant papers, author-maintained implementations or visual references, with attribution.
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 0000000..daf8d18
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,12 @@
+## What changed and why?
+
+Describe the problem, the resulting behavior and any related issue.
+
+## Validation
+
+List the checks you ran and their results. For shader or template changes, include before/after renders and
+confirm that generated files are current. See [AGENTS.md](https://github.com/gokayfem/shader-skills/blob/main/AGENTS.md) for the required checks.
+
+## Technique sources
+
+For new GLSL techniques, link the original references and note the corresponding `@see` / `CREDITS.md` updates.
diff --git a/.gitignore b/.gitignore
index be91eec..45fba49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
.env
+.venv/
.research/
tmp/
*.mp4
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..0b5ae32
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,25 @@
+# Changelog
+
+Published versions and downloadable packages are available on
+[GitHub Releases](https://github.com/gokayfem/shader-skills/releases).
+
+## [2.0.0] — 2026-10-23
+
+First tagged GitHub release, matching the existing 2.0.0 plugin and extension manifests. This release packages
+the current library and accumulated improvements; it does not imply that all features were added on this date.
+
+- An agent skill for procedural GLSL / Shadertoy work in Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI
+ and other compatible tools, with manual adapters for chat interfaces.
+- 186 GLSL functions across 20 modules, including signed distance functions, raymarching, noise, patterns,
+ procedural architecture, terrain, water optics, shading, color, tonemapping, volumes and atmosphere.
+- A Python search tool, dependency bundler and checker that produce standalone Shadertoy shaders.
+- 11 complete examples with editable templates, bundled shaders and rendered gallery previews.
+- A noise learning guide, procedural building and terrain workflows, and coastal water quality presets.
+- A video-to-shader prompt with visual comparison and acceptance checks.
+- A WebGL2 harness with 90 GPU property tests, plus compilation, render and bundler regression checks.
+- Clearer installation instructions, contribution guides and issue templates.
+
+Download `shader-art-coding-v2.0.0.zip` for the portable skill, or a source archive for the full repository.
+The skill ZIP includes the project's license and technique credits. `SHA256SUMS` verifies the skill ZIP.
+
+[2.0.0]: https://github.com/gokayfem/shader-skills/releases/tag/v2.0.0
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..34852b1
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,55 @@
+# Contributing to Shader Skills
+
+Help improve the GLSL library, shader examples, agent instructions or documentation. Small, focused changes are
+welcome. For a new technique or a large change, open an issue first to explain the intended use and approach.
+
+## Report a bug
+
+Use the [bug report form](https://github.com/gokayfem/shader-skills/issues/new?template=bug_report.yml).
+Include the smallest shader or prompt that reproduces the problem, the expected and actual result, your coding
+agent, and your browser/GPU when relevant. Screenshots and compiler output are especially useful for rendering
+bugs. Remove API keys and private project data before posting.
+
+## Suggest a technique or example
+
+Use the [feature request form](https://github.com/gokayfem/shader-skills/issues/new?template=feature_request.yml).
+Describe the visual result, who it helps and any relevant papers or author-maintained references. Shader code
+must be an original implementation of the technique; reference images and third-party code retain their own licenses.
+
+## Make a change
+
+1. Fork and clone the repository, then create a branch for your change.
+2. Read [AGENTS.md](AGENTS.md) for the layout, GLSL conventions, attribution and testing requirements.
+3. Keep the change focused. Update examples and documentation when behavior changes.
+4. Run the checks below and open a pull request with the result and relevant screenshots.
+
+From the repository root:
+
+```bash
+python3 skills/shader-art-coding/scripts/glsl_tools.py index --check
+python3 tests/build_gallery.py --check
+python3 skills/shader-art-coding/scripts/glsl_tools.py check
+python3 tests/check_evals.py
+python3 -m unittest discover -s tests -p 'test_*.py'
+```
+
+Python 3 is required. Install `glslangValidator` for the compiler checks (`brew install glslang` on macOS or
+`sudo apt install glslang-tools` on Ubuntu). The WebGL2 harness also requires Playwright and Chromium:
+
+```bash
+python3 -m venv .venv
+source .venv/bin/activate
+python3 -m pip install playwright==1.49.1
+python3 -m playwright install chromium
+python3 tests/run_webgl.py --size 320x180
+```
+
+On Linux, Playwright may also need system dependencies; use `python3 -m playwright install --with-deps chromium`.
+For shader or template changes, regenerate the library index and gallery as described in [AGENTS.md](AGENTS.md),
+then inspect the rendered images. The paid agent evaluations are optional and run manually; see
+[evals/README.md](evals/README.md).
+
+## Credits and license
+
+The project uses the [MIT license](LICENSE). Credit the source of each technique in `@see` and
+[CREDITS.md](CREDITS.md). Do not copy third-party shader implementations into the library.
diff --git a/README.md b/README.md
index 575029d..99c96a7 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,29 @@
-# Shader Skills
+# Shader Skills — GLSL & Shadertoy for AI coding agents
-A skill that teaches coding agents to write procedural GLSL shaders that compile on the first try and look
-intentional. It works with Claude Code, Codex, Cursor, Copilot, Gemini and others. It pairs a shader-craft
-workflow with a **verified GLSL building-block library**: 186 functions across 20 modules, each one compiled in
-WebGL2 and numerically tested on the GPU. A bundler inlines exactly the functions a shader uses, so the result
-pastes straight into Shadertoy.
+[![Checks](https://github.com/gokayfem/shader-skills/actions/workflows/checks.yml/badge.svg)](https://github.com/gokayfem/shader-skills/actions/workflows/checks.yml)
+[![Release](https://img.shields.io/github/v/release/gokayfem/shader-skills)](https://github.com/gokayfem/shader-skills/releases/latest)
+[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
+
+**Create, debug and refine procedural GLSL shaders with Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI.**
+Shader Skills combines an agent skill with **186 GLSL functions in 20 modules**, a dependency bundler, a checker
+and **11 ready-to-run Shadertoy examples**. Build SDF raymarched scenes, procedural textures, terrain, water,
+clouds and generative art. The library is compiled in WebGL2 and checked with GPU property tests.
+
+```bash
+npx skills add gokayfem/shader-skills
+```
+
+Choose `shader-art-coding` and your coding agent in the installer. Then ask:
+
+> Create a Shadertoy shader of an alpine valley with snow, a winding river and atmospheric depth.
+> Use the shader-art-coding skill, bundle the result into one file, and check it.
+
+[Install options](#install) · [Shader gallery](#shader-gallery) · [Usage](#use) ·
+[GLSL library](skills/shader-art-coding/references/library-index.md) ·
+[Video-to-shader prompt](prompts/video-to-shader-prompt.md) ·
+[Releases](https://github.com/gokayfem/shader-skills/releases) · [Contributing](CONTRIBUTING.md)
+
+## Shader gallery
| | | |
|---|---|---|
@@ -17,8 +36,8 @@ Each image links to its paste-ready shader. The sources are in [`skills/shader-a
## Why
-Agents write shaders blind: they cannot see the output, they misremember formulas, and WebGL rejects code that
-desktop GLSL accepts. Common results are struct ternaries, sine hashes that differ per GPU, SDFs with wrong signs,
+Coding agents can misremember formulas or skip visual checks, and WebGL rejects code that desktop GLSL accepts.
+Common results are struct ternaries, sine hashes that differ per GPU, SDFs with wrong signs,
double gamma, and fog that ignores the sky. This skill closes those gaps:
- **Tested building blocks instead of recalled ones.** Every SDF is checked on the GPU:
@@ -48,22 +67,31 @@ claude plugin marketplace add gokayfem/shader-skills
claude plugin install shader-skills@shader-skills
```
-Or copy the skill: `cp -R skills/shader-art-coding ~/.claude/skills/`.
+For a manual Claude Code installation, copy `skills/shader-art-coding` into `~/.claude/skills/` after cloning the repository (see below).
-**Codex, Cursor, Gemini CLI, Copilot and about 70 other agents** (via [skills](https://github.com/vercel-labs/skills)):
+**Codex, Cursor, Gemini CLI, GitHub Copilot and other supported agents** (via [skills](https://github.com/vercel-labs/skills)):
```bash
npx skills add gokayfem/shader-skills
```
-Or install by hand:
+The installer requires Node.js 22.20 or later and installs into the current project by default; add `-g` for a
+global installation. See the [skills CLI documentation](https://github.com/vercel-labs/skills) for supported agents.
+
+**Manual installation:** clone the repository first, then copy the skill into your agent's skill directory.
+
+```bash
+git clone https://github.com/gokayfem/shader-skills.git
+cd shader-skills
+```
+
- **Codex:** copy `skills/shader-art-coding` to `~/.agents/skills/`.
- **Cursor:** copy it to `~/.cursor/skills/`, plus the rule in `adapters/cursor/`.
- **Copilot:** `gh skill install gokayfem/shader-skills shader-art-coding`, plus `adapters/copilot/`.
- **Gemini CLI:** `gemini extensions install https://github.com/gokayfem/shader-skills`.
- **Hermes:** copy it to `~/.hermes/skills/`.
-**claude.ai:** zip `skills/shader-art-coding` and upload it under Settings > Capabilities > Skills.
+**claude.ai:** download `shader-art-coding-v2.0.0.zip` from the [v2.0.0 release](https://github.com/gokayfem/shader-skills/releases/tag/v2.0.0) and upload it under Settings > Capabilities > Skills. The ZIP also works as a portable skill folder for manual installation.
**ChatGPT, Gemini Gems and other chat tools:** see [`adapters/`](adapters/).
@@ -71,12 +99,12 @@ Or install by hand:
Ask naturally: *"Make a Shadertoy shader of a glass jellyfish drifting through god rays"*, or *"why does my
raymarcher have holes?"* The skill routes the request, then the agent finds blocks, writes the shader, bundles it
-and checks it:
+and checks it. From a cloned repository, try the included still-life template:
```bash
-python3 scripts/glsl_tools.py search petal leaf
-python3 scripts/glsl_tools.py bundle jellyfish.glsl -o jellyfish.out.glsl
-python3 scripts/glsl_tools.py check jellyfish.out.glsl
+python3 skills/shader-art-coding/scripts/glsl_tools.py search petal leaf
+python3 skills/shader-art-coding/scripts/glsl_tools.py bundle skills/shader-art-coding/templates/raymarch-sdf.glsl -o /tmp/shader-skills-example.glsl
+python3 skills/shader-art-coding/scripts/glsl_tools.py check /tmp/shader-skills-example.glsl
```
What the commands do:
@@ -85,6 +113,12 @@ What the commands do:
- `check` lints the file and compiles it when `glslangValidator` is installed (`brew install glslang` or
`apt install glslang-tools`).
+The command-line tools need Python 3 and use only its standard library. Generated shaders target
+**Shadertoy / WebGL2 / GLSL ES 3.00**; HLSL and Unity ShaderLab are outside this skill's scope.
+
+For an existing video reference, start with the [video-to-shader prompt](prompts/video-to-shader-prompt.md),
+which guides scene analysis, procedural reconstruction and visual comparison against the clip.
+
## What's in the library
| Module | Highlights |
@@ -202,7 +236,10 @@ adapters/ prompts for tools without skill support
.claude-plugin/ Claude Code plugin + marketplace manifests
```
-Contributing: see [AGENTS.md](AGENTS.md) for the rules every library change must pass.
+See [CONTRIBUTING.md](CONTRIBUTING.md) to report a bug, suggest a shader technique or contribute a fix.
+[AGENTS.md](AGENTS.md) defines the checks every library change must pass.
+Release history and downloads are in the [changelog](CHANGELOG.md) and
+[GitHub Releases](https://github.com/gokayfem/shader-skills/releases).
## Credits and license
diff --git a/gemini-extension.json b/gemini-extension.json
index f102f3e..a486afd 100644
--- a/gemini-extension.json
+++ b/gemini-extension.json
@@ -1,5 +1,5 @@
{
"name": "shader-skills",
"version": "2.0.0",
- "description": "Procedural GLSL / Shadertoy shader skill with a verified building-block library, bundler and checker."
+ "description": "GLSL and Shadertoy shader skill for Gemini CLI: a tested procedural graphics library, SDF raymarching, terrain, water, clouds, bundler, checker and examples."
}