write-script-graphql

Automate GraphQL query and mutation development with orvanta commands for preview and deployment.

Updated May 28, 2026
One-click install
npx skills add https://github.com/Orvanta-Cloud/orvanta-cli-docs --skill write-script-graphql-orvanta-cloud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-script-graphql
Source: https://github.com/Orvanta-Cloud/orvanta-cli-docs/tree/main/skills/write-script-graphql
Command: npx skills add https://github.com/Orvanta-Cloud/orvanta-cli-docs --skill write-script-graphql-orvanta-cloud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill aids in writing GraphQL queries and mutations by providing specific commands to preview, run, and deploy scripts.

Core Features & Use Cases

  • Preview Scripts: Offers orvanta script preview to test local scripts without deploying.
  • Run Deployed Scripts: Uses orvanta script run to execute the script already deployed in the workspace.
  • Generate Metadata: With orvanta generate-metadata, it creates necessary files for script modifications.
  • Sync and Deploy: Deploy local changes to the workspace using orvanta sync push.

Quick Start

Utilize the write-script-graphql skill to preview a local GraphQL script with orvanta script preview path/to/script.

Frequently Asked Questions about write-script-graphql

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

FAQPage Schema
How do I preview a local GraphQL script before deploying it to a workspace?

To preview a local GraphQL script, use the `orvanta script preview` command followed by the script path. This executes the script locally without deploying, validating queries and mutations before pushing changes to the remote workspace.

What is the best way to automate GraphQL query and mutation development with command line tools?

Automating GraphQL query and mutation development is best handled by using tailored command line scripts. This approach provides specific commands for local preview, remote execution, and metadata generation, streamlining the entire scripting workflow.

How do I deploy local GraphQL script changes to a remote workspace?

To deploy local GraphQL script changes to a remote workspace, use the `orvanta sync push` command. This synchronizes your local script modifications and deploys them directly to the remote environment for execution.

Can I run a deployed GraphQL script directly from the command line?

Yes, you can run a deployed GraphQL script directly from the command line using the `orvanta script run` command. This executes the specific script that has already been deployed within your remote workspace.

Do I need to generate metadata files before modifying GraphQL scripts?

Yes, generating metadata files is required before modifying GraphQL scripts. Use the `orvanta generate-metadata` command to create the necessary files that support local script modifications and remote deployment operations.

Why does my GraphQL script execution fail when running locally without deployment?

GraphQL script execution may fail locally if the required metadata files are missing. Generate these files first with `orvanta generate-metadata`, then test the script locally using `orvanta script preview` to ensure proper execution before deployment.