docs(zh-CN): add prune command translation

This commit is contained in:
cjp
2026-03-23 13:41:59 +08:00
parent 4811e8c73b
commit e22cb57718
2 changed files with 31 additions and 391 deletions

View File

@@ -0,0 +1,31 @@
---
name: prune
description: 删除超过 30 天且从未被提升的待处理 instinct
command: true
---
# 清理待处理 Instinct
删除那些由系统自动生成、但从未经过审查或提升的过期待处理 instinct。
## 实现
使用插件根目录路径运行 instinct CLI
```bash
python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" prune
```
或者当 `CLAUDE_PLUGIN_ROOT` 未设置时(手动安装):
```bash
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py prune
```
## 使用方法
```
/prune # 删除超过 30 天的 instinct
/prune --max-age 60 # 自定义年龄阈值(天)
/prune --dry-run # 仅预览,不实际删除
```