promotelisted
Install: claude install-skill devgirishattri/agent-plugins
# Promote
`promote` is the memory module's lifecycle-closing surface: it moves a stabilized
fact out of a context/handoff item (or supersedes an existing memory file with a
better one) into a durable destination, and only THEN — as a second, separately
confirmed step — deletes the source. Two independent approval gates matter here,
never one: approving the destination write is never approval to delete the
source, and the destination write must be verified installed before source
deletion is even offered. Like `consolidate`, this skill never writes a store
file directly for the memory leg — it stages content at a scratch location and
drives `memory-write.sh`. Unlike `consolidate`, it also handles a **docs**
destination, and docs are proposal-only: this skill can *show* a complete
patch, and can *never* write it — see "Non-goals."
Resolve `PLUGIN_ROOT` from this selected skill's installed absolute source path: it is the directory two levels above this `SKILL.md`. Substitute that absolute path literally in every helper invocation below; never infer it from the project working directory or hardcode a marketplace cache version.
Read this whole document before starting. Do not skip steps or reorder them —
in particular, never delete anything before the destination write is verified
installed AND a second, separate confirmation for source deletion has been
given.
## 0. Invocation discipline (read this first)
Every call into a plugin helper script below is **exactly one literal