Conversation
Adds a new Claude Code skill that scaffolds a small Next.js + TypeScript demo into a developer's working directory and walks them step-by-step through either the Payouts or Global Accounts flow with real sandbox API calls. Sibling to the existing `grid-api` skill (which is curl-based and built for one-off requests). Highlights: - Choose-your-own-adventure routing (Payouts vs Global Accounts) via AskUserQuestion. Within Payouts, sub-routes by corridor (CLABE/IBAN/UPI/ACH) and customer type (INDIVIDUAL/BUSINESS). - Live API calls — the skill wires the user's sandbox creds into the scaffolded app and runs each of the 8 happy-path requests interactively. - Pacing rules in SKILL.md explicitly forbid dumping all 8 steps in one tool call, including via && or heredoc — the tutorial discipline is the skill's primary value. - Bundled Next.js 15 + React 19 template at .claude/skills/grid-tutorial/assets/nextjs-template/ with one API route per Grid endpoint, a stepper UI, and a server-only credentials boundary (lib/grid.ts is the only place the secret is read). - Reference files for credentials, payouts, global accounts, account-type cheatsheet, optional webhooks add-on, and troubleshooting. Cross-refs are URL-first (https://grid.lightspark.com/...) so the skill works globally-installed without depending on an in-repo clone. - 3-eval iteration via skill-creator: with-skill 7/7 across all evals; baseline 3/7, 4/7, 5/7. Delta +0.43 pass rate. Documents the install path on the Building with AI page and in the top-level README: npx skills add lightsparkdev/grid-api --skill grid-tutorial -g -a claude-code Also adds .claude/skills/*-workspace/ to .gitignore to keep skill-creator eval artifacts out of git.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds a new Claude Code skill that scaffolds a small Next.js + TypeScript
demo into a developer's working directory and walks them step-by-step
through either the Payouts or Global Accounts flow with real sandbox API
calls. Sibling to the existing
grid-apiskill (which is curl-based andbuilt for one-off requests).
Highlights:
AskUserQuestion. Within Payouts, sub-routes by corridor (CLABE/IBAN/UPI/ACH)
and customer type (INDIVIDUAL/BUSINESS).
scaffolded app and runs each of the 8 happy-path requests interactively.
tool call, including via && or heredoc — the tutorial discipline is the
skill's primary value.
.claude/skills/grid-tutorial/assets/nextjs-template/ with one API route
per Grid endpoint, a stepper UI, and a server-only credentials boundary
(lib/grid.ts is the only place the secret is read).
cheatsheet, optional webhooks add-on, and troubleshooting. Cross-refs
are URL-first (https://grid.lightspark.com/...) so the skill works
globally-installed without depending on an in-repo clone.
baseline 3/7, 4/7, 5/7. Delta +0.43 pass rate.
Documents the install path on the Building with AI page and in the
top-level README:
npx skills add lightsparkdev/grid-api --skill grid-tutorial -g -a claude-code
Also adds .claude/skills/*-workspace/ to .gitignore to keep skill-creator
eval artifacts out of git.