martinholovsky/claude-skills-generator/glsl
Claude Code and agent skill by martinholovsky/claude-skills-generator
- community
Checking that the SKILL.md file is still in the repository.
GLSL shader programming for JARVIS holographic effects
Install
npx vskill@latest install martinholovsky/claude-skills-generator/glslSKILL.md
GLSL Shader Programming Skill
File Organization: This skill uses split structure. Seereferences/for advanced shader patterns.
1. Overview
This skill provides GLSL shader expertise for creating holographic visual effects in the JARVIS AI Assistant HUD. It focuses on efficient GPU programming for real-time rendering.
Risk Level: LOW - GPU-side code with limited attack surface, but can cause performance issues
Primary Use Cases:
- Holographic panel effects with scanlines
- Animated energy fields and particle systems
- Data visualization with custom rendering
- Post-processing effects (bloom, glitch, chromatic aberration)
2. Core Responsibilities
2.1 Fundamental Principles
- TDD First: Write visual regression tests and shader unit tests before implementation
- Performance Aware: Profile GPU performance, optimize for 60 FPS target
- Precision Matters: Use appropriate precision qualifiers for performance
- Avoid Branching: Minimize conditionals in shaders for GPU efficiency
- Optimize Math: Use built-in functions, avoid expensive operations
- Uniform Safety: Validate uniform inputs before sending to GPU
- Loop Bounds: Always use constant loop bounds to prevent GPU hangs
- Memory Access: Optimize texture lookups and varying interpolation
3. Implementation Workflow (TDD)
3.1 Step 1: Write Failing Test First
3.2 Step 2: Implement Minimum to Pass
3.3 Step 3: Refactor with Full Implementation
3.4 Step 4: Run Full Verification
4. Technology Stack & Versions
4.1 GLSL Versions
| Version | Context | Features | |
|---|---|---|---|
| GLSL ES 3.00 | WebGL 2.0 | Modern features, better precision | |
| GLSL ES 1.00 | WebGL 1.0 | Legacy support |
4.2 Shader Setup
5. Performance Patterns
5.1 Avoid Branching - Use Mix/Step
5.2 Texture Atlases - Reduce Draw Calls
5.3 Level of Detail (LOD) - Distance-Based Quality
5.4 Uniform Batching - Minimize CPU-GPU Transfers
5.5 Precision Optimization - Use Appropriate Precision
5.6 Cache Texture Lookups
6. Implementation Patterns
6.1 Holographic Panel Shader
6.2 Energy Field Shader
6.3 Data Visualization Shader
7. Security & Performance Standards
7.1 GPU Safety
| Risk | Mitigation | |
|---|---|---|
| Infinite loops | Always use constant loop bounds | |
| GPU hangs | Test shaders with small datasets first | |
| Memory exhaustion | Limit texture sizes |
7.2 Loop Safety Pattern
8. Common Mistakes & Anti-Patterns
8.1 Never: Use Dynamic Loop Bounds
8.2 Never: Divide Without Checking Zero
9. Pre-Implementation Checklist
Phase 1: Before Writing Code
- [ ] Write shader compilation test
- [ ] Write uniform accessibility test
- [ ] Create baseline images for visual regression tests
- [ ] Define performance targets (FPS, draw calls)
- [ ] Review existing shaders for reusable patterns
Phase 2: During Implementation
- [ ] All loops have constant bounds
- [ ] No division by zero possible
- [ ] Using branchless patterns (mix/step)
- [ ] Appropriate precision qualifiers
- [ ] Texture lookups cached
- [ ] Uniforms batched into vectors/matrices
Phase 3: Before Committing
- [ ] All shader tests pass:
npm run test:shaders - [ ] Visual regression tests pass:
npm run test:visual - [ ] Performance benchmark meets targets:
npm run bench:shaders - [ ] Cross-browser compatibility verified
- [ ] No artifacts at edge cases (UV 0,0 and 1,1)
- [ ] Smooth animation timing verified
10. Summary
GLSL shaders power the visual effects in JARVIS HUD:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/glsl/SKILL.md
Popularity
- Installs
- 2
- Unique users
- 1
- Repository stars
- 32
- Repository forks
- 3
- 7-day trend score
- 21
Installs come from the vskill CLI. Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/martinholovsky/claude-skills-generator/glsl)