SuperClaude 安裝筆記

SkyChoy
12 分鐘閱讀

安裝 SuperClaude

我是用uv 安裝的,你可用自己的 pipxpip3 之類的去安裝? 不過我試了幾次,不知為什麼uv會比較順利

uv pip install SuperClaude

安裝後基本的 PATH 設定

source ~/.zshrc

驗證一下是否已成功安裝

SuperClaude --help

配置SuperClaude

SuperClaude install

SuperClaude MCP選擇

═══════════════════════════════════════════════════
Stage 1: MCP Server Selection (Optional)
═══════════════════════════════════════════════════

MCP servers extend Claude Code with specialized capabilities.
Select servers to configure (you can always add more later):

Select MCP servers to configure:
================================
 1. [ ] sequential-thinking - Multi-step problem solving and systematic analysis
 2. [ ] context7 - Official library documentation and code examples
 3. [ ] magic - Modern UI component generation and design systems
 4. [ ] playwright - Cross-browser E2E testing and automation
 5. [ ] serena - Semantic code analysis and intelligent editing
 6. [ ] morphllm - Fast Apply capability for context-aware code modifications
 7. [ ] Skip MCP Server installation

Enter numbers separated by commas (e.g., 1,3,5) or 'all' for all options:
> all

這邊我選擇all,或者你可選 1,2,3,5,64是他模擬瀏覽器幫你測試,如果你習慣自己去瀏覽器長期刷新,就可不安裝4

簡單解釋一下各個MCP

✅ sequential-thinking - 必選 多步驟問題解決和系統分析。對全棧開發者極其重要,幫你拆解複雜的技術問題,規劃架構設計。

✅ context7 - 必選 官方庫文檔和代碼示例。直接訪問 Laravel、Alpine.js、Tailwind、Livewire、React Native 的最新文檔,節省大量查找時間。

✅ magic - 推薦 現代 UI 組件生成和設計系統。對於需要快速構建界面的一人團隊很有價值,特別是 Tailwind + Alpine.js 組件。

⚠️ playwright - 可選 跨瀏覽器 E2E 測試。如果你重視自動化測試就選,但一人團隊可能優先級較低。

✅ serena - 推薦 語義代碼分析和智能編輯。幫你重構代碼、找 bug、優化性能,對維護大型專案很有用。

✅ morphllm - 強烈推薦 快速應用上下文感知的代碼修改。這個對一人團隊超有價值,能大幅提升開發效率。

SuperClaude Components(全部建議選擇)


═══════════════════════════════════════════════════
Stage 2: Framework Component Selection
═══════════════════════════════════════════════════

Select SuperClaude framework components to install:

Select components (Core is recommended):
========================================
 1. [ ] core - SuperClaude framework documentation and core files
 2. [ ] modes - SuperClaude behavioral modes (Brainstorming, Introspection, Task Management, Token Efficiency)
 3. [ ] commands - SuperClaude slash command definitions
 4. [ ] agents - 14 specialized AI agents with domain expertise and intelligent routing
 5. [ ] mcp_docs - MCP documentation for sequential-thinking, context7, magic, playwright, serena, morphllm (auto-selected)

Enter numbers separated by commas (e.g., 1,3,5) or 'all' for all options:
> all

✅ core - 必選 框架核心,沒這個其他都用不了。

✅ modes - 必選 行為模式切換,讓 Claude 在不同場景下有不同表現(腦力激盪、內省、任務管理、效率模式)。

✅ commands - 必選 斜槓命令,快速執行特定功能。

✅ agents - 強烈推薦 14 個專業 AI 代理,涵蓋前端、後端、DevOps、測試等領域,相當於有了 14 個專業顧問。

✅ mcp_docs - 自動選擇 文檔支持,會根據你選的 MCP servers 自動配置。

最後...

之後再按提示回應幾次Y 確認進行下一步就可以

使用SuperClaude

好像平時一樣打開claude-code,進入claude-code後,當你輸入 /sc時會有新的指令

有關指令可查看官方文檔

SpuerClaude Command Docs

SpuerClaude Command 中文文檔

移除 SuperClaude

SuperClaude uninstall 

有關 serena dashboard

你安裝SuperClaude後,執行claude時會經常彈出 serena 的dashboard 一般是這樣的網址: http://127.0.0.1:24282/dashboard/index.html

自問不是太想了解,但又一樣被影響,所以研究了關閉這個顯示

vi ~/.serena/serena_config.yml

找到web_dashboard: true 改為 web_dashboard: false 就好

# web_dashboard: true
web_dashboard: false