Explain a rule
explain_ruleRetrieve a CES rule's pattern, rationale, replacement strategy, exceptions, before/after example, and checker tokens by providing its rule ID.
Instructions
Show the full text of one CES rule: the pattern, why it is a tell, the replacement strategy, exceptions, a before/after example, and the tokens the checker uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | A rule ID such as CES-C-008. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| rating | Yes | ||
| tokens | Yes | ||
| example | No | ||
| category | Yes | ||
| detector | No | ||
| severity | Yes | ||
| exception | No | ||
| suggestion | Yes | ||
| description | Yes | ||
| enabledByDefault | Yes |