/ 目錄 / 演練場 / 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