nix-flake-init
CommunityAuto-create flake.nix with language-aware shells.
Authorbinarin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automatically generates a flake.nix for projects lacking one, using flake-parts, and enriches development environments by detecting languages (OpenSCAD, Python) and extending devShells with language-specific packages.
Core Features & Use Cases
- Language detection: Scans for OpenSCAD (.scad) and Python (.py) files, and manifests like requirements.txt or pyproject.toml to decide devShell contents.
- Flake generation: Produces a pinned, multi-system flake.nix using flake-parts, avoiding :latest pins.
- DevShell enrichment: Adds OpenSCAD or Python packages based on detected languages.
- Direnv integration: Optional creation of .envrc and automatic .gitignore updates.
- Guided validation workflow: Provides steps to validate with nix flake check and relate commands.
Quick Start
Run the skill on a project missing flake.nix to generate flake.nix, then run nix flake update and nix develop (or direnv allow) to activate the development shell. Optionally commit flake.lock and enable direnv for your workflow.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: nix-flake-init Download link: https://github.com/binarin/nixos-config/archive/main.zip#nix-flake-init Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.