# firebase/agent-skills architecture

> Architecture diagram of the GitHub repository firebase/agent-skills, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/firebase/agent-skills
- Repository: https://github.com/firebase/agent-skills

## Overview

Firebase Agent Skills is a collection of packaged instructions and scripts that help AI coding agents work with Firebase. The principal workflow is that an agent uses an installed skill for a Firebase task; the repository spans setup, Firebase services, security, and migration. README describes the collection and installation options, while individual skill contents were not sampled, so the graph shows the documented capability areas without inferring calls or internal handoffs.

Main entry points: [`skills/firebase-basics/SKILL.md`](https://github.com/firebase/agent-skills/blob/main/skills/firebase-basics/SKILL.md) (Firebase basics), [`skills/firebase-hosting-basics/SKILL.md`](https://github.com/firebase/agent-skills/blob/main/skills/firebase-hosting-basics/SKILL.md) (Hosting basics), [`skills/firebase-app-hosting-basics/SKILL.md`](https://github.com/firebase/agent-skills/blob/main/skills/firebase-app-hosting-basics/SKILL.md) (App Hosting basics), [`skills/firebase-auth-basics/SKILL.md`](https://github.com/firebase/agent-skills/blob/main/skills/firebase-auth-basics/SKILL.md) (Auth basics)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundation["Firebase Foundations"]
  node_basics["Firebase basics<br/>[SKILL.md]"]
  node_hosting["Hosting basics<br/>[SKILL.md]"]
  node_apphosting["App Hosting basics<br/>[SKILL.md]"]
end

subgraph group_services["Firebase Services"]
  node_auth["Auth basics<br/>[SKILL.md]"]
  node_firestore["Firestore<br/>[SKILL.md]"]
  node_dataconnect["Data Connect<br/>[SKILL.md]"]
  node_ailogic["AI Logic basics<br/>[SKILL.md]"]
  node_crashlytics["Crashlytics<br/>[SKILL.md]"]
  node_remoteconfig["Remote Config<br/>[SKILL.md]"]
end

subgraph group_security["Security Skills"]
  node_rulesaudit["Rules auditor<br/>[SKILL.md]"]
  node_rulescreation["Rules creation<br/>[SKILL.md]"]
  node_rulesauthor["Rules author"]
end

subgraph group_migration["Migration Tools"]
  node_extensionmigration["Extension migration<br/>[SKILL.md]"]
  node_xcode["Xcode project setup<br/>[SKILL.md]"]
end

node_agent(("AI coding agent"))

node_agent -->|"uses skill"| node_basics
node_agent -->|"uses skill"| node_hosting
node_agent -->|"uses skill"| node_apphosting
node_agent -->|"uses skill"| node_auth
node_agent -->|"uses skill"| node_firestore
node_agent -->|"uses skill"| node_dataconnect
node_agent -->|"uses skill"| node_ailogic
node_agent -->|"uses skill"| node_crashlytics
node_agent -->|"uses skill"| node_remoteconfig
node_agent -->|"uses skill"| node_rulesaudit
node_agent -->|"uses skill"| node_rulescreation
node_agent -->|"uses skill"| node_rulesauthor
node_agent -->|"uses skill"| node_extensionmigration
node_agent -->|"uses skill"| node_xcode

click node_basics "https://github.com/firebase/agent-skills/blob/main/skills/firebase-basics/SKILL.md"
click node_hosting "https://github.com/firebase/agent-skills/blob/main/skills/firebase-hosting-basics/SKILL.md"
click node_apphosting "https://github.com/firebase/agent-skills/blob/main/skills/firebase-app-hosting-basics/SKILL.md"
click node_auth "https://github.com/firebase/agent-skills/blob/main/skills/firebase-auth-basics/SKILL.md"
click node_firestore "https://github.com/firebase/agent-skills/blob/main/skills/firebase-firestore/SKILL.md"
click node_dataconnect "https://github.com/firebase/agent-skills/blob/main/skills/firebase-data-connect-basics/SKILL.md"
click node_ailogic "https://github.com/firebase/agent-skills/blob/main/skills/firebase-ai-logic-basics/SKILL.md"
click node_crashlytics "https://github.com/firebase/agent-skills/blob/main/skills/firebase-crashlytics/SKILL.md"
click node_remoteconfig "https://github.com/firebase/agent-skills/blob/main/skills/firebase-remote-config-basics/SKILL.md"
click node_rulesaudit "https://github.com/firebase/agent-skills/blob/main/skills/firebase-security-rules-auditor/SKILL.md"
click node_rulescreation "https://github.com/firebase/agent-skills/blob/main/skills/firestore-rules-creation/SKILL.md"
click node_rulesauthor "https://github.com/firebase/agent-skills/blob/main/agents/firestore-rules-author.md"
click node_extensionmigration "https://github.com/firebase/agent-skills/blob/main/skills/extension-to-functions-codebase/SKILL.md"
click node_xcode "https://github.com/firebase/agent-skills/blob/main/skills/xcode-project-setup/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_basics,node_hosting,node_apphosting toneBlue
class node_auth,node_firestore,node_dataconnect,node_ailogic,node_crashlytics,node_remoteconfig toneAmber
class node_rulesaudit,node_rulescreation,node_rulesauthor toneMint
class node_extensionmigration,node_xcode toneRose
class node_agent toneIndigo
```

## Components

### Firebase Foundations

- [Firebase basics](https://github.com/firebase/agent-skills/blob/main/skills/firebase-basics/SKILL.md): `skills/firebase-basics/SKILL.md`
- [Hosting basics](https://github.com/firebase/agent-skills/blob/main/skills/firebase-hosting-basics/SKILL.md): `skills/firebase-hosting-basics/SKILL.md`
- [App Hosting basics](https://github.com/firebase/agent-skills/blob/main/skills/firebase-app-hosting-basics/SKILL.md): `skills/firebase-app-hosting-basics/SKILL.md`

### Firebase Services

- [Auth basics](https://github.com/firebase/agent-skills/blob/main/skills/firebase-auth-basics/SKILL.md): `skills/firebase-auth-basics/SKILL.md`
- [Firestore](https://github.com/firebase/agent-skills/blob/main/skills/firebase-firestore/SKILL.md): `skills/firebase-firestore/SKILL.md`
- [Data Connect](https://github.com/firebase/agent-skills/blob/main/skills/firebase-data-connect-basics/SKILL.md): `skills/firebase-data-connect-basics/SKILL.md`
- [AI Logic basics](https://github.com/firebase/agent-skills/blob/main/skills/firebase-ai-logic-basics/SKILL.md): `skills/firebase-ai-logic-basics/SKILL.md`
- [Crashlytics](https://github.com/firebase/agent-skills/blob/main/skills/firebase-crashlytics/SKILL.md): `skills/firebase-crashlytics/SKILL.md`
- [Remote Config](https://github.com/firebase/agent-skills/blob/main/skills/firebase-remote-config-basics/SKILL.md): `skills/firebase-remote-config-basics/SKILL.md`

### Security Skills

- [Rules auditor](https://github.com/firebase/agent-skills/blob/main/skills/firebase-security-rules-auditor/SKILL.md): `skills/firebase-security-rules-auditor/SKILL.md`
- [Rules creation](https://github.com/firebase/agent-skills/blob/main/skills/firestore-rules-creation/SKILL.md): `skills/firestore-rules-creation/SKILL.md`
- [Rules author](https://github.com/firebase/agent-skills/blob/main/agents/firestore-rules-author.md): `agents/firestore-rules-author.md`

### Migration Tools

- [Extension migration](https://github.com/firebase/agent-skills/blob/main/skills/extension-to-functions-codebase/SKILL.md): `skills/extension-to-functions-codebase/SKILL.md`
- [Xcode project setup](https://github.com/firebase/agent-skills/blob/main/skills/xcode-project-setup/SKILL.md): `skills/xcode-project-setup/SKILL.md`

### Other components

- **AI coding agent**

## Connections

- AI coding agent → Firebase basics: uses skill (evidence: `README.md`)
- AI coding agent → Hosting basics: uses skill (evidence: `README.md`)
- AI coding agent → App Hosting basics: uses skill (evidence: `README.md`)
- AI coding agent → Auth basics: uses skill (evidence: `README.md`)
- AI coding agent → Firestore: uses skill (evidence: `README.md`)
- AI coding agent → Data Connect: uses skill (evidence: `README.md`)
- AI coding agent → AI Logic basics: uses skill (evidence: `README.md`)
- AI coding agent → Crashlytics: uses skill (evidence: `README.md`)
- AI coding agent → Remote Config: uses skill (evidence: `README.md`)
- AI coding agent → Rules auditor: uses skill (evidence: `README.md`)
- AI coding agent → Rules creation: uses skill (evidence: `README.md`)
- AI coding agent → Rules author: uses skill (evidence: `README.md`)
- AI coding agent → Extension migration: uses skill (evidence: `README.md`)
- AI coding agent → Xcode project setup: uses skill (evidence: `README.md`)
