Перейти к основному содержимому

Перевод: оболочка страницы на русском; тело навыка (SKILL.md) пока на английском — это исходные инструкции агента.

Lang Python

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

Метаданные навыка​

ИсточникВстроенный (установлен по умолчанию)
Путьskills/software-development/lang-python
Версия1.0.0
АвторVibeOS
ЛицензияMIT
Платформыlinux, macos, windows
Тегиpython, language-pack, pytest, ruff, navigate
Связанные навыкиcodebase-navigate, test-driven-development, python-debugpy

Справка: полный SKILL.md​

к сведению

Ниже полное определение навыка, которое VibeOS загружает при активации. Это инструкции, которые видит агент.

Python Language Pack Skill

Drive Python work through project index + terminal recipes, not new tools. Apply the pack once, then navigate with the index and run discovered commands.

When to Use​

  • Repo has pyproject.toml, setup.py, or requirements.txt
  • User asks to find symbols, run tests, or lint/typecheck Python

Prerequisites​

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

Optional LSP hint: basedpyright (editor-side; not a model tool).

How to Run​

  1. Refresh index and command cache:
vibeos project index build
vibeos project commands
  1. Find symbols: vibeos project index query <name> then read_file.

  2. Tests / lint (prefer commands from 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
Index queryvibeos project index query <name>
Commandsvibeos project commands

Procedure​

  1. Confirm pack match: vibeos language doctor python.
  2. Navigate with index before broad search_files.
  3. Run the first listed test/lint command from the project commands cache.
  4. Cite path:line from index hits in replies.

Pitfalls​

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

Verification​

vibeos language doctor python
vibeos project index status