aibot88/sec_skill_store/firebase-operations

Claude Code and agent skill by aibot88/sec_skill_store

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Performs Firebase Firestore operations. Use when querying collections, creating/updating/deleting documents, using batch writes, or working with Timestamps. Includes pagination, transactions, and security rules patterns.

Install

npx vskill@latest install aibot88/sec_skill_store/firebase-operations

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/firebase-operations.

Firebase Operations Skill

Instructions

  1. Import getAdminDb, COLLECTIONS from @/lib/firebase-admin
  2. Use Timestamp.now() for timestamps
  3. Convert to ISO string for API responses: createdAt.toDate().toISOString()
  4. Use batch writes for multiple operations (max 500)
  5. Use transactions for atomic operations

Quick Reference

typescript
import { getAdminDb, COLLECTIONS } from '@/lib/firebase-admin'
import { Timestamp, FieldValue } from 'firebase-admin/firestore'
// Get document
const doc = await db.collection(COLLECTIONS.PROJECTS).doc(id).get()
// Create with timestamps
const now = Timestamp.now()
await docRef.set({ ...data, createdAt: now, updatedAt: now })
// Update
await docRef.update({ field: value, updatedAt: Timestamp.now() })
// Increment counter
await docRef.update({ likes: FieldValue.increment(1) })

For complete operations (batch writes, transactions, pagination, queries), see reference.md.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aibot88/sec_skill_store/firebase-operations/badge)](https://verified-skill.com/skills/aibot88/sec_skill_store/firebase-operations)

Something wrong with this skill or its page? Tell us.