Skip to content
Back to skills

Web Standard

ASecurity

Implement or debug browser-native behavior, including semantic HTML, controls, navigation, and platform compatibility. Use for standards-based web behavior.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentsjavascriptjavatestingapisecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add bolens/agent-skills --skill web-standard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web Standard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Web Standard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bolens-web-standard/badge)](https://www.skillsdirectory.com/skills/bolens-web-standard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: web-standard
description: Implement or debug browser-native behavior, including semantic HTML, controls, navigation, and platform compatibility. Use for standards-based web behavior.
---

# Web standard

Use platform behavior deliberately and verify it in the project's supported browsers. Prefer native capabilities when they meet the task, while preserving a chosen framework or established component contract.

## Establish the platform contract

Default to latest stable browser capabilities and maintained stable framework/tool versions across current engines. Require older-browser or dependency compatibility only when explicitly requested or recorded in the repository contract. Read [modern web targets](references/modern-targets.md) for current cross-engine coverage, version selection, and scoped upgrades.

Inspect target browsers/devices, embedded webviews when relevant, rendering/hosting model, framework/router, existing primitives, compatibility tooling, and the failing behavior. Separate normative semantics, browser support, and actual integration behavior.

Use WHATWG/W3C specifications for disputed semantics, MDN and browser compatibility data for implementation support, and the framework's own documentation for its integration. Check current sources when choosing a newer API. Baseline status is useful context, not proof for every webview, assistive technology, or browser in the product's matrix. [HTML Standard](https://html.spec.whatwg.org/multipage/semantics.html), [Baseline](https://developer.mozilla.org/en-US/docs/Glossary/Baseline/Compatibility).

Read only the reference needed:

- [Standards sources](references/standards-sources.md): select the owning specification, check maturity/version, and distinguish requirements from advisory guidance.
- [Internationalization](../internationalization/SKILL.md): locale-dependent messages, formatting, Unicode, and RTL behavior.
- [CSS normalization and resets](references/css-baselines.md): choose a baseline, preserve cascade and control behavior, and verify current browsers without stacking resets.
- [Browser-native implementation](references/browser-native.md): forms, dialogs/popovers, events, observers, URL/history, and ownership.
- [Compatibility and HTTP](references/compatibility-and-http.md): progressive enhancement, feature detection, caching, fetch, and response behavior.
- [Required older-browser support](references/older-browser-support.md): explicit support matrices, syntax transforms, targeted polyfills, delivery, and minimum-version testing.

Native animation and View Transitions belong to `web-animation`. Data mutation state belongs to `forms-and-data-state`. Use `design-system` when replacing or wrapping a shared primitive changes its public contract.

## Implement the intended semantics

- Use links for navigation, buttons for actions, forms for submission, and appropriate landmarks/content structure. Preserve keyboard behavior, submit semantics, and real destinations.
- Inspect browser-parsed DOM as well as source markup. Invalid nesting can be repaired by the parser and lead to a different layout or hydration mismatch. Correct the source rather than hiding the warning.
- Treat ARIA as semantics, not a replacement for missing behavior. Check naming, focus, and interaction with `accessibility` when those are in scope.
- Feature-detect and provide a focused fallback when the declared current engines differ or an explicit legacy requirement needs it. Keep essential content usable if an enhancement fails. Do not add user-agent sniffing, blanket polyfills, or old-browser fallbacks without a target requirement.
- Preserve existing routing, lifecycle, and data ownership. Do not build a second router or remove a framework merely because the platform offers an equivalent primitive.

## Verify and report

Use the repository's validators and browser harness. Verify the specific feature in representative current engines, explicitly required older versions, and their fallback paths, using browser tooling that is actually available. Viewport emulation is not testing another browser engine.

Test direct load, enhanced interaction, keyboard behavior, relevant history navigation, and repeated initialization/teardown. Exercise partial initialization or unavailable feature paths when they affect essential content. A full no-JavaScript workflow is required only when the product contract calls for it, not as an automatic rewrite of every application.

Use `cli-web-evidence` for reproducible browser/HTTP proof. Label unavailable engine, device, assistive-technology, or deployment coverage. Use `web-security` for security boundaries and `technical-seo` for crawl/indexing requirements.

Report the behavior fixed, native/framework ownership, sources consulted, tested support/fallback conditions, and remaining compatibility limits. Do not equate a valid document, a Baseline label, or a successful build with complete standards conformance.

Files in this skill

  • SKILL.md5 KB
  • UPSTREAM.md420 B
  • agents/openai.yaml208 B
  • references/browser-native.md3.2 KB
  • references/compatibility-and-http.md2.8 KB
  • references/css-baselines.md5.2 KB
  • references/modern-targets.md2.9 KB
  • references/older-browser-support.md7.5 KB
  • references/standards-sources.md4.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.