python-ai

构建和调试涉及模型 API、本地大语言模型、检索、工具、智能体、提示词、评估或其他 AI 依赖项的 Python AI 应用程序。

仓库最近推送
GitHub Stars
313
Forks
42
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "python-ai":https://skillpi.com/zh/skills/deepskill-109004df22203651471e299522f2794a4f8d57104bf70aa0b2e6f6c9f01dc305。安装前核对上游来源和版本:https://github.com/ChrisTitusTech/titus-ai。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

构建和调试涉及模型 API、本地大语言模型、检索、工具、智能体、提示词、评估或其他 AI 依赖项的 Python AI 应用程序。

0 下载

介绍来源: third_party · ChrisTitusTech · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: python-ai
description: Build and troubleshoot Python AI applications involving model APIs, local LLMs, retrieval, tools, agents, prompts, evaluation, or AI dependencies.

python-ai

Workflow

  1. Inspect the affected provider, model, dependencies, prompts, tools, and data flow. Use the project's existing environment and test commands.
  2. Determine privacy, latency, cost, and reliability impact.
  3. Preserve existing rollback paths. Add feature flags or provider fallbacks only when requirements justify their complexity.
  4. Implement the smallest model, prompt, retrieval, or tool change.
  5. Validate deterministic code paths and representative AI behavior.

For OpenAI model or API migrations, read references/openai-migrations.md and verify the target model's current official documentation. Ordinary Python changes do not require loading migration guidance.

Diagnostics

uv run python --version
uv pip list
uv run pytest
uv run ruff check .
uv run mypy .

These uv commands are examples for projects using uv. Check required environment variables by presence only; never print their values or dump the environment. Inspect only needed model configuration fields, excluding secrets.

Safety Rules

  • Never commit API keys, provider tokens, prompts containing secrets, or private data fixtures.
  • Never rely on live model calls for ordinary unit tests.
  • Use structured outputs when downstream code depends on response shape.
  • Keep tools narrow, deterministic, and logged without secrets.
  • Confirm current OpenAI API details from official docs when behavior may have changed.
  • Preserve the requested model. Evaluate effort, retries, context size, and output length on representative tasks before claiming a cost improvement; API token prices do not establish Codex subscription credit usage.

Validation

  • Run the repository's required gates and checks for affected components. Do not add absent retrieval or tool subsystems merely to satisfy this list.
  • For prompt changes, validate assembly and representative behavior.
  • For tool or structured-output changes, validate schemas and parsers.
  • For retrieval changes, verify filters against expected fixtures.
  • Optional live-provider smoke tests are gated by environment variables.
  • Logs expose model, tool, retry, and error decisions without secrets.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 面向 Python AI 应用构建与调试,涵盖模型 API、本地 LLM、检索、工具、智能体等高价值场景
  • 提供明确的工作流和安全规则,适用于广泛开发者群体
触发精准90/100

亮点

  • description 明确界定适用范围,边界清晰,覆盖多种 AI 开发关键要素
结构规范85/100

待提升项

  • 缺少 When to Use 显式章节 原报告严重程度:轻微

    文档未设置显式的 When to Use 章节,使用场景描述主要集中于 description 字段

    改进建议:建议添加 When to Use 显式章节以增强可读性和规范性

亮点

  • Workflow、Diagnostics、Safety Rules、Validation 结构清晰完整
  • 提供具体诊断命令和验证流程
执行可靠90/100

亮点

  • 提供具体的诊断命令(uv run python --version 等)
  • 强调安全规则(不提交密钥、不依赖 live model calls for unit tests)
  • 有明确的验证流程和日志要求
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。