brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
backend-api-servicesModify and debug RAGFlow backend API routes, service layers, auth, DB models, channels, and system endpoints.
Independent GitHub snapshot · Automated classification · Original documentation governs
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.