XRP Ledger Standards

Contributing to XRPL Standards

Note

This document summarizes how to contribute new XRP Ledger Standards (XLSes). The authoritative, detailed definition of the process is XLS-1: XLS Process and Guidelines. If anything here conflicts with XLS-1, XLS-1 wins.

The work of the XRP Ledger community is open, collaborative, and welcoming of all contributors participating in good faith. Part of that effort involves standardization, and this document outlines how anyone can contribute to that process.

1. Licensing

Any XRPL Standards document can be referred to interchangeably as an "XLS", "XRPL Standard", or "document". Copyright on all content is subject to the terms of this license, and all contributors grant everyone a royalty-free license to use their contributions, including the following grants:

2. Overview of the XLS process (per XLS-1)

XLS-1 defines both categories of XLSes and their lifecycle statuses.

The sections below explain how to move through these stages. For all edge cases and full definitions, see XLS-1 §4: XLS Process.

3. Start with a GitHub Discussion (Idea / Proposal)

Before opening a PR with any kind of formal proposal, start with a GitHub Discussion.

  1. Go to the XRPL-Standards Discussions.
  2. Choose a category that matches your intended XLS category:
    • Amendment, System, Ecosystem, or Meta.
  3. Use the status in your title to indicate maturity:
    • For early concepts, treat them as Ideas.
    • Once the concept is fairly fleshed out, treat it as a Proposal.

3.1. Discussion titles

To make Discussions easier to scan, we recommend titles of the form:

[<Category> <Idea|Proposal>: <Short descriptive title>]

For example:

This keeps the Discussion aligned with the category and status terminology from XLS-1.

3.2. Gather feedback and iterate

Discussions are the right place for early work-in-progress: ask questions, propose alternatives, and make sweeping changes. Collecting such feedback is required before moving forward in the specification process.

When your idea has converged into a coherent design and has community interest, you are ready to move toward a Draft XLS via a PR.

3.3. Closing or archiving Discussions

XLS-1 defines rules for stale proposals and ideas (see §4.5). In short:

When you open a PR for a Draft XLS, you should:

4. Creating a Draft XLS (Pull Request)

Once there is a clear Proposal with community interest, you can open a PR to add a Draft XLS to this repository.

At a high level this looks like:

  1. Create a new directory for your draft.
    • Use a temporary name such as XLS-draft-<short-title> while the number is being assigned.
  2. Copy the template.
  3. Fill out the required sections.

    • Follow XLS-1 §4.3: Format: Drafts and Onward, especially the required preamble and sections.
    • Before you open the PR, check your draft against the templates. Run the validator, and use the xls-template-conformity skill if your editor supports Agent Skills (see §8):

    bash pip install -r scripts/requirements.txt python scripts/validate_xls_template.py XLS-draft-<short-title>/README.md

  4. Open a pull request.

    • Link the associated Discussion in the PR description.
    • Make it clear which category you are targeting and that this is intended to be a Draft.
  5. Work with XLS Editors.
    • Editors review for completeness, formatting, and clarity (see XLS-1 §7).
    • Editors assign the official XLS number and update the directory name to XLS-<NNNN>-<short-title>.
    • The xls and status fields in the preamble are updated to reflect the assigned number and Draft status before merge.

After the PR is merged, your XLS is an officially tracked Draft in this repository.

5. Moving from Draft to Final (or Living)

Promotion from Draft to Final (or Living) is governed by XLS-1 (see §4). In summary:

Requests to move a Draft to Final (or Living) should be made via a PR that updates the status field in the preamble and, if applicable, links to implementations.

6. Stagnant, Withdrawn, and Deprecated XLSes

XLS-1 defines additional statuses that describe the long-term state of a spec:

The precise rules for these transitions, and how they are recorded, are described in XLS-1 §4.

7. Ownership and Editors

The roles and responsibilities around XLS authorship and editing are defined in XLS-1 §6–7.

If you are unsure how to proceed at any step, open a Discussion or PR and explicitly ask for help from the XLS Editors; they will guide you according to XLS-1.

8. AI agents and review bots

This repository ships shared instructions and Agent Skills so that AI assistants help with XLS work in a consistent way. Using them is optional; contributions are judged on the spec, not on the tooling that produced it.

8.1. Automated review

Two bots may comment on your PR:

Both are advisory. A human XLS Editor still reviews and merges. If a bot is wrong, say so on the thread and move on — and if it is wrong in a way that will recur, fix the guidance rather than arguing with it case by case.

8.2. Skills

Three skills live under .agents/skills/:

Skill What it does
xls-template-conformity Checks an XLS against templates/ and the validation scripts, and reports what needs fixing. In migrate mode, restructures a spec to the templates without changing its content.
spec-from-rippled Updates a spec to match a rippled change, or audits a whole spec against a rippled ref, citing the implementation for every change. Asks for the ref.
spec-release-sync Runs the other two skills over many specs for a rippled release and opens one PR per XLS for its owners to review.

Cursor, Codex CLI, Gemini CLI, and Augment discover .agents/skills/ directly. Claude Code only scans .claude/skills/, so each skill has a stub SKILL.md there that carries the frontmatter and points at the real file.

8.3. Keep the guidance in sync

Agent instructions are duplicated across paths because each tool looks in a different place. If your PR changes one of these files, check the others in the same PR — a stale copy teaches a reviewer the wrong rule, which is worse than no copy at all.

.github/copilot-instructions.md § Maintaining the AI instruction surface lists every file, which tool reads it, and how each one points at the others. Start there. In short:

The same applies in reverse: a PR that changes templates/, the validation scripts, or the XLS process should check whether the AI guidance still describes them correctly.