/ 目录 / 演练场 / antivibe
● 社区 mohi-devhub ⚡ 即开即用

antivibe

作者 mohi-devhub · mohi-devhub/antivibe

Stop vibe-coding. After Claude writes code, this skill makes it walk you through what it wrote — variables, tradeoffs, alternatives — so you learn it.

antivibe turns AI-generated code into an educational moment. After a code block is produced, the skill prompts Claude to explain what it did: why each pattern, what the alternatives were, where the subtle bugs might live. Designed for devs who want to level up, not just ship copy-paste.

为什么要用

核心特性

实时演示

实际使用效果

antivibe-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

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

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

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

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

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

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

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

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

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

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

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

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

claude mcp add antivibe-skill -- git clone https://github.com/mohi-devhub/antivibe ~/.claude/skills/antivibe

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

使用场景

实战用法: antivibe

Learn a new framework while Claude writes in it

👤 Devs picking up an unfamiliar framework (Svelte, Rust, Go) ⏱ ~20 min beginner

何时使用: You'd normally copy Claude's output and hope for the best. Instead, you want to understand.

前置条件
  • Skill installed — git clone https://github.com/mohi-devhub/antivibe ~/.claude/skills/antivibe
步骤
  1. Ask for code as usual
    Use antivibe. Write a Svelte 5 store for user authentication.✓ 已复制
    → Code block + teaching pass explaining runes, $state, $derived
  2. Ask for alternatives
    What other approaches did you consider? Why this one?✓ 已复制
    → Named alternatives with tradeoffs
  3. Probe understanding
    Quiz me — ask 3 questions about what this code does.✓ 已复制
    → Actual quiz questions, not a quiz on trivia

结果: Code in your repo you understand and can maintain.

注意事项
  • Skipping the explanation pass when in a hurry — Turn the skill off for throwaway spike code, on for anything you'll merge

Have Claude review code you wrote, antivibe-style

👤 Devs who want a critical second look ⏱ ~15 min intermediate

何时使用: You wrote something and want a teacher's eye on it.

步骤
  1. Submit the code
    Use antivibe. Here's my implementation [...] — review it like you'd teach it.✓ 已复制
    → Per-section commentary
  2. Ask what a senior would say
    What would a senior engineer on this codebase push back on?✓ 已复制
    → Specific pushback, not 'add tests'

结果: Concrete improvements with reasoning you internalize.

注意事项
  • Claude becomes a hype machine — Prompt explicitly: 'be skeptical; assume the code is wrong until proven'
搭配使用: filesystem

Produce teaching-quality explanations for a PR description

👤 Senior devs onboarding juniors through PRs ⏱ ~15 min beginner

何时使用: You want the PR description to double as a teaching doc.

步骤
  1. Feed the diff
    Use antivibe. Write a PR description that explains to a mid-level dev why each change is there.✓ 已复制
    → PR body with rationale per chunk

结果: PR descriptions your team actually reads.

搭配使用: github

组合

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

antivibe-skill + github

Post antivibe-style explanations as inline PR comments

Review this PR with antivibe and leave teaching comments on non-obvious lines.✓ 已复制
antivibe-skill + filesystem

Walk a junior through a codebase file by file

Use antivibe to explain each file in src/auth/ as if onboarding a new engineer.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
explain_code code block Right after generation 0
list_alternatives code + goal Deepening understanding 0
quiz_me code block Testing actual understanding 0

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
Higher than bare generation — the extra explanation pass doubles tokens roughly
费用
Free
提示
Use for signal code only; skip for repetitive boilerplate.

安全

权限、密钥、影响范围

凭据存储: None
数据出站: Local prompts; code sent to Claude API per normal operation

故障排查

常见错误与修复

Explanation is just a restatement of the code

Prompt for alternatives and pitfalls explicitly; Claude sometimes defaults to paraphrase

Skill doesn't trigger

Invoke by name and reference 'antivibe style' in prompts

验证: ls ~/.claude/skills/antivibe/SKILL.md

替代方案

antivibe 对比其他方案

替代方案何时用它替代权衡
Native Claude Code without skillAd-hoc teaching requestsInconsistent; depends on prompt each time
Reading docs + pair programmingReal masterySlower; higher quality

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

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