codigo-html

Enforce clean, semantic HTML5 with mandatory boilerplate and validation.

Updated Dec 19, 2025
One-click install
npx skills add https://github.com/afonsolelis/laudo_cards --skill codigo-html
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codigo-html
Source: https://github.com/afonsolelis/laudo_cards/tree/main/.claude/skills/codigo-html
Command: npx skills add https://github.com/afonsolelis/laudo_cards --skill codigo-html

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Este Skill garante código HTML limpo, semântico, bem-estruturado e consistente em todo o projeto.

Core Features & Use Cases

  • Estrutura básica obrigatória: boilerplate HTML com Bootstrap CDN, meta, body.
  • Boas práticas: indentação de 4 espaços, sem CSS inline, atributos ordenados, semântico HTML5.
  • Checklist de validação: validação HTML, acessibilidade básica e referências.

Quick Start

  • Crie um novo arquivo HTML seguindo o boilerplate do guia.
  • Adote tags semânticas (nav, header, main, section, footer) e use a indentação correta.
  • Inclua o Bootstrap via CDN e valide o código com HTML validators.

Frequently Asked Questions about codigo-html

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

FAQPage Schema
How do I write clean, semantic HTML that follows best practices?

Clean semantic HTML uses proper HTML5 elements like nav, header, main, section, and footer instead of generic divs. Apply 4-space indentation, order attributes consistently, use alt text for images, and validate your markup with HTML validators to ensure accessibility and structure standards.

What's the correct HTML boilerplate structure I should use?

A mandatory HTML boilerplate includes the DOCTYPE, meta tags for charset and viewport, Bootstrap CDN link, and a properly structured body. This foundation ensures consistency across your project and provides the required semantic framework for all pages.

Why is semantic HTML important for accessibility?

Semantic HTML elements communicate document structure to assistive technologies and search engines. Proper landmarks like header, nav, main, and footer, combined with descriptive alt text and form labels, enable screen readers to navigate content and help users understand page organization.

How do I ensure consistent HTML formatting across my project?

Enforce consistent formatting by applying 4-space indentation, ordering attributes alphabetically, using English comments, avoiding inline CSS, and following semantic HTML5 conventions throughout. Validate files regularly against HTML standards to catch inconsistencies early.

Can I use HTML best practices with Bootstrap?

Yes. The boilerplate includes Bootstrap via CDN. Bootstrap classes work alongside semantic HTML elements—use nav, header, main, section, and footer as semantic containers while applying Bootstrap utility classes for styling and responsive behavior.

What happens if my HTML doesn't follow these standards?

Non-semantic, poorly structured HTML creates accessibility barriers for assistive technologies, reduces SEO effectiveness, makes maintenance harder, and increases bugs in styling and scripting. Inconsistent indentation and missing alt text also violate modern web standards and best practices.