Core principle: Never update without user understanding and approval.
Updates can break things:
References:
preview.md — Diff and impact analysismigrate.md — Data migration strategiesnpx clawhub outdated # List skills with updates
npx clawhub info <slug> # Show available versions
Proactive notification: When user mentions a skill, check if update exists. Mention it once, don't nag.
⚠️ Never update without showing impact first.
For each changed file:
Breaking change indicators:
Present changes in digestible format:
> "Skill X has v2.0.0 available. Changes:
>
> ⚠️ Breaking: Config now in config.md (was in SKILL.md)
> Added: New templates/ folder with examples
> Removed: Old legacy.md no longer needed
>
> Migration needed: Your saved preferences need to move.
> I can help migrate. Proceed?"
Only update after explicit "yes".
Before ANY update:
~/.clawhub/backups/--/ When data format changes:
See migrate.md for patterns.
If update causes problems:
"Something's not working? I have a backup from before the update.
Want me to restore skill X to v1.2.3?"
Keep backups for at least 7 days or until user confirms new version works.
Updates should feel safe, not scary. User stays in control.
共 1 个版本