Skip to content

Latest commit

 

History

History
213 lines (158 loc) · 7.47 KB

File metadata and controls

213 lines (158 loc) · 7.47 KB

AGENTS.md

AI agent guidance for this repository. Generated for AgentRC compatibility.

This repository contains 80 accessibility-focused AI agents across multiple platforms (Copilot, Claude Code, Codex, Gemini). This file provides high-level guidance for AI coding assistants working in this codebase.

Repository Writing Policy: No Emoji

Repository-wide hard rule: do not add emoji characters in generated, edited, or reviewed content.

  • Applies to release notes, changelog entries, docs, prompts, instructions, agent files, issue/PR text, and chat-generated copy intended for repository publication.
  • Replace emoji with plain text labels.
  • If existing content contains emoji and you are touching that content, remove emoji as part of the update.

Repository Purpose

A11y Agent Team is a collection of accessibility-focused AI agents that enforce WCAG 2.2 AA standards across web, document, and mobile development. The agents work together as specialized teams to catch accessibility issues that LLMs typically miss during code generation.

Key Directories

Path Purpose
.github/agents/ Copilot agent definitions (80 agents)
.github/skills/ Copilot reusable skills (25 skills)
.github/prompts/ One-click workflow prompts
.github/instructions/ Always-on instruction files
.claude/agents/ Claude Code agent definitions
.codex/ Codex CLI configuration (11 roles)
.gemini/ Gemini CLI extension
docs/ Documentation site
mcp-server/ HTTP-based MCP server (Streamable HTTP + stdio)
vscode-extension/ VS Code extension (planned)
scripts/ Build and validation scripts
templates/ Scan configuration templates

Agent Teams

Web Accessibility Team

Led by accessibility-lead, coordinates specialists for comprehensive web audits:

  • aria-specialist - ARIA roles, states, properties
  • keyboard-navigator - Tab order, focus management
  • contrast-master - Color contrast, visual accessibility
  • forms-specialist - Form labeling, validation, errors
  • modal-specialist - Dialog focus trapping, escape behavior
  • live-region-controller - Dynamic content announcements
  • alt-text-headings - Images, SVGs, heading hierarchy
  • tables-data-specialist - Data table accessibility
  • link-checker - Ambiguous link text detection
  • text-quality-reviewer - Non-visual text quality review
  • i18n-accessibility - Internationalization, RTL, and multilingual accessibility

Document Accessibility Team

Led by document-accessibility-wizard, handles Office and PDF audits:

  • word-accessibility - Microsoft Word (.docx)
  • excel-accessibility - Microsoft Excel (.xlsx)
  • powerpoint-accessibility - Microsoft PowerPoint (.pptx)
  • pdf-accessibility - PDF/UA conformance
  • epub-accessibility - ePub accessibility
  • pdf-remediator - Programmatic and manual PDF remediation
  • office-remediator - Programmatic Office document (Word/Excel/PowerPoint) remediation

GitHub Workflow Team

Led by github-hub / nexus, manages repository operations:

  • daily-briefing - Morning overview of issues, PRs, CI status
  • pr-review - Code review with accessibility focus
  • issue-tracker - Issue triage and priority scoring
  • analytics - Repository health metrics
  • repo-admin - Collaborator and branch protection management
  • team-manager - Organization team membership
  • contributions-hub - Contributor activity tracking and recognition
  • insiders-a11y-tracker - VS Code Insiders accessibility regression tracking
  • template-builder - Issue and PR template generation
  • repo-manager - Repository settings, labels, and workflow management
  • projects-manager - GitHub Projects v2 boards, views, custom fields, and iterations
  • actions-manager - GitHub Actions workflow runs, logs, re-runs, and CI debugging
  • security-dashboard - Dependabot, code scanning, and secret scanning alert triage
  • release-manager - Releases, tags, assets, and release note generation
  • notifications-manager - Notification inbox management, filtering, and subscriptions
  • wiki-manager - Wiki page creation, editing, search, and organization

Developer Tools Team

Led by developer-hub, handles desktop and Python development:

  • python-specialist - Python debugging, packaging, testing
  • wxpython-specialist - wxPython GUI development
  • nvda-addon-specialist - NVDA screen reader addon development
  • desktop-a11y-specialist - Desktop accessibility APIs
  • a11y-tool-builder - Building accessibility scanning tools

CI/CD & Education

Specialist agents for CI pipelines, standards education, and screen reader simulation:

  • ci-accessibility - CI/CD accessibility pipeline setup and management
  • screen-reader-lab - Interactive screen reader simulation for education
  • wcag3-preview - WCAG 3.0 draft education and transition planning
  • wcag-aaa - WCAG AAA conformance auditing

Coding Conventions

Agent File Format

Copilot agents (.github/agents/*.agent.md):

---
name: Agent Name
description: What this agent does (required)
tools: ['read', 'edit', 'search', 'runInTerminal', 'askQuestions']
model: ['Claude Sonnet 4.5 (copilot)', 'GPT-5 (copilot)']
---

Agent instructions in markdown...

Claude Code agents (.claude/agents/*.md):

---
name: agent-name
description: What this agent does
tools:
  - Read
  - Edit
  - Grep
  - Task
---

Agent instructions in markdown...

Tool Name Conventions

Platform Read Edit Search Shell Sub-agent
Copilot CLI read edit search runInTerminal agent
Claude Code Read Edit Grep/Glob Bash Task

Skill File Format

Skills must have SKILL.md with YAML frontmatter:

---
name: skill-name
description: What this skill provides
---

Skill content in markdown...

Build & Test

No build step required - agents are markdown files.

Validation:

# Check agent YAML frontmatter
node scripts/validate-agents.js

# Run AgentRC readiness check
npx github:microsoft/agentrc readiness

Local testing:

# Install to local Copilot CLI
./install.sh --global --cli

# Verify agents load
copilot /agent

CI/CD

Workflow Purpose
a11y-check.yml Lint HTML/JSX/CSS for accessibility
verify-sources.yml Validate URLs in documentation
update-manifest.yml Generate installation manifest
sync-docs-site.yml Deploy documentation

Contributing

  1. Agent changes go in both .github/agents/ AND .claude/agents/
  2. Use platform-specific tool names (see conventions above)
  3. Every agent needs a description field
  4. Run validation before committing
  5. Update CHANGELOG.md for user-facing changes

Architecture Decisions

  • Parallel agent definitions: Each platform has its own agent files because tool names and capabilities differ
  • Skills for reusable knowledge: Common patterns (WCAG rules, scoring formulas) are in skills, not duplicated in agents
  • Wizard orchestrators: Complex workflows use wizard agents that delegate to specialists
  • Read-only scanners: Scanner agents never modify files - they only report findings
  • Fixer agents require confirmation: Agents that modify code always ask before applying changes

External Dependencies

  • axe-core: Web accessibility rule engine
  • Playwright: Browser automation for behavioral testing
  • markdownlint: Markdown accessibility linting
  • veraPDF (planned): PDF/UA validation