协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
backend-api-services【开发与工程】Modify and debug RAGFlow backend API routes, service layers, auth, DB models, channels, and system endpoints.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when changing or debugging RAGFlow backend HTTP behavior: Quart app registration, /api/v1 RESTful APIs, legacy /v1/<page> APIs, authentication, Peewee services/models, chat channels embedded in the API server, and health/system routes.
api/apps/restful_apis/ and register under /api/v1.api/apps/*_app.py and register under /v1/<page_name>.api/apps/backward_compat.py and register under both /api/v1 and /v1 as declared there.api/apps/services/ when a RESTful endpoint needs multi-step behavior, and put reusable DB operations in api/db/services/ against Peewee models from api/db/db_models.py.api/utils/api_utils.py: get_json_result, construct_json_result, get_request_json, validate_request, not_allowed_parameters, server_error_response.@login_required supports signed JWT-style session tokens, API tokens, beta tokens, and server-side session fallback depending on auth_types.python scripts/list_routes.py --root <checkout-or-api-snippets>.references/backend-architecture.md explains app setup, auth, service boundaries, DB patterns, and channels.references/route-patterns.md explains route registration, URL prefixes, endpoint conventions, and tests to update.references/troubleshooting.md maps common backend failures to likely causes and fixes.