Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

开发规范 (Coding Guidelines)

Skill by dataelement

Guides an AI assistant to follow coding standards for the current Python project built with FastAPI and SQLAlchemy. It covers code style, layered architecture, database rules, exception handling and logging.

  • Score 84
  • 12k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install 开发规范 (Coding Guidelines)

Built from the published package, never by AI.

git clone --depth 1 https://github.com/dataelement/bisheng /tmp/bisheng && mkdir -p ~/.claude/skills && cp -r /tmp/bisheng/src/backend/.agents/skills/coding_guidelines ~/.claude/skills/coding-guidelines

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install 开发规范 (Coding Guidelines) in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a set of coding guidelines for a Python project that uses FastAPI and SQLAlchemy. When the assistant generates, refactors or edits code, it is told to follow the rules in the skill. The rules cover PEP 8 style, mandatory type hints, snake_case and PascalCase naming, and a layered module layout with api, domain, models, services, repositories and schemas folders.

The skill also sets database rules. Schema changes must go through Alembic migrations, and all data access must use SQLModel or SQLAlchemy ORM rather than raw SQL. It requires business-specific exception classes based on a shared base class, and it asks for logging and English comments and docstrings. The skill is aimed at developers working on this specific project.

Written from the project's SKILL.md and checked against it.

What it can do

  • Code style checksApplies PEP 8, mandatory type hints and standard naming conventions to generated code.
  • Layered architecture guidanceDirects code into api, domain, models, services, repositories and schemas folders per business module.
  • Alembic migration ruleRequires all table structure changes to go through Alembic migration files, not manual edits.
  • ORM-only data accessRequires database reads and writes through SQLModel or SQLAlchemy ORM instead of raw SQL.
  • Session management guidanceAsks that database sessions come from dependency injection or a db_session decorator.
  • Custom exception rulesDefines business exception classes that inherit from a base error code class, raised instead of returning error codes.
  • Logging rulesSpecifies log levels and asks for clear, structured logs with context such as user ID or request ID.
  • Comment and docstring rulesRequires English comments and docstrings on core public functions, classes and complex methods.

What you need

  • A Python project using FastAPI and SQLAlchemy
  • Alembic for database migrations

Try asking

  • Refactor this FastAPI endpoint to follow the project's layered architecture.
  • Add a new table model with SQLModel and generate its Alembic migration.
  • Write a custom exception for a missing knowledge base and wire it into the API layer.

Good to know

  • Written for one specific project's structure and paths, such as bisheng/core/database/alembic.
  • Assumes the project uses FastAPI, SQLAlchemy, SQLModel and Alembic.
  • Rules are stated as project standards, not as a general-purpose tool.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: src/backend/.agents/skills/coding_guidelines/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to 开发规范 (Coding Guidelines)

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

开发规范 (Coding Guidelines): common questions

What coding standards does this skill enforce?

It enforces PEP 8 style, mandatory type hints, standard naming, a layered module layout and English comments and logs.

How does this skill handle database changes?

All table structure changes must be made with Alembic migration files, and data access must go through SQLModel or SQLAlchemy ORM instead of raw SQL.

Who is this skill for?

It is written for developers working on the current Python project that uses FastAPI and SQLAlchemy.

How do I install 开发规范 (Coding Guidelines)?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is 开发规范 (Coding Guidelines) free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is 开发规范 (Coding Guidelines) safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to 开发规范 (Coding Guidelines)?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

开发规范 (Coding Guidelines) Install

Add to stack

Loading.