skills/smithery.ai/check-bounds-safety

check-bounds-safety

Installation
SKILL.md

Type-Safe Bounds Checking

When to Use

  • Working with array access or buffer operations
  • Implementing cursor positioning logic (text editors, terminal emulators)
  • Handling viewport rendering and scrolling
  • Dealing with 0-based indices vs 1-based lengths
  • Validating range boundaries
  • Converting VT-100 ranges to Rust ranges
  • Before creating commits with bounds-sensitive code
  • When user asks about "bounds checking", "type safety", "off-by-one errors", etc.

The Problem

Raw usize values are ambiguous and error-prone:

Installs
1
First Seen
Mar 27, 2026
check-bounds-safety from smithery.ai