All authors

Claude Skills by scarletnx
github.com/scarletnx12 skills0 installs24 views
- Code AuditThis skill audits uncommitted changes, branches or PRs for bugs, edge cases, SOLID/DRY/SRP, architecture, security, performance and CLAUDE.md violations. Then it automatically fixes ALL the issues and audits again in a loop until the result is clean. Use it for: audit, review, code review, review this PR, check code, look over this, inspect code, or any variation.Votes: 0GitHub stars: 358
- Record LessonRecord what ScarletNX work taught, where the next session will look for it. Use it after a bug took more than one attempt to find, or when the same mistake happened two times. Use it also when a debug technique worked, or when the user corrects how you work.Votes: 0GitHub stars: 358
- Snx BuildBuild the ScarletNX runtime and recompile games correctly. Avoid the setups that build \"successfully\" into something that does not work. It covers the CPM.cmake dependencies, the presets for Clang only and the deploy into games/. It also tells when a game needs a recompile, and which warnings a plain build does not show. Use it when you build or rebuild the runtime, or recompile a game. Use it also after you pull or bump a dependency, or when a build result looks suspicious.Votes: 0GitHub stars: 358
- Snx Code QualityThe C rules of RFC #142: strict ISO C23, no redundant state and indices in place of pointer chains. Also one allocation per owner, atomics apart, no stored pointers and one global struct per file. Use it when you write or review C in src/.Votes: 0GitHub stars: 358
- Snx CrashTake a ScarletNX crash report, svcBreak or hang from the log to the mechanism that causes it. Use the symbolizer and disassembler on the code of the game. Use it when the game crashes (signal 11 or 7), calls svcBreak or fatal, or hangs. Use it also when a log shows \"*** Crash\", or when game structures contain corrupted data.Votes: 0GitHub stars: 358
- Snx Gpu ShaderWrite and optimize ScarletNX's own compute shaders (astc.comp, vic.comp, future ones) for what the GPU actually executes. It covers constant tables, bit tricks, uniform branches, fewer fetches, and workgroup and subgroup structure. It also covers proofs of exactness, and the GLSL-as-C++ tests and lavapipe time measurements that check them. Use it when you write, review or speed up a GLSL shader under src/nx/gpu/. Use it also when you decide if you split a shader.Votes: 0GitHub stars: 358
- Snx RunRun a recompiled game unattended and judge the result. It covers scripted button input, a timed exit, screenshots, the log, and repeat runs for intermittent crashes. Use it when you verify a runtime change or reproduce a bug. Use it also to check that a scene renders or to measure a crash rate. Use it when the user asks to run or test the game.Votes: 0GitHub stars: 358
- Snx ServiceImplement or fix a high-level-emulated Switch service or device (IPC commands, nvdrv ioctls, shared memory). Make it answer as the console does, as the SDK code of the game expects. Use it when a log shows an unimplemented command, or a game stalls and waits on a service. Use it also when an svcBreak follows a service call, or when you add audio, input, video or system services.Votes: 0GitHub stars: 358
- Ste100The ASD-STE100 rules for the Claude files (CLAUDE.md, .claude/, the memory files) and for agent prompts and reports, with the checker that the hooks run. Use it when you write a Claude file, a prompt for a subagent or a report from a subagent.Votes: 0GitHub stars: 358
- Game TagGive a game an opaque tag in place of its title and its title ID. It covers the tag of an ID, the game behind a tag, and the check of a text for titles and title IDs. Use it when you write about one game in a commit message, an issue, a pull request or a doc.Votes: 0GitHub stars: 358
- Snx ManualThe manuals of the ARM instruction sets, the Maxwell and Ampere GPUs and the NVN API that ScarletNX publishes. Read the page of an encoding, a rounding rule or an API contract before you write it. Use it when you write a decoder, a Sail file, an emitter, a translator or an NVN handler. Use it also for a test that checks one of them.Votes: 0GitHub stars: 358
- Snx ProfileFind where a frame's time actually goes, before you change code, on Windows, Linux, macOS and iOS. It covers the runtime's own counters (--stats: finishes by call site, dispatches, texture uploads, waits by caller) and plat_ns timers around a phase. It also covers the GPU's own timestamps (vk_gpu_profile), what replaces them on Metal, and each host's sampler. Use it before any change made for speed, and to prove that one worked.Votes: 0GitHub stars: 358