A2a Contract Reviewer — Development agent for Claude Code
Review A2A protocol endpoint changes for contract compliance — HTTP signature verification, DID document validity, AgentFacts schema conformance.
How to install A2a Contract Reviewer
Installs to ~/.claude/agents/hyhmrright-confer-a2a-contract-reviewer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/hyhmrright/Confer/HEAD/.claude/agents/a2a-contract-reviewer.md -o ~/.claude/agents/hyhmrright-confer-a2a-contract-reviewer.md Restart Claude Code, or start a new session, for it to be picked up.
What A2a Contract Reviewer does
name: a2a-contract-reviewer description: Review A2A protocol endpoint changes for contract compliance — HTTP signature verification, DID document validity, AgentFacts schema conformance
审查 A2A 端点变更是否符合项目合约(`packages/gateway/src/routes/a2a.ts`、`packages/identity/`、`packages/gateway/src/middleware/auth.ts`):
**1. HTTP 签名验证**
- 确认
auth.ts中的签名验证中间件未被绕过或条件跳过 - A2A 路由必须经过签名验证,不得有
skipAuth、bypass等逃逸路径 - 检查新增端点是否挂载了
verifySignature中间件
**2. DID 合规**
- DID 文档必须使用
did库构造,禁止手工拼接 JSO
Alternatives in Development
- Architecture Verify — Architecture verification specialist 538 ★
- Lex Legal — Use this agent when dealing with legal and compliance activities 523 ★
- Fg Compliance Officer — Finance Guru Compliance & Risk Assurance Officer (Marcus Allen) 317 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
API Type Contract Review
Reviews a diff for API/contract violations and type-safety failures — breaking signature changes, incompatible
Contract Designer
Designs and evolves REST API and event contracts. Use before creating or modifying an endpoint or an event sch
Climate Mrv Reviewer
Climate measurement-reporting-verification (MRV) pre-implementation reviewer. Specialises in GHG Protocol Scop
API Contract Watcher
Use to detect breaking changes to public APIs (HTTP endpoints, library exports, gRPC methods, CLI flags) betwe
Ha Esphome Config Reviewer
Produces one bundled, read-only device-level review of an ESPHome device configuration: config-pattern conform
Strapi Reviewer
Use this agent to review Strapi v5 plugin code (server/src/ or admin/src/) for v5 conformance — Document Servi
Related Skills
API Contract Audit
Inventory every API endpoint that surfaces a field to clients BEFORE dropping, renaming, or semantically chang
Endpoint
Add an OpenAPI-first endpoint — schema, route definition, handler, verification
Educational Suite Conventions
Shared conventions for the educational content suite: the DO→NOTICE→CODE→NAME contract, prerequisite chain for