csp-lua
Installation
SKILL.md
CSP Lua API Reference Skill
Use this skill when working with CSP (Custom Shaders Patch) Lua code for Assetto Corsa.
Development Rules
NEVER use shell commands or external tools (io.popen, os.execute, etc.) to solve problems. CSP provides comprehensive APIs for most tasks.
Before implementing any functionality:
- Check
reference/lib.luain this skill folder for existing CSP APIs - Use CSP's built-in functions (e.g.,
io.scanDirinstead ofdircommand) - Only fall back to shell if absolutely no CSP API exists