From 869d6a2cbd2c23f06d2d979a85007aa537aa1a69 Mon Sep 17 00:00:00 2001 From: alexion Date: Sat, 26 Sep 2026 23:49:03 -0400 Subject: [PATCH] feat(review): run natu for Nix targets --- .pi/prompts/review.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.pi/prompts/review.md b/.pi/prompts/review.md index e115e3f..d732bbd 100644 --- a/.pi/prompts/review.md +++ b/.pi/prompts/review.md @@ -17,6 +17,15 @@ If the target includes multiple matching file types, use all matching skills. If the target is a diff, choose skills from the changed files. Do not use a style skill when no reviewed file matches it. +For every reviewed `*.nix` file, run: + +```bash +bazel run //src/natu:natu -- +``` + +Pass every reviewed Nix path to Natu. +Report every Natu diagnostic as an actionable finding. + Report only actionable findings. Order findings by severity. Do not report preferences unless a loaded rule states them. @@ -36,6 +45,7 @@ Keep the code excerpt to one to three lines when possible. Use a longer excerpt only when the violation needs surrounding context. Use `...` to omit unrelated lines from a multi-line excerpt. Use a style-skill rule citation in the form `skill::rule-file:line`. +Cite Natu diagnostics as `natu::`. Make the fix direct. Do not include alternatives when one fix best follows the cited rule.