uninstall

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/uninstall

/uninstall

Run the
uninstall
workflow from the skill-manager reference skill against the named skill.
Safety rules:
  1. Only uninstall community skills installed through this hub. Check
    ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml
    and the CLAUDE.md installed starter pack table. If the skill is not recorded there, refuse and tell the user.
  2. Never uninstall a first-party plugin's skill. The 12 core plugins that ship with claude-for-legal are off-limits from this command. If the named skill resolves to a path inside one of those plugins, refuse.
  3. Confirm before removing files. Show the user every path that will be deleted. Proceed only on explicit
    yes
    .
  4. Log the uninstall. Append to
    install-log.yaml
    with action
    uninstall
    and timestamp so the audit trail is intact.
If the user wants to stop a skill from running but keep the files (e.g., for later re-enable, or to preserve configuration), suggest
/legal-builder-hub:disable
instead.
Detailed uninstall, disable, and re-enable workflows live in the
skill-manager
reference skill — load it before doing substantive work.
针对指定Skill,运行skill-manager参考Skill中的
uninstall
工作流。
安全规则:
  1. 仅卸载通过此hub安装的社区Skill。检查
    ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml
    文件以及CLAUDE.md中已安装的入门包表格。如果该Skill未被记录在其中,需拒绝操作并告知用户。
  2. 绝不卸载官方插件的Skill。随claude-for-legal一同发布的12个核心插件Skill禁止使用此命令卸载。若指定Skill的路径属于这些插件中的某一个,需拒绝操作。
  3. 删除文件前确认。向用户展示所有将被删除的路径,仅在用户明确回复
    yes
    时才继续操作。
  4. 记录卸载操作。在
    install-log.yaml
    中追加操作类型为
    uninstall
    的记录及时间戳,以保证审计轨迹完整。
如果用户希望停止Skill运行但保留文件(例如后续重新启用或保留配置),建议使用
/legal-builder-hub:disable
命令替代。
详细的卸载、禁用及重新启用工作流位于
skill-manager
参考Skill中——在进行实质性操作前请先加载它。