跳到主要内容

Lang Python

Navigate, test, and lint Python via index and CLI.

Skill metadata​

SourceBundled (installed by default)
Pathskills/software-development/lang-python
Version1.1.0
AuthorVibeOS
LicenseMIT
Platformslinux, macos, windows

Reference: full SKILL.md​

信息

The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.

Python Language Pack Skill

Drive Python work with the project index and standard CLI recipes. LSP hint: basedpyright (editor-side when applicable). Zero new core tools.

What this language is (beginner)​

Универсальный язык с простым синтаксисом. Часто первый язык для скриптов, API, данных и ИИ.

Лучше всего для:

  • бэкенд API (FastAPI, Django, Flask)
  • скрипты, автоматизация, парсинг
  • данные, ML / AI / Jupyter
  • быстрые прототипы и CLI-утилиты

When to Use​

Выбирай этот pack, если:

  • нужен быстрый бэкенд или скрипт без сложной инфраструктуры
  • проект про данные, ML, автоматизацию или агентов
  • пользователь новичок или хочет максимум готовых библиотек

Manifests (автодетект репозитория): pyproject.toml, setup.py, requirements.txt

Обычно рядом: TypeScript (фронт), PostgreSQL, Docker; pack lang-typescript / lang-prisma.

См. также skill choose-language-pack, если цель ещё не ясна.

When NOT to use​

  • высоконагруженный сетевой сервис с жёсткой латентностью → Go / Rust
  • нативное iOS/macOS UI → Swift
  • Android UI → Kotlin
  • браузерный UI → TypeScript + Vue/Svelte/Astro/React

Prerequisites​

vibeos pack apply lang-python --apply
vibeos pack apply project-intelligence --apply

How to Run​

vibeos project index build
vibeos project commands
pytest # or: uv run pytest
ruff check .
basedpyright

Quick Reference​

GoalCommand
Apply packvibeos pack apply lang-python --apply
Doctorvibeos language doctor python
Primary testpytest
Choose guideskill choose-language-pack

Procedure​

  1. Если язык ещё не выбран для нового проекта — сначала choose-language-pack.
  2. Work from the project root that matches pack manifests.
  3. Index query → read_file → edit → path-scoped tests when iterating.
  4. Prefer the package manager / toolchain already locked in the repo.
  5. Explain non-obvious toolchain choices in plain language for the user.

Pitfalls​

  • Do not invent core tools; stay on terminal + read_file + index CLI.
  • Worktrees need a scoped index rebuild after large pulls.
  • Do not invent core tools; stay on terminal + read_file + index CLI.

Verification​

vibeos language doctor python
vibeos project index status