Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

derivation-to-flake

Estrellas37
Forks11
Actualizado5 de junio de 2026 a las 04:25

Extract an in-tree Nix package/derivation into its own flake-parts sub-flake (under flakes/<name>/) that the root flake consumes via a relative-path input — the stepping stone to later splitting it into a separate repo with a one-line URL swap. Use this skill whenever the user wants to modularize or split a Nix flake or reorganize packages: "turn this derivation into its own flake", "extract <pkg> into a sub-flake", "make <pkg> a standalone / in-repo flake", "split pkgs/<x> out", "prep <pkg> to move to its own repo", "modularize the flake", or is moving things from pkgs/ into flakes/. Covers the whole procedure end to end — scaffold, wire the root (relative-path input + follows), test (standalone build + parity + flake check), adversarial quality review, and documentation. Bundled bun/TypeScript scripts (inventory.ts, scaffold.ts, verify.ts) do the rote steps.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
6 archivos
SKILL.md
readonly