speckit-updater
它能做什么
这个助手可以帮你安全地更新 SpecKit(一套与 GitHub 配合使用的工具),在应用更新的同时保留你的自定义修改。
适用场景
- ✓你需要更新 SpecKit,同时保留自己的修改时。
- ✓第一次在项目中安装 SpecKit 时。
- ✓希望在你确认之后才进行 SpecKit 更新时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/speckit-updater/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我在项目里更新 SpecKit 吧?”
每周 5 个新技能,1 分钟读完。
工作原理
它会运行一个脚本,检查是否有可用更新,展示将要更改的内容,然后在应用更改或安装 SpecKit 之前征求你的同意。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
SpecKit Safe Update
This skill provides safe update capabilities for GitHub SpecKit installations, preserving customizations while applying template updates.
Installation: Before adding any marketplace or manual clone, inspect the exact plugin revision and every bundled file, report scripts and network or filesystem behavior, and ask for explicit user approval. Do not install a moving branch directly into an active agent directory.
When to Use
- You need to update or install SpecKit templates while preserving project customizations.
- You want a safe approval flow around update, rollback, or version-specific SpecKit operations.
- The task is to operate the SpecKit updater conversationally instead of running raw commands blindly.
What to do when this skill is invoked
When the user invokes /speckit-updater, you should:
Run the update orchestrator script without any flags (conversational mode):
pwsh -NoProfile -File "<skill_path>/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):- Present the Markdown summary showing:
- Current version vs. available version
- Files to update/add/remove
- Conflicts detected (if any)
- Files preserved (customized)
- Backup location
- Custom commands
- Ask the user for approval to proceed with the update
- If approved, re-run with
-Proceedflag - If declined, inform the user the update was cancelled
- Present the Markdown summary showing:
For Fresh Installations (
[PROMPT_FOR_INSTALL]marker found):- Present a natural installation offer to the user, such as:
- "SpecKit is not currently installed in this project. Would you like me to install it?"
- "I can install the latest SpecKit templates for you. This will create the .specify/ directory structure and download the templates from GitHub."
- Do NOT mention the
-Proceedflag to the user (this is an implementation detail) - If user approves (says "yes", "proceed", "install it", etc.), re-run with
-Proceedflag - If user declines, inform them the installation was cancelled
- Present a natural installation offer to the user, such as:
Execute approved action by re-running with
-Proceedflag:pwsh -NoProfile -File "<skill_path>/scripts/update-wrapper.ps1" -Proceed
Special cases:
- If user requests
-CheckOnly: run with that flag and show the report - If user requests
-Rollback: run with that flag and confirm restoration - If user requests specific
-Version: include that parameter
Commands
/speckit-updater
Updates 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):
- First invocation shows installation offer with
[PROMPT_FOR_INSTALL]marker
…
常见问题
如果我已经做过修改,会怎么样?
助手会检测你的修改,并在更新过程中尽量保留这些内容,同时告诉你哪些文件被保留了。
我可以指定 SpecKit 的版本吗?
可以,如果有需要,你可以要求更新到某个特定版本。
什么是备份?
在更新之前,助手会先为现有文件创建一份备份副本。如果出现问题,就可以恢复到之前的版本。
详情
热度
- GitHub 星标
- 48k
- 排名
- #5840
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。