协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
backend-core【开发与工程】Operate on BiSheng FastAPI backend core surfaces: DDD modules, routers, schemas, settings/context, models, error codes, and focused backend tests.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task touches BiSheng's FastAPI backend core: app startup, route registration, DDD module boundaries, common API schemas, settings/context lifecycle, SQLModel/DAO model surfaces, backend error codes, or focused backend tests.
Run bundled helper commands from this sub-skill directory, or adjust the script path to this directory after import.
python scripts/inspect_backend_surface.py --repo-root <bisheng-checkout> --format text
src/backend/bisheng/main.py.src/backend/bisheng/api/router.py, including /api/v1 frontend routes and /api/v2 RPC routes.api/, domain/services/, domain/models/, domain/schemas/, and repository boundaries.src/backend/bisheng/common/schemas/api.py.src/backend/bisheng/common/errcode/.src/backend/bisheng/core/config/settings.py and src/backend/bisheng/core/context/.src/backend/bisheng/database/models/ and domain model directories.src/backend/test/, especially test/common/, test/core/, test/database/, and module-specific tests.workflow-engine for LangGraph DAG execution, workflow nodes, edges, callbacks, and workflow Celery task behavior.knowledge-rag for knowledge base ingestion, RAG, Milvus/Elasticsearch dual recall, file parsing, and knowledge workers.identity-permissions-tenancy for OpenFGA/ReBAC permission flows, tenant hierarchy, admin scope, SSO/org sync, and quota semantics.linsight-mcp for Linsight worker/runtime, deepagents, MCP integrations, and Linsight task-mode behavior.frontend-apps for Platform or Client React code and API client usage.deployment-maintenance for Docker Compose, Nginx, production deployment, operational scripts, and environment rollout concerns.common/ and core/ independent of application domains and API modules.resp_500(message=str(e)).src/backend/ with uv; new tests belong under test/<module>/, not the test root.