test-extension
Skill by GoogleCloudPlatform
Test Firebase extensions end-to-end against a real Firebase project. It covers building, installing, writing test data, triggering, and verifying output. Built for developers who build, test, or debug Firebase extensions.
Install test-extension
Built from the published package, never by AI.
git clone --depth 1 https://github.com/GoogleCloudPlatform/firebase-extensions /tmp/firebase-extensions && mkdir -p ~/.claude/skills && cp -r /tmp/firebase-extensions/.skills/test-extension ~/.claude/skills/test-extensionRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/GoogleCloudPlatform/firebase-extensions /tmp/firebase-extensions && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/firebase-extensions/.skills/test-extension ~/.gemini/antigravity-cli/skills/test-extensionAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
test-extension is an agent skill from GoogleCloudPlatform for full-lifecycle manual testing of Firebase extensions against a production Firebase project. It tells the assistant to ask the user for the project ID first, then build the extension, install it, write test data, watch for completion, read the result, and clean up the test data.
The skill covers Firestore-triggered and Storage-triggered extensions, with reference files for per-extension details. It includes helper scripts for writing, reading, deleting, and watching Firestore documents, and explains how to check Cloud Function logs and uninstall an extension. It is aimed at developers who need to test, verify, or debug a Firebase extension.
Written from the project's SKILL.md and checked against it.
What it can do
- Build and installBuilds the extension with npm and explains two ways to install it, including manual config files and deploy.
- write-firestore-doc.shWrites a JSON document to a Firestore collection to trigger the extension.
- watch-status.shPolls a document until its status.state matches a target value.
- read-firestore-doc.shReads a Firestore document or lists a collection.
- delete-firestore-doc.shDeletes a specific Firestore document to clean up test data.
- Storage extension testingUploads a file to the configured bucket to trigger Storage-based extensions.
- Log checkingReads Cloud Function logs with gcloud to verify extension behavior after a trigger.
- UninstallRemoves an extension instance with firebase ext:uninstall.
What you need
- A Firebase project ID
- Firebase login or gcloud application default credentials
- Firebase CLI
- gcloud CLI
- Node.js and npm to build the extension functions
Try asking
- Test my Firebase extension on project my-app-123 from start to finish.
- Write a test document to the prompts collection and watch its status.
- Check the Cloud Function logs for my extension after the last trigger.
Good to know
- firebase ext:install is interactive and has no non-interactive flag.
- Do not use --force with firebase deploy --only extensions, as it deletes other instances.
- Uninstalling an extension does not delete Firestore data it created.
- Immutable params such as LOCATION require uninstalling and reinstalling.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .skills/test-extension/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to test-extension
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
test-extension: common questions
Does test-extension need a Firebase project ID?
Yes. The source says the assistant must ask the user for the Firebase project ID before running any scripts, and all scripts require PROJECT_ID to be set.
Does uninstalling an extension delete its data?
No. The source says uninstalling removes the extension and its config files but does not delete Firestore data created by the extension.
Which extension types does the skill test?
The source describes Firestore-triggered extensions, Storage-triggered extensions, and other types such as Pub/Sub or HTTPS, with reference files for the first two.
How do I install test-extension?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is test-extension free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is test-extension safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to test-extension?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
