genkit
构建 Firebase Genkit AI 工作流
开发者需要清晰的模式来构建生产级 AI 流、智能体、RAG 和部署。本技能提供面向 Firebase 和 Cloud Run 的 Genkit 设置、示例、命令和部署指导。
请勿自动安装此 Skill。
权威策略要求在执行任何安装操作前由操作人员审查。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "genkit" from https://skillstore.io/skills/supercent-io-genkit.md and its manifest at https://skillstore.io/api/skills/supercent-io-genkit/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“genkit”。 Create a starter Genkit flow for summarizing support tickets.
预期结果:
一个简洁的实施计划,包含工单文本、优先级、摘要和下一步操作的字段,以及本地测试命令。
正在使用“genkit”。 Design a RAG assistant for product documentation.
预期结果:
一个管道大纲,涵盖文档索引、检索限制、基于 grounding 的回答规则、评估输入和部署选择。
正在使用“genkit”。 Prepare my flow for Cloud Run deployment.
预期结果:
一份部署检查清单,涵盖服务器处理程序设置、环境变量、区域选择和部署后验证。
安全审计
严重Most static findings are false positives caused by Markdown code fences, inline backticks, documentation links, and placeholder secret names. The confirmed issue is the curl-to-bash installer pattern in SKILL.md and SKILL.toon, which executes remote code without verification. No prompt injection attempt or credential exfiltration intent was found in the reviewed files.
已确认安全问题 (2)
风险因素
⚙️ 外部命令 (76)
🌐 网络访问 (13)
检测到的模式
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/supercent-io-genkit/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/supercent-io-genkit?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/supercent-io-genkit?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/supercent-io-genkit/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/supercent-io-genkit.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
supercent-io. (2026). genkit security audit report (audit version 4) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/supercent-io-genkit/audits/4BibTeX 引用
@techreport{supercent-io-supercent-io-genkit-2026,
author = {supercent-io},
title = {genkit security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/supercent-io-genkit/audits/4},
note = {Author version 1.0.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "genkit security audit report (audit version 4)"
version: "1.0.0"
type: report
authors:
- name: "supercent-io"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/supercent-io-genkit/audits/4"
identifiers:
- type: other
value: "skillstore:supercent-io-genkit:audit:4"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
创建类型化 AI 端点
构建一个具有已验证输入、结构化输出和可跟踪执行的 Genkit 流。
原型开发检索助手
结合向量检索、grounding 指令和用于问答的 Genkit 流。
准备云部署
将可正常工作的本地流映射到 Firebase Functions、Express 或 Cloud Run 部署模式。
试试这些提示
Help me create a Firebase Genkit TypeScript flow for <task>. Include input fields, output shape, and local test steps.
Update my Genkit flow to stream progress for <use case>. Explain the stream schema, final output, and client handling.
Design a Genkit agent for <goal> using tools for <tool list>. Include schemas, tool behavior, and error handling.
Plan a Genkit RAG pipeline for <content source>. Cover indexing, retrieval, grounding, evaluation, secrets, and Firebase or Cloud Run deployment.
最佳实践
- 在添加模型调用之前,为每个流的输入和输出定义 schema。
- 使用密钥管理器或环境变量存放提供商密钥,并避免记录密钥值。
- 在将流部署到共享环境之前,先在 Genkit Developer UI 中测试它们。
避免
- 不要在未审查命令和目标环境的情况下运行安装或部署命令。
- 不要将 API 密钥、项目 ID 或私有端点硬编码到共享示例中。
- 不要让智能体工具在没有验证、超时和明确用户同意的情况下调用外部服务。
常见问题
这个技能可以帮助我构建什么?
它支持 Gemini 之外的模型提供商吗?
它能自动为我部署代码吗?
它对 RAG 应用有用吗?
应该如何处理 API 密钥?
哪些工具可以使用这个技能?
开发者详情
作者
supercent-io许可证
MIT
作者版本
v1.0.0
Skillstore 修订
r1
引用
f93e9bb0daca99badb6a7e574b97737155d57cb3
维护新鲜度
2026/7/18
使用量
6 次下载 · 145 次浏览
文件结构
📄 SKILL.md