Skip to content

AGENTS.md tweaks#25513

Merged
crazytonyli merged 3 commits intotrunkfrom
task/ai-minor-tweaks
Apr 29, 2026
Merged

AGENTS.md tweaks#25513
crazytonyli merged 3 commits intotrunkfrom
task/ai-minor-tweaks

Conversation

@crazytonyli
Copy link
Copy Markdown
Contributor

Description

When Claude Code runs unit tests, my preference is using Xcode MCP > xcodebuild > fastlane. Xcode is almost always open during development, and Xcode MCP is available most of the time. xcodebuild is always available, and Claude Code can figure out the best way to use it (choosing scheme, using the right cli options, parsing the output, etc). fastlane test as mentioned in the current AGENTS.md does not work for me, because it's not flexible enough, as in there is limited options, and Claude Code can't debug the errors.

So I tweaked the AGENTS.md file to describe the schemes and let Claude Code decide how to interpret that information, rather than giving Claude Code specific commands.

I also added a new switching-xcode-scheme skill so that Claude Code sessions can switch the active scheme to the one it wants to build. When you manually build and verify Jetpack app changes, Claude Code won't be able to build and run unit tests using Xcode MCP, because the selected scheme is not WordPress. Claude Code can now switch the selected scheme in your opening Xcode window and proceed to run tests.

@crazytonyli crazytonyli added this to the 26.9 milestone Apr 29, 2026
@crazytonyli crazytonyli requested a review from jkmassel April 29, 2026 21:22
@crazytonyli crazytonyli changed the title Task/ai minor tweaks AGENTS.md tweaks Apr 29, 2026
Comment thread .swiftlint.yml
severity: error

opening_brace:
ignore_multiline_statement_conditions: true
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

swift-format puts the opening brace in a new line when there are multiple lines of conditions in the if. There is no option to tweak that configuration in swift-format. So, I updated the swift-lint rule configuration to make swiftlint and swift-format to be compatible.

@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number32074
VersionPR #25513
Bundle IDorg.wordpress.alpha
Commit8ecfd07
Installation URL38ndgtqc95g8o
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number32074
VersionPR #25513
Bundle IDcom.jetpack.alpha
Commit8ecfd07
Installation URL3ul9rl9u6v46g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@crazytonyli crazytonyli added this pull request to the merge queue Apr 29, 2026
Merged via the queue into trunk with commit bdc72a2 Apr 29, 2026
26 checks passed
@crazytonyli crazytonyli deleted the task/ai-minor-tweaks branch April 29, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants