Run the full dslens audit
run_full_auditAudit React design-system code for state-copied props, hardcoded tokens, and accessibility gaps, then write a Markdown report and optionally capture Storybook screenshots of each issue.
Instructions
Runs every check, optionally screenshots each issue against a running Storybook instance, and writes a Markdown report.
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": {
"rootDir": "<rootDir>"
},
"name": "run_full_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootDir | Yes | Absolute path to the project to audit | |
| screenshots | No | Capture a Storybook screenshot for each issue, where possible | |
| storybookUrl | No | Base URL of a running Storybook instance (default http://localhost:6006) |