dd-sdk-ios:xcode-file-management
Skill by DataDog
Guides AI assistants to add, move, rename, copy and delete Swift files in the dd-sdk-ios Xcode project. It uses Xcode MCP tools so the filesystem and the Xcode project file stay in sync.
Install dd-sdk-ios:xcode-file-management
Built from the published package, never by AI.
git clone --depth 1 https://github.com/DataDog/dd-sdk-ios /tmp/dd-sdk-ios && mkdir -p ~/.claude/skills && cp -r /tmp/dd-sdk-ios/.claude/skills/xcode-file-management ~/.claude/skills/dd-sdk-ios-xcode-file-managementRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install dd-sdk-ios:xcode-file-management in Claude Code
git clone --depth 1 https://github.com/DataDog/dd-sdk-ios /tmp/dd-sdk-ios && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dd-sdk-ios/.claude/skills/xcode-file-management ~/.gemini/antigravity-cli/skills/dd-sdk-ios-xcode-file-managementAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install dd-sdk-ios:xcode-file-management in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill tells an AI assistant how to manage Swift source files in the dd-sdk-ios Xcode project. It requires Xcode 27 with the Xcode MCP server connected. Instead of writing files directly, the assistant uses Xcode MCP tools such as XcodeWrite, XcodeMV and XcodeRM, which update the filesystem and the .pbxproj project file in one operation. Target membership is inferred from the navigator path.
The skill also covers opening the workspace to get a workspace identifier, converting disk paths to Xcode navigator paths, and verifying changes with a file issue check and a build of the active scheme. It is aimed at contributors to the DataDog dd-sdk-ios SDK who edit modules such as DatadogRUM, DatadogLogs and DatadogCore. It tells the assistant not to use Write, mv, mkdir or rm for file operations in that project.
Written from the project's SKILL.md and checked against it.
What it can do
- XcodeWriteCreates a file on disk and registers it in the Xcode project.
- XcodeMVMoves, renames or copies a file and updates the project reference.
- XcodeRMDeletes a file to the Trash by default, or only removes the project reference.
- XcodeMakeDirCreates a directory or group in the Xcode project.
- XcodeLSLists project navigator paths in a folder.
- XcodeGlobFinds files by pattern using full navigator paths.
- XcodeRefreshCodeIssuesInFileChecks a edited file for code issues.
- BuildProjectBuilds the active scheme to verify the module still compiles.
What you need
- Xcode 27
- Xcode MCP server connected
- Allow external agents to use Xcode tools enabled in Xcode Intelligence settings
Try asking
- Add a new LogBatcher.swift file to the DatadogLogs module in dd-sdk-ios.
- Move LogBatcher.swift from the Feature folder to the Log folder in DatadogLogs.
- Rename a Swift file in DatadogRUM and confirm the project still builds.
Good to know
- Requires Xcode 27 and the Xcode MCP server; other setups are not covered.
- Calls need the workspaceIdentifier, and absolute paths are rejected.
- BuildProject builds only the active scheme, so switch to the target module first.
- XcodeRM moves files to the Trash by default.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/xcode-file-management/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to dd-sdk-ios:xcode-file-management
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
dd-sdk-ios:xcode-file-management: common questions
Why not create Swift files with a normal file write?
The source says Xcode does not discover files automatically, so a file written only to disk is invisible to Xcode and can break the build. The Xcode MCP tools update the project file in the same step.
How does the assistant know which target a new file belongs to?
Target membership is implicit. Xcode MCP infers the target from the navigator path, so a file placed under Datadog/DatadogLogs/ is assigned to the DatadogLogs target.
What path format do the Xcode tools expect?
They use project navigator paths that start with the Datadog group and skip the Sources folder, for example Datadog/DatadogLogs/Foo.swift for DatadogLogs/Sources/Foo.swift.
How do I install dd-sdk-ios:xcode-file-management?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dd-sdk-ios:xcode-file-management free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is dd-sdk-ios:xcode-file-management safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. 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 dd-sdk-ios:xcode-file-management?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
