What problem does it solve?
cuTile kernel authors often lack immediate, editor-based feedback for type correctness and diagnostics. This Skill provides a structured way to annotate kernels so the LSP can generate in-editor inlay hints and warnings, speeding up development and reducing debugging cycles.
Core Features & Use Cases
- Enables LSP-driven inlay hints and diagnostics for cuTile kernels by guiding <typecheck> blocks and enable markers.
- Documents a repeatable workflow to annotate kernels and integrate with standard cuTile project setups.
- Use Case: a developer iterates on a kernel, receives instant type-related feedback and shape/type validation as they code.
Quick Start
Ensure the top of the kernel file contains the enable marker (# cutile-lsp: on) and place the code region markers (# cutile-lsp: start / # cutile-lsp: end) around the kernel. Include a <typecheck> block in the kernel docstring to define parameter shapes and dtypes, so the LSP can parse and surface hints and diagnostics.