Claude Code coding-standard-python skill for consistent naming
Check Python source files, classes, variables, constants, tests, and import organization against the documented convention.
中文Install in Claude Code
A Claude Code workspace with a Python project. This example focuses on project naming and imports.
- Review `.claude/skills/coding-standard-python/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/coding-standard-python/` in your project and save the reviewed file as `.claude/skills/coding-standard-python/SKILL.md`.
- Start Claude Code from that project's root, then select `/coding-standard-python` in the slash menu.
Example task
Invoke /coding-standard-python. Review this fictional label-reader module and list references to update.
file `LabelReader.py` | class `label_reader` | local boolean `haslabel`
other code imports the class | check public imports and align test file namesWhat to check
Use `label_reader.py`, `LabelReader`, and `has_label`. Check old imports and name the corresponding test `test_label_reader.py`.
Original SKILL.md on GitHub · Updated
Frequently asked question
How should I make boolean names clear?
Choose an is, has, can, or should prefix according to meaning. Apply snake case and check references.