Add complete skill for Slang shader language#1677
Conversation
- Included the full Offical Slang LLM documentation. - Included sections on language features, interfaces, generics, automatic differentiation, modules, capabilities system, compiling code, reflection API, compilation targets, and FAQs. - Allows agents to write comprehensive slang code for graphics and compute shaders.
🔍 Skill Validator Results✅ All checks passed
Summary
Full validator output```text Found 1 skill(s) [slang-shader-engineer] 📊 slang-shader-engineer: 1,587 BPE tokens [chars/4: 1,804] (detailed ✓), 8 sections, 1 code blocks ✅ All checks passed (1 skill(s)) ``` |
There was a problem hiding this comment.
Pull request overview
This PR adds a new Agent Skill, slang-shader-engineer, intended to help Copilot generate and review Slang shader code by bundling Slang-focused guidance plus reference documentation under skills/slang-shader-engineer/.
Changes:
- Adds a new Slang shader engineering skill (
SKILL.md) with guidance on responsibilities, rules, working style, and validation. - Adds three bundled reference documents covering rules/patterns, a language reference, and a “complete” Slang documentation reference.
- Registers the new skill in
docs/README.skills.md.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/slang-shader-engineer/SKILL.md | Defines the skill’s trigger description and core instructions for Slang shader work. |
| skills/slang-shader-engineer/references/language-reference.md | Adds a concise Slang language reference for common syntax/feature lookups. |
| skills/slang-shader-engineer/references/rules-and-patterns.md | Adds practical DOs/DON’Ts, checklists, and recommended output formats. |
| skills/slang-shader-engineer/references/slang-documentation-full.md | Adds a large reference doc intended to mirror official Slang documentation and examples. |
| docs/README.skills.md | Adds the new skill to the skills index table. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
aaronpowell
left a comment
There was a problem hiding this comment.
Well, that's a language I've quite literally never heard of 🤣
Hahah, I started learning it when I began writing Vulkan graphics and I can say I like it more than HLSL, or GLSL. |
|
@all-contributors add @The3dVehicleguy for code, doc, example |
|
I couldn't determine any contributions to add, did you specify any contributions? |
|
@all-contributors add @The3dVehicleguy for code, doc |
|
I've put up a pull request to add @The3dVehicleguy! 🎉 |
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.stagedbranch for this pull request.Description
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.