/ 目录 / 演练场 / julia-agent-skills
● 社区 JuliaGenAI ⚡ 即开即用

julia-agent-skills

作者 JuliaGenAI · JuliaGenAI/julia-agent-skills

JuliaGenAI's skill collection for AI agents writing Julia — starts with DocumenterVitepress.jl, aimed to expand across the Julia ecosystem.

julia-agent-skills is an early-stage collection of Julia-specific skills for Claude Code, Cursor, Gemini CLI, and other agent-skill-compatible tools. At time of writing, the documented skill is documenter-vitepress, which teaches agents to set up and iterate on Julia documentation sites built with DocumenterVitepress.jl. The repo is maintained by JuliaGenAI — the community behind Julia's GenAI tooling.

为什么要用

核心特性

实时演示

实际使用效果

julia-agent-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "julia-agent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/JuliaGenAI/julia-agent-skills",
        "~/.claude/skills/julia-agent-skills"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "julia-agent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/JuliaGenAI/julia-agent-skills",
        "~/.claude/skills/julia-agent-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "julia-agent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/JuliaGenAI/julia-agent-skills",
        "~/.claude/skills/julia-agent-skills"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "julia-agent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/JuliaGenAI/julia-agent-skills",
        "~/.claude/skills/julia-agent-skills"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "julia-agent-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/JuliaGenAI/julia-agent-skills",
        "~/.claude/skills/julia-agent-skills"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "julia-agent-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/JuliaGenAI/julia-agent-skills",
          "~/.claude/skills/julia-agent-skills"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add julia-agent-skill -- git clone https://github.com/JuliaGenAI/julia-agent-skills ~/.claude/skills/julia-agent-skills

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: julia-agent-skills

Bootstrap a DocumenterVitepress.jl documentation site for a Julia package

👤 Julia package maintainers ⏱ ~30 min intermediate

何时使用: You have a Julia package and want modern Vitepress-based docs instead of default Documenter HTML.

前置条件
  • Skill cloned — git clone https://github.com/JuliaGenAI/julia-agent-skills ~/.claude/skills/julia-agent-skills
  • Julia ≥ 1.10 installed — juliaup default release
步骤
  1. Ask the skill to scaffold docs
    Use documenter-vitepress skill — set up DocumenterVitepress.jl docs for MyPackage.jl.✓ 已复制
    → Claude creates docs/ with Project.toml, make.jl, index.md configured for Vitepress
  2. Run the local preview
    Give me the exact commands to preview locally.✓ 已复制
    → julia --project=docs docs/make.jl + npm dev server instructions
  3. Wire up CI
    Add GitHub Actions to deploy to gh-pages on main.✓ 已复制
    → Standard Julia doc-deploy workflow YAML

结果: A working docs site you can extend.

注意事项
  • Version mismatch between DocumenterVitepress.jl and node/vitepress — Pin versions as the skill suggests; DocumenterVitepress releases move fast
搭配使用: github

Iterate on docs theme and sidebar structure

👤 Maintainers unhappy with defaults ⏱ ~20 min intermediate

何时使用: Docs work but the navigation / theme isn't landing.

步骤
  1. Describe the change
    documenter-vitepress — reorganize sidebar into Getting Started / Tutorials / API / Design sections.✓ 已复制
    → Vitepress config diff matching Julia docs conventions
  2. Preview and tune
    Preview looks off on dark mode — fix the code-block contrast.✓ 已复制
    → Specific CSS / theme override, not guessing

结果: Docs that actually match your package's story.

组合

与其他 MCP 搭配,撬动十倍杠杆

julia-agent-skill + github

Open a PR adding Vitepress docs to a Julia package

Scaffold the docs and open a PR to MyPackage.jl with the new docs/ and CI workflow.✓ 已复制
julia-agent-skill + filesystem

Edit docs content alongside setup in one session

Set up DocumenterVitepress, then write index.md and Getting Started pages.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
scaffold_docs package name + basic info First-time docs setup 0
update_config desired change (sidebar, theme, plugin) Tuning existing Vitepress setup 0
ci_deploy repo + target branch (usually gh-pages) Automating deploys 0

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
Small — config + boilerplate
费用
Free — skills are local files
提示
Docs work is modest context; no special budget needed.

安全

权限、密钥、影响范围

凭据存储: No credentials — pure prompts
数据出站: None

故障排查

常见错误与修复

Skill not invoked — Claude sets up plain Documenter.jl instead

Say 'use documenter-vitepress skill' explicitly.

验证: ls ~/.claude/skills/julia-agent-skills/
SKILL.md frontmatter wrong

Check the documenter-vitepress subfolder.

验证: head ~/.claude/skills/julia-agent-skills/documenter-vitepress/SKILL.md
Wrong trigger keywords — plain Documenter.jl output

'Vitepress' is the key word; without it, Claude will default to HTML Documenter.

替代方案

julia-agent-skills 对比其他方案

替代方案何时用它替代权衡
Plain Documenter.jlYou want the classic Julia docs look with no JS build stepLess modern UI, simpler setup
VitePress hand-rolledNon-Julia projectNo Julia package integration (doctests, @docs blocks)

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills