HAP image validation

Validate HAP character image emotional context and Cloudinary URL patterns.

Updated Nov 27, 2025
One-click install
npx skills add https://github.com/cynthiateeters/hybit-ssg --skill hap-image-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: HAP image validation
Source: https://github.com/cynthiateeters/hybit-ssg/tree/main/.claude/skills/hap-image-validation
Command: npx skills add https://github.com/cynthiateeters/hybit-ssg --skill hap-image-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents the use of incorrect HAP character images, malformed Cloudinary URLs, and inappropriate emotional contexts in educational content. It ensures consistent visual storytelling, optimal image performance, and correct accessibility attributes, eliminating manual checks and visual errors.

Core Features & Use Cases

  • Emotional Context Validation: Verifies that each HAP image's expression (e.g., confused, celebrating) matches the surrounding content's emotional tone.
  • Cloudinary URL Verification: Automatically checks for correct Cloudinary URL patterns, image filenames (against a definitive inventory), and optimization parameters (f_auto, q_auto, w_).
  • Alt Text & HTML Attribute Audit: Ensures all images have descriptive alt text and required HTML attributes like width, height, decoding="async", and loading="lazy" or fetchpriority="high".
  • Use Case: After adding or updating HAP images in a learning station, run this Skill to automatically audit all image placements, ensuring they are emotionally appropriate, use valid and optimized Cloudinary links, and meet accessibility standards, saving significant review time.

Quick Start

Use the hap-image-validation skill to check all HAP images in the attached HTML file. Verify emotional context, Cloudinary URLs, alt text, and HTML attributes.

Frequently Asked Questions about HAP image validation

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

FAQPage Schema
How do I validate HAP character images in HTML files?

HAP image validation checks that character expressions match content context, Cloudinary URLs follow optimization patterns (f_auto, q_auto, w_150/w_200, c_limit, v[VERSION]), and images have proper alt text and HTML attributes like width, height, decoding="async", and loading="lazy" or fetchpriority="high".

What does HAP image emotional context validation do?

Emotional context validation ensures each HAP character image's expression—confused, celebrating, etc.—aligns with the surrounding content's emotional tone, preventing mismatched visuals in educational materials and maintaining consistent storytelling.

Can I check Cloudinary URL patterns automatically?

Yes. The validation automatically audits Cloudinary URLs against a definitive inventory, verifying correct filenames, optimization parameters, and conformance to standard patterns, eliminating manual link checks across station HTML files and content pipelines.

Why do HAP images need accessibility attributes?

Accessibility attributes—descriptive alt text, width, height, decoding="async", and loading="lazy" or fetchpriority="high"—ensure images are perceivable by assistive technologies and load efficiently, meeting accessibility standards and improving performance.

When should I run HAP image validation in my workflow?

Run validation after adding or updating HAP images in learning stations, during content review pipelines, and before deployment to catch emotionally mismatched images, malformed URLs, and missing accessibility attributes early.

Does this validation work with note callouts and image placements?

Yes. The validation covers all HAP assets used in station HTML files, note callouts, image placements, and content review pipelines, providing comprehensive auditing across creation, editing, review, and deployment workflows.