docs(prompts): simplify rule citation guidance

This commit is contained in:
2026-09-17 12:40:28 -04:00
parent df828a52cf
commit 717bab728f

View File

@@ -35,7 +35,7 @@ Fix: suggested fix
Keep the code excerpt to one to three lines when possible. Keep the code excerpt to one to three lines when possible.
Use a longer excerpt only when the violation needs surrounding context. Use a longer excerpt only when the violation needs surrounding context.
Use `...` to omit unrelated lines from a multi-line excerpt. Use `...` to omit unrelated lines from a multi-line excerpt.
Use a style-skill rule citation, such as `rust::files.md:23`, `build::dependencies.md:7`, or `nix::let.md:7`. Use a style-skill rule citation in the form `skill::rule-file:line`.
Make the fix direct. Make the fix direct.
Do not include alternatives when one fix best follows the cited rule. Do not include alternatives when one fix best follows the cited rule.