gograph_review
Run a static analysis to verify architectural boundaries and design constraints in Go code. Returns a checklist of rule violations to enforce code structure during refactoring or CI.
Instructions
Run an architectural consistency and design constraint review against defined code boundaries or specific symbols. BEHAVIOR & SAFETY: This is a 100% local, read-only static analysis tool. It has no side effects, requires no authorization or credentials, has no rate limits, and performs zero destructive modifications. USAGE GUIDELINES: Call this tool during post-edit verification, CI pipelines, or refactoring phases to ensure new additions do not violate boundary limits. Do NOT use for general dependency tree listing (use gograph_deps instead). COMPLETENESS: Requires either 'symbol' or 'uncommitted' set to true. Returns a structured checklist of all rules evaluated, listing exact package paths and files violating architectural boundaries. Example symbol: 'Graph'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | The name of the target symbol to run the design review for (e.g. 'AuthService') | |
| uncommitted | No | Set to true to review all uncommitted/modified changes in the repository |