Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计未展示

firebase-development%3adebugFirebase 开发 3adebug

Agent Skill

firebase-development%3adebug 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

321

周安装

13

GitHub Stars

31

下载量

101
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:firebase-development%3adebug(Firebase 开发 3adebug)
来源仓库:https://github.com/2389-research/claude-plugins
仓库路径:skills/firebase-development%3Adebug
安装命令:
npx skills add https://github.com/2389-research/claude-plugins --skill firebase-development:debug
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/2389-research/claude-plugins --skill firebase-development:debug

简介

Firebase 开发 debug 技能用于查找、检索和筛选相关信息。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果的任务。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 当前暂无原始 SKILL.md 内容可参考,需进一步查阅来源仓库获取详细信息。

SKILL.md

Firebase Debugging

Overview

This sub-skill guides systematic troubleshooting of Firebase development issues. It handles emulator problems, rules violations, function errors, auth issues, and deployment failures.

Key principles:

  • Identify issue type first (emulator, rules, functions, auth, deployment)
  • Use Emulator UI and Rules Playground for diagnosis
  • Export emulator state before restarting
  • Document issues and solutions for future reference

When This Sub-Skill Applies

  • Emulators won't start or have port conflicts
  • Getting Firestore rules violations (PERMISSION_DENIED)
  • Cloud Functions returning errors or not executing
  • Authentication not working in emulators
  • Deployment fails with cryptic errors
  • User says: "debug", "troubleshoot", "error", "not working", "failing"

Do not use for:

  • Setting up new projects → firebase-development:project-setup
  • Adding new features → firebase-development:add-feature
  • Code review without specific errors → firebase-development:validate

TodoWrite Workflow

Create checklist with these 10 steps:

Step 1: Identify Issue Type

Categorize the error:

CategorySymptomsKeywords
Emulator Won't StartPort conflicts, initialization errors"EADDRINUSE", "emulator failed"
Rules ViolationPermission denied on read/write"PERMISSION_DENIED", "insufficient"
Function ErrorHTTP 500, timeout, not executing"function failed", "timeout"
Auth IssueToken errors, not authenticated"auth failed", "invalid token"
Deployment FailureDeploy command fails"deployment failed", "deploy error"

If unclear, use AskUserQuestion to clarify issue type.

Step 2: Check Emulator Logs and Terminal

For running emulators: Watch terminal output while reproducing the issue.

For emulators that won't start:

lsof -i :4000 && lsof -i :5001 && lsof -i :8080  # Check ports
kill -9 <PID>  # Kill conflicting process

For deployment errors: Check firebase-debug.log

Reference: docs/examples/emulator-workflow.md

Step 3: Open Emulator UI

open http://127.0.0.1:4000

Use Emulator UI to:

  • View Firestore data and structure
  • Check authenticated users
  • Review function invocation logs
  • Search consolidated logs

Step 4: Test Rules in Playground (If Rules Issue)

In Emulator UI → Firestore → Rules Playground:

  1. Select operation type (get/list/create/update/delete)
  2. Specify document path
  3. Set auth context (uid, custom claims)
  4. Add request data for writes
  5. Run simulation and review evaluation trace

Reference: docs/examples/firestore-rules-patterns.md

Step 5: Add Debug Logging (If Function Error)

Add strategic console.log statements:

  • Function entry confirmation
  • Input data (req.body, req.params)
  • Auth context (userId, API key)
  • Intermediate operation results
  • Error details with stack trace

Watch terminal output while reproducing.

Reference: docs/examples/express-function-architecture.md

Step 6: Verify Auth Configuration (If Auth Issue)

Check environment variables:

cat functions/.env
cat hosting/.env.local  # Should have NEXT_PUBLIC_USE_EMULATORS=true

Check emulator connection in client code and API key middleware.

Reference: docs/examples/api-key-authentication.md

Step 7: Check Deployment Config (If Deployment Failure)

cat firebase-debug.log  # Full error details
cat firebase.json       # Config issues
cat .firebaserc         # Project ID
firebase target:list    # Verify targets

Test predeploy hooks locally:

cd functions && npm run build

Step 8: Export Emulator State

Before making fixes:

# Graceful shutdown (Ctrl+C exports automatically)
# Or manual export:
firebase emulators:export ./backup-data

Verify export: ls -la.firebase/emulator-data/

Step 9: Implement and Test Fix

Apply fix based on diagnosis, then:

firebase emulators:start --import=.firebase/emulator-data

Verify:

  • Original error no longer occurs
  • Terminal shows success logs
  • Emulator UI confirms expected behavior

Step 10: Document Issue and Solution

Create entry in docs/debugging-notes.md:

  • Symptom and exact error message
  • Root cause
  • Solution applied
  • Prevention for future

Common Issues Quick Reference

IssueSolution
Port conflictslsof -i:<port>, kill process
Data persistence lostUse Ctrl+C (not kill) to stop emulators
Cold start delaysFirst call takes 5-10s (normal)
Rules not reloadingRestart emulators
Admin vs Client SDKAdmin bypasses rules, client respects them
Missing CORSAdd app.use(cors({origin: true}))
Emulator connectionSet NEXT_PUBLIC_USE_EMULATORS=true
API key prefixVerify prefix matches actual keys

Integration with Superpowers

If Firebase-specific tools don't reveal root cause, invoke superpowers:systematic-debugging for:

  • Complex multi-service interactions
  • Race conditions or timing issues
  • Call stack tracing beyond Firebase layer

Pattern References

  • Emulator workflow: docs/examples/emulator-workflow.md
  • Rules patterns: docs/examples/firestore-rules-patterns.md
  • Auth patterns: docs/examples/api-key-authentication.md
  • Functions: docs/examples/express-function-architecture.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

36.23%
按下载量换算37

Claude

30.65%
按下载量换算31

Cursor

20.36%
按下载量换算21

Gemini CLI

10.44%
按下载量换算11

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills