Use when the user asks to update the foreman plugin in a project ("atualizar o plugin", "atualiza o plugin aqui", "update foreman"). Updates only at a stop point of the delivery, then, in a new session on the new version, brings the project's files up to it: the templates' missing sections and lines, the allowlist and each skipped version's upgrade notes. Triggers on "atualizar", "atualizar o plugin", "update the plugin".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Atualizar?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/lindenjefferson-atualizar)
---
name: atualizar
description: Use when the user asks to update the foreman plugin in a project ("atualizar o plugin", "atualiza o plugin aqui", "update foreman"). Updates only at a stop point of the delivery, then, in a new session on the new version, brings the project's files up to it: the templates' missing sections and lines, the allowlist and each skipped version's upgrade notes. Triggers on "atualizar", "atualizar o plugin", "update the plugin".
---
# Atualizar
A new plugin version loads only after `/reload-plugins` or a restart, so this skill runs in two halves, and `.superpowers/atualizar.json` (git-ignored) carries the versions from one to the other.
## In the running session
1. **Stop point.** Run `sh "${CLAUDE_PLUGIN_ROOT}/hooks/python.sh" "${CLAUDE_PLUGIN_ROOT}/skills/manager/ledger.py" status --json`. When a claim is in flight and the delivery is not paused, stop: tell the user to let the running agents report or to pause the delivery (`pause` in the manager), then ask again. No ledger, or nothing in flight, is a stop point.
2. **Versions.** The running one is in `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json`; the scope and the marketplace come from `claude plugin list --json`, the `foreman@<marketplace>` entry whose `projectPath` is this folder (old worktrees may have entries of their own).
3. **Update.** `claude plugin marketplace update <that marketplace>`, so the catalog knows the new version, then `claude plugin update foreman@<that marketplace> --scope <that scope> --json`. A command the marketplace declares is shown to the user to confirm; never pass `-y` or `--accept-command` on your own. Already on the latest: say so and run the second half here.
4. **Hand over.** Write `{"from": "<old>", "to": "<new>"}` to `.superpowers/atualizar.json`; when that file already exists with an older `to`, keep its `from`, so a skipped second half is not lost. Then ask the user to run `/reload-plugins` (or restart Claude Code) here and ask again; the plugin's session-start hook also reminds the new session. This session starts nothing more.
## After the reload (`.superpowers/atualizar.json` exists and the running version is its `to`)
5. **Notes.** Read `${CLAUDE_PLUGIN_ROOT}/UPGRADING.md`: the **Ao atualizar** paragraph (or sub-bullet) of every version after `from` up to `to`, oldest first.
6. **Kickoff.** Run the `kickoff` skill. It appends the templates' missing sections and lines and runs its allowlist step again, as it does for any existing project.
7. **Manual steps.** Apply each step of those notes that the kickoff did not already cover (a line or section it just added is covered: fill it, do not add it again), in the project's own files. Ask the user, in one list, about the steps that need a decision.
8. **Report and clean up.** Give the versions, what was added (a placeholder line keeps the plugin's default until filled) and the decisions still waiting, then delete `.superpowers/atualizar.json`. When the delivery is paused, `resume` in the manager comes next.