add-to-xcode

Community

Auto-register new source files in Xcode projects.

Authormichaelboeding
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that after you create any Swift, Objective-C, C, C++, or header file inside a directory containing an .xcodeproj, you must run a special script to register it with the project. Without this step, the file will not appear in Xcode or compile.

Core Features & Use Cases

  • Mandatory post-create registration: Run the add_to_xcode.rb script after creating source files to update the Xcode project.
  • Wide file type support: Covers .swift, .m, .mm, .c, .cpp files (headers .h are read-only in the build, but still supported for reference).
  • Use Case: After adding a new file to your Xcode project, execute the script to ensure it appears in the navigator and is compiled.

Quick Start

Run the post-file creation command to register your new file with the Xcode project, replacing <filepath> with your actual file path: ruby ${CLAUDE_PLUGIN_ROOT}/skills/add-to-xcode/scripts/add_to_xcode.rb <filepath>

Dependency Matrix

Required Modules

rubyxcodeproj

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-to-xcode
Download link: https://github.com/michaelboeding/skills/archive/main.zip#add-to-xcode

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.