ai-service-layer

Provides static AIClient methods for text generation, text-to-sql conversion, and response parsing in TypeScript projects.

19|13|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/stahura/domo-ai-vibe-rules --skill ai-service-layer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-service-layer
Source: https://github.com/stahura/domo-ai-vibe-rules/tree/main/skills/custom-apps/ai-service-layer
Command: npx skills add https://github.com/stahura/domo-ai-vibe-rules --skill ai-service-layer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill provides toolkit-first AIClient patterns for generation, text-to-sql, and response parsing to simplify building AI-powered data apps.

Core Features & Use Cases

  • Static AIClient methods for generation, text_to_sql, and response parsing to reduce boilerplate.
  • Clear usage patterns and examples for integrating the toolkit into TypeScript projects.
  • Use Case: quickly implement AI-assisted queries and natural language interfaces over data sources.

Quick Start

Install the @domoinc/toolkit package and call AIClient methods to perform a simple generation or SQL translation.

Frequently Asked Questions about ai-service-layer

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

FAQPage Schema
How do I convert natural language to SQL in a TypeScript data app?

Text-to-SQL conversion is automated using static AIClient methods from the @domoinc/toolkit package, which translates natural language queries into SQL statements for TypeScript data applications. This toolkit-first approach reduces boilerplate when building AI-assisted data interfaces.

What is a toolkit-first AI client pattern for text generation?

A toolkit-first AI client pattern uses static AIClient methods to handle text generation and response parsing, reducing boilerplate code in TypeScript projects. It provides clear usage patterns for integrating AI generation directly into data applications without managing complex client instances.

Do I need the @domoinc/toolkit package to use these AI client patterns?

Yes, the @domoinc/toolkit package and TypeScript typings are required to ensure proper usage of AIClient static methods and robust response handling. The toolkit provides the foundational static methods for text generation, text-to-SQL translation, and response parsing.

How do I parse AI responses in a TypeScript application?

AI response parsing is handled through static AIClient methods that provide structured response handling within the @domoinc/toolkit package. This ensures robust processing of AI outputs in TypeScript projects, automating common workflow patterns for natural language interfaces.

Can I use static AIClient methods to build natural language interfaces over data sources?

Yes, static AIClient methods support building AI-assisted queries and natural language interfaces over data sources by providing text generation and text-to-SQL capabilities. This toolkit-first approach is designed for software engineering projects building data apps with TypeScript.