Agent Skills: detect-python-version

Detects the Python major and minor version of the current repository

UncategorizedID: MacHu-GWU/sanhe-claude-code-plugins/detect-python-version

Install this agent skill to your local

pnpm dlx add-skill https://github.com/MacHu-GWU/sanhe-claude-code-plugins/tree/HEAD/plugins/python/sanhe-py-best-practices/skills/detect-python-version

Skill Files

Browse the full folder contents for detect-python-version.

Download Skill

Loading file tree…

plugins/python/sanhe-py-best-practices/skills/detect-python-version/SKILL.md

Skill Metadata

Name
detect-python-version
Description
Detects the Python major and minor version of the current repository

detect-python-version

Runs a script that outputs the Python version in major.minor format (e.g., 3.11, 3.13).

Instructions

Run scripts/detect_version.py to detect the Python version.

The script outputs just the version string in major.minor format, nothing else.

Examples

Output: 3.11

Output: 3.13