-
Notifications
You must be signed in to change notification settings - Fork 37
Cross Platform Handoff
Guide for seamless handoff between Claude Code and GitHub Copilot agent environments when performing document accessibility audits.
| Capability | Claude Code | GitHub Copilot | Gemini CLI | Codex CLI |
|---|---|---|---|---|
| Agent format | .claude/agents/*.md |
.github/agents/*.agent.md |
.gemini/extensions/*/skills/*/SKILL.md |
.codex/AGENTS.md |
| Frontmatter |
maxTurns, memory
|
tools, agents, model, handoffs
|
name, description
|
N/A (inline) |
| Sub-agents | Parallel via Task tool |
Via agent tool + agents frontmatter |
Via skill references | N/A |
| Hidden helpers | N/A (all agents user-invokable) |
user-invokable: false in frontmatter |
N/A | N/A |
| Skills | N/A | .github/skills/*/SKILL.md |
Extension skills | N/A |
| Context file | CLAUDE.md |
copilot-instructions.md |
GEMINI.md |
AGENTS.md |
| Interactive UI | Terminal prompts |
askQuestions tool |
Terminal prompts | Terminal prompts |
When: You start a document audit in the terminal with Claude Code but need to continue editing or remediation in VS Code.
Steps:
- In Claude Code, run the document-accessibility-wizard
- The wizard generates
DOCUMENT-ACCESSIBILITY-AUDIT.md - Open the project in VS Code
- In Copilot Chat, select
@document-accessibility-wizard - Say: "Continue the audit from the existing report"
- The Copilot agent reads the existing report and picks up where Claude left off
What transfers automatically:
- The audit report file (
DOCUMENT-ACCESSIBILITY-AUDIT.md) - Scan configuration files (
.a11y-office-config.json,.a11y-pdf-config.json) - SARIF output (if generated)
What does NOT transfer:
- In-memory session state (conversation history)
- Partial scan progress (if interrupted mid-scan)
When: You start an audit in VS Code but need CLI-level access for batch operations.
Steps:
- In Copilot Chat, run
@document-accessibility-wizard - Generate the audit report
- Switch to terminal with Claude Code
- Say:
/document-accessibility-wizard Re-scan with comparison against the existing report - Claude Code reads the previous report and runs a delta comparison
When: Large document libraries benefit from splitting work across platforms.
Steps:
- In Claude Code: scan PDFs (better for binary parsing in terminal)
- In Copilot: scan Office documents (better with VS Code file explorer integration)
- Both write to separate report files
- In either platform: "Compare and merge these two audit reports"
These files are platform-agnostic and work identically in both environments:
| Artifact | Path | Purpose |
|---|---|---|
| Audit report | DOCUMENT-ACCESSIBILITY-AUDIT.md |
Main audit output |
| Office config | .a11y-office-config.json |
Scan rule configuration |
| PDF config | .a11y-pdf-config.json |
PDF scan rules |
| SARIF output | *.sarif.json |
CI/CD integration |
| Scan templates | templates/*.json |
Profile presets |
| Batch scripts |
*.ps1 / *.sh
|
Remediation automation |
Both platforms generate reports in the same markdown format with identical sections:
- Audit Information
- Executive Summary
- Accessibility Scorecard
- Cross-Document Patterns
- Findings by File
- Remediation Priority
- Confidence Summary
- Template Analysis
- Comparison Report (if re-scan)
This means any report generated by one platform can be:
- Read and continued by the other platform
- Used as a baseline for comparison scans on either platform
- Parsed by CI/CD pipelines regardless of which platform generated it
The Agent Skills in .github/skills/ serve as platform-independent knowledge:
- document-scanning - File discovery patterns, delta detection commands
- accessibility-rules - Rule reference with WCAG 2.2 mapping
- report-generation - Scoring formulas, report structure, compliance formats
Claude Code agents access this knowledge through their agent instructions.
Copilot agents access it through the Skills framework (auto-resolved from SKILL.md descriptions).
- Accessibility Lead
- Web Accessibility Wizard
- Document Accessibility Wizard
- Alt Text and Headings
- ARIA Specialist
- Contrast Master
- Forms Specialist
- Keyboard Navigator
- Link Checker
- Live Region Controller
- Modal Specialist
- Tables Data Specialist
- Word Accessibility
- Excel Accessibility
- PowerPoint Accessibility
- PDF Accessibility
- Office Scan Config
- PDF Scan Config
- Testing Coach
- WCAG Guide