What problem does it solve?
This Skill resolves the complexity of managing coordinate systems and path normalization across Verter's hybrid Rust, TypeScript, and LSP architecture, preventing critical off-by-one errors and mapping mismatches.
Core Features & Use Cases
- Coordinate System Mapping: Provides authoritative rules for converting between byte offsets, UTF-16 code units, and LSP-negotiated line/column positions.
- Path Normalization: Enforces canonical ID formats to ensure consistent file identity across symlinks, Windows/Linux environments, and build tool boundaries.
- Use Case: When debugging diagnostic ranges or definition jumps in the Verter LSP, use this Skill to verify if your span calculations are using the correct 0-based or 1-based indexing and if the path identity is correctly resolved.
Quick Start
Use the position-encoding skill to verify the correct coordinate conversion logic for a specific LSP diagnostic range.