name: refresh description: Checks the workflow (the plugin and this project's setup) against the current Claude Code release and official documentation, and proposes updates as diffs. argument-hint: "[plugin | project]" disable-model-invocation: true
Check that the workflow still matches how Claude Code works today, and propose what to change.
Nothing is changed until the user approves a diff. $ARGUMENTS limits the check to the plugin
or to this project's setup; with nothing given, do both.
1. What changed
claude --version, and the version and date in.claude/dev-workflow.state.json(checkedAgainst). If the file is missing, treat everything as unchecked.- Read the official sources, newest first, and note only what is newer than the recorded date:
the Claude Code changelog and the documentation index at
code.claude.com/docs/llms.txt, then the pages listed inrelied-on.mdbeside this file. Use a web-fetch subagent per page and ask it for the differences, not the page. - Anthropic's best-practices page and the prompting guide for the current models: note advice that is new or reversed.
Sources are the official documentation and Anthropic's own posts. A third-party guide or video is a pointer to look something up there, not a source.
2. Check what the workflow relies on
relied-on.md lists every documented behaviour the plugin and the setup command depend on,
each with its page. For each row say: still true, changed (how), or gone. A row that cannot be
checked is reported as unchecked, not as fine.
Update the marketplace list (claude plugin marketplace update claude-plugins-official) and
compare it and the bundled commands with plugins.md in the setup command's folder: new
official plugins or bundled commands, removed ones, and changed item counts. Apply the cost
rule in that file before recommending any.
Then look for the opposite case: something new that would replace a part of this workflow with a built-in (a new hook event, a new setting, a bundled command). A built-in that does the same job is preferred over the plugin's own version.
3. Check this project (unless plugin was given)
- The project's deny rules, settings keys and hook-related configuration against step 2.
- The instruction file and rules: run or ask the user to run
/doctor prompt-audit, and fold in its findings. - Line counts of the always-loaded instruction files against the last recorded numbers in
<workflowDir>/setup/STATUS.md. Growth is a finding. - The plugins enabled for this project against
plugins.md, and/usageby plugin if the user can paste it: one that is enabled but unused is proposed for turning off. - The project profile: ask the user in one round whether the product stage, the stakes, the
team or the delivery path changed since the profile was written. If so, say which parts of
the setup that touches and offer
/dev-workflow:setup 1.
4. Propose
Report in at most 25 lines, most important first: each change with its source page, what it affects (plugin file or project file), and the diff or the exact edit. Mark each one needed (something relied on is gone or wrong), better (a built-in or cheaper way exists) or note.
- Project files: apply the diffs the user approves, one at a time. A file listed in
protectedPathsis refused by the guard; hand the user that diff to apply. - Plugin files: they are shared by every project. Show the diff and apply it only if the user
approves and the plugin's folder is writable from this session; then run its tests
(
python3 tests/test_dw.py), rebuild the paste-in prompt (python3 scripts/build_prompt.py) and updaterelied-on.md. Otherwise hand the user the diff. - New behaviour is tried on one project before it becomes a rule, and a claimed saving is measured first.
5. Record
Write the installed version and today's date to .claude/dev-workflow.state.json
(checkedAgainst), and add one dated line to <workflowDir>/DECISIONS.md for each change
applied or declined.