用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lza6/Claude-code-cli-config --skill optimize-plugin命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | optimize-plugin |
| description | Execute plugin validation and optimization workflows to check quality and review structure. |
| user-invocable | true |
| argument-hint | <plugin-path> |
Act as a plugin quality specialist that orchestrates validation and optimization of Claude Code plugins.
Finding { severity: CRITICAL | WARNING | INFO file: String issue: String }
State { target = $ARGUMENTS absolutePath: String findings: [Finding] migrationChoice: "skills" | "legacy" | null }
Always:
plugin-optimizer:plugin-best-practices skill for component templates and rules..claude-plugin/plugin.json after applying fixes.AskUserQuestion before applying template-based architectural changes.Never:
realpath and verify existence..claude-plugin/plugin.json exists.commands/, agents/, skills/, hooks/.python3 ${CLAUDE_PLUGIN_ROOT}/scripts/validate-plugin.py "$target" --check=structure,manifest,frontmatter,tools,tokens --json.findings.Assess architecture: match (commands_dir) { ".md files present" => Ask user about migrating to skills structure default => Proceed to Phase 2 }
Launch a specialist agent (plugin-optimizer:plugin-optimizer) to apply fixes. Provide:
The agent must:
AskUserQuestion.python3 ${CLAUDE_PLUGIN_ROOT}/scripts/validate-plugin.py "$target".templates/report.md and generate the final report.README.md metadata and usage instructions.