SpecKit Safe Update
This skill provides safe update capabilities for GitHub SpecKit installations, preserving customizations while applying template updates.
Installation: Available via plugin (/plugin marketplace add NotMyself/claude-plugins then /plugin install speckit-updater) or manual Git clone. See README.md for details.
When the user invokes /speckit-updater, you should:
Run the update orchestrator script without any flags (conversational mode):
pwsh -NoProfile -Command "& 'C:\Users\bobby\.claude\skills\speckit-updater\scripts\update-wrapper.ps1'"
Parse the output for markers:
[PROMPT_FOR_APPROVAL] - Update scenario (existing SpecKit installation)[PROMPT_FOR_INSTALL] - Fresh installation scenario (no .specify/ directory)For Updates ([PROMPT_FOR_APPROVAL] marker found):
-Proceed flagFor Fresh Installations ([PROMPT_FOR_INSTALL] marker found):
-Proceed flag to the user (this is an implementation detail)-Proceed flagExecute approved action by re-running with -Proceed flag:
pwsh -NoProfile -Command "& 'C:\Users\bobby\.claude\skills\speckit-updater\scripts\update-wrapper.ps1' -Proceed"
Special cases:
-CheckOnly: run with that flag and show the report-Rollback: run with that flag and confirm restoration-Version: include that parameterUpdates SpecKit templates, commands, and scripts while preserving customizations.
Usage:
/speckit-updater - Interactive update/install with conversational approval workflow (recommended for Claude Code)/speckit-updater -Proceed - Proceed with update/install after approval (used by Claude after user confirms)/speckit-updater -CheckOnly - Check for updates without applying/speckit-updater -Version v0.0.72 - Update to specific version/speckit-updater -Force - Force overwrite SpecKit files (preserves custom commands)/speckit-updater -Rollback - Restore from previous backup/speckit-updater -Auto - DEPRECATED: Use conversational workflow instead (shows warning, maps to -Proceed)Fresh Installation (No .specify/ directory):
[PROMPT_FOR_INSTALL] marker-Proceed flag automatically (implementation detail hidden from user).specify/ structure, downloads templates, creates manifestProcess:
When you invoke this command, I will:
[PROMPT_FOR_APPROVAL] for updates, [PROMPT_FOR_INSTALL] for fresh installations)-Proceed flag)-Proceed flag to executeConversational Workflow: The skill uses a two-step approval process:
-Proceed → applies updatesRequirements:
The script is located at: {skill_path}/scripts/update-wrapper.ps1 (entry point) and {skill_path}/scripts/update-orchestrator.ps1 (main logic)
Entry point command:
pwsh -NoProfile -Command "& '{skill_path}/scripts/update-wrapper.ps1' [parameters]"
Note: Both PowerShell-style (-CheckOnly) and Linux-style (--check-only) flags are supported via the wrapper script.
.specify/manifest.json with file hashes, version info, and backup history.specify/backups/ with automatic retention management--check-only shows exactly what would change without applying updates/speckit.constitution)--force| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Prerequisites not met |
| 3 | Network/API error |
| 4 | Git error |
| 5 | User cancelled |
| 6 | Rollback required (automatic) |