refactor

Refactor codebases to fix accessibility issues and ensure WCAG 2.1 compliance.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/aptxaptx/scamai-landing --skill refactor-aptxaptx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor
Source: https://github.com/aptxaptx/scamai-landing/tree/main/.agents/skills/refactor
Command: npx skills add https://github.com/aptxaptx/scamai-landing --skill refactor-aptxaptx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automatically identifies and fixes accessibility issues in code, ensuring compliance with WCAG standards and improving user experience for everyone.

Core Features & Use Cases

  • Automated Accessibility Audits: Scans codebases to detect common and complex accessibility violations.
  • Intelligent Refactoring: Applies fixes ranging from simple attribute additions to complex component restructuring.
  • Use Case: A development team has a web application with known accessibility issues. They can use this Skill to automatically refactor components, add ARIA attributes, and fix color contrast problems, significantly reducing manual effort and improving compliance.

Quick Start

Use the refactor skill to fix accessibility issues in the entire codebase.

Frequently Asked Questions about refactor

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

FAQPage Schema
How do I automatically fix WCAG 2.1 compliance issues in my codebase?

Automated accessibility refactoring scans your codebase to detect and fix WCAG 2.1 compliance issues, handling everything from simple alt text additions to complex component restructuring.

Can I use this to refactor custom React components for better accessibility?

Yes, it supports React, Vue, and standard HTML/CSS, intelligently refactoring custom components by applying semantic HTML conversion and adding missing ARIA attributes.

What level of accessibility fixes can be automatically applied to my code?

Accessibility fixes range from simple attribute additions like alt text and ARIA labels to moderate semantic HTML conversion and complex refactoring of custom components.

Does automated accessibility refactoring handle color contrast problems?

Yes, automated accessibility refactoring addresses color contrast problems along with semantic HTML conversion and ARIA attribute fixes to ensure WCAG standards compliance.