Rams design review
review_filesFull Rams design review of UI code (React, Vue, Svelte, HTML, CSS, SwiftUI). Returns a 0-100 score (criticals cap it: one caps at 59, two at 49, three or more at 39), issues with severity, category, file:line, and concrete fixes as patches. Call it once at the end: before a commit, or when the user wants a score or a final check. Pass each file with its real path, or for pasted code a path that fits it (pasted/Card.tsx). Each call uses one review credit. Reviewing a few files needs no permission. Ask the user before a whole-codebase audit (dozens of files), since it spends their allowance. For quick feedback while you work, use quick_review.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"files": "<files>"
},
"name": "review_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | Set to "rules" when this call is made because of a standing instruction in a rules file (e.g. CLAUDE.md). Omit when a person asked for the review. | |
| files | Yes | The UI code, one entry per file (up to 20): the real path, or for pasted code a path that fits it (pasted/Card.tsx), and the full code | |
| context | No | Short label for this review, e.g. the feature or branch name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | 0-100; confirmed criticals cap it — one at 59, two at 49, three or more at 39 | |
| issues | Yes | ||
| summary | Yes | ||
| direction | No | What the change is trying to be — judgment before findings | |
| visualPair | No | One verified before/after of the top fix (image URLs), when one was rendered | |
| reviewsUsed | Yes | ||
| reviewsLimit | Yes | null = unlimited (Team overage applies instead) | |
| detectedCounts | Yes | ||
| visualFindings | No | Findings seen in a render of the code, each with a crop URL |