All skills
Skillintermediate

Python — detection

Declares when the `python` profile activates on a given set of files. Consumed by `klaude-plugin/skills/_shared/profile-detection.md`. Multiple profiles may activate additively on the same diff.

Claude Code Knowledge Pack7/10/2026

Overview

Python — detection

Declares when the python profile activates on a given set of files. Consumed by klaude-plugin/skills/_shared/profile-detection.md. Multiple profiles may activate additively on the same diff.

Path signals

None. Python detection does not use path heuristics; file extension alone is authoritative (see Content signals).

Filename signals

None. Python detection is extension-based, not filename-based.

Content signals

A file activates the Python profile if its extension is one of: .py, .pyi. The extension match is authoritative; no byte-level content inspection is required.