Skip to content
Back to skills

Lint Dotenv Files For Duplicated Keys And Unsafe Formatting With Dotenv Linter

ASecurity

Check dotenv files for duplicated keys, malformed values, and formatting mistakes before they break local runs or secret handoffs.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongogitsecuritydocumentation

Works with

  • cli

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill lint-dotenv-files-for-duplicated-keys-and-unsafe-formatting-with-dotenv-linter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint Dotenv Files For Duplicated Keys And Unsafe Formatting With Dotenv Linter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lint Dotenv Files For Duplicated Keys And Unsafe Formatting With Dotenv Linter
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-lint-dotenv-files-for-duplicated-keys-and-unsafe-f/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-lint-dotenv-files-for-duplicated-keys-and-unsafe-f)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Lint .env files for duplicated keys and unsafe formatting with dotenv-linter"
slug: "lint-dotenv-files-for-duplicated-keys-and-unsafe-formatting-with-dotenv-linter"
description: "Check dotenv files for duplicated keys, malformed values, and formatting mistakes before they break local runs or secret handoffs."
github_stars: 2068
verification: "security_reviewed"
source: "https://github.com/dotenv-linter/dotenv-linter"
author: "dotenv-linter"
publisher_type: "organization"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "dotenv-linter/dotenv-linter"
  github_stars: 2068
---

# Lint .env files for duplicated keys and unsafe formatting with dotenv-linter

Check dotenv files for duplicated keys, malformed values, and formatting mistakes before they break local runs or secret handoffs.

## Prerequisites

The dotenv-linter CLI or binary and a repository containing dotenv files to check.

## Installation

Requirements and caveats from upstream:
- [wemake-services/dotenv-linter](https://github.com/wemake-services/dotenv-linter) (Python)

Basic usage or getting-started notes:
- &nbsp;&nbsp;&nbsp;&nbsp;The <code>.env</code> file has a simple key-value format, for example: <code>FOO=BAR</code>.<br />
- ## πŸš€ Usage
- $ dotenv-linter diff .env .env.example

- Source: https://github.com/dotenv-linter/dotenv-linter
- Extracted from upstream docs: https://raw.githubusercontent.com/dotenv-linter/dotenv-linter/HEAD/README.md

## Documentation

- https://dotenv-linter.readthedocs.io/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/lint-dotenv-files-for-duplicated-keys-and-unsafe-formatting-with-dotenv-linter/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.