web-app-design-remediation
Installation
SKILL.md
Web App Design Remediation & Audit Fixes
Systematic guide for addressing design reviews, accessibility audits, and UX/SEO feedback on static sites and single-page web applications.
Check the Platform First
When a fix calls for JS-heavy workarounds (custom modals, scroll handling,
sticky header behavior, validation timing), check for a native platform
pattern before writing code: search the modern-web-guidance skill
(DISABLE_TELEMETRY=1 npx -y modern-web-guidance@latest search "<pattern>")
and retrieve the guide for current CSS/JS + Baseline fallbacks. Examples:
light-dismiss-a-dialog, state-aware-sticky-headers,
validate-input-after-interaction, animate-element-entry-exit.
Patching & Workflow Patterns
- Context-Rich Patching: When replacing HTML/CSS blocks across a single file, always supply 2–4 lines of surrounding context to prevent "Found N matches" errors.
- Batch Modest Edits: Group related changes logically (e.g. CSS rules, header/nav semantics, contact links, form logic) rather than doing 20 isolated
patchcalls or attempting a single giant file overwrite. - Verify File Content: Always inspect lines via
read_fileorsearch_filesto verify exact string matches before patching.