polish_diff
Reviews UI code diffs to propose DESIGN.md token substitutions, returning a unified patch without writing files.
Instructions
Review added UI-code lines and propose deterministic DESIGN.md token substitutions without writing files. The returned unified patch applies on top of the reviewed diff's post-image; applying it is an explicit, separate step by the caller. Re-verifies the hypothetical polished lines and leaves judgment-heavy findings in manual.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Unified diff to review and polish (maximum 400KB). | |
| project | No | Project directory used to resolve DESIGN.md and match decision scopes. Omit when design_md is supplied and no project hint is needed. | |
| design_md | No | Inline DESIGN.md content. Overrides project file lookup when supplied. |