zer09/pi-config/developing-genkit-python
Claude Code and agent skill by zer09/pi-config
- community
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-pythonSKILL.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'suvenvironment 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:
| Task | Reference | |
|---|---|---|
| New setup, plugins, Hello World, optional CLI installation | Setup | |
| Structured output, streaming, flows, tools, embeddings | Examples | |
| Python SDK import, schema, decorator, streaming, or event-loop failures | Common errors | |
| Compatible beta agents, history, approvals, current HTTP routers | Agents | |
| Legacy HTTP decorator and parallel flows | FastAPI | |
.prompt files and helpers | Dotprompt | |
| Requested evaluation implementation | Evals | |
| Optional local tracing and Dev UI | Development 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
- SKILL.md in the repositoryCheckingagent/skills/developing-genkit-python/SKILL.md
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
[](https://verified-skill.com/skills/zer09/pi-config/developing-genkit-python)