infra-verification

Verifies deployed Firebase, Stripe, and GCP infrastructure matches local project configuration files.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/yunior123/origna_gta_firebase --skill infra-verification-yunior123
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: infra-verification
Source: https://github.com/yunior123/origna_gta_firebase/tree/main/.claude/skills/infra-verification
Command: npx skills add https://github.com/yunior123/origna_gta_firebase --skill infra-verification-yunior123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Before a production launch, teams risk silent drift between local configuration files (firestore.rules, indexes, functions) and what is actually deployed in Firebase, Stripe, and GCP. This Skill systematically audits every infrastructure domain to catch mismatches before they cause production failures. ## Core Features & Use Cases - Multi-Domain Verification: Checks Cloud Functions deployment, Firestore rules and indexes, Storage rules, Stripe webhooks, GCP Secret Manager, Algolia indexes, Firebase Hosting, CORS, and Cloud Scheduler cron jobs. - CLI-Driven Cross-Referencing: Uses gcloud, firebase, and stripe CLI commands to compare live deployed state against local source-of-truth files like functions/main.py and firestore.indexes.json. - Use Case: Before launching a Flutter marketplace app, run this Skill to confirm all 54 Cloud Functions are deployed, all 12 Stripe webhook events are registered, required secrets exist in Secret Manager, and no Firestore indexes are stuck in CREATING or ERROR state. ## Quick Start Ask the agent to run a full infrastructure verification of the Firebase, Stripe, and GCP deployment against the local project configuration files.

Frequently Asked Questions about infra-verification

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify Firebase Cloud Functions are deployed correctly?▼

Compare the __all__ list in functions/main.py against the output of gcloud functions list or firebase functions:list. Check that each function's runtime, memory, timeout, trigger type, and environment variables match the local configuration.

How to check if Firestore indexes match the deployed state?▼

Run gcloud firestore indexes composite list and compare the output against firestore.indexes.json. Confirm every index is in READY state with no CREATING or ERROR entries, and that no orphaned indexes exist that are absent from the config file.

What Stripe webhook events should be registered for a marketplace app?▼

Required events include checkout.session.completed, payment_intent.succeeded, charge.refunded, charge.dispute.created, account.updated for Connect, and transfer.created. Verify them with stripe webhook_endpoints list and confirm the signing secret is stored in GCP Secret Manager.

Can this verification run without LLM analysis?▼

Yes, the audit script supports a CLI-only mode via python audit/run_hooks.py --hook infra --no-llm, which runs the gcloud, firebase, and stripe checks without invoking a language model. Individual domains can also be checked with verify_infra.py --domain.

Why do Firestore queries fail with missing index errors in production?▼

Queries fail when composite indexes defined in code were never deployed or are still building. List deployed indexes with gcloud firestore indexes composite list and deploy missing ones with firebase deploy --only firestore:indexes.