From f5deb7fb30f84c0d40a1181e2501f94922396fbe Mon Sep 17 00:00:00 2001 From: alexion Date: Wed, 16 Sep 2026 13:43:18 -0400 Subject: [PATCH] docs(skills): clarify nix style completion --- src/skills/nix-style/SKILL.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/skills/nix-style/SKILL.md b/src/skills/nix-style/SKILL.md index 805c6bc..e943686 100644 --- a/src/skills/nix-style/SKILL.md +++ b/src/skills/nix-style/SKILL.md @@ -9,12 +9,8 @@ Use this skill as the source of truth for repository Nix conventions. ## Load rules -Read every Markdown file under [`rules/`](rules/) before applying this skill. -Discover rule files from the skill source: - -```bash -find src/skills/nix-style/rules -maxdepth 1 -type f -name '*.md' -print | sort -``` +Read every Markdown file directly under [`rules/`](rules/) before applying this skill. +Resolve [`rules/`](rules/) relative to this `SKILL.md`. Finish when all discovered rule files have been read. @@ -29,7 +25,8 @@ After editing Nix files, run: nix run .#fix ``` -Finish when the Nix change follows the loaded rules. +Finish when `nix run .#fix` succeeds and the Nix change follows the loaded rules. +If the command fails, report the failure. ## Maintain rules