Free
AI OverviewGenerated from SKILL.md
Core usage
This skill converts a Firebase Extension (installed or source) into a standalone Cloud Functions for Firebase codebase under functions/src/ or into a publishable npm package exporting V2 functions. It guides users through inventorying extension.yaml resources, configuring package.json, upgrading 1st Gen triggers to 2nd Gen, converting lifecycle events to SDK hooks, and generating a README with installation and re-export instructions.
Key advantages
It leverages native Cloud Functions features such as declarative IAM, Parameterized Config, and SDK Lifecycle Hooks, reducing manual GCP setup. It modernizes legacy 1st Gen triggers to 2nd Gen using the Destructuring Compatibility Shim, and supports both local app integration and reusable package distribution.
Limitations
It imposes strict constraints, including never calling .value() at top-level module load scope, which requires careful initialization inside onInit() or lazy getters. V2 concurrency can alter pricing behavior unless cpu: "gcf_gen1" is explicitly set. The workflow explicitly warns to never execute npm publish, limiting direct publishing automation.
Target audience
This is for developers migrating existing Firebase Extensions into a local Cloud Functions codebase for their own application, or into a shareable npm package. It is also relevant for maintainers who need to modernize extension triggers to 2nd Gen and align with current Firebase Functions SDK patterns.
Risks & notes
Misusing global parameter access can cause runtime failures because SDK instances may be initialized before parameter values are resolved. Failing to preserve single-concurrency behavior under V2 may result in unexpected cost changes. Incorrect lifecycle event mapping or package exports configuration could break extension behavior or consumer re-exports, and running npm publish against the source is explicitly prohibited.
DescriptionWritten by the seller
Use caseInput → Output
Input
Migrates a Firebase Extension into either: 1. A local Cloud Functions codebase (functions/src/ for app integration). 1. A publishable npm package (reusable open-source p
Output
Verified guidance, commands and best practices for Extension To Functions Codebase, ready to paste into your agent
How it worksImport to your platform and run
Item details
Use case
AI Skills
Capability
Coding
Agents
Claude Code, Cursor
Version
1.0.0
Source
First seen
Aug 13, 2026
Installs
1,358
License
Non-exclusive
Last update
Aug 13, 2026
InstallCompatible with agent skill ecosystem
npx skills add firebase/agent-skills --skill extension-to-functions-codebase
What you get
SKILL.md skill definitionCommand referenceInstallation instructionsExtension To Functions Codebase reference
Verified sourceOriginal project page — inspect before install
Open the original source project
Check the upstream repository, license and changelog before install
Security ScanS+Score 100/100 · 0 findings · 2026-08-15 21:36:12
Static analysis100
Dynamic behavior100
Dependencies100
Network100
Privacy100
Threat intel100
✓ 未发现安全问题,六维检测全部通过。
Security scan generated by TopTinker automated engine from SKILL.md static analysis, for pre-install reference only. Third-party skills carry their own runtime risk.
2021-12-28开店时间
284商品数
—认证
Guarantees
Escrow paymentOn
Platform holds funds until delivery is confirmed
Install verified
Free download - install & run before you pay
Source transparency
Original GitHub repo linked & verified
No refunds after download
Digital product - disputes arbitrated on evidence only
Enhanced protection
Trusted seller - priority arbitration within 48h, backed by platform bond
More in AI Skills

