Use when you have a written implementation plan to execute in a separate session with review checkpoints
0
0
# Install this skill:
npx skills add chiisen/skills --skill "zsh-fix"
Install specific skill from multi-skill repository
# Description
診斷並修復 Zsh 終端機歷史紀錄遺失與 Oh My Zsh 外掛失效的問題。
# SKILL.md
name: zsh-fix
description: 診斷並修復 Zsh 終端機歷史紀錄遺失與 Oh My Zsh 外掛失效的問題。
Zsh Fix Skill
這是一個專門用於處理 macOS 環境下 Zsh 與 Oh My Zsh 配置問題的技術技能。
核心功能
- 路徑修正:自動處理 Homebrew 安裝路徑與 Oh My Zsh 自定義路徑的軟連結。
- 命名規範化:確保外掛符合
[name].plugin.zsh的載入規範。 - 配置優化:檢查並修正
.zshrc中的載入順序與歷史紀錄變數。 - 損壞修復:自動修補損壞的
.zsh_history檔案。
使用時機
- 當使用者反應「沒歷史紀錄」、「上鍵沒反應」或「外掛失效」時。
- 當
source ~/.zshrc出現plugin not found報錯時。
包含資源
scripts/fix.sh: 自動化檢測與修復腳本。
執行邏輯
- 檢查
~/.zshrc中的plugins與source順序。 - 執行
scripts/fix.sh進行目錄與檔案層級的修復。 - 提供使用者正確的
.zshrc配置建議。
Reporting
在解釋修復步驟或回報結果時,必須使用 繁體中文。
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Amp
Antigravity
Claude Code
Clawdbot
Codex
Cursor
Droid
Gemini CLI
GitHub Copilot
Goose
Kilo Code
Kiro CLI
OpenCode
Roo Code
Trae
Windsurf
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.