Design the server-side API surface that an ObjectStack runtime exposes — REST/GraphQL endpoints, auth providers, realtime channels, error envelopes, batch/versioning contracts. Use when the user is adding *.endpoint.ts, configuring auth providers, defining custom routes, or extending the REST/GraphQL generator. Do not use for: consuming an ObjectStack API from a client (that is just standard HTTP — no skill needed); the auto-generated CRUD endpoints (those follow from objectstack-data); request-side query syntax (see objectstack-query). CEL expressions in route guards or auth predicates: load objectstack-formula alongside.
$npx -y skills add objectstack-ai/objectstack --skill objectstack-apiInstalls into the current project.
Run `npx skills use "https://github.com/objectstack-ai/objectstack" --skill "objectstack-ai/objectstack/objectstack-api"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/objectstack-ai/objectstack" that are relevant to the current task. Run `npx skills add "https://github.com/objectstack-ai/objectstack"` and select the relevant skills, then follow their instructions.