zer09/pi-config/developing-genkit-python

Claude Code and agent skill by zer09/pi-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement or debug Genkit Python generation, agents, flows, tools, and provider integrations. Use for Genkit Python SDK code, setup, import failures, or Python-specific API errors.

Install

npx vskill@latest install zer09/pi-config/developing-genkit-python

SKILL.md

The same SKILL.md was published earlier as zer09/pi-config/developing-genkit-python.

Genkit Python

Safety and version checks

  • Local code edits and checks are allowed within the requested task. Firebase/GCP mutations, deployment, provider or secret changes, and live model/API calls require explicit user instruction for the exact action. A local flow or Dev UI can still call hosted services.
  • Never print, save, or commit API keys, tokens, or service credentials. Use environment variable names or <api-key> placeholders.
  • The Genkit Python runtime floor is Python 3.10+. Preserve a project's pinned newer Python version and dependency constraints. Inspect pyproject.toml, lockfiles, imports, and installed package versions; use the project's uv environment when standardized, or preserve its existing manager, without upgrading dependencies unless requested.
  • Verify uncertain imports and APIs against installed source, the relevant reference, or current SDK documentation. Setup records the runtime-floor evidence and bootstrap examples.

Python API guidance and references

Use provider-prefixed model IDs with the project's selected plugin. For Genkit-driven long-running apps, use ai.run_main(main()); see the entrypoint guidance in Common errors rather than replacing an existing server's event loop blindly. Python tools use @ai.tool(); streaming has separate chunk and final-response handling.

Load only the reference relevant to the task:

TaskReference
New setup, plugins, Hello World, optional CLI installationSetup
Structured output, streaming, flows, tools, embeddingsExamples
Python SDK import, schema, decorator, streaming, or event-loop failuresCommon errors
Compatible beta agents, history, approvals, current HTTP routersAgents
Legacy HTTP decorator and parallel flowsFastAPI
.prompt files and helpersDotprompt
Requested evaluation implementationEvals
Optional local tracing and Dev UIDevelopment workflow

Use agents only when the task needs multi-turn state and the resolved SDK supports them. Keep existing flows and generation loops unless a migration is requested. Plugin import paths depend on the resolved package generation; Setup distinguishes them.

Validation and completion

Run the relevant available project tests, lint, or type checks for affected code through uv run or the existing project scripts. Prefer mocked/local checks; live calls and model-based evaluations require exact authorization. Documentation-only work needs relevant link/example checks, not CLI startup or a full environment setup.

Finish with the requested deliverable, checks and results, and version assumptions or blocked checks. Fix in-scope regressions without expanding into dependency upgrades or hosted actions.

Maintenance

For future updates, read the Firebase skills update process.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zer09/pi-config/developing-genkit-python/badge)](https://verified-skill.com/skills/zer09/pi-config/developing-genkit-python)

Something wrong with this skill or its page? Tell us.