Azure/azure-policy-linter ? reverse-engineered prompt
Reverse engineered prompt
Build me a .NET tool that checks Azure Policy definition JSON files for common mistakes, gotchas, and best practices.
I want a command line app that can scan one policy file or a bunch of them at once, then print friendly warnings and errors, and optionally save the results as JSON. It should also support different rule sets, with a default set and a way to list the available ones. If a file has no issues, it should say so clearly.
Please include the rule documentation in the repo and make it easy to add new rules later, with tests for each rule. I’d like the project to build from source with the pinned .NET SDK, and for the CLI to work as a dotnet global tool named policylinter. If you need anything unclear, look up the current docs online and keep the behavior aligned with Azure Policy JSON as much as possible.
Are you gonna build this?
make sure you review the code using coderabbit