varlock-skill

Generate and validate Varlock environment schemas with @env-spec decorators.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Lechcher/skills --skill varlock-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: varlock-skill
Source: https://github.com/Lechcher/skills/tree/main/varlock-skill
Command: npx skills add https://github.com/Lechcher/skills --skill varlock-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires npx, and includes scripts (resource) and assets (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the management of environment variables, ensuring security, validation, and proper configuration across different environments, especially in AI-assisted development workflows.

Core Features & Use Cases

  • Configuration Management: Create, validate, and secure Varlock environment configurations.
  • Schema Generation: Generate .env.schema files with @env-spec decorators for type safety and documentation.
  • Secret Handling: Integrate with cloud secret providers and prevent sensitive data leaks.
  • Use Case: Migrate an existing .env file to an AI-safe .env.schema format, ensuring sensitive keys are properly marked and handled.

Quick Start

Use the varlock-skill to initialize varlock for this project.

Frequently Asked Questions about varlock-skill

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

FAQPage Schema
How do I generate an environment variable schema from an existing .env file?

To generate an environment variable schema, this Skill migrates existing .env files into an AI-safe .env.schema format using @env-spec decorators for type safety and documentation.

What is the best way to secure environment variables in AI-assisted development workflows?

Securing environment variables in AI-assisted workflows involves defining schemas with @env-spec decorators and utilizing the Varlock CLI to scan configurations, preventing sensitive data leaks.

Does Varlock work with cloud secret providers for secrets management?

Yes, Varlock supports secrets management by integrating with cloud secret providers, allowing you to securely load configurations and handle sensitive keys without exposing them in environment files.

How do I validate environment configurations using the Varlock CLI?

You validate environment configurations by utilizing the Varlock CLI to scan and load your setup, checking the defined .env.schema files to ensure all variables meet validation rules.

Do I need npx installed to manage Varlock environment configurations?

Yes, you need npx installed as a prerequisite to run the Varlock CLI commands, which are utilized by this Skill to initialize projects, scan configurations, and load variables.

Why mark sensitive keys when migrating to an .env.schema format?

Marking sensitive keys when migrating to an .env.schema format ensures proper secret handling, preventing accidental data leaks by keeping sensitive values separate from standard variables.