refactor

Refactor code to improve accessibility compliance with WCAG 2.1 standards.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of refactoring code to improve accessibility, helping you meet WCAG 2.1 standards with minimal manual intervention.

Core Features & Use Cases

  • Accessibility Fixes: Automatically corrects common accessibility issues across files.
  • Refactoring Expertise: Handles complex tasks like component extraction, markup restructuring, and ARIA pattern implementation.
  • Scope Flexibility: Fixes issues in files, directories, or the entire codebase based on user input.

Quick Start

Apply accessibility refactorings across all files using the refactor skill.

Frequently Asked Questions about refactor

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

FAQPage Schema
How do I automate code refactoring to meet WCAG 2.1 accessibility standards?

To automate accessibility refactoring for WCAG 2.1, this Skill targets specified file and directory paths, automatically identifying accessibility issues and applying refactoring strategies with minimal manual intervention required.

What accessibility issues can be fixed through automated refactoring?

Automated refactoring corrects common accessibility issues and handles complex tasks like component extraction, markup restructuring, and ARIA pattern implementation to ensure your codebase meets WCAG 2.1 compliance.

Can I apply accessibility refactoring to a specific directory or my entire codebase?

Yes, you can apply accessibility refactoring with flexible scope. The Skill fixes issues in individual files, specific directories, or across the entire codebase based on your targeted input paths.

What is the best way to implement ARIA patterns during an accessibility refactor?

The best way to implement ARIA patterns during accessibility refactoring is using AI-assisted decision-making. The Skill automates markup restructuring and ARIA pattern application to ensure WCAG 2.1 compliance.

Do I need manual intervention to fix complex accessibility markup restructuring?

No, manual intervention is minimized. The Skill utilizes AI-assisted decision-making and automated scripts to handle complex refactoring tasks like component extraction and markup restructuring for WCAG 2.1 compliance.