Skip to content

Conversation

@cameroncooke
Copy link
Collaborator

@cameroncooke cameroncooke commented Feb 3, 2026

Update skill install docs and scripts for versioned release refs

The skill installer now supports selecting between MCP and CLI skills, and the docs reflect the updated install flows. The release script also rewrites skill installer URLs to the version tag so published docs point at the release.

This keeps the install instructions consistent with release tags instead of main.


Note

Medium Risk
Updates the Bash skill installer’s interactive flow and conflict handling, which could affect how users install/replace skills despite being limited to tooling/docs.

Overview
Skills documentation is updated to cover two separate skills (MCP vs CLI) and to document both interactive and automated install commands (including --skill <mcp|cli> and --remove-conflict>).

The skill installer script is revamped for a more guided UX (colored output, clearer prompts, better conflict messaging, and improved download fallback/error handling) while keeping the same core install behavior.

Release automation now also rewrites and stages skill-installer URLs in docs/SKILLS.md so published docs point at the versioned v<version> installer script instead of main.

Written by Cursor Bugbot for commit 94738fb. This will update automatically on new commits. Configure here.

Also update docs/SKILLS.md to use the versioned install script.

Co-Authored-By: Claude <noreply@anthropic.com>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 3, 2026

Open in StackBlitz

npm i https://pkg.pr.new/cameroncooke/XcodeBuildMCP/xcodebuildmcp@199

commit: 94738fb

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 3, 2026

Walkthrough

This pull request introduces a new skill installation system for XcodeBuildMCP alongside documentation updates and user experience enhancements. A new bash installer script (install-skill.sh) is added to handle skill installation with support for multiple destination clients (Codex, Claude, Cursor) and skill types (MPC Server, CLI). The script includes interactive prompts, conflict detection, and automatic fallback download logic. Documentation files (README.md and docs/SKILLS.md) are updated to reflect the new installation workflow and optional skills model. The release script is modified to update skill documentation during version releases. Enhanced UI formatting with colour output and structured messaging is implemented throughout the installer.

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore(release): Version skill installer URLs' directly relates to the main change: versioning installer URLs in release scripts and documentation.
Description check ✅ Passed The PR description clearly describes the changeset: updating skill documentation, distinguishing MPC vs CLI skills, improving the installer script with better UX, and extending the release script to rewrite installer URLs to version tags.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
scripts/release.sh (1)

321-345: ⚠️ Potential issue | 🟠 Major

Stage docs/SKILLS.md so the URL update is committed

The script updates docs/SKILLS.md but never stages it, so the release commit will miss the change.

Proposed change
   if [[ -f server.json ]]; then
     run git add package.json package-lock.json README.md server.json
   else
     run git add package.json package-lock.json README.md
   fi
+  if [[ -f docs/SKILLS.md ]]; then
+    run git add docs/SKILLS.md
+  fi
🤖 Fix all issues with AI agents
In `@docs/SKILLS.md`:
- Around line 47-49: Rename the Markdown heading "## Unsupporting Clients" to
the correct phrasing "## Unsupported Clients" so the section title reads
"Unsupported Clients" and aligns with the following sentence; update the heading
text exactly (the symbol to change is the level-2 heading string "##
Unsupporting Clients") without altering the rest of the paragraph.
- Around line 3-7: Update the skill name text to use "MCP Skill" instead of "MPC
Skill" in the docs entry that currently reads "MPC Skill"; specifically locate
the string "MPC Skill" in SKILLS.md and replace it with "MCP Skill" (leave "CLI
Skill" unchanged) so the terminology matches the MCP server and script flags.

In `@README.md`:
- Around line 168-169: Update the install instruction sentence to correct
grammar: replace "copy and past the below command into a terminal and follow the
on-screen instructions." with "copy and paste the command below into a terminal
and follow the on-screen instructions." — locate the sentence in README.md (the
install instruction paragraph) and make that exact wording change.
- Around line 161-165: Replace the mistaken "MPC Skill" label with "MCP Skill"
in the README description for XcodeBuildMCP so the skill name matches the
protocol and flags; update the text string "MPC Skill" to "MCP Skill" in the
block that lists the two optional agent skills (the entry that currently reads
**MPC Skill**: Primes the agent ...) and ensure any surrounding references to
the skill name in that paragraph use "MCP" consistently.

In `@scripts/install-skill.sh`:
- Around line 4-24: ShellCheck flags the WHITE variable as unused; remove both
declarations of WHITE in the color setup (the
BOLD/DIM/RESET/RED/GREEN/YELLOW/BLUE/CYAN/WHITE assignments) so only used color
variables remain — i.e., delete the "WHITE='\033[0;37m'" line in the true branch
and the corresponding "WHITE=''" line in the else branch to avoid lint noise
while leaving all other variables unchanged.
🧹 Nitpick comments (1)
install-skill.sh (1)

1-209: Avoid duplicating installer logic between two scripts

This file and scripts/install-skill.sh implement the same flow. Keeping both in sync will be brittle; consider making one a thin wrapper or symlink to the other.

README.md Outdated
Comment on lines 168 to 169
To install, copy and past the below command into a terminal and follow the on-screen instructions.

Copy link
Contributor

@coderabbitai coderabbitai bot Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix the grammar in the install instruction

“copy and past” should be “copy and paste”, and “the command below” reads more naturally.

Proposed change
-To install, copy and past the below command into a terminal and follow the on-screen instructions.
+To install, copy and paste the command below into a terminal and follow the on-screen instructions.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
To install, copy and past the below command into a terminal and follow the on-screen instructions.
To install, copy and paste the command below into a terminal and follow the on-screen instructions.
🤖 Prompt for AI Agents
In `@README.md` around lines 168 - 169, Update the install instruction sentence to
correct grammar: replace "copy and past the below command into a terminal and
follow the on-screen instructions." with "copy and paste the command below into
a terminal and follow the on-screen instructions." — locate the sentence in
README.md (the install instruction paragraph) and make that exact wording
change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cursor fix

Copy link
Contributor

@cursor cursor bot Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the grammar issue in the README.md install instruction:

  • Changed "copy and past" to "copy and paste"
  • Changed "the below command" to "the command below"

The correction has been committed and pushed to the improve_skills branch.

Open in Cursor Open in Web

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

cameroncooke and others added 2 commits February 3, 2026 15:47
Ensure docs/SKILLS.md gets staged with release URL updates.

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

cameroncooke and others added 3 commits February 3, 2026 15:56
- Change 'copy and past' to 'copy and paste'
- Change 'the below command' to 'the command below'

Co-authored-by: web <web@cameroncooke.com>
Comment on lines +342 to +344
run git add package.json package-lock.json README.md docs/SKILLS.md server.json
else
run git add package.json package-lock.json README.md
run git add package.json package-lock.json README.md docs/SKILLS.md
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The release script will crash if docs/SKILLS.md is missing because git add is called unconditionally while the script runs with set -e.
Severity: HIGH

Suggested Fix

Make the git add command for docs/SKILLS.md conditional, similar to the check performed before modifying the file. For example, wrap the git add calls in an if [[ -f docs/SKILLS.md ]] block to prevent the script from failing if the file does not exist.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: scripts/release.sh#L342-L344

Potential issue: The `release.sh` script includes a check to see if `docs/SKILLS.md`
exists before attempting to modify it. However, it later unconditionally tries to stage
this file using `git add`. Because the script runs with `set -e`, if `docs/SKILLS.md` is
missing, the `git add` command will fail with a non-zero exit code, causing the entire
release script to terminate prematurely. This creates an inconsistency where the script
anticipates the file might be missing but doesn't handle it correctly during the staging
phase, leading to a failed release.

Did we get this right? 👍 / 👎 to inform future reviews.

@cameroncooke cameroncooke merged commit 737f355 into main Feb 3, 2026
8 checks passed
@cameroncooke cameroncooke deleted the improve_skills branch February 3, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants