Files
cc-web/.trellis/spec/backend/index.md

1.5 KiB

Backend Development Guidelines

Best practices for backend development in this project.


Overview

This directory contains guidelines for backend development. Fill in each file with your project's specific conventions.


Guidelines Index

Guide Description Status
Directory Structure Module organization and file layout To fill
Database Guidelines ORM patterns, queries, migrations To fill
Error Handling Error types, handling strategies To fill
Quality Guidelines Code standards, forbidden patterns To fill
Logging Guidelines Structured logging, log levels To fill
Codex MCP 配置输出 旧类型配置兼容及 Codex 配置出口 已记录
完整历史保存 完整档案、快照缓存、并发及分页契约 已记录
会话查询与实时订阅 HTTP 历史、运行快照、独立订阅与竞态隔离 已记录

How to Fill These Guidelines

For each guideline file:

  1. Document your project's actual conventions (not ideals)
  2. Include code examples from your codebase
  3. List forbidden patterns and why
  4. Add common mistakes your team has made

The goal is to help AI assistants and new team members understand how YOUR project works.


Language: All documentation should be written in English.