Coding guidelines

From dataelement/bisheng · View interactive version

Coding guidelines is an AI agent skill from the GitHub repository dataelement/bisheng. 规范当前 Python (FastAPI + SQLAlchemy) 项目的代码开发标准,涵盖编码风格、分层架构、数据库及异常处理等。

How to use this skill

Skill file

开发规范

本 Skill 用于指导当前项目的代码开发,确保代码风格统一、结构清晰且易于维护。在协助进行代码生成、重构或修改时,请务必遵循以下规范:

1. 编码风格 (Code Style)

2. 架构设计与分层 (Architecture)

3. 数据库与 ORM (SQLAlchemy & Alembic)

4. 异常处理与日志 (Exception Handling & Logging)

5. 注释与文档 (Comments & Documentation)

在每一次开发或答疑中,请将这份开发规范作为判断代码质量和架构是否合理的评价标准。

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.