Skip to main content

quick_check_violations

Quickly checks if code has any design system violations.

Reference

Parameters

  • Name
    code
    Type
    string · required
    Description

    The code to check

Returns

{
  hasViolations  boolean
}

Description

Quickly checks if code has any design system violations.

Parameters:

  • code: The code to check

Use this for fast pre-flight checks before detailed validation.

Source

Defined in packages/mcp/src/tools.ts. The request handler lives alongside its registration in packages/mcp/src/tools/.

Was this page helpful?

Last reviewed by @jschuyler