Skip to content
mcp/skillhub

Agent Skill

Xcode Project Setup skill

xcode-project-setupfirebase/agent-skillsskills/xcode-project-setup/SKILL.md

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).

479Apache-2.0

always on

46 tokname + description

once used

1,350 tokSKILL.md body

bundled files

411 KB

installs

129kskills.sh

Install the Xcode Project Setup skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/firebase/agent-skills --skill xcode-project-setup

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/firebase/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -R /tmp/agent-skills/skills/xcode-project-setup ~/.claude/skills/xcode-project-setup

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description46 tok
When the agent uses itThe SKILL.md instructions1,350 tok
Only if opened4 bundled files (11 KB)varies

Until it is used, xcode-project-setup costs about 30× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 13 skills from firebase/agent-skills would load 1,052 tokens of descriptions. Skills vs MCP study

Checks

Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Xcode Project Setup
  • ⛔️ CRITICAL RULES & ENVIRONMENT CHECKS
  • 1. The Anti-Ruby Mandate
  • 2. Modern Xcode Folder Synchronization
  • 3. Allowed Scripting Languages
  • 4. Toolchain Verification
  • 5. Mandatory Linker Flags for Static Frameworks (Firebase)
  • Empty Directory Workflow
  • Standard Xcode Workflow
  • CRITICAL: Always Use Latest SDK Version
  • Understanding the Script's Actions
  • Usage
  • Example 1: Generic Package (e.g., Alamofire)
  • Example 2: Firebase (Requires Plist)

More skills from firebase/agent-skills

All skills in this repo
  1. firebase-basicsfirebase/agent-skills

    Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation/switching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.

    174k105 tok idle · 1,605 in use
  2. firebase-auth-basicsfirebase/agent-skills

    Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

    173k37 tok idle · 982 in use
  3. firebase-hosting-basicsfirebase/agent-skills

    Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites/SPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js/SSR), Auth, Firestore queries/rules, Data Connect, or Crashlytics.

    168k92 tok idle · 415 in use
  4. firebase-app-hosting-basicsfirebase/agent-skills

    Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App Hosting. Use when deploying Next.js/Angular apps, configuring apphosting.yaml or firebase.json apphosting blocks, managing secrets, setting up GitHub CI/CD, or configuring Blaze billing requirements. Don't use for classic static web hosting, Auth, Firestore, Crashlytics, or Xcode.

    168k91 tok idle · 651 in use
  5. firebase-data-connectfirebase/agent-skills

    Builds and deploys Firebase SQL Connect (aka Firebase Data Connect) backends with PostgreSQL securely. Use when designing schemas with tables and relations, writing authorized queries and mutations, configuring real-time data updates, or generating type-safe SDKs. Use when you need a relational database with Firebase, or when the user mentions SQL Connect or Data Connect.

    167k73 tok idle · 1,946 in use
  6. firebase-security-rules-auditorfirebase/agent-skills

    Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.

    137k94 tok idle · 780 in use
  7. firebase-ai-logic-basicsfirebase/agent-skills

    Integrates Firebase AI Logic (formerly Vertex AI for Firebase) into mobile and web apps (Android, iOS, Web, and Flutter) to call Gemini models from client code. Use when provisioning or initializing Firebase AI Logic, or adding Gemini features to an app: text generation, multimodal input, chat, streaming, structured output, hybrid on-device inference, App Check protection, or switching models with Remote Config.

    134k90 tok idle · 2,563 in use
  8. firebase-firestorefirebase/agent-skills

    Sets up, manages, queries, and configures Cloud Firestore databases (Standard/Enterprise edition), including data modeling, security rules, indexes, and SDK integrations (Web, Python, iOS, Android, Flutter). Use when creating/listing Firestore databases, defining data models/indexes, writing SDK queries, or integrating Firestore SDKs. For authoring or modifying Firestore Security Rules (firestore.rules), delegate to the firestore-rules-author subagent if subagent delegation is available, or use firestore-rules-creation otherwise. Don't use for Firebase Hosting, Data Connect, Auth, Storage/GCS, Crashlytics, Functions, or BigQuery.

    133k138 tok idle · 897 in use