AgentSkillsCN

backend-project-knowledge

为AI私人教练FastAPI服务制定后端架构与实现规范。在创建或修改后端端点、数据模型、控制器、仓储、服务、MongoDB模型/集合、异步任务流程,或后端环境与配置时使用。

SKILL.md
--- frontmatter
name: backend-project-knowledge
description: Backend architecture and implementation conventions for AI Personal Trainer FastAPI services. Use when creating or changing backend endpoints, schemas, controllers, repositories, services, MongoDB models/collections, async task flows, or backend environment/configuration.

Backend Project Knowledge

Use this skill as the canonical backend rulebook.

Read detailed backend reference

Load references/backend-project-knowledge.md before implementing backend features.

It contains:

  • Current VCR architecture and directory layout
  • Async task pattern for training generation
  • API conventions, naming conventions, and schema flow
  • MongoDB collections and required fields
  • Standard endpoint implementation order
  • Environment variables and local run commands
  • Backend change checklists

Apply on every backend change

  • Keep API messages in English.
  • Keep AI-generated training content in Polish.
  • Preserve URL and identifier naming conventions.
  • Follow Schema -> Repository -> Service -> Controller -> View order for new endpoints.
  • Update README.md when backend changes impact usage or architecture.