update-ls-config

Analyze namespace package structure and generate apidom-ls completion, documentation, and lint configurations.

100|25|Updated Mar 24, 2020
One-click install
npx skills add https://github.com/swagger-api/apidom --skill update-ls-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-ls-config
Source: https://github.com/swagger-api/apidom/tree/main/.claude/skills/update-ls-config
Command: npx skills add https://github.com/swagger-api/apidom --skill update-ls-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Updates apidom-ls configuration for a namespace package by analyzing its structure, corresponding parser adapters, and generating appropriate configuration files for IDE features like autocomplete, hover documentation, and validation.

Core Features & Use Cases

  • Analyze a namespace package structure and its parser adapters to determine required language service configurations.
  • Generate completion items, hover documentation, and lint rules for the new or updated namespace version.
  • Provide scalable support for future specification versions and multiple elements within a namespace.

Quick Start

Provide the target namespace package name, specification type, version identifier, and the documentation base URL, then run the skill to generate a complete apidom-ls configuration.

Frequently Asked Questions about update-ls-config

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

FAQPage Schema
How do I add autocomplete and validation support for a new OpenAPI namespace in apidom-ls?

You can add namespace support by analyzing the package structure and generating completion, documentation, and lint configurations to enable autocomplete and validation in apidom-ls. The skill automates this by creating the required configuration files for the new namespace.

What do I need to generate language service configurations for a namespace package?

Generating language service configurations requires an existing built namespace package and access to specification documentation URLs. You must provide the target namespace package name, specification type, version identifier, and documentation base URL to produce accurate configs.

How does apidom-ls configuration work for parser adapters?

Apidom-ls configuration for parser adapters works by analyzing the namespace package structure and corresponding adapters to determine required language service settings. It then generates completion items, hover documentation, and lint rules for the namespace version.

Can I generate hover documentation and lint rules for multiple elements within a namespace?

Yes, the configuration generation provides scalable support for multiple elements within a namespace and future specification versions. It analyzes the namespace package structure to create appropriate hover documentation and validation rules for each element.

What is the best way to update apidom-ls config for an updated namespace version?

The best way to update apidom-ls config is to analyze the updated namespace package structure and its parser adapters to regenerate the completion, documentation, and lint configurations. This ensures the language service support matches the new specification version.