Refactor

🌐Community
by accesslint · vlatest · Repository

Automatically refactors backend code to remediate access control violations flagged by accesslint, improving security posture.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add accesslint-refactor npx -- -y @trustedskills/accesslint-refactor
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "accesslint-refactor": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/accesslint-refactor"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The accesslint-refactor skill helps improve code quality and security by automatically identifying and suggesting fixes for common accessibility issues. It analyzes code, identifies potential problems related to ARIA attributes, semantic HTML, and keyboard navigation, and then provides refactoring suggestions to resolve them. This ensures that the codebase is more inclusive and adheres to best practices.

When to use it

  • During Code Reviews: Integrate this skill into your code review process to proactively identify accessibility issues before they reach production.
  • Legacy Codebases: Use it to improve the accessibility of older projects with accumulated technical debt.
  • New Feature Development: Apply it as part of a continuous integration pipeline for new features, ensuring accessibility is built-in from the start.
  • Preparing for Audits: Quickly identify and address potential accessibility issues before formal audits.

Key capabilities

  • Accessibility issue detection
  • Refactoring suggestions
  • Code analysis
  • ARIA attribute validation
  • Semantic HTML verification
  • Keyboard navigation checks

Example prompts

  • "Analyze this code snippet for accessibility violations and suggest fixes."
  • "Refactor this component to improve its ARIA attributes."
  • “Identify any missing semantic HTML elements in this file.”

Tips & gotchas

The skill’s effectiveness depends on the quality of the codebase. It's recommended to review suggested changes carefully, as automated refactoring may not always be appropriate for every situation.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
accesslint
Installs
8

🌐 Community

Passed automated security scans.