Skip to content

docs(skill): refresh the grid-api skill for the current API spec - #707

Closed
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-19-grid-skill-spec-refresh
Closed

docs(skill): refresh the grid-api skill for the current API spec#707
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-19-grid-skill-spec-refresh

Conversation

@ls-bolt

@ls-bolt ls-bolt Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

This PR has been claimed. The active PR is now #708.

Summary

Brings the bundled grid-api Claude skill (.claude/skills/grid-api/) up to date with the current 2025-10-13 spec. The skill drives the API with curl (not the CLI), so this is a spec-freshness pass — audited all four files against openapi/ and fixed the drift.

What was stale / fixed

account-types.md

  • Removed the bogus paymentRails field from every create body — it's a response-only attribute, not a create input (was in all ~29 curl examples + every "required fields" list).
  • swiftBicswiftCode; GBP sortCode 12-34-56123456 (^[0-9]{6}$); XOF countriesregion (BJ/CI/SN/TG); UGX/MWK phone patterns → generic; EUR/AED beneficiary required fields (countryOfResidence/address); SGD bankName optional.
  • Added the INR NEFT/RTGS bank-transfer path, top-level platformAccountId/defaultUmaDepositAccount, 11 missing account types (BDT/CNY/COP/EGP/GHS/GTQ/HTG/JMD/PKR/SLV/SWIFT), and beneficiary optional fields.

SKILL.md / workflows.md

  • Dropped currency from ACCOUNT destinations (it's UMA-only; ACCOUNT uses paymentRail).
  • Fixed kyc-link (was GET /customers/kyc-link?query; now POST /customers/{customerId}/kyc-link with a {redirectUri} body).
  • Removed the invalid PENDING_APPROVAL transaction-status filter; receiver-lookup idlookupId (+ enumerated supportedCurrencies/requiredPayerDataFields).
  • Added top-level purposeOfPayment/remittanceInformation, cryptoNetwork for stablecoin realtime funding, transfer-out remittanceInformation/paymentRail, a BUSINESS customer create example (required legalName/taxId/incorporatedOn), and an SCA / PENDING_AUTHORIZATION / authorize subsection.

endpoints.md

  • Fixed the 2 stale entries (GET /quotes list removed; kyc-link GET→POST), added ~68 missing operations across 12 newer domains (agents, auth, sca, cards, tokens, documents, verifications, discoveries, beneficial-owners, stablecoins, internal-accounts update/export, …), and completed the response-codes table (202/204/403/405/410/423/429).

Auth, base URL, and the discriminated source/destination shapes were already current — unchanged.

Test plan

Documentation-only. Verified every fix against openapi/components/schemas/** and openapi/paths/**; confirmed all curl JSON bodies still parse and no stale tokens remain (paymentRails/swiftBic/countries).

The skill drives the API with curl (not the CLI), so this brings its details
current with the spec:

- account-types.md: remove the bogus paymentRails create field (it's response-
  only) from all bodies; fix swiftBic->swiftCode, GBP sortCode, XOF countries->
  region, UGX/MWK phone patterns, EUR/AED required beneficiary fields, SGD
  bankName optional; add INR NEFT/RTGS path, platformAccountId/
  defaultUmaDepositAccount, 11 missing account types, and beneficiary optionals.
- SKILL.md/workflows.md: drop currency from ACCOUNT destinations (UMA-only);
  fix kyc-link (GET query -> POST /customers/{id}/kyc-link with body); remove
  invalid PENDING_APPROVAL status filter; receiver id -> lookupId; add top-level
  purposeOfPayment/remittanceInformation, cryptoNetwork for stablecoin funding,
  transfer-out remittanceInformation/paymentRail, a BUSINESS customer example,
  and an SCA/authorize (PENDING_AUTHORIZATION) subsection.
- endpoints.md: fix 2 stale entries, add ~68 missing operations across 12 new
  domains (agents, auth, sca, cards, tokens, documents, verifications, …), and
  complete the response-codes table.
@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
grid-flow-builder Ignored Ignored Preview Jul 19, 2026 1:49am
grid-wallet-demo Ignored Ignored Preview Jul 19, 2026 1:49am

Request Review

@ls-bolt ls-bolt Bot added the bolt label Jul 19, 2026

akanter commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jklein24 jklein24 closed this Jul 19, 2026
jklein24 added a commit that referenced this pull request Jul 20, 2026
## Summary

Brings the bundled `grid-api` Claude skill (`.claude/skills/grid-api/`)
up to date with the current `2025-10-13` spec. The skill drives the API
with `curl` (not the CLI), so this is a spec-freshness pass — audited
all four files against `openapi/` and fixed the drift.

## What was stale / fixed

**account-types.md**
- Removed the bogus `paymentRails` field from every create body — it's a
**response-only** attribute, not a create input (was in all ~29 curl
examples + every "required fields" list).
- `swiftBic` → `swiftCode`; GBP `sortCode` `12-34-56` → `123456`
(`^[0-9]{6}$`); XOF `countries` → `region` (BJ/CI/SN/TG); UGX/MWK phone
patterns → generic; EUR/AED beneficiary required fields
(`countryOfResidence`/`address`); SGD `bankName` optional.
- Added the INR NEFT/RTGS bank-transfer path, top-level
`platformAccountId`/`defaultUmaDepositAccount`, 11 missing account types
(BDT/CNY/COP/EGP/GHS/GTQ/HTG/JMD/PKR/SLV/SWIFT), and beneficiary
optional fields.

**SKILL.md / workflows.md**
- Dropped `currency` from ACCOUNT destinations (it's UMA-only; ACCOUNT
uses `paymentRail`).
- Fixed kyc-link (was `GET /customers/kyc-link?query`; now `POST
/customers/{customerId}/kyc-link` with a `{redirectUri}` body).
- Removed the invalid `PENDING_APPROVAL` transaction-status filter;
receiver-lookup `id` → `lookupId` (+ enumerated
`supportedCurrencies`/`requiredPayerDataFields`).
- Added top-level `purposeOfPayment`/`remittanceInformation`,
`cryptoNetwork` for stablecoin realtime funding, transfer-out
`remittanceInformation`/`paymentRail`, a BUSINESS customer create
example (required `legalName`/`taxId`/`incorporatedOn`), and an SCA /
`PENDING_AUTHORIZATION` / authorize subsection.

**endpoints.md**
- Fixed the 2 stale entries (`GET /quotes` list removed; kyc-link
GET→POST), added ~68 missing operations across 12 newer domains (agents,
auth, sca, cards, tokens, documents, verifications, discoveries,
beneficial-owners, stablecoins, internal-accounts update/export, …), and
completed the response-codes table (202/204/403/405/410/423/429).

Auth, base URL, and the discriminated source/destination shapes were
already current — unchanged.

## Test plan

Documentation-only. Verified every fix against
`openapi/components/schemas/**` and `openapi/paths/**`; confirmed all
curl JSON bodies still parse and no stale tokens remain
(`paymentRails`/`swiftBic`/`countries`).

Original PR: #707

Co-authored-by: Jeremy <jeremy@lightspark.com>
@jklein24
jklein24 deleted the 07-19-grid-skill-spec-refresh branch July 20, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants