/saaskit:review-scalekit-codefrom saaskit
Reviews Scalekit snippets so an agent can check if a fragment is right. Use when the user wants to review this Scalekit code or asks if this snippet is right. It does not generate login (that's `implement-saaskit`).
Ships in saaskit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Review a Scalekit snippet. Then stop. Do not write a new login.
SCALEKIT_ENV_URL as valid. The env name is SCALEKIT_ENVIRONMENT_URL. Do not prepend https://.implement-saaskit (Node), implement-saaskit-nextjs, or implement-saaskit-python.integrate-agentkit. SCIM → implement-scim. SSO → implement-sso. Sessions after login → manage-saaskit-sessions.httpOnly, secure in production, sameSite: 'lax'. Never strict.next / returnTo is a relative path only.Need an existing snippet.
implement-saaskit (or the sibling for Next.js, Python, AgentKit). Stop.Done when: a snippet is in hand, or the implementing skill is named and this skill has stopped.
| Language | Package | Import |
|---|---|---|
| Node.js / TypeScript | @scalekit-sdk/node | import { ScalekitClient } from '@scalekit-sdk/node' |
| Python | scalekit-sdk-python | from scalekit import ScalekitClient |
| Go | scalekit-sdk-go | import scalekit "github.com/scalekit-inc/scalekit-sdk-go/v2" |
| Java | scalekit-sdk-java | import com.scalekit.ScalekitClient; |
Product: SaaSKit (login, sessions, SSO, SCIM, RBAC) or AgentKit (connections, tools, MCP auth).
Done when: language, package, and product are named.
Open references/REFERENCE.md. Then stop reading it.
For every Scalekit call, record pass or fail:
(result, error), checked exception)SCALEKIT_ENVIRONMENT_URL, SCALEKIT_CLIENT_ID, SCALEKIT_CLIENT_SECRETIf the snippet is raw HTTP, check the REST section of that same file: path, method, and Bearer token from POST /oauth/token.
Open references/COMMON-MISTAKES.md for the wrong → right pairs. Then stop reading it.
Done when: every Scalekit call is pass, fail, or "could not be verified".
Record pass, fail, or waive (not in this snippet) for:
state to the query state before authenticateWithCodegetLogoutUrl with idTokenHintoffline_access is usedhttpOnly, secure in production, sameSite: 'lax'state is cryptographically randomnext is a relative pathwindow.location.href, not router.pushDo not write the missing route. Name the implementing skill.
Done when: every item is pass, fail, or waive.
Record pass or fail for:
SCALEKIT_ENVIRONMENT_URL, never SCALEKIT_ENV_URLhttps:// prepended onto a value that already has a schemehttps://<subdomain>.scalekit.com, .scalekit.dev, or https://app.<domain> (self-hosted)Done when: all 4 rows have pass or fail.
If a call is not in references/REFERENCE.md:
REFERENCE.md at https://raw.githubusercontent.com/scalekit-inc/scalekit-sdk-{node,python,go,java}/main/REFERENCE.mdDo not invent a method.
Done when: every unknown call is verified or marked unverified.
For each fail: What's wrong → Why it matters → the correct call from the reference, or the implementing skill name.
If every check passed: say the snippet is right.
Do not write a new login.
Done when: the user has the report, and this skill has not written a new auth flow.
implement-saaskit to write loginimplement-saaskit-nextjs for Next.js App Routerimplement-saaskit-python for Django, FastAPI, or Flaskintegrate-agentkit for a connected accountimplement-scim / implement-sso / manage-saaskit-sessions when that is the gapWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/add-api-authAdds API key or client-credentials auth so an agent can protect an API. Use when the user wants an API key or client credentials. It does not put OAuth 2.1 on an MCP server (that's `add-mcp-oauth`) or write SaaSKit login (that's `implement-saaskit`).
/add-mcp-oauthAdds MCP OAuth so an agent can protect the user's MCP server. Use when the user wants MCP OAuth or to protect their MCP server. It does not add API keys or client credentials (that's `add-api-auth`) or expose AgentKit tools over MCP (that's `expose-agentkit-mcp`).
/check-saaskit-prodChecks SaaSKit production so an agent can finish a go-live checklist. Use when the user wants SaaSKit production or to go live SaaSKit. It does not write login (that's `implement-saaskit`) or run dryrun (that's `run-dryrun`).
/deploy-self-hostedDeploys self-hosted Scalekit so an agent can install Helm or on-prem. Use when the user wants self-hosted Scalekit or Helm. It does not write SaaSKit login (that's `implement-saaskit`).
/implement-access-controlImplements roles and permissions at a route so an agent can protect an endpoint. Use when the user wants roles, permissions, or RBAC. It does not write SaaSKit login (that's `implement-saaskit`).
/implement-saaskitImplements SaaSKit login so an agent can add a login route, a callback, session cookies, and logout. Use when the user wants to add SaaSKit login, a callback, or logout. It does not store, validate, refresh, or revoke a session after login (that's `manage-saaskit-sessions`) or write Next.js App Router auth (that's `implement-saaskit-nextjs`) or write Django, FastAPI, or Flask auth (that's `implement-saaskit-python`).
npx claudepluginhub scalekit-inc/authstack --plugin saaskit