/creative-media-tooling:slang-shader-engineerfrom creative-media-tooling
Write, review, refactor, and optimize Slang shaders with C++ engine integration for graphics pipelines, compute, tessellation, ray tracing, and cross-compilation to HLSL/GLSL/Metal/CUDA/SPIR-V.
Ships in creative-media-tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Apply senior graphics engineering judgment to Slang production-quality shader authoring, review, optimization, and host integration for CPU/GPU workflows while preserving portability across rendering backends and using bundled references when syntax or platform behavior matters.
| Area | Required fluency |
|---|---|
| HLSL/GLSL compatibility | Support safe incremental migration to Slang. |
| Modules and imports | Use import, __include, __exported import, and re-export intentionally. |
| Interfaces and generics | Apply constraints, associated types, specialization, and where clauses. |
| Parameter blocks | Design ParameterBlock<T> around update frequency and D3D12/Vulkan mapping. |
| Capabilities | Use [require(...)], __target_switch, feature gating, and conflicting atom awareness. |
| Reflection | Drive host-side binding layout and pipeline integration from reflection. |
| Cross-compilation and Slang-to-HLSL/GLSL/Metal/CUDA cross-compile workflows | Preserve portability across HLSL, GLSL, SPIR-V, Metal, CUDA, CPU single-source, D3D12, Vulkan, D3D11, and OpenGL. |
| Compute | Reason about thread-group sizing, synchronization, memory access, occupancy, and divergence. |
| Graphics stages | Respect vertex, pixel/fragment, geometry, hull, domain, and stage I/O contracts. |
| Tessellation | Model patch data flow, edge factors, crack avoidance, and adaptive strategies. |
| Autodiff | Use fwd_diff, bwd_diff, [Differentiable], DifferentialPair<T>, and neural graphics constraints carefully. |
| Debugging | Consider GPU printf, readable generated output, and RenderDoc integration. |
import is not a textual #include; modules do not share preprocessor macro state.__exported import to re-expose another module's declarations cleanly.var for type inference when readability improves; use explicit types for layout/precision/API interop.let for immutable values.internal at file-scope and module-scope; use public intentionally.module MyModule;
import CommonMath;
struct MaterialParams
{
float3 albedo;
float metallic;
float roughness;
};
ParameterBlock<MaterialParams> gMaterial;
struct VSIn
{
float3 pos : POSITION;
float3 n : NORMAL;
float2 uv : TEXCOORD0;
};
struct VSOut
{
float4 pos : SV_POSITION;
float2 uv : TEXCOORD0;
float3 n : NORMAL;
};
[shader("vertex")]
VSOut mainVS(VSIn input)
{
VSOut output;
output.pos = float4(input.pos, 1.0);
output.uv = input.uv;
output.n = input.n;
return output;
}
SV_POSITION match the target pipeline.ParameterBlock<T> layout and update frequency are compatible with the host renderer.references/ contains the primary knowledge base. references/language-reference.md: load for types, interfaces, generics, autodiff, modules, capabilities, compilation, targets, command-line options, or CMake setup.references/rules-and-patterns.md: load for reviews, refactors, module architecture, complex structure questions, example prompts, and validation patterns, including DOs/DON'Ts.references/slang-documentation-full.md: load for specific syntax, semantics, official examples, or comprehensive feature explanations not covered by the shorter reference.import like #include; macro state and textual inclusion rules differ.## Slang shader result
**Status:** complete | needs context | blocked
**Target:** `<pipeline/backend/entry point>`
**Files or snippets:** `<paths or selection>`
### Result
<shader code, review findings, refactor, or explanation>
### Backend notes
| Backend | Constraint or assumption |
| --- | --- |
| `<D3D12|Vulkan|Metal|CUDA|CPU|other>` | `<note>` |
### Validation
- Syntax/reference checked: <pass|fail and reference used>
- Portability checked: <pass|fail>
- Host integration assumptions: <listed or missing>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin creative-media-tooling11 skills in this plugin
/adobe-illustrator-scriptingWrite, debug, and optimize Adobe Illustrator automation scripts using ExtendScript (JavaScript/JSX). Use when creating or modifying scripts that manipulate documents, layers, paths, text frames, colors, symbols, artboards, or any Illustrator DOM objects. Covers the complete JavaScript object model, coordinate system, measurement units, export workflows, and scripting best practices./freecad-scriptsWrite FreeCAD Python scripts, macros, parametric FeaturePython objects, Part/Mesh/Sketcher geometry, PySide GUI tools, Coin3D/Pivy scenegraph code, workbench commands, and CAD automation. Use when asked to create FreeCAD models, automate geometry, convert mesh and solid data, script FEM/Path/TechDraw, or debug FreeCAD Python API tasks./game-engineBuild web-based game engines and games with HTML5 Canvas, WebGL, SVG, CSS, and JavaScript. Use when creating 2D or 3D games, implementing game loops, physics, collision detection, sprites, tilemaps, controls, audio, multiplayer with WebRTC or WebSockets, optimization, or publishing workflows./image-manipulation-image-magickProcess and manipulate images using ImageMagick. Supports resizing, format conversion, batch processing, and retrieving image metadata. Use when working with images, creating thumbnails, resizing wallpapers, or performing batch image operations./latchshot-page-captureCapture public HTTP(S) webpages as local PNG, JPEG, or PDF artifacts through Latchshot. Use when the user needs screenshots, website thumbnails, full-page captures, PDFs, QA reports, archives, or social previews. Do not use for private or authenticated pages, raw HTML extraction, scraping, CAPTCHA bypass, arbitrary browser actions, or local-file capture./nano-banana-pro-openrouterGenerate or edit images through OpenRouter with the `google/gemini-3-pro-image-preview` model. Use when prompt-only image generation, single-image edits, multi-image compositing, 1K/2K/4K output, or troubleshooting `OPENROUTER_API_KEY`, `uv`, and saved MEDIA files is requested.Other plugins' skills for the same job