/dev-team:upgradefrom dev-team
Checks for and applies updates to the dev-team Claude Code plugin using the official update mechanism. Reports current version, manages auto-update settings, and handles install scope detection.
Ships in dev-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Role: worker. This command updates the dev-team plugin to the latest version and ensures its marketplace is set to auto-update going forward.
Arguments: none.
You have been invoked with the /upgrade command.
Read the installed plugin's plugin.json to get the current version:
claude plugin list
Parse the output to find dev-team and its current version. Also read the installed plugin.json directly:
~/.claude/plugins/cache/*/dev-team/*/.claude-plugin/plugin.json
Report:
Current version: dev-team v{version} (installed from {marketplace})
First, report the current auto-update status (enabled, disabled, or unknown):
python3 "${CLAUDE_PLUGIN_ROOT}/skills/upgrade/scripts/enable_autoupdate.py" --check
Then ask the user:
Auto-update for the
{marketplace}marketplace is currently {enabled/disabled}. Would you like to enable auto-update so future releases install automatically? (yes/no)
Wait for the user's answer before continuing. If they say yes, run the enable block below. If they say no, skip to step 3.
Enable block (run only if the user consents):
python3 "${CLAUDE_PLUGIN_ROOT}/skills/upgrade/scripts/enable_autoupdate.py" --enable
This sets extraKnownMarketplaces.<marketplace>.autoUpdate: true (project settings first, else the config-dir user settings, seeding the entry from the marketplace registry when needed). It is idempotent — re-running reports "already enabled". Report the one-line result to the user, then continue to step 3.
The same script backs the cloud bootstrap (
.claude/cloud-setup.sh,.claude/install-dev-team.sh), which runs--enablenon-interactively — one implementation of the flag, no duplication to keep in sync.
First, determine the install scope from claude plugin list output (the Scope: line for dev-team). It will be one of: user, project, local, managed.
claude plugin update --scope {scope} dev-team@{marketplace}
Where {scope} is the detected install scope (e.g., project) and {marketplace} is the marketplace name (e.g., bfinster). The --scope flag is required — the CLI defaults to user, which will fail if the plugin is installed at a different scope.
If the command succeeds with a version change, proceed to step 4.
Before concluding the update is broken or unnecessary, verify the catalog is current. An "already up to date" result or a failed update is often a stale marketplace catalog pinned behind the latest release — not a broken update mechanism. Diff the marketplace's pinned version against the latest published release before drawing a conclusion:
.claude-plugin/marketplace.json (and the plugin's .claude-plugin/plugin.json) against the latest release tag/commit of the marketplace repo.claude plugin update. Refresh the marketplace (re-add it, or wait for its catalog to update) and re-run /upgrade.If the output indicates already up to date:
Already running the latest version (v{version}).
Continue to step 5 (a restarted session after an update is where scaffolded files get refreshed), then exit.
If the command fails, report the error and suggest:
Update failed. You can try a manual reinstall:
claude plugin uninstall dev-team@{marketplace} claude plugin install dev-team@{marketplace}
Exit.
Read the new plugin.json to verify the version changed:
claude plugin list
Report:
## Upgrade Complete
Previous: v{old_version}
Updated: v{new_version}
Restart Claude Code to apply the update, then run `/upgrade` again to refresh the scaffolded lint config (step 5). The running session still resolves the old plugin version, so refreshing now would stamp the old version.
Run only when the installed plugin version is the one this session is running (the "already up to date" path in step 3). /setup may have scaffolded eslint.devteam.config.js into this project. Ask the script for the state of each file; this step does not compare stamps itself:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/scaffold_lint_config.py" --project "$PWD" --check
The output is JSON, file name to status. No output entries means nothing was scaffolded here: say nothing and exit.
| Status | Report |
|---|---|
current, current-edited | nothing |
stale-unedited | "{file} is from an older dev-team version and unedited" |
stale-edited | "{file} is from an older dev-team version and you edited it. Compare it with the shipped file before you change it: diff {file} "${CLAUDE_PLUGIN_ROOT}/templates/eslint/payload/{file}" (the first line of {file} is a stamp)" |
unstamped | "{file} has no dev-team stamp, so /upgrade leaves it alone" |
symlink | "{file} is a symlink, so /upgrade leaves it alone" |
When any file is stale-unedited, ask: "Refresh all unedited dev-team lint config files? (yes/no)". On yes, run:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/scaffold_lint_config.py" --project "$PWD" --refresh
The script rewrites only stale-unedited files and lists the others under skipped with their status. Report the refreshed list and, for each skipped file with a stale status, the diff pointer above. Never rewrite an edited file by hand.
claude plugin update command handles fetching, caching, and version managementextraKnownMarketplaces.<marketplace>.autoUpdate: true in settings.json (the same flag the /plugin UI toggles; there is no dedicated claude plugin CLI subcommand for it). With it on, routine releases land without running /upgrade.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bdfinst/agentic-dev-team --plugin dev-team103 skills in this plugin
/adr-toolsCreate and manage Architecture Decision Records using the npryce adr-tools CLI. Use when the user asks to "add an ADR", "record this decision", "create an ADR", "supersede ADR N", "link ADRs", "generate the ADR table of contents", or any request involving the `adr` command. Pairs with the adr-author agent — this skill is the mechanics (commands, files, links); adr-author is the decision framework (when an ADR is warranted) and the prose authoring./agent-auditAudit code-review agents, skills, and hooks for structural compliance. Use this when adding or modifying any agent, skill, or hook file, or for a periodic health check of the toolkit. Trigger phrases: "audit the agents", "check compliance", "validate the skills", "are the agents correct", or any time agent/skill files change./Other plugins' skills for the same job