📝 docs(playbook): add contributing and multi-language standards

Introduce C++ and Python docs/templates and split .agents rulesets by language (tsl/cpp/python).

Move commit message guidance to CONTRIBUTING.md (full spec remains in docs/common/commit_message.md).
This commit is contained in:
csh
2025-12-14 17:32:50 +08:00
parent 380228caca
commit e504a689dc
47 changed files with 1521 additions and 162 deletions
+14
View File
@@ -0,0 +1,14 @@
# Python 代码风格(Google Python Style Guide
本 Playbook 的 Python 代码风格以 Google Python Style Guide 为基线(基于 PEP 8):
- Google Python Style Guide: https://google.github.io/styleguide/pyguide.html
- PEP 8: https://peps.python.org/pep-0008/
## 项目约定(Project Conventions
- 行宽:80(与 `black`/`flake8`/`pylint` 配置保持一致)
- docstringGoogle 风格(与 `.flake8``docstring-convention = google` 对齐)
- import 顺序:使用 `isort``profile = google`
当既有代码与本约定冲突时,优先保持局部一致性,逐步迁移。