Skill library

Agent skill Frontend

DXE Semantic HTML First

Build or refine reusable components for a web interface.

  • UI components
  • Accessibility

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add kemiljk/skills --skill dxe-semantic-html-first --agent claude-code --yes

Check this file in your project.claude/skills/dxe-semantic-html-first/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add kemiljk/skills --skill dxe-semantic-html-first

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A signup form route, its actual validation rules, and an existing local or sandbox submit path.

View operation manual

What this skill helps with

  • Build or refine reusable components for a web interface.

Good for

  • Component implementation
Task
Fix a signup form through native HTML semantics
Bring to the session
A signup form route, its actual validation rules, and an existing local or sandbox submit path.
Deliverable
A bounded form correction with meaningful control semantics and successful keyboard and error-recovery checks.
Skill name
dxe-semantic-html-first
Repository
kemiljk/skills

What makes this brief hard to verify

An underspecified request

Add aria-label to every custom box and leave the form wiring alone.

A name alone does not give an element native focus, activation, disabled behavior, or form participation.

An outcome you can check

  1. Find which fields, actions, and links do not match their rendered HTML roles.
  2. Preserve the existing submission contract and make invalid fields understandable.
  3. Run the form’s tests or open a local submit flow to check native behavior.

Semantic HTML First operation manual

A bounded form correction with meaningful control semantics and successful keyboard and error-recovery checks.

A signup form route, its actual validation rules, and an existing local or sandbox submit path.

  1. Identify the actual elements and behavior

    Find which fields, actions, and links do not match their rendered HTML roles.

    Prompt · Step 1
    Use the installed dxe-semantic-html-first Skill and read its SKILL.md.
    
    Inspect [signup form] both in source and rendered DOM. Identify the submit action, any navigation links, visible labels, and field types. Observe whether invalid input receives useful feedback and retained values. List the mismatches that affect this form’s keyboard or submission path.
  2. Use native controls and connect error feedback

    Preserve the existing submission contract and make invalid fields understandable.

    Prompt · Step 2
    Use the installed dxe-semantic-html-first Skill and read its SKILL.md.
    
    Implement the approved fix using the native form, matched input types and labels, and an explicit submit button. Use a real link for navigation. Show submit-time validation and update an already invalid field as it is corrected. Put errors near fields and connect the message when needed. Preserve entered values after server failure.
  3. Verify activation, invalid input, and retry

    Run the form’s tests or open a local submit flow to check native behavior.

    • Visible labels and accessible names match the rendered form fields.
    • Keyboard submission and a recoverable failure preserve the expected form behavior.
    Prompt · Step 3
    Use the installed dxe-semantic-html-first Skill and read its SKILL.md.
    
    Using [sandbox signup flow], submit invalid input with the keyboard, correct it, trigger a failure where test support exists, and retry. Verify focus, associated error, retained fields, and a successful outcome. Check a non-submit button leaves the form alone. Report what was tested in the DOM or via the real flow.

Look up this workflow decision

Use the named section of the installed SKILL.md and give the assistant the real consumer or route.

A custom control looks like a button and fails keyboard submissionSKILL.md
Command or reference
Forms and validation
Examples
Choose the native control that matches its job and verify the actual DOM rather than the component name.

Troubleshooting

Should an inline error use the placeholder?

Keep the visible label. Put the error next to the field and programmatically associate it where appropriate so users can read it again.

How do I check that the assistant loaded this Skill?

Ask the assistant to identify the dxe-semantic-html-first/SKILL.md installed in the current project. If it cannot see the new installation, start another session in that project.