detect_css_conflicts
Detect conflicting Tailwind utility classes in a className string. Prevent silent CSS bugs before generating or reviewing component code.
Instructions
Detects conflicting Tailwind utility classes in a className string — e.g. applying both 'flex' and 'grid', or multiple position utilities. Use to prevent silent CSS bugs before generating or reviewing component code.
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": {
"config_path": "<config_path>",
"class_string": "<class_string>"
},
"name": "detect_css_conflicts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_path | Yes | Absolute path to tailwind.config.js or tailwind.config.ts | |
| class_string | Yes | Space-separated Tailwind class string to check for conflicts |