cds-docs

Ziel: CDS-Dokumentation in die Sitzung einbinden, damit Ihre nächsten Bearbeitungen, Empfehlungen und API-Nutzungen auf aktuellen Dokumenten basieren – nicht um eine Dokumentationsübersicht für den Benutzer zu erstellen.

npx skills add https://github.com/coinbase/cds --skill cds-docs

CDS Documentation Skill

Goal: Pull CDS documentation into the session so your next edits, recommendations, and API usage are grounded in current docs—not to produce a documentation handout for the user.

Treat fetched pages as source material you have read: internalize props, patterns, imports, and setup constraints, then act (code, refactors, answers) from that understanding. Quote or summarize for the user only when it helps. Keep the actual doc page contents to yourself and only share their contents directly to the user if they ask.

Whether you use the CDS MCP server or fetch the pages yourself with curl is an implementation detail. The use does not need to know your methodology unless they indicated they are debugging this skill.

Ambiguous product requests (e.g. “turn this into tabs,” “make it a card”) after you’ve read the index: if several CDS components could be relevant (e.g. underline Tabs vs pill SegmentedTabs vs TabNavigation), it is acceptable and often better to ask one short, concrete question (e.g. which visual pattern matches their spec) while briefly naming the options and how they differ per the docs. Do not pick one arbitrarily just to avoid asking.

1. Choose platform

Decide whether the work targets web (React, @coinbase/cds-web) or mobile (React Native, @coinbase/cds-mobile). If unclear, infer from the repo (e.g. package.json dependencies, apps/* layout) or ask a single clarifying question.

Pass web or mobile to list-cds-routes and when building curl URLs.

2. Tool order (try in sequence)

  1. CDS MCP server (packaged mcp-docs in @coinbase/cds-mcp-server / packages/mcp-server):

    • list-cds-routes with platform: "web" | "mobile".
    • get-cds-doc with route: path including the platform, ending in .txt (e.g. web/getting-started/installation.txt). Paths must come from the index.
  2. curl if MCP is not configured, fails, or returns errors:

    • Index: https://cds.coinbase.com/llms/web/routes.txt or https://cds.coinbase.com/llms/mobile/routes.txt
    • Page: https://cds.coinbase.com/llms/<route> where <route> matches the index (e.g. web/getting-started/theming.txt).

    Use curl -fsSL '<url>'. Prefer targeted fetches (the pages you need for this task) over loading everything; the index is for routing, not for echoing back wholesale.

3. Workflow whenever this skill applies

  1. Resolve platform (web or mobile).
  2. Load the index once per platform focus (list-cds-routes or routes.txt) and use it as the canonical map of .txt paths.
  3. Fetch additional pages only as needed for the work ahead; after each fetch, apply what you learned (imports, props, patterns)—do not stop at regurgitating the file.

4. Practical notes

  • Routes are case-sensitive; doc content is .txt from MCP or HTTP.
  • Web and mobile docs differ; confirm the component or topic exists for that platform’s index.
  • Human-readable URLs inside the .txt files are optional to share with the user; your priority is correct implementation, not reproducing the doc site in the reply.

5. What “done” looks like

  • Platform is correct or explicitly chosen.
  • Index informed which pages you pulled.
  • User-facing output is implementation-focused (components, imports, structure); retrieval steps stay implicit unless the user needs them.
  • If multiple components fit, you either ground the choice in doc differences or ask one clarifying question when the product spec is under-specified.
  • Your actions and explanations reflect fetched CDS details (APIs, setup, tokens)—especially where memory would be risky—not a dump of documentation for its own sake.

Mehr Skills von coinbase

authenticate-wallet
coinbase
E-Mail-OTP-basierte Wallet-Authentifizierung mit Validierung und Statusprüfung. Zwei-Schritte-Anmeldeablauf: Einleitung per E-Mail, um einen 6-stelligen OTP zu erhalten, dann Verifizierung mit der flowId und dem Code zur Vervollständigung der Authentifizierung. Enthält Eingabevalidierungsregeln für E-Mail, flowId und OTP, um Shell-Injection vor der Ausführung von Befehlen zu verhindern. Bietet Statusprüfung, Kontostandsabfragen, Adressabruf und Wallet-Fensterzugriff über begleitende CLI-Befehle. Alle Befehle unterstützen --json-Ausgabe für maschinenlesbare...
official
fund
coinbase
Zahlen Sie USDC über Coinbase Onramp oder direkte Überweisung auf die Wallet ein. Öffnet eine begleitende Benutzeroberfläche, in der Nutzer voreingestellte Beträge (10 $, 20 $, 50 $) oder individuelle Werte auswählen und zwischen Apple Pay, Debitkarte, Banküberweisung oder Coinbase-Konto-Finanzierung wählen können. Unterstützt mehrere Zahlungsmethoden mit unterschiedlichen Abwicklungszeiten: sofort für Karte und Apple Pay, 1–3 Tage für ACH-Banküberweisungen. Zahlt Gelder als USDC im Base-Netzwerk ein; alternativ können Nutzer USDC direkt an die Wallet-Adresse senden über npx [email protected]...
official
monetize-service
coinbase
Stelle einen kostenpflichtigen API-Endpunkt bereit, den andere Agents über das x402-Protokoll entdecken und bezahlen können. Verlangt USDC pro Anfrage auf Base mittels HTTP-402-Zahlungsprotokoll; Clients zahlen mit signierten Transaktionen, keine API-Schlüssel oder Konten erforderlich. Registriert Endpunkte automatisch im x402 Bazaar zur Agentenentdeckung, wenn Sie Discovery-Erweiterungen deklarieren. Unterstützt mehrere Preisstufen, Wildcard-Routen und mehrere Zahlungsoptionen pro Endpunkt mittels Express-Middleware. Basiert auf @x402/express und @x402/core...
official
pay-for-service
coinbase
Rufe kostenpflichtige APIs auf Base mit automatischer USDC-Zahlung über das x402-Protokoll auf. Führt HTTP-Anfragen (GET, POST usw.) an x402-fähige Endpunkte aus, wobei atomare USDC-Zahlungen automatisch abgewickelt werden. Unterstützt Anpassung von Anfragen durch Methode, JSON-Body, Abfrageparameter und benutzerdefinierte Header. Enthält Zahlungssteuerung: Festlegen des maximalen USDC-Betrags pro Anfrage und Gruppieren verwandter Vorgänge mit Korrelations-IDs. Erfordert Wallet-Authentifizierung und ausreichendes USDC-Guthaben; validiert alle Benutzereingaben, um Shell...
official
query-blockchain-data
coinbase
Fragen Sie On-Chain-Blockchain-Daten auf Base mit der CDP SQL API über x402 ab. Verwenden Sie dies, wenn Sie oder Ihr Benutzer On-Chain-Informationen über decodierte Blöcke anzeigen möchten,…
official
query-onchain-data
coinbase
Fragen Sie Onchain-Daten auf Base mit SQL ab, mit x402-Zahlungen pro Abfrage. Greifen Sie auf decodierte Events, Transaktionen und Blöcke über CoinbaseQL zu, einen ClickHouse-basierten SQL-Dialekt, der Joins, CTEs, Unterabfragen und Standardfunktionen unterstützt. Drei Haupttabellen verfügbar: base.events (decodierte Smart-Contract-Logs), base.transactions (vollständige Transaktionsdaten) und base.blocks (Block-Metadaten). Erfordert Filterung auf indizierte Felder (event_signature, address, block_timestamp) in Event-Abfragen, um vollständige Tabellen...
official
search-for-service
coinbase
Suche und entdecke kostenpflichtige API-Dienste, die auf dem x402 Bazaar Marktplatz verfügbar sind. Durchsuche den Marktplatz mittels BM25-Relevanzsuche, liste alle verfügbaren Ressourcen auf oder überprüfe spezifische Endpunkte, um Preise und Zahlungsanforderungen zu sehen, ohne zu bezahlen. Unterstützt Filterung nach Netzwerk (base, base-sepolia) und Ausgabeformaten (menschenlesbar oder JSON). Ergebnisse werden lokal zwischengespeichert und automatisch alle 12 Stunden aktualisiert; für Such- oder Entdeckungsvorgänge ist keine Authentifizierung erforderlich. Verwende als Fallback, wenn kein...
official
send-usdc
coinbase
Überweise USDC an Ethereum-Adressen oder ENS-Namen auf Base. Akzeptiert sowohl Hex-Adressen (0x...) als auch ENS-Namen (.eth) als Empfänger mit automatischer ENS-Auflösung. Unterstützt flexible Betragsformate: Dollar-Notation ($5.00), Dezimal (1.50) oder atomare Einheiten (1000000). Erfordert Wallet-Authentifizierung über die authenticate-wallet-Fähigkeit und ausreichendes USDC-Guthaben vor dem Senden. Enthält Eingabevalidierung zur Verhinderung von Shell-Injection und optionale JSON-Ausgabe für die programmatische Nutzung.
official