Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计提醒

firebase-ai-logicFirebase AI logic 搜索

Agent Skill

firebase-ai-logic 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,983

周安装

81

GitHub Stars

11

下载量

635
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:firebase-ai-logic(Firebase AI logic 搜索)
来源仓库:https://github.com/akillness/oh-my-skills
仓库路径:skills/firebase-ai-logic
安装命令:
npx skills add https://github.com/akillness/oh-my-skills --skill firebase-ai-logic
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-skills --skill firebase-ai-logic

简介

用于在 Firebase 应用中集成 Gemini 驱动的功能,如文本生成、聊天或多模态体验。

  • 适合客户端直接调用 AI 能力,同时处理 App Check 配额和 Firebase 服务集成。
  • 使用时需判断请求是否适合客户端层,不适合则转向后端工作流。
  • 不涉及工具调用、RAG 或评估器场景,这些应由其他专用技能处理。
  • firebase-ai-logic 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Firebase AI Logic

When to use this skill

  • Add Gemini-powered features directly inside a Firebase app.
  • Build in-app text, chat, multimodal, structured-output, or streaming experiences.
  • Decide whether a request should stay in the client/app layer or move to a backend workflow.
  • Add Firebase-specific production controls such as App Check, quota awareness, and Firebase service integration around the AI feature.
  • Handle app-side AI for web, mobile, Flutter, Unity, or similar Firebase-supported client surfaces.

Do not use this skill when

  • The user needs server-owned flows, tool calling, RAG, evaluators, traces, prompt files, or reusable backend orchestration → use genkit.
  • The user needs Firebase project setup, emulator, hosting/functions deploys, or CLI operations → use firebase-cli.
  • The user is not committed to Firebase and mainly needs a generic provider SDK comparison → use a provider-specific or framework-selection skill instead.

Operating model

Treat firebase-ai-logic as the client/app integration anchor in a three-way lane:

  1. App/client feature integrationfirebase-ai-logic
  2. Backend workflow orchestrationgenkit
  3. Firebase platform / operator tasksfirebase-cli

Do not blur these roles. If the request spans more than one role, split the packet and route each part explicitly.

Instructions

Step 1: Classify the request before giving implementation advice

Choose one mode first.

Mode A — Direct feature fit

Use this when the user wants to add an in-app AI feature such as:

  • chat or assistant UI
  • summarization or rewriting in the app
  • multimodal prompts from user content
  • structured output for app workflows
  • streaming model responses into the UI

Deliver:

  • whether Firebase AI Logic is the right lane
  • what belongs in the app layer vs what should move out
  • the minimum Firebase dependencies/services involved

Mode B — App wiring and UX integration

Use this when the user already chose Firebase AI Logic and needs help wiring it into the app.

Focus on:

  • where the model call lives in the app architecture
  • request/response lifecycle in UI state
  • loading/error/retry/fallback UX
  • prompt/template ownership in the app
  • content moderation / safety surface the app must expose

Mode C — Production hardening

Use this when the feature exists or is close to launch.

Focus on:

  • App Check / abuse prevention
  • quota, cost, and rate-limit implications
  • monitoring and failure visibility
  • remote rollout / feature-flag strategy if relevant
  • privacy boundaries for user input and generated output

Mode D — Escalation boundary

Use this when the user started with a client-side request, but the shape now implies backend orchestration.

Escalate to genkit when you see:

  • tool calling or agent loops
  • retrieval / RAG / database-grounded generation
  • reusable flows shared across platforms
  • evaluation harnesses, traces, or systematic observability
  • secrets or privileged APIs that should not sit in the client

Step 2: Normalize the request packet

Rewrite the request into this brief before answering:

## Firebase AI Logic packet
- App surface: web | iOS | Android | Flutter | Unity | mixed
- User-facing feature: chat | summary | generation | multimodal | structured output | streaming
- Data involved: user text | images | docs | app state | Firebase data
- Safety/privacy concern: none | moderate | high
- Production stage: prototype | internal beta | launch prep | live issue
- Boundary check: stays in app | split with backend | move to `genkit`

If the packet says split with backend or move to genkit, say so immediately instead of pretending one skill owns the entire solution.

Step 3: Give app-layer guidance, not a giant code dump

For Firebase AI Logic requests, structure the answer in this order:

  1. Why this should stay in the app layer
  2. What to wire in the client UI/runtime
  3. What Firebase-specific controls matter
  4. What not to put in the client
  5. When to escalate to genkit or firebase-cli

Use short code or pseudo-structure only when it clarifies the integration. Prefer architecture and boundary guidance over long SDK snippets.

Step 4: Cover the Firebase-specific concerns

Always touch the concerns that make this lane distinct from raw provider SDK usage:

  • App Check / abuse prevention when relevant
  • quotas / cost / rate awareness
  • Firebase service interplay (Auth, Remote Config, analytics/monitoring, storage, functions handoff if needed)
  • platform support implications for the target app surface
  • rollout strategy for model changes or feature exposure when the request is production-facing

Step 5: Enforce honest route-outs

Use these route-outs explicitly.

If the user needs...Route to...
server-owned flows or tool callinggenkit
retrieval / RAG / evals / tracesgenkit
deploys, emulators, hosting, or functions opsfirebase-cli
non-Firebase provider choiceprovider/framework skill

Step 6: Output format

Respond with a compact packet like this:

## Recommendation
- Lane: Firebase AI Logic | Split with Genkit | Not a Firebase AI Logic fit
- Why: ...

## App-layer plan
1. ...
2. ...
3. ...

## Firebase-specific controls
- App Check / abuse:
- Quota / cost:
- Monitoring / rollout:

## Route-outs
- `genkit`: ...
- `firebase-cli`: ...

Best practices

  1. Keep simple user-facing AI in the app layer only while it remains low-privilege and low-orchestration.
  2. Move backend-worthy behavior out early; do not bolt tools/RAG/evals onto a client-only design.
  3. Treat App Check, quota, and launch-readiness as first-class concerns, not afterthoughts.
  4. Prefer one clear feature packet per response instead of mixing app UX, backend orchestration, and Firebase ops into a single blob.
  5. When uncertain, explain the split between app-side Firebase AI Logic and backend-side genkit before proposing implementation steps.

Examples

Example 1: Should stay in Firebase AI Logic

Input: "Add streaming Gemini summaries inside our Firebase web app for article previews."

Output shape:

  • lane = Firebase AI Logic
  • plan focuses on app UI state, streaming rendering, prompt ownership, failure states, and App Check/quota guardrails
  • route-out notes that reusable summarization pipelines or evaluation harnesses belong in genkit

Example 2: Should split with Genkit

Input: "Our mobile app needs chat, tool calling, and retrieval over Firebase data with server-side observability."

Output shape:

  • lane = Split with Genkit
  • Firebase AI Logic stays at the app interaction edge only if needed
  • backend workflow, retrieval, tools, and observability move to genkit

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.38%
按下载量换算237

Claude

32.45%
按下载量换算206

Cursor

17.73%
按下载量换算113

Gemini CLI

8.37%
按下载量换算53

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills