Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
metabase avatar

Clojure Review

  • 1.4k installs
  • 48.5k repo stars
  • Updated August 5, 2026
  • metabase/metabase

clojure-review provides documented workflows for Review Clojure and ClojureScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull

About

The clojure-review skill review Clojure and ClojureScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing Clojure/ClojureScript code. # Clojure Code Review Skill @./../_shared/clojure-style-guide.md @./../_shared/clojure-commands.md ## Review guidelines **What to flag:** - Check compliance with the Metabase Clojure style guide (included above) - If `CLOJURE_STYLE_GUIDE.adoc` exists in the working directory, also check compliance with the community Clojure style guide - Flag all style guide violations **What NOT to post:** - Do not post comments congratulating someone for trivial changes or for following style guidelines - Do not post comments confirming things "look good" or telling them they did something correctly - Only post comments about style violations or potential issues Example bad code review comments to avoid: > This TODO comment is properly formatted with author and date - nice work! > Good addition of limit 1 to the query - this makes the test more efficient without changing its behavior.

  • Check compliance with the Metabase Clojure style guide (included above)
  • If `CLOJURE_STYLE_GUIDE.adoc` exists in the working directory, also check compliance with the community Clojure style gu
  • Flag all style guide violations
  • Do not post comments congratulating someone for trivial changes or for following style guidelines
  • Do not post comments confirming things "look good" or telling them they did something correctly

Clojure Review by the numbers

  • 1,430 all-time installs (skills.sh)
  • +90 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #70 of 911 Databases skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

clojure-review capabilities & compatibility

Capabilities
check compliance with the metabase clojure style · if `clojure_style_guide.adoc` exists in the work · flag all style guide violations · do not post comments congratulating someone for · do not post comments confirming things "look goo
Use cases
documentation
From the docs

What clojure-review says it does

> Good addition of limit 1 to the query - this makes the test more efficient without changing its behavior.
SKILL.md
> The kondo ignore comment is appropriately placed here > Test name properly ends with -test as required by the style guide.
SKILL.md
npx skills add https://github.com/metabase/metabase --skill clojure-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.4k
repo stars48.5k
Security audit3 / 3 scanners passed
Last updatedAugust 5, 2026
Repositorymetabase/metabase

How do I use clojure-review for the task described in its SKILL.md triggers?

Review Clojure and ClojureScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing Clojure/Cl.

Who is it for?

Teams invoking clojure-review when the user request matches documented triggers and prerequisites.

Skip if: Skip when cached docs are missing, the request is a negative trigger, or another sibling skill owns the workflow.

When should I use this skill?

Review Clojure and ClojureScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing Clojure/ClojureScript code.

What you get

Step-by-step guidance grounded in clojure-review documentation and reference files.

  • style violation report
  • PR review comments

Files

SKILL.mdMarkdownGitHub ↗

Clojure Code Review Skill

@./../_shared/clojure-style-guide.md @./../_shared/clojure-commands.md

Review guidelines

What to flag:

  • Check compliance with the Metabase Clojure style guide (included above)
  • If CLOJURE_STYLE_GUIDE.adoc exists in the working directory, also check compliance with the community Clojure style guide
  • Flag all style guide violations

What NOT to post:

  • Do not post comments congratulating someone for trivial changes or for following style guidelines
  • Do not post comments confirming things "look good" or telling them they did something correctly
  • Only post comments about style violations or potential issues

Example bad code review comments to avoid:

This TODO comment is properly formatted with author and date - nice work!
Good addition of limit 1 to the query - this makes the test more efficient without changing its behavior.
The kondo ignore comment is appropriately placed here
Test name properly ends with -test as required by the style guide.

Special cases:

  • Do not post comments about missing parentheses (these will be caught by the linter)

Quick review checklist

Use this to scan through changes efficiently:

Naming

  • [ ] Descriptive names (no tbl, zs')
  • [ ] Pure functions named as nouns describing their return value
  • [ ] kebab-case for all variables and functions
  • [ ] Side-effect functions end with !
  • [ ] No namespace-alias repetition in function names

Documentation

  • [ ] Public vars in src or enterprise/backend/src have useful docstrings
  • [ ] Docstrings use Markdown conventions
  • [ ] References use [[other-var]] not backticks
  • [ ] TODO comments include author and date: ;; TODO (Name 2025-01-01) -- description

Code Organization

  • [ ] Everything ^:private unless used elsewhere
  • [ ] No declare when avoidable (public functions near end)
  • [ ] Functions under 20 lines when possible
  • [ ] No blank, non-comment lines within definition forms (except pairwise constructs in let/cond)
  • [ ] Lines ≤ 120 characters

Tests

  • [ ] Separate deftest forms for distinct test cases
  • [ ] Pure tests marked ^:parallel
  • [ ] Test names end in -test or -test-<number>

Modules

  • [ ] Correct module patterns (OSS: metabase.<module>.*, EE: metabase-enterprise.<module>.*)
  • [ ] API endpoints in <module>.api namespaces
  • [ ] Public API in <module>.core with Potemkin
  • [ ] No cheating module linters with :clj-kondo/ignore [:metabase/modules]

REST API

  • [ ] Response schemas present (:- <schema>)
  • [ ] Query params use kebab-case, bodies use snake_case
  • [ ] Routes use singular nouns (e.g., /api/dashboard/:id)
  • [ ] GET has no side effects (except analytics)
  • [ ] Malli schemas detailed and complete
  • [ ] All new endpoints have tests

MBQL

  • [ ] No raw MBQL manipulation outside lib, lib-be, or query-processor modules
  • [ ] Uses Lib and MBQL 5, not legacy MBQL

Database

  • [ ] Model and table names are singular nouns
  • [ ] Uses t2/select-one-fn instead of selecting full rows for one column
  • [ ] Logic in Toucan methods, not helper functions

Drivers

  • [ ] New multimethods documented in docs/developers-guide/driver-changelog.md
  • [ ] Passes driver argument to other driver methods (no hardcoded driver names)
  • [ ] Minimal logic in read-column-thunk

Miscellaneous

  • [ ] Example data is bird-themed when possible
  • [ ] Kondo linter suppressions use proper format (not #_:clj-kondo/ignore keyword form)

Pattern matching table

Quick scan for common issues:

PatternIssue
calculate-age, get-userPure functions should be nouns: age, user
update-db, save-modelMissing ! for side effects: update-db!, save-model!
snake_case_varShould use kebab-case
Public var without docstringAdd docstring explaining purpose
;; TODO fix thisMissing author/date: ;; TODO (Name 2025-01-01) -- description
(defn foo ...) in namespace used elsewhereShould be (defn ^:private foo ...)
Function > 20 linesConsider breaking up into smaller functions
/api/dashboards/:idUse singular: /api/dashboard/:id
Query params with snake_caseUse kebab-case for query params
New API endpoint without testsAdd tests for the endpoint

Feedback format examples

For style violations:

This pure function should be named as a noun describing its return value. Consider user instead of get-user.

For missing documentation:

This public var needs a docstring explaining its purpose, inputs, and outputs.

For organization issues:

This function is only used in this namespace, so it should be marked ^:private.

For API conventions:

Query parameters should use kebab-case. Change user_id to user-id.

Related skills

FAQ

What does clojure-review do?

Review Clojure and ClojureScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing Clojure/ClojureScript code.

When should I use clojure-review?

Review Clojure and ClojureScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing Clojure/ClojureScript code.

What are common prerequisites?

--- name: clojure-review description: Review Clojure and ClojureScript code changes for compliance with Metabase coding standards, style violations, and code quality issues.

Is Clojure Review safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Databasesdatabasespipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.