首页/ AI 技能 / @skilllib/skill-2014279409744687106
Skill站外收录 @skilllib/skill-2014279409744687106

code-style-guide

定义项目统一的代码编写规范,涵盖 Python 编码格式、命名约定与文档标准,确保代码风格一致、可读性强且易于协作维护。

0.0 (0) 547 次安装 原作者 编程导航
收录于 2026-01-22
测试与安全 AI 技能

Skills.MD

# Code Style Guide Follow these conventions for all code in this project. ## Python - Use 4 spaces for indentation - Maximum line length: 88 characters (Black default) - Use type hints for function signatures - Prefer f-strings over `.format()` or `%` formatting ## Naming Conventions - Classes: `PascalCase` - Functions/variables: `snake_case` - Constants: `UPPER_SNAKE_CASE` - Private members: `_leading_underscore` ## Documentation - All public functions must have docstrings - Use Google-style docstrings - Include type information in docstrings when not using type hints

评论 0

还没有评论,来抢沙发。