Authoring specs

From x402-foundation/x402 · View interactive version

Authoring specs is an AI agent skill from the GitHub repository x402-foundation/x402. Guidelines for authoring x402 specification files. Use when writing or proposing a new x402 spec, such as a per-network scheme spec (scheme_<name>_<chain>.md).

How to use this skill

Skill file

Authoring x402 specs

Guidance for writing x402 specification files under specs/. Use RFC-2119 keywords for normative statements (MUST / MUST NOT, SHOULD / SHOULD NOT, MAY).

General rules

These apply to every spec type (scheme, extension). The references below add type-specific detail.

Naming

Protocol version, networks, and units

Wire format

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.