Kb Restore
Description
--- argument-hint: <item-id> --version=N [--backup] [--reason=text] description: 从历史版本恢复知识条目 allowed-tools: Read, Write, Edit, Bash --- # /kb-restore - 版本恢复 ## 功能 从历史版本恢复知识条目,支持备份当前版本和递增版本号。 ## 使用方式 ### 基本用法 ``` /kb-restore 2026-01-04-105815 --version=3 从版本 3 恢复,当前版本自动备份 ``` ### 恢复并指定原因 ``` /kb-restore 2026-01-04-105815 --version=2 --reason="误删重要内容" 恢复并记录恢复原因 ``` ### 恢复前不备份 ``` /kb-restore 2026-01-04-105815 --version=3 --no-backup 直接恢复,不备份当前版本(谨慎使用) ``` ### 查看可用版本 ``` /kb-restore 2026-
Installation
Installs to ~/.claude/commands/huifer-claude-code-knowcraft-kb-restore.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/huifer/Claude-Code-KnowCraft/HEAD/.claude/commands/kb-restore.md -o ~/.claude/commands/huifer-claude-code-knowcraft-kb-restore.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development