> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# stackkit validate

> Valida archivos de configuración

Valida archivos de configuración.

Valida archivos de spec y esquemas CUE.

```text theme={null}
This command validates:
  • stack-spec.yaml against the schema
  • StackKit CUE definitions
  • OpenTofu configuration files
```

```bash theme={null}
stackkit validate [file] [flags]
```

| Flag | Tipo | Predeterminado | Descripción |
| - | - | - | - |
| `--all` | bool | — | Valida todos los archivos de configuración |

**Ejemplos**

```bash theme={null}
# Validate stack-spec.yaml in the current directory
stackkit validate

# Validate another StackSpec file before replacing stack-spec.yaml with it
stackkit validate candidate-stack-spec.yaml

# Also validate CUE schemas in the working directory
stackkit validate --all
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.