devenv-init
一键生成可复现环境,显著降低环境配置成本
会运行 nix flake init 并访问 GitHub 模板
基于 Eotel 模板用 Nix 快速脚手架并生成可复现的 per-language 开发环境
用 Eotel 的模板和 Nix 一键脚手架出可复现的 per-language 开发环境,支持 Python(可选 Django、FastAPI、Flask)以及未来的 Node/Go/Rust。适合在新项目目录快速搭好含 direnv、git-hooks、数据库等常用开关的开发环境。特别在于把 nix flake init 和常见配置合成单条命令,省去繁琐手工改配置。
▸ 展开 SKILL.md 英文原文
Scaffold a per-language devenv.sh project from Eotel/devenv-templates. Use when the user wants to set up a new Python (optionally with Django, FastAPI, or Flask), or future Node/Go/Rust development environment with reproducible Nix-based tooling. Wraps `nix flake init -t github:Eotel/devenv-templates` and patches feature toggles (direnv, delta, treefmt, git-hooks, postgres, mysql, redis, lsp, strict-types) plus Python version and project name in a single command.
帮我安装这个 skill:https://raw.githubusercontent.com/Eotel/skills/main/devenv-init/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/Eotel/skills/main/devenv-init/SKILL.md"# devenv-init Scaffold a reproducible per-language development environment in the current directory using [Eotel/devenv-templates](https://github.com/Eotel/devenv-templates). ## When to invoke User says any of: - "set up a python/django/fastapi/flask devenv" - "scaffold a devenv for python here" - "make a new project with devenv" - "/devenv-init …" ## Prerequisites - `nix` (Nix 2.18+) - `devenv` CLI - `direnv` (system-installed via nix-darwin / home-manager) ## Options | Option | Values | Default | Notes | |---|---|---|---| | `--lang` | `python` | (required) | Other languages added incrementally. | | `--framework` | `django` / `fastapi` / `flask` | (none) | Pairs with `--lang python`.