Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问clear审计通过

clojure-writeClojure 写

Agent Skill

clojure-write 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,932

周安装

451

GitHub Stars

47,072

下载量

3,572
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:clojure-write(Clojure 写)
来源仓库:https://github.com/metabase/metabase
仓库路径:skills/clojure-write
安装命令:
npx skills add https://github.com/metabase/metabase --skill clojure-write
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/metabase/metabase --skill clojure-write

简介

Metabase 项目的 Clojure 开发辅助工具,集成 REPL 驱动开发工作流。

  • 适用于 Metabase 源码修改、插件开发和数据库查询逻辑调试场景。
  • 优先使用 clojure_eval 等 MCP 工具,仅在不可用时回退到 mage 命令行。
  • 代码变更后应通过 REPL 验证再提交,避免破坏现有测试用例通过率。
  • clojure-write 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Clojure Development Skill

Tool Preference

When clojure-mcp tools are available (e.g., clojure_eval, clojure_edit), always use them instead of shell commands like ./bin/mage -repl. The MCP tools provide:

  • Direct REPL integration without shell escaping issues
  • Better error messages and feedback
  • Structural Clojure editing that prevents syntax errors

Only fall back to ./bin/mage commands when clojure-mcp is not available.

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

REPL-Driven Development Workflow

  • Start with small, fundamental functions:
  • Identify the core features or functionalities required for your task.
  • Break each feature down into the smallest, most basic functions that can be developed and tested independently.
  • Write and test in the REPL:

- Write the code for each small function directly in the REPL (Read-Eval-Print Loop). - Test it thoroughly with a variety of inputs, including typical use cases and relevant edge cases, to ensure it behaves as expected.

  • Integrate into source code:

- Once a function works correctly in the REPL, move it from the REPL environment into your source code files (e.g., within appropriate namespaces).

  • Gradually increase complexity:

- Build upon tested, basic functions to create more complex functions or components. - Compose smaller functions together, testing each new composition in the REPL to verify correctness step by step.

  • Ensure dependency testing:

- Make sure every function is fully tested in the REPL before it is depended upon by other functions. - This ensures that each layer of your application is reliable before you build on it.

  • Use the REPL fully:

- Use the REPL as your primary tool to experiment with different approaches, iterate quickly, and get immediate feedback on your code.

  • Follow functional programming principles:

- Keep functions small, focused, and composable. - Use Clojure's functional programming features—like immutability, higher-order functions, and the standard library—to write concise, effective code.

How to Evaluate Code

Bottom-up Dev Loop

  1. Write code into a file.
  2. Evaluate the file's namespace and make sure it loads correctly with:
./bin/mage -repl --namespace metabase.app-db.connection
  1. Call functions in the namespace with test inputs, and observe that the outputs are correct Feel free to copy these REPL session trials into actual test cases using deftest and is.
  2. Once you know these functions are good, return to 1, and compose them into the task that you need to build.

Critical Rules for Editing

  • Be careful with parentheses counts when editing Clojure code
  • After EVERY change to Clojure code, verify readability with -check-readable
  • End all files with a newline
  • When editing tabular code, where the columns line up, try to keep them aligned
  • Spaces on a line with nothing after it is not allowed

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.49%
按下载量换算1,018

OpenCode

22.58%
按下载量换算807

Gemini CLI

16.89%
按下载量换算603

Cursor

11.71%
按下载量换算418

Codex

7.45%
按下载量换算266

Antigravity

3.67%
按下载量换算131

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/metabase/metabase --skill clojure-write;npx skills add metabase/metabase --skill "clojure-write" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills