macos-build
Skill by freekmurze
macos-build is an agent skill that builds native macOS Xcode projects from the command line with xcodebuild. It is for developers who want their assistant to check whether a macOS app compiles and to help fix build errors.
Install macos-build
Built from the published package, never by AI.
git clone --depth 1 https://github.com/freekmurze/dotfiles /tmp/dotfiles && mkdir -p ~/.claude/skills && cp -r /tmp/dotfiles/config/claude/skills/build ~/.claude/skills/macos-buildRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/freekmurze/dotfiles /tmp/dotfiles && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dotfiles/config/claude/skills/build ~/.gemini/antigravity-cli/skills/macos-buildAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
macos-build is an agent skill that builds a native macOS Xcode project from the command line using xcodebuild. It tells the assistant to find the .xcodeproj or .xcworkspace file, list the available schemes, and run a Debug build for the macOS platform. The build output is filtered to show BUILD SUCCEEDED, BUILD FAILED and error lines.
When a build fails, the skill directs the assistant to read each error, locate the file and line, help fix it, and rebuild to confirm. It also covers beta Xcode toolchains for beta SDKs such as macOS 26 Tahoe and includes a table of common build failures with suggested fixes. It is aimed at developers who build macOS apps in Xcode and want their assistant to verify that changes compile.
Written from the project's SKILL.md and checked against it.
What it can do
- Find the projectLocates .xcodeproj or .xcworkspace files in the current directory.
- List schemesRuns xcodebuild -list to show the available schemes for a project.
- Debug buildRuns xcodebuild build for a macOS destination in the Debug configuration.
- Workspace buildsBuilds workspaces for projects that use SPM dependencies or CocoaPods.
- Fix build errorsReads error lines, identifies source files and lines, and rebuilds after fixes.
- Beta toolchainsPoints the build to Xcode-beta when a project targets a beta SDK.
- Common failure fixesLists fixes for errors such as missing modules, signing identity and wrong SDK path.
What you need
- Xcode installed at /Applications/Xcode.app or Xcode-beta for beta SDKs
- macOS with xcodebuild available
Try asking
- Build the app and tell me if it compiles
- Fix the build errors in this macOS project
- Run a debug build of my Xcode project and list any errors
Good to know
- Covers native macOS Xcode projects only.
- The build output is filtered, so only the first 20 matching lines are shown by default.
- Command-line builds may need code signing disabled, as the skill suggests.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: config/claude/skills/build/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md3 KB
Alternatives to macos-build
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
macos-build: common questions
Does macos-build work with Swift Package Manager or CocoaPods?
The skill says to use the -workspace form of the build command for projects with SPM dependencies or CocoaPods.
What if the build fails with a signing error?
The skill suggests setting CODE_SIGN_IDENTITY to an empty string and CODE_SIGNING_ALLOWED to NO for command-line builds.
Can it build against a macOS beta SDK?
Yes. The skill says you may need to point DEVELOPER_DIR to Xcode-beta, for example for macOS 26 Tahoe.
How do I install macos-build?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is macos-build free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is macos-build safe to use?
It scores 74 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to macos-build?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
