direnv

SKILL.md

direnv Skill

This skill provides comprehensive guidance for working with direnv, covering installation, configuration, stdlib functions, and best practices for per-project environment management.

When to Use This Skill

Use this skill when:

  • Installing and configuring direnv on macOS or Linux
  • Creating or modifying .envrc files for projects
  • Setting up per-project environment variables
  • Configuring language-specific layouts (Python, Node.js, Ruby, Go, Perl)
  • Integrating direnv with Nix or Nix Flakes
  • Managing secrets and environment configuration for teams
  • Troubleshooting environment loading issues
  • Creating custom direnv extensions

Core Concepts

Installs
2
First Seen
Mar 31, 2026