python-devenv-setup

Generate Nix-based devenv files and configure pyproject.toml for Python environments.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Eotel/claude-marketplace --skill python-devenv-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-devenv-setup
Source: https://github.com/Eotel/claude-marketplace/tree/main/plugins/base/skills/python-devenv-setup
Command: npx skills add https://github.com/Eotel/claude-marketplace --skill python-devenv-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reproducible Python development environments are hard to reproduce across machines and teams. This Skill provides a declarative, Nix-based setup that locks tooling versions and automates environment activation to ensure consistency.

Core Features & Use Cases

  • Nix-based declarative development environment that guarantees the same toolchain across all machines.
  • uv-powered Python management to provide fast, deterministic installs and streamlined dependency handling.
  • Linting and type checking with ruff and ty, plus preconfigured tooling for code quality.
  • Use cases include onboarding new developers, ensuring local parity with CI, and enabling seamless cross-platform development.

Quick Start

Run direnv allow in the project root to activate the environment and start using the configured Python development stack.

Frequently Asked Questions about python-devenv-setup

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

FAQPage Schema
How do I set up a reproducible Python development environment with Nix?

You can set up a reproducible Python development environment by generating declarative devenv.yaml and devenv.nix files with Nix tooling to lock toolchain versions across machines.

What's the best way to manage Python dependencies using uv and devenv?

Managing Python dependencies with uv and devenv involves generating pyproject.toml alongside Nix configuration, providing fast deterministic installs and streamlined dependency handling.

Does direnv work with Nix devenv for automatic Python environment activation?

Yes, direnv works with Nix devenv by wiring automatic shell activation, so running direnv allow in the project root activates the configured Python development stack seamlessly.

Can I use ruff and ty for linting and type checking in a Nix-based Python project?

Yes, you can use ruff and ty for linting and type checking in a Nix-based Python project, as the setup preconfigures these tools to enforce code quality consistently.

Why use a declarative Nix setup for Python local development instead of virtualenvs?

A declarative Nix setup ensures local parity with CI and consistent cross-platform development by locking tooling versions, solving virtualenv reproducibility issues across machines and teams.

Do I need to install Nix before configuring a Python dev environment with devenv?

Yes, you need Nix installed to use devenv, as the setup generates Nix-based devenv.yaml and devenv.nix files to declaratively manage the Python toolchain and environment.