config

Configure Vovk.ts projects by editing vovk.config files for core keys.

52|Updated Jul 12, 2023
One-click install
npx skills add https://github.com/finom/vovk --skill config-finom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: config
Source: https://github.com/finom/vovk/tree/main/packages/claude-plugin/skills/config
Command: npx skills add https://github.com/finom/vovk --skill config-finom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes and strongly types Vovk.ts configuration so projects have a single source of truth for how Vovk CLI, OpenAPI, and client tooling should behave.

Core Features & Use Cases

  • Defines the vovk.config.* file shapes (mjs/js/ts/cjs) and defaults for rootEntry, schemaOutDir, libs, exposeConfigKeys, logLevel, devHttps, moduleTemplates, clientTemplateDefs, composedClient, segmentedClient, outputConfig, bundle, and info.
  • Provides guidance on common configuration questions like "where do I set X", "tsconfig for vovk", "rename .vovk-schema", "disable client validation", and "expose a config key".
  • Supports integration with decorate() vs experimentalDecorators and keeps the canonical configuration for codegen and tooling.

Quick Start

Configure the Vovk.ts project by editing the vovk.config.mjs/js/ts/cjs file to define core keys such as rootEntry and schemaOutDir.

Frequently Asked Questions about config

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

FAQPage Schema
How do I configure Vovk.ts OpenAPI schema generation in a Next.js backend?

Configure Vovk.ts schema generation by editing the vovk.config.mjs/js/ts/cjs file to define core keys such as rootEntry and schemaOutDir. This centralizes how OpenAPI artifacts, client outputs, and decorator behavior are generated.

What is the best way to expose specific config keys in Vovk.ts?

Expose specific config keys by defining the exposeConfigKeys array in your vovk.config.* file. This controls which configuration values are accessible, ensuring consistent tooling behavior and validated settings against the typed VovkConfig schema.

Can I use TypeScript decorators with Vovk.ts configuration?

Yes, Vovk.ts configuration supports integration with decorate() and experimentalDecorators. The canonical configuration file governs how these decorators behave during codegen and client tooling generation.

How do I disable client validation or rename the .vovk-schema output?

Disable client validation or rename the .vovk-schema output by adjusting the corresponding outputConfig and schemaOutDir keys within the vovk.config.* file. These settings provide defaults and template definitions for client generation.

Does Vovk.ts configuration support multiple file formats for Next.js projects?

Yes, Vovk.ts config supports mjs, js, ts, and cjs file formats. This allows you to define core keys like rootEntry, libs, and bundle while adapting the configuration to different project structures and deployment targets.