From 2cd77cdd5ccba86a3841fa594de65c2c9d7297a5 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 23 Oct 2026 08:41:26 +0000 Subject: [PATCH 1/2] cleanup(skills): sync update-phoenix-version example versions Align the skill prompt and argparse help examples with the checked-in 1.0.7 / versionCode 11, and include the skill directory in the stale-literal search roots. Co-authored-by: Devil <9thLevelSoftware@users.noreply.github.com> --- .agents/skills/update-phoenix-version/SKILL.md | 2 +- .agents/skills/update-phoenix-version/agents/openai.yaml | 2 +- .../skills/update-phoenix-version/scripts/update_version.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.agents/skills/update-phoenix-version/SKILL.md b/.agents/skills/update-phoenix-version/SKILL.md index f34bcb306..d14a24ca5 100644 --- a/.agents/skills/update-phoenix-version/SKILL.md +++ b/.agents/skills/update-phoenix-version/SKILL.md @@ -61,7 +61,7 @@ python .agents/skills/update-phoenix-version/scripts/update_version.py --check - 5. Search for stale app-version literals: ```powershell -rg -n "1\.0\.7|versionName|APP_VERSION|MARKETING_VERSION|CURRENT_PROJECT_VERSION" androidApp iosApp shared .github docs +rg -n "1\.0\.7|versionName|APP_VERSION|MARKETING_VERSION|CURRENT_PROJECT_VERSION" androidApp iosApp shared .github docs .agents/skills/update-phoenix-version ``` Replace the escaped old version with the actual previous version. Ignore test fixtures, historical docs, generated release metadata, and localized Settings label templates unless the user explicitly asks to update those too. diff --git a/.agents/skills/update-phoenix-version/agents/openai.yaml b/.agents/skills/update-phoenix-version/agents/openai.yaml index e11d5cc68..1cc4bf2a3 100644 --- a/.agents/skills/update-phoenix-version/agents/openai.yaml +++ b/.agents/skills/update-phoenix-version/agents/openai.yaml @@ -1,4 +1,4 @@ interface: display_name: "Update Phoenix Version" short_description: "Bump Phoenix app versions in sync" - default_prompt: "Use $update-phoenix-version to read the current Android versionName (checked-in 1.0.6) and default versionCode (checked-in 10), then bump that version. Keep Constants.APP_VERSION and both iOS MARKETING_VERSION values aligned with the new versionName. Do not apply an older example version." + default_prompt: "Use $update-phoenix-version to read the current Android versionName (checked-in 1.0.7) and default versionCode (checked-in 11), then bump that version. Keep Constants.APP_VERSION and both iOS MARKETING_VERSION values aligned with the new versionName. Do not apply an older example version." diff --git a/.agents/skills/update-phoenix-version/scripts/update_version.py b/.agents/skills/update-phoenix-version/scripts/update_version.py index e7c98f713..f39b14910 100644 --- a/.agents/skills/update-phoenix-version/scripts/update_version.py +++ b/.agents/skills/update-phoenix-version/scripts/update_version.py @@ -45,7 +45,7 @@ def parse_args() -> argparse.Namespace: required=True, help=( "Marketing/app version in numeric x.y.z form (sample shape 1.2.3). " - "Read the current versionName (checked-in 1.0.6) and pass the bumped value." + "Read the current versionName (checked-in 1.0.7) and pass the bumped value." ), ) parser.add_argument( @@ -53,7 +53,7 @@ def parse_args() -> argparse.Namespace: type=int, help=( "Optional Android default versionCode for androidApp/build.gradle.kts. " - "Checked-in default is 10; pass the next code when that default must move." + "Checked-in default is 11; pass the next code when that default must move." ), ) parser.add_argument( From 0ca2c2ed22df4474e0b2ff40c881d671e2627c96 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 16:58:48 +0000 Subject: [PATCH 2/2] cleanup(skills): drop the duplicated version literals instead of syncing them The 1.0.7 release updated SKILL.md but not the copies of the checked-in versionName/versionCode in update_version.py's help text and the agent prompt, which is why they had drifted. Remove those copies so both point at androidApp/build.gradle.kts, and drop the extra search root: SKILL.md's live-default notes are already updated by the release, and searching the skill's own directory matched its structural lines. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_015tsDJ6LzV6FwGD3VQwfNEn --- .agents/skills/update-phoenix-version/SKILL.md | 2 +- .agents/skills/update-phoenix-version/agents/openai.yaml | 2 +- .../skills/update-phoenix-version/scripts/update_version.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.agents/skills/update-phoenix-version/SKILL.md b/.agents/skills/update-phoenix-version/SKILL.md index d14a24ca5..f34bcb306 100644 --- a/.agents/skills/update-phoenix-version/SKILL.md +++ b/.agents/skills/update-phoenix-version/SKILL.md @@ -61,7 +61,7 @@ python .agents/skills/update-phoenix-version/scripts/update_version.py --check - 5. Search for stale app-version literals: ```powershell -rg -n "1\.0\.7|versionName|APP_VERSION|MARKETING_VERSION|CURRENT_PROJECT_VERSION" androidApp iosApp shared .github docs .agents/skills/update-phoenix-version +rg -n "1\.0\.7|versionName|APP_VERSION|MARKETING_VERSION|CURRENT_PROJECT_VERSION" androidApp iosApp shared .github docs ``` Replace the escaped old version with the actual previous version. Ignore test fixtures, historical docs, generated release metadata, and localized Settings label templates unless the user explicitly asks to update those too. diff --git a/.agents/skills/update-phoenix-version/agents/openai.yaml b/.agents/skills/update-phoenix-version/agents/openai.yaml index 1cc4bf2a3..f30829ea4 100644 --- a/.agents/skills/update-phoenix-version/agents/openai.yaml +++ b/.agents/skills/update-phoenix-version/agents/openai.yaml @@ -1,4 +1,4 @@ interface: display_name: "Update Phoenix Version" short_description: "Bump Phoenix app versions in sync" - default_prompt: "Use $update-phoenix-version to read the current Android versionName (checked-in 1.0.7) and default versionCode (checked-in 11), then bump that version. Keep Constants.APP_VERSION and both iOS MARKETING_VERSION values aligned with the new versionName. Do not apply an older example version." + default_prompt: "Use $update-phoenix-version to read the current Android versionName and default versionCode from androidApp/build.gradle.kts, then bump that version. Keep Constants.APP_VERSION and both iOS MARKETING_VERSION values aligned with the new versionName. Do not apply an older example version." diff --git a/.agents/skills/update-phoenix-version/scripts/update_version.py b/.agents/skills/update-phoenix-version/scripts/update_version.py index f39b14910..a39833836 100644 --- a/.agents/skills/update-phoenix-version/scripts/update_version.py +++ b/.agents/skills/update-phoenix-version/scripts/update_version.py @@ -45,7 +45,7 @@ def parse_args() -> argparse.Namespace: required=True, help=( "Marketing/app version in numeric x.y.z form (sample shape 1.2.3). " - "Read the current versionName (checked-in 1.0.7) and pass the bumped value." + "Read the current versionName from androidApp/build.gradle.kts and pass the bumped value." ), ) parser.add_argument( @@ -53,7 +53,7 @@ def parse_args() -> argparse.Namespace: type=int, help=( "Optional Android default versionCode for androidApp/build.gradle.kts. " - "Checked-in default is 11; pass the next code when that default must move." + "Pass the next code after the checked-in default when that default must move." ), ) parser.add_argument(