canvas-debugging

Diagnose Konva canvas layout and grid alignment issues.

Updated Nov 11, 2025
One-click install
npx skills add https://github.com/jhlee0409/laylder --skill canvas-debugging
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: canvas-debugging
Source: https://github.com/jhlee0409/laylder/tree/main/.claude/skills/canvas-debugging
Command: npx skills add https://github.com/jhlee0409/laylder --skill canvas-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps diagnose and fix Konva canvas issues, grid constraints, snap-to-grid alignment, and layout mismatches efficiently.

Core Features & Use Cases

  • Canvas Diagnostics: Identify positioning, overlap, and snapping problems.
  • Grid & Breakpoint Debugging: Verify layout across breakpoints and grid constraints.
  • Conversion & Rendering: Validate Canvas→CSS Grid conversions and Konva rendering.

Quick Start

Describe a canvas issue scenario and outline steps to reproduce and fix it.

Frequently Asked Questions about canvas-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug snap-to-grid alignment issues in a Konva canvas?▼

Snap-to-grid alignment in Konva canvas can be debugged by validating pixel-to-grid conversion logic, checking grid constraint application, and verifying that drag-and-drop behavior respects grid boundaries. Use overlap detection and bounds validation to identify misaligned components.

How do I diagnose canvas positioning and component overlap problems?▼

Canvas positioning issues are diagnosed through layout diagnostics that identify overlapping elements, validate component placement against grid constraints, and check Canvas→CSS Grid conversions. Verify positioning across breakpoints to catch layout mismatches.

What's the best way to validate grid constraints across responsive breakpoints?▼

Validate grid constraints by testing layout behavior at each breakpoint, ensuring snap-to-grid logic applies consistently, and checking that CSS Grid conversions match canvas rendering. Use schema validation utilities to confirm constraint compliance across all breakpoints.

Can I use this to debug drag-and-drop behavior on constrained canvases?▼

Yes. Drag-and-drop debugging validates snap-to-grid behavior during interaction, checks canvas bounds enforcement, detects component overlap during drags, and verifies that dropped positions align with grid constraints and schema normalization rules.

Why might Canvas→CSS Grid conversions not render correctly?▼

Conversion failures typically stem from pixel-to-grid conversion errors, grid constraint mismatches, or schema validation issues. Debug by comparing canvas layout logic against CSS Grid output, verifying breakpoint-specific constraints, and checking normalization utility behavior.

Do I need additional tools to validate overlap detection in my canvas layout?▼

Overlap detection is built into the diagnostics workflow. Combine it with canvas bounds validation, grid alignment checks, and schema validation to comprehensively verify component placement without additional external tools.