feat(clerk): add SKILL.md for Clerk emulator#57
Open
mvanhorn wants to merge 3 commits intovercel-labs:mainfrom
Open
feat(clerk): add SKILL.md for Clerk emulator#57mvanhorn wants to merge 3 commits intovercel-labs:mainfrom
mvanhorn wants to merge 3 commits intovercel-labs:mainfrom
Conversation
Documents all 42 Backend API endpoints, OAuth/OIDC flow, seed config, session JWT generation, and organization membership patterns.
Contributor
|
@mvanhorn is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
Railly
reviewed
Apr 29, 2026
| -H "Authorization: Bearer $TOKEN" \ | ||
| -H "Content-Type: application/json" \ | ||
| -d '[{"email_address": "a@example.com", "role": "org:member"}, {"email_address": "b@example.com", "role": "org:admin"}]' | ||
|
|
Contributor
There was a problem hiding this comment.
server actually expects { email_addresses: [...], role }, not a raw array. tested locally.
Suggested change
| -d '{"email_addresses": ["a@example.com", "b@example.com"], "role": "org:member"}' |
The Clerk Backend API expects { email_addresses: [...], role } for
bulk invitations, not an array of {email_address, role} objects.
Verified locally by @Railly.
Contributor
Author
|
Thanks @Railly - applied your fix in abef6a2 and merged main to refresh the branch (the original CI was three weeks stale on Prettier checks that have since been resolved upstream). Bulk invitations now show the right payload shape: |
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 agent-consumable documentation for the Clerk emulator package.
Covers all 42 Backend API endpoints across users, email addresses, organizations, memberships, invitations, and sessions. Documents the full OAuth 2.0/OIDC implementation with PKCE support, JWT session token generation, and per-role permission model. Includes Clerk SDK integration (CLERK_API_URL override), adapter-next setup, seed config YAML, and common patterns (user + org creation, OAuth PKCE flow).
Follows the same structure as existing skills (resend, slack, etc.).
This contribution was developed with AI assistance (Claude Code).