OpenParable
Skip to content
← Back to skills

Webiny API Graphql Catalog

Development
webiny-api-graphql-catalog

Webiny API Graphql Catalog is an Agent Skill for development published in the webiny/webiny-js repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

api/graphql — 7 abstractions.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/webiny/webiny-js/blob/HEAD/skills/user-skills/generated/api/graphql/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/webiny-api-graphql-catalog, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

api/graphql

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns

Abstractions


Name: ErrorResponse Import: import { ErrorResponse } from "webiny/api/graphql" Source: @webiny/handler-graphql/responses.ts Description: GraphQL error response helper.


Name: GraphQLSchemaFactory Import: import { GraphQLSchemaFactory } from "webiny/api/graphql" Source: @webiny/handler-graphql/graphql/abstractions.ts Description: Define custom GraphQL schema extensions.


Name: ListErrorResponse Import: import { ListErrorResponse } from "webiny/api/graphql" Source: @webiny/handler-graphql/responses.ts Description: GraphQL list error response helper.


Name: ListResponse Import: import { ListResponse } from "webiny/api/graphql" Source: @webiny/handler-graphql/responses.ts Description: GraphQL list response helper.


Name: NotAuthorizedResponse Import: import { NotAuthorizedResponse } from "webiny/api/graphql" Source: @webiny/api-core/graphql/security/NotAuthorizedResponse.ts Description: GraphQL not-authorized response helper.


Name: NotFoundResponse Import: import { NotFoundResponse } from "webiny/api/graphql" Source: @webiny/handler-graphql/responses.ts Description: GraphQL not-found response helper.


Name: Response Import: import { Response } from "webiny/api/graphql" Source: @webiny/handler-graphql/responses.ts Description: GraphQL response helper.