ua1-validator-agent
hajekt2 द्वारा
Coding Agents & IDEsसंक्षिप्त
Validate PDFs against PDF/UA-1 using ua1.dev or api.ua1.dev from AI coding agents (OpenClaw, Claude Code, Codex.
विवरण
यह स्किल क्या करती है
Runs PDF/UA-1 accessibility validation against the ua1.dev API from within agent workflows. Returns machine-readable verdicts with findings grouped by rule ID. Designed for CI gating and automated remediation loops.
Returns deterministic exit codes and compact structured verdicts that CI pipelines can consume directly, without manual review of accessibility reports.
इसे कब इस्तेमाल करें
- Blocking non-accessible PDFs in a CI pipeline before release
- Batch-checking generated PDFs for accessibility rule failures
- Getting a remediation plan sorted by most frequent violations
- Re-validating a PDF after fixes to confirm issues are resolved
- Integrating accessibility checks into a document generation workflow
उदाहरण वर्कफ़्लो
User asks: Check if report.pdf passes PDF/UA-1
- 1
Run health check against api.ua1.dev/api/health
- 2
POST report.pdf to api.ua1.dev/api/validate?format=compact
- 3
Parse verdict field from the response
- 4
If verdict is fail, group findings by rule_id sorted by frequency
- 5
Return prioritized remediation plan based on rule violations
Pass/fail verdict with grouped rule violations and a prioritized remediation list
इंस्टॉलेशन
clawhub install hajekt2/ua1-validator-agentCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।