Skip to main content
Run any Skill in Manus
with one click

python-naming-convention

Stars1
Forks2
UpdatedMarch 19, 2026 at 14:50

检查并修复 Python 文件的命名规范,确保文件名与主要类名保持一致。 **命令格式:** `/python-naming-convention <file_path> [--fix]` - 无 `--fix`:仅检查,输出命名规范报告 - 有 `--fix`:执行完整修复流程(复制文件→更新引用→验证) **触发场景:** - 用户要求检查代码命名规范 - 用户提到文件名和类名不一致 - 需要验证 Python 文件是否符合项目的命名约定 - 需要自动修复命名不一致的问题 **检查规则:** - 类名使用大驼峰(PascalCase),如:EgoMsgMapNode - 文件名使用小写+下划线(snake_case),如:ego_msg_map_node.py - 文件名应与主类名对应:EgoMsgMapNode → ego_msg_map_node.py

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly