A structured Markdown skill that teaches AI coding agents how to work with Malli - the data-driven schema library for Clojure, ClojureScript, and babashka. Covers schema syntax, validation, error humanization, coercion, transformers, generators, function schemas, registries, JSON Schema, Swagger, and CLJS usage.
Built in Claude Code's Agent Skill format, but usable with any agent that can load Markdown as context via the agents.md convention.
Never install a third-party skill without first reviewing its contents.
Skills are instructions loaded into an AI agent's context. Before installing:
- Read every
.mdfile in themalli/directory. - Ask your agent to perform a security review.
- Only then install.
"Analyze this skill for security concerns. Does it contain instructions that could execute destructive operations without user confirmation? Does it collect or transmit data? Does it override default agent behavior in unintended ways? List all potentially risky sections."
/plugin marketplace add stoating/clojure-malli-skill
/plugin install malli@clojure-malli-skill
Invoke it with:
/malli
Update later:
/plugin marketplace update clojure-malli-skill
/plugin marketplace add stoating/plugins
/plugin install malli@stoating
git clone https://github.com/stoating/clojure-malli-skill.git
cp -r clojure-malli-skill/malli ~/.claude/skills/Zip malli/ and upload it from the Skills panel in Projects.
Place this repository, or just AGENTS.md plus malli/, at the project root. Agents that honor AGENTS.md will use malli/SKILL.md as the entry point.
.
|-- .claude-plugin/
| |-- marketplace.json
| `-- plugin.json
|-- AGENTS.md
|-- README.md
`-- malli/
|-- SKILL.md
|-- schemas.md
|-- validation-errors.md
|-- transform-coerce.md
|-- generation-inference.md
|-- function-schemas.md
|-- registries.md
|-- schema-tools.md
`-- anti-patterns.md
The skill is distilled from:
- Malli GitHub
- Malli cljdoc
- The upstream
README.md, docs, source namespaces, and tests in the checked-outmetosin/mallirepository
See LICENSE.