/ 目錄 / 演練場 / antivibe
● 社群 mohi-devhub ⚡ 即開即用

antivibe

作者 mohi-devhub · mohi-devhub/antivibe

停止盲目依賴 AI 產出程式碼。Claude 寫完程式後,這個技能會帶你逐步理解它寫了什麼——變數、取捨、替代方案——讓你真正學會。

antivibe 將 AI 產生的程式碼轉化為學習機會。每次產出程式碼區塊後,此技能會引導 Claude 解釋它的做法:為什麼選擇這個模式、替代方案有哪些、潛在的 bug 可能藏在哪裡。專為想要真正進步、而不只是複製貼上的開發者設計。

為什麼要用

核心特性

即時演示

實際使用效果

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

在 Claude 撰寫程式的同時學習新框架

👤 正在熟悉陌生框架的開發者(Svelte、Rust、Go) ⏱ ~20 min beginner

何時使用: 你平常會直接複製 Claude 的輸出然後碰運氣,現在你想要真正理解它在做什麼。

前置條件
  • 已安裝技能 — git clone https://github.com/mohi-devhub/antivibe ~/.claude/skills/antivibe
步驟
  1. 像平常一樣要求產生程式碼
    Use antivibe. Write a Svelte 5 store for user authentication.✓ 已複製
    → 程式碼區塊 + 教學說明,解釋 runes、$state、$derived 的用法
  2. 詢問替代方案
    What other approaches did you consider? Why this one?✓ 已複製
    → 列出具名的替代方案及各自的取捨
  3. 測試理解程度
    Quiz me — ask 3 questions about what this code does.✓ 已複製
    → 真正針對程式碼內容的測驗問題,而非瑣碎知識題

結果: 進入你專案的程式碼,你能理解並且有能力維護。

注意事項
  • 趕時間時跳過說明流程 — 暫時性的試驗程式碼可關閉此技能,任何會合併的程式碼則開啟

讓 Claude 以 antivibe 風格審查你自己寫的程式碼

👤 想要獲得批判性第二意見的開發者 ⏱ ~15 min intermediate

何時使用: 你完成了某段實作,想要用老師的眼光重新審視它。

步驟
  1. 提交程式碼
    Use antivibe. Here's my implementation [...] — review it like you'd teach it.✓ 已複製
    → 逐段的教學評注
  2. 詢問資深工程師會有什麼看法
    What would a senior engineer on this codebase push back on?✓ 已複製
    → 具體的質疑意見,而非「加測試就好」

結果: 有具體改善方向,並且能內化其背後的理由。

注意事項
  • Claude 變成只會說好話的捧場機器 — 明確下指示:「保持懷疑態度;假設程式碼是錯的,直到被證明是對的」
搭配使用: filesystem

為 PR 說明撰寫具有教學品質的解釋

👤 透過 PR 帶領新人的資深開發者 ⏱ ~15 min beginner

何時使用: 你希望 PR 說明同時也是一份教學文件。

步驟
  1. 提供 diff 內容
    Use antivibe. Write a PR description that explains to a mid-level dev why each change is there.✓ 已複製
    → PR 內文包含每個修改區塊的設計理由

結果: 讓團隊成員真正願意閱讀的 PR 說明。

搭配使用: github

組合

與其他 MCP 搭配,撬動十倍槓桿

antivibe-skill + github

以 antivibe 風格的說明作為 PR 的行內評論發布

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

逐一帶領新人理解程式碼庫中的每個檔案

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

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
explain_code code block 程式碼產生後立即使用 0
list_alternatives code + goal 深化理解時使用 0
quiz_me code block 測試實際理解程度時使用 0

成本與限制

運行它的成本

API 配額
None
每次呼叫 Token 數
比單純產生程式碼消耗更多 token——額外的說明流程大約會讓 token 用量翻倍
費用
Free
提示
只對關鍵程式碼使用;重複性的樣板程式碼可略過。

安全

權限、密鑰、影響範圍

憑證儲存: None
資料出站: Local prompts; code sent to Claude API per normal operation

故障排查

常見錯誤與修復

Explanation is just a restatement of the code

明確要求列出替代方案和潛在問題;Claude 有時會預設只做字面上的改寫

Skill doesn't trigger

在提示中明確呼叫技能名稱,並提及「antivibe style」

驗證: ls ~/.claude/skills/antivibe/SKILL.md

替代方案

antivibe 對比其他方案

替代方案何時用它替代權衡
Native Claude Code without skill臨時性的教學需求結果不穩定;每次都依賴提示的品質
Reading docs + pair programming追求真正的深度掌握速度較慢;但品質更高

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills