/ 目录 / 演练场 / woodshed
● 社区 gaearon ⚡ 即开即用

woodshed

作者 gaearon · gaearon/woodshed

Create, run, rate, and iterate your Claude Skills — Dan Abramov's skill-workshop skill, a meta-loop for getting skills actually good.

A meta-skill for authoring other skills. Scaffolds a new skill, runs it on test cases, asks you to rate the output, and uses the feedback to iterate on the skill's prompts. Based on Dan Abramov's 'woodshedding' methodology — deliberate practice applied to skill authoring.

为什么要用

核心特性

实时演示

实际使用效果

woodshed-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

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

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

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

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

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

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

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

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

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

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

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

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

claude mcp add woodshed-skill -- git clone https://github.com/gaearon/woodshed ~/.claude/skills/woodshed

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

使用场景

实战用法: woodshed

Author a new skill and iterate it to 'actually works'

👤 Skill authors who've noticed their first drafts don't survive real use ⏱ ~120 min advanced

何时使用: You have an idea for a skill but every time you write one, it degrades after 3 uses.

前置条件
  • Skill installed — git clone https://github.com/gaearon/woodshed ~/.claude/skills/woodshed
步骤
  1. Scaffold
    Use woodshed. Create a new skill called 'changelog-writer' that turns git logs into user-facing changelogs.✓ 已复制
    → skills/changelog-writer/ created with SKILL.md
  2. Create test cases
    Generate 5 diverse test inputs.✓ 已复制
    → tests/ folder with 5 sample git log fixtures
  3. Run and rate
    Run the skill on each. Show me the output; I'll rate.✓ 已复制
    → Outputs presented with rating slots
  4. Iterate based on ratings
    Based on my ratings, suggest prompt changes to SKILL.md. Don't apply yet.✓ 已复制
    → Proposed diff with rationale per change

结果: A skill that works on your real use cases, not just the demo.

注意事项
  • Overfitting to test cases — Hold out some tests; re-run after every iteration to catch regressions
搭配使用: filesystem

Improve a skill that's been disappointing you

👤 Anyone with a skill installed they're unhappy with ⏱ ~60 min intermediate

何时使用: You have a skill that half-works and you can't tell why.

步骤
  1. Characterize the failures
    Use woodshed. Here's a skill I installed. Here are 3 sessions where it underperformed. Diagnose.✓ 已复制
    → Pattern in failures — instruction gap, example gap, framing issue
  2. Propose fixes
    Propose minimal SKILL.md edits to address those patterns.✓ 已复制
    → Specific diffs

结果: A skill you can trust.

组合

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

woodshed-skill + skill-fetch-skill

Find skills with skill-fetch, improve them with woodshed

Find a changelog-writer skill; install; run woodshed on it to tune for my repo.✓ 已复制
woodshed-skill + filesystem

Persist iteration history across sessions

Keep woodshed logs in skills/<name>/.woodshed/ for traceability.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
scaffold_skill skill name, goal New skill 0
run_tests skill + test set Evaluating 0
capture_rating rating + notes After each test 0
iterate_prompt skill + ratings After a rating round 0

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
High during iteration (many test runs)
费用
Free (Claude API usage applies)
提示
Keep test sets small — 5 tests beats 50 that never get reviewed.

安全

权限、密钥、影响范围

凭据存储: None
数据出站: None from skill

故障排查

常见错误与修复

Iteration keeps changing but doesn't improve

Your test set is too narrow; add diverse cases

Skill works in woodshed but not in real use

Production prompts differ from test fixtures; add real-session logs to the test set

替代方案

woodshed 对比其他方案

替代方案何时用它替代权衡
Hand-tuning SKILL.md without loopSimple skills with obvious promptsSlower convergence; easier to miss regressions
claude-skills-vault-skillYou want ready-made skills, not authoring toolsDifferent goal

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

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