installskill

Skills / firebase/agent-skills

xcode-project-setup

Safely edits Xcode .pbxproj files to add Swift Packages and link files.

Pinned commit
99954a30898bCommitted 2026-11-09
Files
517 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install firebase/agent-skills skills/xcode-project-setup --agent claude-code --pin 99954a30898bb5ddc8152ee10e124dc3b4106bf7

gh picks the directory for the agent, names the folder after the source directory (xcode-project-setup), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read abe9d4656a71187d75fddaab5bb1c9105318c5ca.

skills CLIpinned

$ npx skills add firebase/agent-skills@99954a30898bb5ddc8152ee10e124dc3b4106bf7 --skill xcode-project-setup -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Claude Code pluginnot pinnedrun inside the agent

> /plugin marketplace add firebase/agent-skills
> /plugin install firebase@firebase

Not pinned: installs whatever the marketplace currently serves. The plugin bundles 13 other skills with this one. It also installs things this page does not cover: subagents, MCP server configuration. Plugin scope is chosen in the /plugin dialog.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/firebase/agent-skills.git "$tmp"
$ git -C "$tmp" checkout --quiet 99954a30898bb5ddc8152ee10e124dc3b4106bf7
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/xcode-project-setup" .claude/skills/xcode-project-setup

No extra tooling. Files land byte for byte as published in .claude/skills/xcode-project-setup, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/xcode-project-setup && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expectedab6b173fd91deda6055d1f79549400f2e81b1115da5f2e5aeaa581d24259f06a

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Other · 2Scripts · 2SKILL.md · 1

Runs commands3

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 3 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packagesNo match

Commands that pull and run third-party packages at use time.

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • github.com×11

Entries worth a second look

  • Hidden filescripts/xcode_spm_setup/.gitignore

File manifest

Every file in the skill directory at the pinned commit.

Content hash
ab6b173fd91deda6055d1f79549400f2e81b1115da5f2e5aeaa581d24259f06a
Git tree SHA
abe9d4656a71187d75fddaab5bb1c9105318c5ca
PathKindSizeSHA-256
SKILL.mdSKILL.md6.0 KBe96d445e9bdbdb5b…
scripts/xcode_spm_setup/.gitignoreOther153 B48188856de00140c…
scripts/xcode_spm_setup/Package.resolvedOther1.1 KB28b46ad0c168371f…
scripts/xcode_spm_setup/Package.swiftScripts428 B4d78392940f8bb87…
scripts/xcode_spm_setup/Sources/main.swiftScripts9.2 KB7b622be10cc91e6a…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
175limit 1,024 characters
SKILL.md body
136 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)
Claude Code plugin
firebase@firebase

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.