add-malli-schemas

Define Malli schemas for Metabase API route, query, body, and response parameters.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/Kidoz-SDK/metabase --skill add-malli-schemas-kidoz-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-malli-schemas
Source: https://github.com/Kidoz-SDK/metabase/tree/main/.claude/skills/add-malli-schemas
Command: npx skills add https://github.com/Kidoz-SDK/metabase --skill add-malli-schemas-kidoz-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines the process of adding robust data validation schemas (using Malli) to API endpoints within the Metabase codebase, ensuring data integrity and consistency.

Core Features & Use Cases

  • Schema Definition: Provides patterns and examples for defining route, query, body, and response schemas.
  • Validation Timing: Clarifies when and how schemas are validated in the request/response lifecycle.
  • Error Handling: Guides on implementing custom error messages for validation failures.
  • Use Case: When developing a new API endpoint in Metabase, use this skill to quickly and correctly implement the necessary Malli schemas for all parameters and the response, preventing runtime errors and improving API reliability.

Quick Start

Use the add-malli-schemas skill to add a response schema to the GET /api/users/:id endpoint.

Frequently Asked Questions about add-malli-schemas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Malli schemas to Metabase API endpoints?

To add Malli schemas to Metabase API endpoints, you define schemas for route, query, and body parameters alongside response structures. This skill provides the patterns to integrate them correctly using Metabase's internal schema utilities.

When are Malli schemas validated during the Metabase API request lifecycle?

Malli schema validation timing occurs during the request and response lifecycle to ensure data integrity before processing. This skill clarifies exactly when and how schemas are evaluated to prevent runtime errors and improve API reliability.

What is the best way to handle Malli validation errors for Metabase API parameters?

Handling Malli validation errors for Metabase API parameters involves implementing custom error messages for validation failures. This skill guides you through defining appropriate error handling patterns for route, query, and body data.

Can I use Malli schemas for response validation in Clojure APIs?

Yes, you can use Malli schemas for response validation in Clojure APIs. This skill covers defining response structures and applying schemas comprehensively to ensure consistent API development and data validation across Metabase endpoints.

Do I need to use Metabase internal schema utilities to define Malli schemas?

You need to leverage Metabase's internal schema utilities and patterns to ensure consistent API development when defining Malli schemas. This integration guarantees comprehensive data validation and compatibility within the Metabase codebase.