一键导入
a2a-compliance
Validate A2A and A2A-over-MQTT protocol compliance. Use after changing protocol-facing code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate A2A and A2A-over-MQTT protocol compliance. Use after changing protocol-facing code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | a2a-compliance |
| description | Validate A2A and A2A-over-MQTT protocol compliance. Use after changing protocol-facing code. |
| allowed-tools | Read, Grep, Glob |
Validate that skitter's protocol layer conforms to the A2A v1.0.0 spec and the A2A-over-MQTT v0.1 binding.
Read all five files before checking:
docs/spec/a2a.protodocs/spec/a2a.jsondocs/spec/a2a-specification.mddocs/spec/a2a-over-mqtt-transport.mddocs/spec/a2a-over-mqtt-architecture.mdThe proto is the canonical schema; the JSON Schema (a2a.json) is a machine-readable representation of the same definitions. The A2A spec (a2a-specification.md) defines JSON serialization rules. All three must be checked. For every data object skitter produces or consumes on the wire:
oneof, check how the spec requires it to be represented in JSON. Compare against what skitter actually produces. Pay special attention to discriminator patterns (type fields, wrapper keys).REQUIRED annotations, verify skitter includes all required fields with correct types.Do this by reading each make_* / to_json function and comparing its output structure, field by field, against the proto message definition and the spec's JSON rules. Do not assume correctness from field names alone; verify values and structure.
Work through the A2A-over-MQTT spec sections in order. For every MUST/REQUIRED constraint:
tests/ for tests that enforce this requirement. A requirement without a test is a compliance gap even if the code is correct today.For SHOULD-level recommendations: verify and report, but WARN is acceptable if intentionally skipped.
Skip sections that are clearly out of scope (broker internals, features listed in CLAUDE.md Limitations as not implemented).
Report: