From 8fa1d84de35586cd08d700f110fba3f6602b9bac Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Sun, 17 May 2026 15:41:04 +0200 Subject: [PATCH 1/3] ci: auto-merge the external-plugin update PR Repo has no required checks and the token-authored PR does not trigger validate.yml, so native auto-merge cannot arm. Instead the updater squash-merges its own PR right after the inline manifest- sync check passes (that check is the gate; a desynced bump fails the workflow before any PR exists). Manifest-only chore subject -> no agent-plugins release. Fully hands-off; revert the chore commit to undo a bad bump. --- .github/workflows/update-external-plugins.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/update-external-plugins.yml b/.github/workflows/update-external-plugins.yml index 1e42696..7e4907a 100644 --- a/.github/workflows/update-external-plugins.yml +++ b/.github/workflows/update-external-plugins.yml @@ -79,6 +79,7 @@ jobs: EOF - name: Open PR + id: cpr uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: branch: automation/external-plugin-updates @@ -98,3 +99,18 @@ jobs: add-paths: | .claude-plugin/marketplace.json .agents/plugins/marketplace.json + + - name: Auto-merge + # The inline "Validate manifest sync" step above is the gate: if it + # fails the workflow stops and no PR exists. Manifest-only chore PR + # -> no agent-plugins release. Squash-merge immediately. + if: >- + ${{ steps.cpr.outputs.pull-request-number != '' && + (steps.cpr.outputs.pull-request-operation == 'created' || + steps.cpr.outputs.pull-request-operation == 'updated') }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR: ${{ steps.cpr.outputs.pull-request-number }} + run: | + gh pr merge "$PR" --squash --delete-branch \ + --subject 'chore(external-plugins): update external plugin pins' From 726d56b08fee6239b65166ba7c923550f940c887 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Sun, 17 May 2026 19:39:20 +0200 Subject: [PATCH 2/3] refactor(code-intelligence): rename doctor command to setup-code-intelligence The command's bare name 'doctor' shadowed Claude Code's built-in /doctor, so typing /doctor resolved to the plugin instead of the built-in health check. Renamed to setup-code-intelligence; invoke as /code-intelligence:setup-code-intelligence. Updates command file, baseline scenario, README, CHANGELOG (new 0.4.0 entry, history preserved), and bumps version 0.3.1 -> 0.4.0. BREAKING CHANGE: /code-intelligence:doctor is now /code-intelligence:setup-code-intelligence --- .claude-plugin/marketplace.json | 2 +- README.md | 4 ++-- plugins/code-intelligence/.codex-plugin/plugin.json | 2 +- plugins/code-intelligence/CHANGELOG.md | 8 ++++++++ .../commands/{doctor.md => setup-code-intelligence.md} | 4 ++-- plugins/code-intelligence/tests/baseline-scenarios.md | 6 +++--- 6 files changed, 17 insertions(+), 9 deletions(-) rename plugins/code-intelligence/commands/{doctor.md => setup-code-intelligence.md} (97%) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 41cb739..f257647 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -48,7 +48,7 @@ "search-precedence", "tool-disclosure" ], - "version": "0.3.1" + "version": "0.4.0" } ] } diff --git a/README.md b/README.md index acbd3dd..37a3e32 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ this repo - install them from their own repo instead. The semantic rows above need a language server installed (here `terraform-ls`). Without one the plugin still helps: it discloses the `rg` fallback on the first line instead of pretending the text search was exhaustive. Check your setup -with `/code-intelligence:doctor`. +with `/code-intelligence:setup-code-intelligence`. ```bash /plugin install code-intelligence@antonbabenko @@ -176,7 +176,7 @@ Try: - `Is output.cluster_endpoint used anywhere before I change its type?` - `Did you really find all the references, or just text matches?` -Check your setup (Claude Code): `/code-intelligence:doctor` +Check your setup (Claude Code): `/code-intelligence:setup-code-intelligence` ### [terraform-skill](https://github.com/antonbabenko/terraform-skill) diff --git a/plugins/code-intelligence/.codex-plugin/plugin.json b/plugins/code-intelligence/.codex-plugin/plugin.json index cadbb60..f4e375d 100644 --- a/plugins/code-intelligence/.codex-plugin/plugin.json +++ b/plugins/code-intelligence/.codex-plugin/plugin.json @@ -30,5 +30,5 @@ "name": "code-intelligence", "repository": "https://github.com/antonbabenko/agent-plugins", "skills": "./skills", - "version": "0.3.1" + "version": "0.4.0" } diff --git a/plugins/code-intelligence/CHANGELOG.md b/plugins/code-intelligence/CHANGELOG.md index 44acfac..8ac2058 100644 --- a/plugins/code-intelligence/CHANGELOG.md +++ b/plugins/code-intelligence/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to the `code-intelligence` plugin are documented here. This file is managed by the per-plugin release pipeline; entries are prepended on release. +## code-intelligence-v0.4.0 (2026-05-17) + +### BREAKING CHANGES + +* The `doctor` command is renamed to `setup-code-intelligence`. Its bare name + shadowed Claude Code's built-in `/doctor`; invoke the readiness check as + `/code-intelligence:setup-code-intelligence`. + ## code-intelligence-v0.3.1 (2026-05-17) ([compare](https://github.com/antonbabenko/agent-plugins/compare/code-intelligence-v0.3.0...code-intelligence-v0.3.1)) ### Bug Fixes diff --git a/plugins/code-intelligence/commands/doctor.md b/plugins/code-intelligence/commands/setup-code-intelligence.md similarity index 97% rename from plugins/code-intelligence/commands/doctor.md rename to plugins/code-intelligence/commands/setup-code-intelligence.md index acb0696..9f7147b 100644 --- a/plugins/code-intelligence/commands/doctor.md +++ b/plugins/code-intelligence/commands/setup-code-intelligence.md @@ -1,10 +1,10 @@ --- -name: doctor +name: setup-code-intelligence description: Check code-intelligence prerequisites (ripgrep + a language server) and print install hints allowed-tools: Bash, AskUserQuestion --- -# code-intelligence doctor +# code-intelligence: setup & readiness check Run a one-shot readiness check for the `code-intelligence` skill, then offer an optional star. The skill picks LSP vs exact-text vs fuzzy search by task; it diff --git a/plugins/code-intelligence/tests/baseline-scenarios.md b/plugins/code-intelligence/tests/baseline-scenarios.md index 5348b7a..5db680d 100644 --- a/plugins/code-intelligence/tests/baseline-scenarios.md +++ b/plugins/code-intelligence/tests/baseline-scenarios.md @@ -142,16 +142,16 @@ Where in this codebase is user authentication handled? --- -## Scenario 4: Doctor Command Readiness Check +## Scenario 4: Setup Command Readiness Check -**Objective:** Verify the `/code-intelligence:doctor` command reports +**Objective:** Verify the `/code-intelligence:setup-code-intelligence` command reports prerequisites accurately and the optional star step is consent-gated and stateless. ### Test Prompt ```text -/code-intelligence:doctor +/code-intelligence:setup-code-intelligence ``` ### Expected Baseline Behavior (WITHOUT skill) From 282a92279674708b183913c995d70ff516155bca Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Sun, 17 May 2026 19:46:35 +0200 Subject: [PATCH 3/3] fix(code-intelligence): bump SKILL.md metadata.version to 0.4.0 marketplace.json validator requires SKILL.md metadata.version to match the plugin version. Aligns with the 0.3.1 -> 0.4.0 bump. --- plugins/code-intelligence/skills/code-intelligence/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/code-intelligence/skills/code-intelligence/SKILL.md b/plugins/code-intelligence/skills/code-intelligence/SKILL.md index 17f8b50..4b31172 100644 --- a/plugins/code-intelligence/skills/code-intelligence/SKILL.md +++ b/plugins/code-intelligence/skills/code-intelligence/SKILL.md @@ -4,7 +4,7 @@ description: Use when navigating or refactoring code with a language server - ch license: Apache-2.0 metadata: author: Anton Babenko - version: 0.3.1 + version: 0.4.0 --- # Code Intelligence