webiny-api-languages-catalog

Catalogs Webiny API abstractions for retrieving and listing language entries.

8.0k|673|Updated Jan 9, 2018
One-click install
npx skills add https://github.com/webiny/webiny-js --skill webiny-api-languages-catalog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webiny-api-languages-catalog
Source: https://github.com/webiny/webiny-js/tree/main/skills/user-skills/generated/api/languages
Command: npx skills add https://github.com/webiny/webiny-js --skill webiny-api-languages-catalog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers working with the Webiny API need to locate the correct use case abstractions for language management without searching through the entire codebase, and this catalog maps each abstraction to its import path and source file.

Core Features & Use Cases

  • Language Lookup: Provides the GetLanguageByCodeUseCase abstraction to fetch a single language entry by its code.
  • Language Listing: Provides the ListLanguagesUseCase abstraction to retrieve all language entries.
  • Use Case: When building a Webiny feature that needs to display or validate available languages, consult this catalog to find the right use case, read its source file for exact types, and import it from webiny/api/languages.

Quick Start

Ask the AI to list all available languages in the Webiny project using the ListLanguagesUseCase abstraction from webiny/api/languages.

Frequently Asked Questions about webiny-api-languages-catalog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a language by code in Webiny API?

Use the GetLanguageByCodeUseCase abstraction imported from webiny/api/languages. Read its source file at @webiny/languages/api/features/GetLanguageByCode/index.ts to get the exact interface and types before implementation.

How to list all languages in a Webiny project?

Use the ListLanguagesUseCase abstraction imported from webiny/api/languages. It returns all language entries, and its source is located at @webiny/languages/api/features/ListLanguages/index.ts.

What implementation pattern should I follow for Webiny use cases?

Refer to the webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns. These define how to structure use case and event handler code within the Webiny framework.

Does this catalog include language creation or deletion abstractions?

No, this catalog only covers two read-oriented abstractions: GetLanguageByCodeUseCase and ListLanguagesUseCase. It does not list abstractions for creating, updating, or deleting language entries.