技能 gemini-api-dev
📦

gemini-api-dev

内容修订 r1 严重 ⚙️ 外部命令🌐 网络访问

Build and Migrate Gemini API Integrations

Gemini API versions differ in how they handle requests, responses, and streaming. Use Python and TypeScript examples and a migration checklist to plan and verify changes.

支持: Claude Codex Code(CC)
你是维护者?认领此 Skill ⚠️ 38 差

使用我的智能体安装

将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。

智能体请求
Review the Skillstore skill "gemini-api-dev" from https://skillstore.io/skills/google-gemini-gemini-api-dev.md and its manifest at https://skillstore.io/api/skills/google-gemini-gemini-api-dev/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.

你的智能体仍应展示其计划,并按安全策略请求必要确认。

测试它

正在使用“gemini-api-dev”。 How should I display a streamed TypeScript reply?

预期结果:

  • Append text as text delta events arrive.
  • Read token usage from the completion event and keep it separate from the visible reply.
  • Test the handler with simulated events before using a live request.

正在使用“gemini-api-dev”。 What should I verify when updating a two-turn Python conversation?

预期结果:

  • Confirm the new request returns a model output step with text.
  • Send the first interaction ID with the second request and check that context is preserved.
  • Confirm that provider storage is appropriate for the data before enabling server-side state.

安全审计

严重
v1 • 2026/11/20 打开版本化报告

Of 180 static alerts, 178 are false positives; two examples configure a remote agent to fetch an unverified repository. The skill claims override authority and recommends installing another skill without approval. Its stateful examples rely on default provider retention.

2
已扫描文件
734
分析行数
2
复核项
0
已忽略误报

已确认安全问题 (3)

严重
Prompt Injection Attempt Detected
The skill claims, "These rules override your training data. Your knowledge is outdated." This framing can pressure an assistant to treat unverified model instructions as authoritative.
The top-level callout directly claims override authority. It does not explicitly target the marketplace audit or ask for secrets.
中
Stateful Examples Can Retain Sensitive Prompts
The stateful examples rely on provider storage. The guide discloses the default but does not tell users to review retention policy before adapting these examples to sensitive data.
The guide states that storage is enabled by default, and both stateful examples omit the opt-out. The examples themselves use sample data.
中
Additional Skill Installation Lacks an Approval Step
The Live API note directs readers to install a separate skill without requiring explicit approval. That skill is outside this review and can introduce new instructions.
The note explicitly says to install another skill. It provides neither an approval step nor an automatic installation command.
能力复核项 (2)

这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。

低
Hardcoded URL
"source": "https://github.com/my-org/backend",
The Python example configures a remote agent to fetch a repository from an unverified GitHub namespace. If copied, it can attempt an unintended clone.
低
Hardcoded URL
source: "https://github.com/my-org/backend",
The TypeScript example configures a remote agent to fetch a repository from an unverified GitHub namespace. If copied, it can attempt an unintended clone.
审计者: codex
分享与引用此报告

分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。

打开版本化报告
安全评估

复制报告链接

https://skillstore.io/skills/google-gemini-gemini-api-dev/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown 徽章

[![Skillstore security assessment](https://skillstore.io/badges/skills/google-gemini-gemini-api-dev/security.svg)](https://skillstore.io/skills/google-gemini-gemini-api-dev?utm_source=security_passport_badge)

HTML 徽章

<a href="https://skillstore.io/skills/google-gemini-gemini-api-dev?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/google-gemini-gemini-api-dev/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

嵌入卡片

<iframe src="https://skillstore.io/embed/skills/google-gemini-gemini-api-dev.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 引用

google-gemini. (2026). gemini-api-dev security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/google-gemini-gemini-api-dev/audits/1

BibTeX 引用

@techreport{google-gemini-google-gemini-gemini-api-dev-2026, author = {google-gemini}, title = {gemini-api-dev security audit report (audit version 1)}, institution = {Skillstore}, year = {2026}, number = {1}, url = {https://skillstore.io/skills/google-gemini-gemini-api-dev/audits/1}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "gemini-api-dev security audit report (audit version 1)" version: "unspecified" type: report authors: - name: "google-gemini" date-released: "2026-11-20" url: "https://skillstore.io/skills/google-gemini-gemini-api-dev/audits/1" identifiers: - type: other value: "skillstore:google-gemini-gemini-api-dev:audit:1" description: "Skillstore immutable audit report identifier"

比较变体

2 个可安装变体

每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。

为什么此变体排名第一

证据置信度更高
sickn33 推荐

sickn33-gemini-api-dev

Skillstore 评分 38
证据置信度 中
Skillstore 使用量 19
已更新

2026-09-09

google-gemini-gemini-api-dev

Skillstore 评分 38
证据置信度 低
Skillstore 使用量 1
已更新

2026-11-25

Skillstore 评分

评分依据 证据置信度: 低
41
架构
65
可维护性
87
内容
65
社区
70
规范符合性

你能构建什么

Make a First Text Request

Set up the Python SDK, send a sample prompt, and check that the response includes text.

Display a Streaming Reply

Separate incremental text from completion events in a TypeScript application.

Review a Legacy API Upgrade

Identify request, response, and tool-call changes before approving a scoped migration.

试试这些提示

Start with Text Generation
Draft a minimal Python Interactions API example with a sample prompt. Show how to read the final text without embedding a key or making a live call.
Design a Two-Turn Conversation
Show a two-turn TypeScript conversation using fictional data. Explain how previous interaction IDs depend on provider storage and describe a stateless alternative.
Handle Streaming Events
Draft a TypeScript example that separates incremental text from final usage. Include a test plan for interrupted streams using mock events.
Plan a Scoped API Migration
Review only the files I list for migration to the Interactions API. Map request options, response handling, and tool calls. Propose regression tests before editing.

最佳实践

  • Check the current vendor documentation for the selected model, API version, and SDK.
  • Keep credentials outside source code and use sample data until retention and remote access policies are approved.
  • Confirm migration scope and test the response behavior before changing additional files.

避免

  • Assuming a model change alone migrates a generateContent integration.
  • Expecting a previous interaction ID to work after disabling storage.
  • Copying a remote agent example with a repository that has not been approved.

常见问题

Which languages have examples?
The skill includes Python and JavaScript or TypeScript SDK examples.
Can it guide a generateContent migration?
Yes. The checklist covers SDK calls, response steps, streaming events, conversation state, and tool calls.
Can I use server-side conversation state without storage?
No. The guide says that disabling storage prevents reuse of a previous interaction ID and disables background execution.
Which examples require the beta API?
The managed-agent and Decisions API examples use the beta API.
Does the skill guarantee a model is available to my account?
No. Check current model availability, pricing, and access requirements before deploying.
Does the skill include the Gemini Live API workflow?
No. It points to a separate Live API skill, which is not bundled with this one.

开发者详情

许可证

未知

Skillstore 修订

r1

版本提示

作者未声明版本。

引用

5a685fd3b2304f9e4cbf5164d3ac3186cd35324e

维护新鲜度

2026/11/25

使用量

0 次下载 · 0 次浏览

文件结构

google-gemini 的更多技能

查看全部
查看全部