Skip to content
Content
Skill

/api

api — 34 abstractions.

From plugin
webiny-js
8.1k78 skills3 MCP

Claude Code

$ npx -y skills add webiny/webiny-js --skill api --agent claude-code

SKILL.md

api.SKILL.md
name: webiny-api-catalog
context: webiny-api
description: >
  api — 35 abstractions.

api

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>";`

Abstractions

---

**Name:** `Ai` **Import:** `import { Ai } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Interact with AI language models using registered providers.

---

**Name:** `AiConnectionFactory` **Import:** `import { AiConnectionFactory } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Factory that asynchronously produces an AiConnection.

---

**Name:** `AiModelRegistry` **Import:** `import { AiModelRegistry } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Single source of truth for available AI models. Decoratable to restrict the model list.

---

**Name:** `AiSdk` **Import:** `import { AiSdk } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** A single AI SDK instance (e.g. OpenAI, Anthropic) that resolves model instances.

---

**Name:** `AiSdkFactory` **Import:** `import { AiSdkFactory } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** Factory that asynchronously initialises an AI SDK. Register one per provider namespace.

---

**Name:** `AiSdkToolDefinition` **Import:** `import { AiSdkToolDefinition } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`

---

**Name:** `AiSdkToolHandler` **Import:** `import { AiSdkToolHandler } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts` **Description:** The behaviour half of a tool, built on demand through {@link AiSdkToolHandlerResolver}.

Implementations are NOT registered against this abstraction. The definition points at the class directly, exactly as `HttpRouteDefinition` points at its `HttpRouteHandler`. Declaring them through it is what attaches their dependency metadata.

---

**Name:** `BaseError` **Import:** `import { BaseError } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`

---

**Name:** `BuildParam` **Import:** `import { BuildParam } from "webiny/api"` **Source:** `@webiny/api-core/features/buildParams/index.ts` **Description:** A single build-time configuration parameter.

---

**Name:** `BuildParams` **Import:** `import { BuildParams } from "webiny/api"` **Source:** `@webiny/api-core/features/buildParams/index.ts` **Description:** Access build-time configuration parameters.

---

**Name:** `Compression` **Import:** `import { Compression } from "webiny/api"` **Source:** `@webiny/utils/features/compression/abstractions/Compression.ts`

---

**Name:** `CompressionHandler` **Import:** `import { CompressionHandler } from "webiny/api"` **Source:** `@webiny/utils/features/compression/abstractions/CompressionHandler.ts`

---

**Name:** `createAbstraction` **Import:** `import { createAbstraction } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`

---

**Name:** `createFeature` **Import:** `import { createFeature } from "webiny/api"` **Source:** `@webiny/feature/api/index.ts`

---

**Name:** `DomainEvent` **Import:** `import { DomainEvent } from "webiny/api"` **Source:** `@webiny/api-core/features/eventPublisher/index.ts` **Description:** Base class for all domain events.

---

**Name:** `Encryption` **Import:** `import { Encryption } from "webiny/api"` **Source:** `@webiny/api-core/features/encryption/index.ts` **Description:** Symmetric encryption and decryption using a configured secret key.

---

**Name:** `EventPublisher` **Import:** `import { EventPublisher } from "webiny/api"` **Source:** `@webiny/api-core/features/eventPublisher/index.ts` **Description:** Publish domain events to registered handlers.

---

**Name:** `GlobalKeyValueStore` **Import:** `import { GlobalKeyValueStore } from "webiny/api"` **Source:** `@webiny/api-core/features/keyValueStore/index.ts` **Description:** Global (non-tenant-scoped) key-value store.

---

**Name:** `Hasher` **Import:** `import { Hasher } from "webiny/api"` **Source:** `@webiny/api-core/features/hashing/index.ts` **Description:** Hashes and verifies secret values (passwords, API-key secrets, tokens, …) with a slow, salted KDF — built for the "store a hash, later verify a presented value" pattern.

NOT a general-purpose digest: output is salted and non-deterministic, so this is the wrong tool for checksums / cache keys / dedup (use a fast deterministic digest util for those). Swap the implementation to change algorithms (e.g. Argon2id); stored hashes are self-describing, so old hashes keep verifying after a swap.

---

**Name:** `HttpAllowedRequestHeaders` **Import:** `import { HttpAllowedRequestHeaders } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts`

---

**Name:** `HttpRouteDefinition` **Import:** `import { HttpRouteDefinition } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts`

---

**Name:** `HttpRouteHandler` **Import:** `import { HttpRouteHandler } from "webiny/api"` **Source:** `@webiny/api-kernel-core/features/http/abstractions.ts` **Description:** Declares a route's request handling. One shared abstraction: the router never resolves it from the container (that would build every route), it builds the ONE class a matched definition points at. Declaring implementations through it is what attaches their dependency metadata.

---

**Name:** `IAiConnection` **Kind:** type **Import:** `import type { IAiConnection } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`

---

**Name:** `IAiConnectionInline` **Kind:** type **Import:** `import type { IAiConnectionInline } from "webiny/api"` **Source:** `@webiny/api-core/features/ai/index.ts`

---

**Name:** `IHttpRequest` **Kind:** type **Import:** `import type { IHttpRequest } from "webiny/api"` **Sour

Read more
@webiny
Ships withwebiny-js

Open-source content platform. Self-hosted on AWS serverless. Built as a TypeScript framework you extend with code, not a closed product you configure through a UI. Runs on Lambda, DynamoDB, S3, and CloudFront inside your own AWS account. Scales automatically.

8.1k78 skills3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8.1k
Star history of webiny/webiny-js on GitHub, a chart by star-history.com

Other skills on webiny-js.

design-ask

design-ask

Turn open design questions into a paste-ready prompt for Claude Design, log them with Q-IDs and copy the prompt to the clipboard.…

@webiny@webinyInstall Skill
design-pull

design-pull

Pull a Claude Design project into a local, git-ignored design folder and keep a catalogue of what was pulled and implemented. Use…

@webiny@webinyInstall Skill
grill-me

grill-me

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision…

@webiny@webinyInstall Skill
prd-to-plan

prd-to-plan

Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in…

@webiny@webinyInstall Skill
preflight

preflight

Webiny-only. Run all checks required before packages are ready for publish: deps, build, lint, format, tests.

@webiny@webinyInstall Skill
tester

tester

Use when running tests. Shows how to run tests for a single package, including OpenSearch (ddb-os) tests when applicable.

@webiny@webinyInstall Skill

More skills from other plugins.

prompt-lookup

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…

@gh-f@gh-fInstall Skill
ppt-master

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…

@hugohe3@hugohe3Install Skill
morph-ppt

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…

@iofficeai@iofficeaiInstall Skill

Questions about api.

Which coding agents can use api?
api installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.