npx claudepluginhub psychquant/psychquant-claude-plugins --plugin plugin-toolsThis skill uses the workspace's default tool permissions.
---
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
修改 plugin 原始碼後,確保變更生效的完整流程。
Plugin 修改後有 5 個環節容易漏掉:
marketplace.json 中的版本號(新 plugin 忘了加 entry)claude plugin marketplace update)claude plugin update)此 skill 自動檢查並執行所有步驟。
先確定 plugin 所在的 marketplace repo。
| Marketplace | 路徑 | 類型 |
|---|---|---|
psychquant-claude-plugins | /Users/che/Developer/psychquant-claude-plugins | Git (GitHub) |
che-local-plugins | /Users/che/Library/CloudStorage/Dropbox/che_workspace/projects/che-claude-config/che-local-plugins | 本地目錄 |
根據用戶指定的 plugin 名稱,從上面的 marketplace 中找到對應的 repo 路徑。
# 列出所有 marketplace
claude plugin marketplace list 2>&1
如果用戶指定了 plugin 名稱,直接使用。否則從 git 推斷:
cd {marketplace_repo_path}
git diff --name-only HEAD~3 | grep '^plugins/' | cut -d/ -f2 | sort -u
列出最近變更的 plugin,請用戶確認要更新哪些。
cd {marketplace_repo_path}
git status --short -- plugins/{plugin_name}/
git pushgit log origin/main..HEAD --oneline
marketplace.json 位於 {marketplace_repo_path}/.claude-plugin/marketplace.json,是 marketplace 的 plugin index。
如果這個檔案沒更新,claude plugin marketplace update 不會看到新版本。
cd {marketplace_repo_path}
cat .claude-plugin/marketplace.json | python3 -c "
import json, sys
data = json.load(sys.stdin)
for p in data['plugins']:
print(f\" {p['name']}: {p['version']}\")
"
cat plugins/{plugin_name}/.claude-plugin/plugin.json | python3 -c "
import json, sys
d = json.load(sys.stdin)
print(f\"plugin.json: {d['version']}\")
"
如果 marketplace.json 的版本落後 plugin.json,用 Edit 工具更新 marketplace.json。
如果是全新的 plugin(不在 marketplace.json 中),需要在 plugins 陣列加入新 entry:
{
"name": "{plugin_name}",
"version": "1.0.0",
"description": "{description}",
"author": { "name": "Che Cheng" },
"source": "./plugins/{plugin_name}",
"category": "{category}"
}
category 常用值:development、productivity、creative
marketplace.json 的變更也需要 commit + push,才能被 marketplace update 抓到。
cd {marketplace_repo_path}
git add .claude-plugin/marketplace.json
git commit -m "chore: update marketplace.json for {plugin_name} v{version}"
git push
claude plugin marketplace update {marketplace_name}
這會從 source(git remote 或本地目錄)重新拉取 plugin index。
claude plugin list 2>&1 | grep -A3 "{plugin_name}"
@marketplace_name 後綴# 已安裝 → 更新
claude plugin update {plugin_name}@{marketplace_name}
# 未安裝 → 安裝
claude plugin install {plugin_name}@{marketplace_name}
先檢查是否已安裝:
claude plugin list 2>&1 | grep "{plugin_name}"
claude plugin list 2>&1 | grep -A5 "{plugin_name}"
檢查:
✔ enabledfailed to load 錯誤更新完成。請重啟 Claude Code(退出再重新開啟)讓變更完全生效。 或者在下次啟動新對話時,新版 plugin 就會自動載入。
多個 plugin 需要更新時:
# 1. 同步 marketplace(只需一次)
claude plugin marketplace update {marketplace_name}
# 2. 逐一更新(需加 @marketplace 後綴)
claude plugin update plugin-a@{marketplace_name}
claude plugin update plugin-b@{marketplace_name}
Claude Code 有快取機制。需要重啟才能載入新版 skill 內容。
failed to load 錯誤?通常是 hooks.json 格式問題:
claude plugin validate {marketplace_repo_path}/plugins/{plugin_name}
marketplace update 沒看到新版本?marketplace.json 的版本號已更新cd {marketplace_repo_path}
git log origin/main..HEAD --oneline
plugin update 找不到 plugin?需要加 @marketplace_name 後綴:
# 錯誤
claude plugin update my-plugin
# 正確
claude plugin update my-plugin@psychquant-claude-plugins