/ 目錄 / 演練場 / claude-code-skills
● 社群 levnikolaevich ⚡ 即開即用

claude-code-skills

作者 levnikolaevich · levnikolaevich/claude-code-skills

專為 Claude Code 設計的 7 個外掛套件,包含 135+ 個技能與 3 個內建 MCP(雜湊驗證編輯、程式碼圖譜、遠端 SSH)——涵蓋完整軟體開發生命週期。

claude-code-skills (levnikolaevich) 整合了敏捷工作流程、技術文件、程式碼審查、專案初始化、效能最佳化、社群協作與環境設定等外掛。內建 hex-line(雜湊驗證編輯)、hex-graph(程式碼知識圖譜)與 hex-ssh 三個 MCP。採 MIT 授權,完全開源。

為什麼要用

核心特性

即時演示

實際使用效果

claude-code.replay ▶ 就緒
0/0

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "claude-code": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-skills"
      ],
      "_inferred": true
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "claude-code": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "claude-code": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-skills"
      ],
      "_inferred": true
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "claude-code": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-skills"
      ],
      "_inferred": true
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "claude-code",
      "command": "npx",
      "args": [
        "-y",
        "claude-code-skills"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "claude-code": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "claude-code-skills"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add claude-code -- npx -y claude-code-skills

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: claude-code-skills

透過 claude-code-skills 以整潔架構初始化新專案

👤 獨立開發者、新創創辦人 ⏱ ~30 min intermediate

何時使用: 您希望有一個結構化的起點,而非從空目錄開始。

前置條件
  • 已安裝 Claude Code — claude.ai/code
步驟
  1. 安裝市集
    Add the claude-code-skills marketplace and install 'Project Bootstrap'.✓ 已複製
    → 外掛安裝完成且指令可用
  2. 建立專案骨架
    Use the bootstrap skill to scaffold a Python FastAPI project with Clean Architecture: domain / application / infrastructure / interfaces layers.✓ 已複製
    → 包含標準分層結構的目錄樹與範例模組
  3. 設定開發環境
    Use Setup Environment to add pre-commit, linters, test runner.✓ 已複製
    → 開箱即用的 make test

結果: 一個從第一天就具備完善結構的專案,省去未來重構的麻煩。

使用 claude-code-skills 進行多模型程式碼審查

👤 需要交叉驗證 AI 審查結果的團隊 ⏱ ~20 min advanced

何時使用: 在合併重要 PR 之前,您希望獲得多個模型的意見。

前置條件
  • 已設定 Codex 與 Gemini API 金鑰 — 外掛文件中說明了對應的環境變數名稱
步驟
  1. 執行審查技能
    Use the Agile Workflow plugin's review skill on PR #123. Run Codex and Gemini in parallel; fall back to Claude if either times out.✓ 已複製
    → 三欄式審查報告:資安、架構、程式風格
  2. 彙整分歧意見
    Where do the models disagree? Highlight those for human review.✓ 已複製
    → 分歧清單——這是最有價值的部分

結果: 一份能發現單一模型遺漏問題的審查報告。

搭配使用: github

使用文件流水線自動產生並維護技術文件

👤 文件嚴重落後的團隊 ⏱ ~40 min intermediate

何時使用: 您的 README 與架構文件已好幾個月未曾更新。

步驟
  1. 執行框架偵測與初始產生
    Run the Documentation Pipeline on this repo. Detect framework, generate README, architecture.md, and contributing.md.✓ 已複製
    → 根據實際程式碼產生的草稿文件
  2. 在 CI 中設定自動更新
    Add a CI job that regenerates doc sections marked <!-- AUTOGEN --> on every merge.✓ 已複製
    → 文件保持即時更新

結果: 與程式碼庫同步的活文件,以原始碼為唯一真實來源。

對程式碼庫執行全面審計(資安、品質、架構)

👤 接手既有程式碼庫的技術主管 ⏱ ~60 min intermediate

何時使用: 接手新專案的第一週——您需要一張全局地圖與風險清單。

步驟
  1. 執行審計
    Run the Codebase Audit Suite. Return security, quality, architecture, test-coverage findings ranked by impact.✓ 已複製
    → 依影響程度排序的問題清單,並附上檔案引用
  2. 轉入待辦清單
    Convert top-10 findings into GitHub issues with labels.✓ 已複製
    → 待辦清單已建立

結果: 清楚掌握應優先修復哪些問題。

搭配使用: github

組合

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

claude-code + github

審計發現問題 → 建立 Issue → 透過同一套件產生 PR

Run the audit, create issues for the top 10 findings, then draft PRs for the first 3.✓ 已複製
claude-code + hyper

以單一 hyper-mcp 主機取代各式雜項 MCP

Keep hex-line/graph/ssh; retire unrelated npm MCPs in favor of signed plugins in hyper-mcp.✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
hex-line (MCP) file edit ops with hash verification 當編輯正確性至關重要時使用——可避免「幽靈編輯」類錯誤 0
hex-graph (MCP) codebase queries 瀏覽符號參考、呼叫者與匯入關係 0 after index
hex-ssh (MCP) host, command 透過 SSH 在開發或正式環境主機上執行指令,並留下稽核記錄 0

成本與限制

運行它的成本

API 配額
消耗您自己的 LLM 配額,以及各 MCP 所呼叫的額外資源
每次呼叫 Token 數
審計技能單次可能消耗 20k+ tokens——但對每個專案只需執行一次,相當值得
費用
免費,MIT 授權
提示
只安裝您實際需要的外掛——7 個同時啟用會讓人難以招架

安全

權限、密鑰、影響範圍

憑證儲存: hex-ssh 的 SSH 金鑰透過標準 ~/.ssh 管理;本套件不儲存任何機密資訊
資料出站: 取決於已啟用的外掛
切勿授予: broad SSH to prod without audit

故障排查

常見錯誤與修復

Plugin commands missing after install

重新啟動 Claude Code;外掛登錄檔在工作階段開始時才會載入

Multi-model review times out on one model

外掛會自動回退至 Claude——請查看日誌以確認是哪個模型失敗及其原因

hex-ssh fails with auth error

SSH 設定必須能在無互動提示的情況下運作;請使用金鑰驗證而非密碼

驗證: ssh -o BatchMode=yes user@host true

替代方案

claude-code-skills 對比其他方案

替代方案何時用它替代權衡
Individual MCPs composed yourself您偏好自行挑選工具,而非使用整合套件需要更多設定;無共用的協調模型
Cursor Rules + built-ins您使用的是 Cursor 而非 Claude Code不同的生態系統

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

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