attribute-access-and-validation

Official

Safely access element attributes

Authorkreuzberg-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a robust and safe mechanism for accessing and validating attributes of HTML elements, ensuring that data is retrieved correctly and securely.

Core Features & Use Cases

  • Case-insensitive attribute lookup: Retrieve attributes regardless of their casing.
  • Class and ID extraction: Easily get lists of classes or a single ID from an element.
  • URL attribute handling: Safely extract and sanitize URLs from attributes like href and src.
  • Boolean attribute support: Correctly interpret the presence or absence of boolean attributes.

Quick Start

Safely access the 'href' attribute from the provided HTML element.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: attribute-access-and-validation
Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#attribute-access-and-validation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.