deployment-validation-config-validate

Validates application configuration files with JSON Schema, environment rules, and encryption.

2|Updated Jun 16, 2026
One-click install
npx skills add https://github.com/monang404/lunawave --skill deployment-validation-config-validate-monang404
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deployment-validation-config-validate
Source: https://github.com/monang404/lunawave/tree/main/.agent/skills/deployment-validation-config-validate
Command: npx skills add https://github.com/monang404/lunawave --skill deployment-validation-config-validate-monang404

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Configuration errors cause production outages, security leaks, and environment inconsistencies. This Skill helps you build validation schemas, detect hardcoded secrets, enforce environment-specific rules, and test configurations before deployment. ## Core Features & Use Cases - Schema Validation: Define JSON Schema definitions with custom formats (ports, HTTPS URLs, durations) using Ajv to validate config objects in TypeScript or Python. - Security & Environment Checks: Scan config files for hardcoded secrets and enforce rules like no-debug-in-production or HTTPS-only URLs per environment. - Runtime Validation & Migration: Watch config files for changes, re-validate on reload, encrypt sensitive values with AES-256-GCM, and migrate configs across versions. - Use Case: Before deploying a service, run the validation workflow to confirm the production config has no debug flags, uses HTTPS endpoints, contains no plaintext secrets, and passes the database schema checks. ## Quick Start Ask the AI to validate your application's configuration files and generate JSON Schema validation rules with environment-specific checks for production.

Frequently Asked Questions about deployment-validation-config-validate

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

FAQPage Schema
How do I validate configuration files with JSON Schema?▼

Define a JSON Schema describing required properties, types, and formats, then validate config objects with a library like Ajv in TypeScript. Custom formats such as port ranges or HTTPS-only URLs can be registered to enforce domain-specific rules.

How to detect hardcoded secrets in config files?▼

Scan config files with regex patterns matching keys like api_key, password, token, or secret, then flag values that look like real credentials rather than placeholders. Findings are reported with file path and severity for remediation.

What is the best way to validate configs per environment?▼

Define a rule set per environment, such as disallowing debug mode and requiring HTTPS in production while permitting relaxed rules in development. Validate each config against the rules matching its target environment and report violations with severity levels.

Can configuration validation run automatically when files change?▼

Yes, a file watcher such as chokidar can monitor config files and re-run validation on every change. The runtime validator emits events for validation errors and config changes, and can block startup in non-development environments.

How do I encrypt sensitive values inside configuration files?▼

Encrypt sensitive fields with AES-256-GCM using a key derived from a master key via PBKDF2, storing the ciphertext, IV, and auth tag in the config. At load time, detect encrypted entries and decrypt them before the application consumes the config.

When should I use config migration scripts?▼

Use versioned migrations when your configuration schema evolves across releases and existing deployments must be upgraded safely. Each migration defines up and down transforms, and a migrator applies only the migrations between the current and target versions.