patch-evaluation

Detect and track accessibility violations introduced by code patches.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/mgifford/drupal-core --skill patch-evaluation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: patch-evaluation
Source: https://github.com/mgifford/drupal-core/tree/main/.agents/skills/ai_best_practices/skills/patch-evaluation
Command: npx skills add https://github.com/mgifford/drupal-core --skill patch-evaluation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires crypto, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of evaluating accessibility patches by automating violation detection and comparison across baseline and patched states.

Core Features & Use Cases

  • Automated Violation Testing: Runs scans before and after code patches to identify accessibility violations.
  • Violation Tracking: Utilizes stable instance_id and pattern_id formulas to monitor recurring issues across pages and test runs.
  • Comprehensive Reports: Generates human-readable Markdown, JSON datasets, and HTML views for detailed analysis.
  • Use Case: Developers and testers can efficiently identify regressions or improvements in accessibility compliance when applying patches or code changes.

Quick Start

Use the patch evaluation skill to automatically compare the baseline and patched accessibility violations on your codebase.

Frequently Asked Questions about patch-evaluation

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

FAQPage Schema
How do I automate accessibility violation tracking for code patches?

Automated accessibility violation tracking scans your codebase before and after patches to detect regressions. It uses stable instance_id and pattern_id formulas to monitor recurring issues across pages, generating Markdown, JSON, and HTML reports for analysis.

What is regression detection in accessibility testing?

Regression detection in accessibility testing compares baseline and patched states to identify new violations introduced by code changes. This ensures consistent evaluation standards by tracking recurring violations across multiple pages and test runs.

Do I need the crypto dependency to run accessibility violation scans?

Yes, the crypto dependency is required to run accessibility violation scans. It supports the hashing mechanisms needed to generate stable instance_id and pattern_id formulas for consistent violation tracking across test runs.

How do I generate accessibility reports from automated testing results?

Generating accessibility reports from automated testing produces human-readable Markdown, JSON datasets, and HTML views. These formats provide detailed analysis of violation comparisons across baseline and patched code states for quality assurance workflows.

What's the best way to compare accessibility violations across multiple pages?

Comparing accessibility violations across multiple pages requires stable instance_id and pattern_id formulas to track recurring issues consistently. This approach ensures violations are monitored accurately across different test runs and code patches.

Can I use automated violation scanning in a code review workflow?

Yes, automated violation scanning integrates into code review workflows by detecting accessibility regressions before and after patches. It supports developers and testers in quality assurance by generating detailed reports for compliance evaluation.