StyleKit

MCP server for StyleKit styles, tokens, recipes, lint and repair over stdio or HTTP.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
96%
Qualität der Benennung
80%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~4,739Tokens (Tool-Definitionen)
~8.8 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (3.70% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "stylekit-mcp": {
      "command": "npx",
      "args": [
        "stylekit-mcp"
      ]
    }
  }
}

Ausführbare Pakete

npmstylekit-mcp0.6.0stdio

Remote-Endpunkte

https://www.stylekit.top/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (5)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢stylekit_search_styles(query, category, limit, offset)

Search StyleKit design styles by keyword and/or category, with pagination. Exact slug or name matches are ranked first. Args: - query (string, optional): matches slug, name, description, tags, keywords (case-insensitive). - category ('modern'|'retro'|'minimal'|'expressive', optional): restrict to one category. - limit (number 1-50, default 15): page size. - offset (number >=0, default 0): results to skip (for paging). Returns structured JSON with total, count, offset, has_more, source, optional fallbackReason, and results. A valid query with no matches returns an empty results array, not a tool error. Examples: - "find a glassy frosted style" -> query: "glass" - "next page of retro styles" -> category: "retro", offset: 15 - For full tokens of one style, call stylekit_get_style with include: ["tokens"] instead.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 100,
      "description": "Keyword to match"
    },
    "category": {
      "type": "string",
      "enum": [
        "modern",
        "retro",
        "minimal",
        "expressive"
      ],
      "description": "Style category filter"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 15,
      "description": "Page size"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "default": 0,
      "description": "Results to skip for pagination"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "count": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    },
    "has_more": {
      "type": "boolean"
    },
    "ranking": {
      "type": "string",
      "enum": [
        "exact",
        "hybrid",
        "keyword",
        "local"
      ]
    },
    "source": {
      "type": "string",
      "enum": [
        "live",
        "bundled"
      ]
    },
    "fallbackReason": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nameEn": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "name",
          "nameEn",
          "category",
          "tags",
          "description"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "count",
    "offset",
    "has_more",
    "source",
    "results"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢stylekit_list_assets(kind, query, offset, limit)

Browse StyleKit's public asset catalogue by namespace and query. Use the returned kind/id pair with stylekit_get_asset. Args: - kind (optional): one public namespace such as animation, component-pattern, template, or experience-pack. - query (optional): search public names, descriptions and tags. - offset (number >=0, default 0): results to skip. - limit (number 1-100, default 20): page size. Returns the full JSON page, including availability, contentLevel, license, attribution, source provenance, and kind counts. An empty page is a successful result. Private user kits and unpublished submissions are not listed.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "style",
        "recipe",
        "animation",
        "background",
        "gradient",
        "shadow",
        "typography",
        "palette",
        "component-pattern",
        "spacing",
        "layout-grid",
        "design-principle",
        "visual-hierarchy",
        "type-scale",
        "archetype",
        "prompt",
        "template",
        "experience-pack"
      ],
      "description": "Public asset namespace"
    },
    "query": {
      "type": "string",
      "maxLength": 500,
      "description": "Search names, descriptions and tags"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "default": 0,
      "description": "Results to skip"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Page size"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "assets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "style",
              "recipe",
              "animation",
              "background",
              "gradient",
              "shadow",
              "typography",
              "palette",
              "component-pattern",
              "spacing",
              "layout-grid",
              "design-principle",
              "visual-hierarchy",
              "type-scale",
              "archetype",
              "prompt",
              "template",
              "experience-pack"
            ]
          },
          "name": {
            "type": "string"
          },
          "nameZh": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "availability": {
            "type": "string",
            "enum": [
              "bundled",
              "remote",
              "external",
              "restricted"
            ]
          },
          "contentLevel": {
            "type": "string",
            "enum": [
              "source",
              "metadata",
              "remote",
              "restricted"
            ]
          },
          "sourceRef": {
            "type": "string"
          },
          "websiteUrl": {
            "type": "string"
          },
          "sourceUrls": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "license": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "notes": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "attribution": {
            "type": "object",
            "properties": {
              "source": {
                "type": "string"
              },
              "author": {
                "type": "string"
              },
              "license": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "source"
            ],
            "additionalProperties": false
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "kind",
          "name",
          "description",
          "tags",
          "availability",
          "contentLevel"
        ],
        "additionalProperties": false
      }
    },
    "total": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    },
    "limit": {
      "type": "number"
    },
    "hasMore": {
      "type": "boolean"
    },
    "kindCounts": {
      "type": "object",
      "additionalProperties": {
        "type": "number"
      }
    },
    "source": {
      "type": "string",
      "enum": [
        "live",
        "bundled"
      ]
    },
    "fallbackReason": {
      "type": "string"
    }
  },
  "required": [
    "schemaVersion",
    "assets",
    "total",
    "offset",
    "limit",
    "hasMore",
    "kindCounts",
    "source"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢stylekit_get_asset(kind, id)

Retrieve one public asset by its exact kind and id. Source is returned only where the asset's contentLevel and license permit it. Remote templates include their actual file set only when the live source is available; if it is down, the tool returns a structured unavailable error with safe metadata and does not treat a download URL as source code. External and restricted assets expose metadata, license, attribution and source links only. Args: - kind: the namespace returned by stylekit_list_assets. - id: the exact identifier within that namespace. Returns complete structured JSON and JSON text, preserving the namespace and provenance.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "style",
        "recipe",
        "animation",
        "background",
        "gradient",
        "shadow",
        "typography",
        "palette",
        "component-pattern",
        "spacing",
        "layout-grid",
        "design-principle",
        "visual-hierarchy",
        "type-scale",
        "archetype",
        "prompt",
        "template",
        "experience-pack"
      ],
      "description": "Public asset namespace"
    },
    "id": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]{0,127}$",
      "description": "Exact asset id within the namespace"
    }
  },
  "required": [
    "kind",
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "style",
            "recipe",
            "animation",
            "background",
            "gradient",
            "shadow",
            "typography",
            "palette",
            "component-pattern",
            "spacing",
            "layout-grid",
            "design-principle",
            "visual-hierarchy",
            "type-scale",
            "archetype",
            "prompt",
            "template",
            "experience-pack"
          ]
        },
        "name": {
          "type": "string"
        },
        "nameZh": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "availability": {
          "type": "string",
          "enum": [
            "bundled",
            "remote",
            "external",
            "restricted"
          ]
        },
        "contentLevel": {
          "type": "string",
          "enum": [
            "source",
            "metadata",
            "remote",
            "restricted"
          ]
        },
        "sourceRef": {
          "type": "string"
        },
        "websiteUrl": {
          "type": "string"
        },
        "sourceUrls": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "license": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "notes": {
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "additionalProperties": false
        },
        "attribution": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string"
            },
            "author": {
              "type": "string"
            },
            "license": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "required": [
            "source"
          ],
          "additionalProperties": false
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "id",
        "kind",
        "name",
        "description",
        "tags",
        "availability",
        "contentLevel"
      ],
      "additionalProperties": false
    },
    "data": {},
    "code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    },
    "codeLanguage": {
      "type": "string",
      "enum": [
        "css",
        "tsx",
        "json",
        "text"
      ]
    },
    "dependencies": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "attribution": {
      "$ref": "#/properties/metadata/properties/attribution"
    },
    "license": {
      "$ref": "#/properties/metadata/properties/license"
    },
    "sourceUrls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "capabilities": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "string",
      "enum": [
        "live",
        "bundled"
      ]
    },
    "fallbackReason": {
      "type": "string"
    }
  },
  "required": [
    "schemaVersion",
    "metadata",
    "dependencies",
    "sourceUrls",
    "capabilities",
    "source"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢stylekit_get_style(slug, include, component)

Get one style's profile and, optionally, its design tokens, one component recipe, and the full implementation brief. Everything ships through this single tool so the server stays small: pass include: ["tokens"], ["recipe"], ["brief"] or a combination. Style data is read from the live catalogue with a five-minute cache; when live data is unavailable, a bundled snapshot may be returned and marked with origin and fallbackReason. Args: - slug (string): style identifier, e.g. "glassmorphism", "neo-brutalist". - include (array, optional): sections to attach — "tokens", "recipe", "brief". - component (string, optional): recipe id for include: ["recipe"], e.g. "button"; defaults to the style's first recipe. Returns structured JSON with the shape below. When a canonical design.md is available, the human-readable text includes its complete Markdown; the full machine-readable brief remains at its URL. Examples: - "how should I use neo-brutalist?" -> slug: "neo-brutalist" - "give me the glassmorphism button code" -> slug: "glassmorphism", include: ["recipe"], component: "button" - Returns an error with a hint if the slug is unknown.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "Style slug, e.g. 'glassmorphism'"
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "tokens",
          "recipe",
          "brief"
        ]
      },
      "description": "Sections to attach: \"tokens\", \"recipe\", \"brief\""
    },
    "component": {
      "type": "string",
      "minLength": 1,
      "description": "Recipe id when include contains 'recipe'; defaults to the first recipe"
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "nameEn": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "description": {
      "type": "string"
    },
    "philosophy": {
      "type": "string"
    },
    "colors": {
      "type": "object",
      "properties": {
        "primary": {
          "type": "string"
        },
        "secondary": {
          "type": "string"
        },
        "accent": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "primary",
        "secondary",
        "accent"
      ],
      "additionalProperties": false
    },
    "doList": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "dontList": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "hasTokens": {
      "type": "boolean"
    },
    "hasRecipes": {
      "type": "boolean"
    },
    "recipeIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "shadcnInstall": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "quality": {
      "type": "object",
      "properties": {
        "tier": {
          "type": "string",
          "enum": [
            "curated",
            "baseline"
          ]
        },
        "capabilities": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "string",
              "enum": [
                "complete",
                "partial",
                "fallback",
                "missing"
              ]
            },
            "recipes": {
              "type": "string",
              "enum": [
                "complete",
                "partial",
                "fallback",
                "missing"
              ]
            },
            "componentCode": {
              "type": "string",
              "enum": [
                "complete",
                "partial",
                "fallback",
                "missing"
              ]
            },
            "variants": {
              "type": "string",
              "enum": [
                "complete",
                "partial",
                "fallback",
                "missing"
              ]
            },
            "readiness": {
              "type": "string",
              "enum": [
                "curated",
                "fallback"
              ]
            },
            "darkMode": {
              "type": "string",
              "enum": [
                "complete",
                "partial",
                "fallback",
                "missing"
              ]
            },
            "accessibility": {
              "type": "string",
              "enum": [
                "scored",
                "unavailable"
              ]
            }
          },
          "required": [
            "tokens",
            "recipes",
            "componentCode",
            "variants",
            "readiness",
            "darkMode",
            "accessibility"
          ],
          "additionalProperties": false
        },
        "accessibilityScore": {
          "type": [
            "number",
            "null"
          ]
        },
        "flags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "tier",
        "capabilities",
        "accessibilityScore",
        "flags"
      ],
      "additionalProperties": false
    },
    "origin": {
      "type": "string",
      "enum": [
        "live",
        "bundled"
      ]
    },
    "fallbackReason": {
      "type": "string"
    },
    "tokens": {
      "type": "object",
      "properties": {
        "border": {
          "type": "object",
          "properties": {
            "width": {
              "type": "string"
            },
            "color": {
              "type": "string"
            },
            "radius": {
              "type": "string"
            },
            "style": {
              "type": "string"
            }
          },
          "required": [
            "width",
            "color",
            "radius"
          ],
          "additionalProperties": false
        },
        "shadow": {
          "type": "object",
          "properties": {
            "sm": {
              "type": "string"
            },
            "md": {
              "type": "string"
            },
            "lg": {
              "type": "string"
            },
            "none": {
              "type": "string"
            },
            "hover": {
              "type": "string"
            },
            "focus": {
              "type": "string"
            },
            "colored": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          },
          "required": [
            "sm",
            "md",
            "lg",
            "none",
            "hover",
            "focus"
          ],
          "additionalProperties": false
        },
        "interaction": {
          "type": "object",
          "properties": {
            "hoverScale": {
              "type": "string"
            },
            "hoverTranslate": {
              "type": "string"
            },
            "hoverOpacity": {
              "type": "string"
            },
            "transition": {
              "type": "string"
            },
            "active": {
              "type": "string"
            }
          },
          "required": [
            "transition"
          ],
          "additionalProperties": false
        },
        "typography": {
          "type": "object",
          "properties": {
            "heading": {
              "type": "string"
            },
            "subtitle": {
              "type": "string"
            },
            "body": {
              "type": "string"
            },
            "mono": {
              "type": "string"
            },
            "sizes": {
              "type": "object",
              "properties": {
                "hero": {
                  "type": "string"
                },
                "h1": {
                  "type": "string"
                },
                "h2": {
                  "type": "string"
                },
                "h3": {
                  "type": "string"
                },
                "body": {
                  "type": "string"
                },
                "small": {
                  "type": "string"
                }
              },
              "required": [
                "hero",
                "h1",
                "h2",
                "h3",
                "body",
                "small"
              ],
              "additionalProperties": false
            },
            "neonStroke": {
              "type": "object",
              "additionalProperties": {}
            }
          },
          "required": [
            "heading",
            "body",
            "sizes"
          ],
          "additionalProperties": false
        },
        "spacing": {
          "type": "object",
          "properties": {
            "section": {
              "type": "string"
            },
            "container": {
              "type": "string"
            },
            "card": {
              "type": "string"
            },
            "gap": {
              "type": "object",
              "properties": {
                "sm": {
                  "type": "string"
                },
                "md": {
                  "type": "string"
                },
                "lg": {
                  "type": "string"
                }
              },
              "required": [
                "sm",
                "md",
                "lg"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "section",
            "container",
            "card",
            "gap"
          ],
          "additionalProperties": false
        },
        "colors": {
          "type": "object",
          "properties": {
            "background": {
              "type": "object",
              "properties": {
                "primary": {
                  "type": "string"
                },
                "secondary": {
                  "type": "string"
                },
                "accent": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "primary",
                "secondary",
                "accent"
              ],
              "additionalProperties": false
            },
            "text": {
              "type": "object",
              "properties": {
                "primary": {
                  "type": "string"
                },
                "secondary": {
                  "type": "string"
                },
                "muted": {
                  "type": "string"
                }
              },
              "required": [
                "primary",
                "secondary",
                "muted"
              ],
              "additionalProperties": false
            },
            "button": {
              "type": "object",
              "properties": {
                "primary": {
                  "type": "string"
                },
                "secondary": {
                  "type": "string"
                },
                "danger": {
                  "type": "string"
                }
              },
              "required": [
                "primary",
                "secondary"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "background",
            "text",
            "button"
          ],
          "additionalProperties": false
        },
        "forbidden": {
          "type": "object",
          "properties": {
            "classes": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "patterns": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "reasons": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          },
          "required": [
            "classes",
            "patterns",
            "reasons"
          ],
          "additionalProperties": false
        },
        "required": {
          "type": "object",
          "properties": {
            "button": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "card": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "input": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "button",
            "card",
            "input"
          ],
          "additionalProperties": false
        },
        "origin": {
          "type": "string",
          "enum": [
            "live",
            "bundled"
          ]
        },
        "fallbackReason": {
          "type": "string"
        }
      },
      "required": [
        "border",
        "shadow",
        "interaction",
        "typography",
        "spacing",
        "colors",
        "forbidden",
        "required",
        "origin"
      ],
      "additionalProperties": false
    },
    "recipe": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "component": {
          "type": "string"
        },
        "className": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "origin": {
          "type": "string",
          "enum": [
            "live",
            "bundled"
          ]
        },
        "fallbackReason": {
          "type": "string"
        }
      },
      "required": [
        "slug",
        "component",
        "className",
        "code",
        "origin"
      ],
      "additionalProperties": false
    },
    "brief": {
      "type": "object",
      "additionalProperties": {}
    }
  },
  "required": [
    "slug",
    "name",
    "nameEn",
    "category",
    "tags",
    "description",
    "philosophy",
    "colors",
    "doList",
    "dontList",
    "keywords",
    "hasTokens",
    "hasRecipes",
    "recipeIds",
    "shadcnInstall",
    "url",
    "quality",
    "origin"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢stylekit_lint_code(slug, code, checkRequired, strict)

Check whether code actually follows a style's rules. Use this AFTER generating or editing UI code to verify it matches the style, instead of assuming it does. Reports forbidden classes with the reason they are banned and a concrete replacement. Understands JSX/HTML class attributes, cn()/clsx() calls, and template literals; variant prefixes (dark:, md:, hover:) are resolved before matching. Args: - slug (string): style identifier, e.g. "glassmorphism". - code (string): the source to check. JSX/TSX, HTML, or a bare class string. - checkRequired (array of 'button'|'card'|'input', optional): also report required classes the code is missing. Only pass components the code is supposed to contain. Returns JSON: { slug, ok, violations: [{ className, baseClassName, line, severity, source, rule, reason, fix }], missingRequired, checkedClasses, ruleSources, origin, contentSource, fallbackReason? }. Lint rules come from the same live implementation brief used for generation; its five-minute cache and any bundled fallback are reported separately from content provenance. Examples: - "does this button match neo-brutalist?" -> slug: "neo-brutalist", code: "<button className=...>", checkRequired: ["button"] - strict (boolean, default false): fail missing required classes in a static component snippet. Required checks cover the whole input, not each element. - status is pass, fail, or inconclusive. Runtime class expressions cannot be fully verified. ok is true only for a conclusive static pass; visual quality still needs review.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "Style slug, e.g. 'glassmorphism'"
    },
    "code": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100000,
      "description": "Source code or class string to lint"
    },
    "checkRequired": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "button",
          "card",
          "input"
        ]
      },
      "description": "Components to also check for missing required classes"
    },
    "strict": {
      "type": "boolean",
      "default": false,
      "description": "Fail missing required classes in a static snippet"
    }
  },
  "required": [
    "slug",
    "code"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "ok": {
      "type": "boolean"
    },
    "status": {
      "type": "string",
      "enum": [
        "pass",
        "fail",
        "inconclusive"
      ]
    },
    "coverage": {
      "type": "object",
      "properties": {
        "classAttributes": {
          "type": "number"
        },
        "dynamicAttributes": {
          "type": "number"
        },
        "requiredScope": {
          "type": "string",
          "const": "file"
        }
      },
      "required": [
        "classAttributes",
        "dynamicAttributes",
        "requiredScope"
      ],
      "additionalProperties": false
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "violations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "className": {
            "type": "string"
          },
          "baseClassName": {
            "type": "string"
          },
          "line": {
            "type": "number"
          },
          "severity": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "rule": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "fix": {
            "type": "string"
          }
        },
        "required": [
          "className",
          "baseClassName",
          "line",
          "severity",
          "source",
          "rule",
          "reason"
        ],
        "additionalProperties": false
      }
    },
    "missingRequired": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "component": {
            "type": "string"
          },
          "missing": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "component",
          "missing",
          "source"
        ],
        "additionalProperties": false
      }
    },
    "checkedClasses": {
      "type": "number"
    },
    "ruleSources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "origin": {
      "type": "string",
      "enum": [
        "live",
        "bundled"
      ]
    },
    "contentSource": {
      "type": "string",
      "enum": [
        "bundled",
        "static",
        "community"
      ]
    },
    "fallbackReason": {
      "type": "string"
    }
  },
  "required": [
    "slug",
    "ok",
    "status",
    "coverage",
    "warnings",
    "violations",
    "missingRequired",
    "checkedClasses",
    "ruleSources",
    "origin",
    "contentSource"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Empfohlene Prompts

search_research
Search for information about [topic] using StyleKit
Erwartete Tools: stylekit_search_styles
find_specific
Find [specific item] using StyleKit
Erwartete Tools: stylekit_search_styles
retrieve_data
Get details about [item] from StyleKit
Erwartete Tools: stylekit_get_asset
fetch_info
Fetch [information type] using StyleKit
Erwartete Tools: stylekit_get_asset
list_items
List all [items] available in StyleKit
Erwartete Tools: stylekit_list_assets

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet5 Tools
verifiziertVersion nicht aufgezeichnet5 Tools
verifiziertVersion nicht aufgezeichnet10 Tools
verifiziertVersion nicht aufgezeichnet10 Tools