Explain an abaplint rule
explain_abap_ruleExplains abaplint rules in depth with rationale and code examples, helping developers understand and fix findings from static analysis or cloud readiness checks.
Instructions
Explain one abaplint rule in depth: title, description, extended rationale (often citing the Clean ABAP style guide), tags, documentation URL, and good/bad code examples where the rule defines them. Use this when a lint_abap or check_cloud_readiness finding needs justification — to explain to a developer why the finding matters and how to fix it. It does not run analysis and only knows abaplint rules; SAP ATC check documentation is out of scope. Example: explain_abap_rule({ "rule": "exit_or_check" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | The abaplint rule key from a finding, e.g. "exit_or_check" or "obsolete_statement". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Rule key. | |
| tags | Yes | abaplint tags. | |
| title | Yes | Rule title. | |
| docsUrl | Yes | Documentation URL. | |
| badExample | No | Code the rule flags, if the rule ships an example. | |
| goodExample | No | The compliant version, if the rule ships one. | |
| shortDescription | Yes | One-line description. | |
| extendedInformation | Yes | Extended rationale; may cite Clean ABAP. |