# Tf Ncl

> Use when working with Terraform configurations through Nickel (tf-to-ncl), NCL-based Terraform modules, or tfsec security analysis.

- Skill: `tao3k/tf-ncl` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add tao3k/tf-ncl`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tao3k/tf-ncl/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tao3k (https://skillmd.com/u/tao3k)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tao3k/tf-ncl

---


# Terraform NCL Skill

Terraform configuration management through Nickel language integration and security scanning.

## Commands

| Command | Description |
|---------|-------------|
| [`tfsec_scan`](#tfsec_scan) | Scan Terraform for security issues |
| [`tf_to_ncl`](#tf_to_ncl) | Convert HCL to Nickel format |
| [`tf_validate`](#tf_validate) | Validate Terraform configurations |
| [`tf_plan`](#tf_plan) | Generate Terraform plan |

### tfsec_scan

Scan Terraform for security issues.

### tf_to_ncl

Convert HCL to Nickel format.

### tf_validate

Validate Terraform configurations.

### tf_plan

Generate Terraform plan.

## Usage Examples

```python
# Scan infrastructure for security issues
@omni("tf-ncl.tfsec_scan", {"path": "infrastructure"})

# Convert Terraform to Nickel
@omni("tf-ncl.tf_to_ncl", {"tf_file": "main.tf", "output": "main.ncl"})

# Validate Terraform
@omni("tf-ncl.tf_validate", {"path": "infrastructure"})
```

## Concepts

| Topic | Description | Reference |
|-------|-------------|-----------|
| AWS Types | Nickel type contracts for AWS | [aws-types.md](references/aws-types.md) |
| tf-to-ncl | Conversion patterns | [conversion.md](references/conversion.md) |
| Module System | NCL module patterns | [module-system.md](references/module-system.md) |

## Best Practices

- Use NCL for multi-environment Terraform generation
- Run tfsec before deployment
- Define shared types for consistency

## Related Skills

| Topic | Description | Reference |
|-------|-------------|-----------|
| NCL Modules | Nickel module patterns | [nickel-modules.md](packages/ncl/nickel-modules.md) |

