alignment-verification

Detect pixel misalignment between UI elements and output ALIGNMENT_CHECK blocks.

2|2|Updated Dec 16, 2025
One-click install
npx skills add https://github.com/adilkalam/orca --skill alignment-verification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alignment-verification
Source: https://github.com/adilkalam/orca/tree/main/skills/alignment-verification
Command: npx skills add https://github.com/adilkalam/orca --skill alignment-verification

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforces binary alignment verification with pixel-precision and no tolerances.

Core Features & Use Cases

  • Exact measurement reporting: Calculate and present deviations in px.
  • Output block: Produce ALIGNMENT_CHECK blocks for easy auditing.
  • Use Case: Validate modal centering or grid alignment in UI implementations.

Quick Start

Provide target and reference elements, run the alignment check, and review the ALIGNMENT_CHECK block.

Frequently Asked Questions about alignment-verification

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

FAQPage Schema
How do I verify pixel-perfect alignment between UI elements?

Pixel-perfect alignment verification measures exact bounding box positions of UI elements and reports precise deviations in pixels with zero tolerance. Provide target and reference elements, run the alignment check, and receive an ALIGNMENT_CHECK verdict showing whether elements are perfectly aligned or the exact pixel delta between them.

Can I check alignment for form controls, buttons, and labels in a grid layout?

Yes. This Skill detects misalignment across web UI layouts including form controls, labels, buttons, and chip groups in both grid and flexible containers. It calculates exact pixel measurements of element bounding boxes to validate alignment viability within your layout structure.

What's the best way to validate modal centering in web UIs?

Modal centering validation uses bounding box measurements to compare the modal's position against reference points, outputting precise pixel deviations. The ALIGNMENT_CHECK block reports whether the modal is centered with zero tolerance, eliminating guesswork from manual inspection.

How does pixel-precision alignment checking differ from tolerance-based approaches?

Pixel-precision alignment enforces binary verification with zero tolerance, reporting exact pixel deltas rather than accepting ranges. This approach catches misalignments that tolerance-based methods would ignore, ensuring visual consistency meets strict design specifications.

Do I need DOM access to measure element alignment?

Yes. Alignment verification requires access to element bounding boxes and DOM metrics to calculate exact pixel positions. You provide target and reference elements from your UI, and the Skill compares their positions using precise DOM measurements.

What limitations should I know about pixel-level alignment verification?

Alignment checking applies only to measurable bounding box positions and cannot account for sub-pixel rendering, browser zoom levels, or display scaling. Results reflect exact pixel deltas at the measured resolution; visual appearance may vary across different device contexts.