Set up your development environment for declarative pipelines
Overview
This guide covers setting up VS Code with YAML schema validation to edit Qlik pipeline YAML files with autocompletion and inline error detection. VS Code is the recommended editor for this workflow, but you can use any editor that supports YAML schema validation.
Prerequisites
- A Qlik Cloud pipeline project connected to GitHub version control. For setup steps, see Manage your pipeline projects with version control.
- A GitHub account with read access to the repository that contains the project.
- Git installed on your machine.
Step 1: Install the Red Hat YAML extension and configure schema validation
The Red Hat YAML extension adds schema-based autocompletion and inline validation to the VS Code YAML editor.
- Open VS Code.
- Go to Extensions (Ctrl+Shift+X on Windows, Cmd+Shift+X on macOS).
- Search for
YAMLand install the extension published by Red Hat.
Qlik pipeline YAML schemas are published to SchemaStore.org.
The Red Hat YAML extension automatically downloads schemas from SchemaStore
and applies them based on file naming conventions. Files named qtcp_project.yaml and files
under qtcp_tasks/ are recognized automatically.
With schemas configured, VS Code shows:
- Inline errors for invalid or missing required properties.
- Autocompletion suggestions as you type property names.
- Hover documentation for each property.
Step 2: Use AI assistants to configure pipelines
Use AI assistants (such as GitHub Copilot or Anthropic Claude) to streamline YAML configuration creation and editing. To ensure accuracy and adherence to project standards, follow these best practices:
- Select a high-capability model. Use a premium, large-context model (for example, Anthropic Claude Sonnet 5.5 or higher) rather than a standard or “auto” model for complex YAML generation and schema adherence. Advanced models correctly interpret complex pipeline schemas and produce more accurate configurations.
- Install the declarative pipelines skills in your AI coding assistant of choice:
-
Claude Code: You can install the skills from the VS Code plugins screen or from a terminal.
- In the Claude prompt box, enter
/pluginsand select Manage plugins. - On the Marketplaces tab, enter
qlik-oss/agentic-skillsin the GitHub repository box and select Add. - On the Plugins tab, search for
qlik-data-pipelines-skills, select Install, and choose a scope.
Alternatively, open a terminal and run these commands:
Terminal window claude plugin marketplace add qlik-oss/agentic-skillsclaude plugin install qlik-data-pipelines-skills@qlik-cloud-skillsYou can also run
claudeto start an interactive session, then enter these commands:/plugin marketplace add qlik-oss/agentic-skills/plugin install qlik-data-pipelines-skills@qlik-cloud-skillsWhen prompted, choose a scope.
- In the Claude prompt box, enter
-
GitHub Copilot: You can install the skills from the Copilot prompt box or from a terminal.
In the GitHub Copilot prompt box, enter these commands:
/plugin marketplace add qlik-oss/agentic-skills/plugin install qlik-data-pipelines-skills@qlik-cloud-skillsAlternatively, open a terminal and run these commands:
Terminal window copilot plugin marketplace add qlik-oss/agentic-skillscopilot plugin install qlik-data-pipelines-skills@qlik-cloud-skillsYou can also run
copilotto start an interactive session, then enter these commands:/plugin marketplace add qlik-oss/agentic-skills/plugin install qlik-data-pipelines-skills@qlik-cloud-skillsWhen prompted, choose a scope.
-
Kiro:
- In Kiro, select the Powers icon, then select Add custom power > Import power from GitHub.
- Enter this URL:
https://github.com/qlik-oss/agentic-skills/tree/main/data-pipelines
-
Use AI assistants with Qlik MCP tools
When you deploy a Qlik MCP server in your tenant, AI assistants can use dedicated MCP tools to help manage pipeline projects programmatically.
MCP prerequisites
- Qlik MCP server is deployed in your tenant.
- You have the Qlik MCP: Allowed permission assigned through a custom role.
- You have permissions to create or edit pipeline projects.
- An AI client with MCP support (such as VS Code with GitHub Copilot) is configured to use the Qlik MCP server.
Available MCP capabilities for data pipelines:
AI assistants can use the following capabilities to configure and manage pipeline projects:
- Search for spaces, connections, or projects (
qlik_search): get a list of available spaces, data connections, or pipeline projects. - Search for connection objects (
qlik_search_connection_objects): discover available tables and views from a data connection. - Get pipeline project details (
qlik_get_pipeline_project_details): retrieve project binding values.
Related resources:
- To deploy the MCP server, see Qlik MCP server on Qlik Help.
- For detailed MCP tool documentation, see Qlik MCP tools on Qlik Help.
- For permission requirements, see Qlik MCP server access and permissions on Qlik Help.
Step 3: Clone the repository
You can clone the GitHub repository containing your pipeline project using VS Code’s built-in Git features or your preferred Git method.
VS Code has built-in Git functionality.
You can use the Source Control panel (Ctrl+Shift+G on Windows, Cmd+Shift+G on macOS)
to clone a repository directly, or use the command line if you prefer.
- Clone the repository to your local machine.
- Open the project folder in VS Code. You should see the project YAML files in the Explorer panel.
- Open
qtcp_project.yamlto confirm that schema validation is active. VS Code displays the associated schema for the open YAML file. Hover over a property to view its documentation.
Using schemas with other IDEs
Qlik publishes pipeline YAML schemas to SchemaStore.org and maintains them in the qlik-oss/schemas GitHub repository.
Most editors that support JSON Schema validation can use these schemas. The general approach is:
- Locate the schema for the file type you want to validate. Browse the
qlik-oss/schemas repository or search
the SchemaStore catalog for entries starting with
qtcp. - Configure your editor to associate the schema URL with the corresponding file pattern:
qtcp_project.yamlfor the project file, or the task file pattern underqtcp_tasks/. The configuration method varies by editor. Refer to your editor’s documentation for details.
Next steps
With your environment set up, you can edit a declarative pipeline with version control.