一键导入
update-environment
Update Memory Bank files after tech stack changes or plugin updates with smart detection
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update Memory Bank files after tech stack changes or plugin updates with smart detection
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a PRD for a feature using Memory Bank context
Generate a technical specification based on a PRD using Memory Bank context
Run Memory Bank doc gardening (maintenance / garbage collection)
"Process and implement tasks from a protocol in git worktrees (or inline on the main workdir)"
Update Memory Bank documentation after code changes or protocol completion
Defer an out-of-scope finding to the backlog. Use when a bug, tech debt, idea, or risk is discovered but not appropriate to solve now.
| name | update-environment |
| description | Update Memory Bank files after tech stack changes or plugin updates with smart detection |
| version | 3.0.0 |
Selective update/regeneration of Memory Bank files with smart change detection. Detects tech stack changes, plugin updates, local modifications, and applies 3-way merge to preserve user edits.
Prerequisite: This skill requires the memento-workflow plugin. If mcp__memento-workflow__start is not available as a tool, stop and tell the user: "The memento-workflow plugin is required but not installed. Install it via Claude Code: /install-plugin memento-workflow".
Before starting the relay loop, load the relay protocol by invoking the Skill tool with skill: "memento-workflow:workflow-engine".
Then call mcp__memento-workflow__start with:
update-environment{"plugin_root": "${CLAUDE_PLUGIN_ROOT}", "plugin_version": "1.6.0"}.["${CLAUDE_PLUGIN_ROOT}/skills/update-environment"]Follow the relay protocol to execute each returned action and call mcp__memento-workflow__submit with the result until the workflow completes.
/tmp/new-project-analysis.jsonanalyze-local-changes pre-update)
Static files: Copy via analyze-local-changes copy-static with 3-way merge
Prompt-based files: Regenerate in batches with merge support
Obsolete files: Remove from project and generation plan
New prompts: Generate missing files
| Variable | Description |
|---|---|
plugin_root | Absolute path to memento plugin |
plugin_version | Plugin version for commit metadata |