python-ai

Build and debug Python AI applications involving model APIs, local large language models, retrieval, tools, agents, prompt engineering, evaluation, or other AI dependencies.

Last repository push
GitHub Stars
313
Forks
42
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "python-ai" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-109004df22203651471e299522f2794a4f8d57104bf70aa0b2e6f6c9f01dc305. Verify the upstream source and version against https://github.com/ChrisTitusTech/titus-ai before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Build and debug Python AI applications involving model APIs, local large language models, retrieval, tools, agents, prompt engineering, evaluation, or other AI dependencies.

0 Downloads

Introduction source: third_party · ChrisTitusTech · 0.0.1 Reference

SkillPi interpretation

Tasks
Build and troubleshoot Python AI applications involving model APIs, local LLMs, retrieval, tools, agents, prompts, evaluation, or AI dependencies.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

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

Highlights

  • description 明确界定适用范围,边界清晰,覆盖多种 AI 开发关键要素
Structure and Standards85/100

Areas to improve

  • 缺少 When to Use 显式章节 Reported severity: Minor

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

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

Highlights

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

Highlights

  • 提供具体的诊断命令(uv run python --version 等)
  • 强调安全规则(不提交密钥、不依赖 live model calls for unit tests)
  • 有明确的验证流程和日志要求
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.