[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F7VBA79RPKWF1XWT80JHYY":3,"skill-same:01M7F7VBA79RPKWF1XWT80JHYY":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7F7VBA79RPKWF1XWT80JHYY","backend-core",null,"Operate on BiSheng FastAPI backend core surfaces: DDD modules, routers, schemas, settings\u002Fcontext, models, error codes, and focused backend tests.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbisheng\u002Fsub-skills\u002Fbackend-core\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: backend-core\ndescription: \"Operate on BiSheng FastAPI backend core surfaces: DDD modules,\n  routers, schemas, settings\u002Fcontext, models, error codes, and focused backend\n  tests.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# backend-core\n\nUse this sub-skill when a task touches BiSheng's FastAPI backend core: app startup, route registration, DDD module boundaries, common API schemas, settings\u002Fcontext lifecycle, SQLModel\u002FDAO model surfaces, backend error codes, or focused backend tests.\n\n## Start Here\n\nRun bundled helper commands from this sub-skill directory, or adjust the script path to this directory after import.\n\n\n1. Identify the exact backend surface before editing. The bundled helper can inspect a checkout without importing application modules:\n   ```bash\n   python scripts\u002Finspect_backend_surface.py --repo-root \u003Cbisheng-checkout> --format text\n   ```\n2. Read [references\u002Fworkflows.md](references\u002Fworkflows.md) for concrete backend workflows, entry points, commands, and review checklists.\n3. If the failure mode is unclear, start with [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n\n## Owned Responsibilities\n\n- FastAPI app factory\u002Flifespan and middleware ordering around `src\u002Fbackend\u002Fbisheng\u002Fmain.py`.\n- Global API router registration in `src\u002Fbackend\u002Fbisheng\u002Fapi\u002Frouter.py`, including `\u002Fapi\u002Fv1` frontend routes and `\u002Fapi\u002Fv2` RPC routes.\n- DDD backend module shape: `api\u002F`, `domain\u002Fservices\u002F`, `domain\u002Fmodels\u002F`, `domain\u002Fschemas\u002F`, and repository boundaries.\n- Common response\u002Fpagination\u002FSSE schemas in `src\u002Fbackend\u002Fbisheng\u002Fcommon\u002Fschemas\u002Fapi.py`.\n- Error-code discipline in `src\u002Fbackend\u002Fbisheng\u002Fcommon\u002Ferrcode\u002F`.\n- Settings and application context surfaces in `src\u002Fbackend\u002Fbisheng\u002Fcore\u002Fconfig\u002Fsettings.py` and `src\u002Fbackend\u002Fbisheng\u002Fcore\u002Fcontext\u002F`.\n- SQLModel\u002FDAO model surfaces in `src\u002Fbackend\u002Fbisheng\u002Fdatabase\u002Fmodels\u002F` and domain model directories.\n- Focused backend tests under `src\u002Fbackend\u002Ftest\u002F`, especially `test\u002Fcommon\u002F`, `test\u002Fcore\u002F`, `test\u002Fdatabase\u002F`, and module-specific tests.\n\n## Route Sibling Areas Instead of Duplicating Them\n\n- Use `workflow-engine` for LangGraph DAG execution, workflow nodes, edges, callbacks, and workflow Celery task behavior.\n- Use `knowledge-rag` for knowledge base ingestion, RAG, Milvus\u002FElasticsearch dual recall, file parsing, and knowledge workers.\n- Use `identity-permissions-tenancy` for OpenFGA\u002FReBAC permission flows, tenant hierarchy, admin scope, SSO\u002Forg sync, and quota semantics.\n- Use `linsight-mcp` for Linsight worker\u002Fruntime, deepagents, MCP integrations, and Linsight task-mode behavior.\n- Use `frontend-apps` for Platform or Client React code and API client usage.\n- Use `deployment-maintenance` for Docker Compose, Nginx, production deployment, operational scripts, and environment rollout concerns.\n\n## Non-Negotiables for Backend Core Work\n\n- Preserve the layered call chain: Router → Endpoint → Service → Repository\u002FDAO → DB. Do not add endpoint-to-model shortcuts for new code.\n- Keep `common\u002F` and `core\u002F` independent of application domains and API modules.\n- Return success and business errors through the shared response\u002Ferror-code helpers; do not hide internal exceptions by converting every failure to `resp_500(message=str(e))`.\n- Treat MySQL and DM8 as co-equal targets. Use dialect helpers for JSON, large text, and update timestamps.\n- Respect tenant ContextVar semantics. ORM SELECTs are auto-filtered, but bulk updates\u002Fdeletes and raw SQL require explicit tenant-safe design.\n- Backend tests run from `src\u002Fbackend\u002F` with uv; new tests belong under `test\u002F\u003Cmodule>\u002F`, not the test root.\n","# backend-core\n\nUse this sub-skill when a task touches BiSheng's FastAPI backend core: app startup, route registration, DDD module boundaries, common API schemas, settings\u002Fcontext lifecycle, SQLModel\u002FDAO model surfaces, backend error codes, or focused backend tests.\n\n## Start Here\n\nRun bundled helper commands from this sub-skill directory, or adjust the script path to this directory after import.\n\n\n1. Identify the exact backend surface before editing. The bundled helper can inspect a checkout without importing application modules:\n   ```bash\n   python scripts\u002Finspect_backend_surface.py --repo-root \u003Cbisheng-checkout> --format text\n   ```\n2. Read [references\u002Fworkflows.md](references\u002Fworkflows.md) for concrete backend workflows, entry points, commands, and review checklists.\n3. If the failure mode is unclear, start with [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n\n## Owned Responsibilities\n\n- FastAPI app factory\u002Flifespan and middleware ordering around `src\u002Fbackend\u002Fbisheng\u002Fmain.py`.\n- Global API router registration in `src\u002Fbackend\u002Fbisheng\u002Fapi\u002Frouter.py`, including `\u002Fapi\u002Fv1` frontend routes and `\u002Fapi\u002Fv2` RPC routes.\n- DDD backend module shape: `api\u002F`, `domain\u002Fservices\u002F`, `domain\u002Fmodels\u002F`, `domain\u002Fschemas\u002F`, and repository boundaries.\n- Common response\u002Fpagination\u002FSSE schemas in `src\u002Fbackend\u002Fbisheng\u002Fcommon\u002Fschemas\u002Fapi.py`.\n- Error-code discipline in `src\u002Fbackend\u002Fbisheng\u002Fcommon\u002Ferrcode\u002F`.\n- Settings and application context surfaces in `src\u002Fbackend\u002Fbisheng\u002Fcore\u002Fconfig\u002Fsettings.py` and `src\u002Fbackend\u002Fbisheng\u002Fcore\u002Fcontext\u002F`.\n- SQLModel\u002FDAO model surfaces in `src\u002Fbackend\u002Fbisheng\u002Fdatabase\u002Fmodels\u002F` and domain model directories.\n- Focused backend tests under `src\u002Fbackend\u002Ftest\u002F`, especially `test\u002Fcommon\u002F`, `test\u002Fcore\u002F`, `test\u002Fdatabase\u002F`, and module-specific tests.\n\n## Route Sibling Areas Instead of Duplicating Them\n\n- Use `workflow-engine` for LangGraph DAG execution, workflow nodes, edges, callbacks, and workflow Celery task behavior.\n- Use `knowledge-rag` for knowledge base ingestion, RAG, Milvus\u002FElasticsearch dual recall, file parsing, and knowledge workers.\n- Use `identity-permissions-tenancy` for OpenFGA\u002FReBAC permission flows, tenant hierarchy, admin scope, SSO\u002Forg sync, and quota semantics.\n- Use `linsight-mcp` for Linsight worker\u002Fruntime, deepagents, MCP integrations, and Linsight task-mode behavior.\n- Use `frontend-apps` for Platform or Client React code and API client usage.\n- Use `deployment-maintenance` for Docker Compose, Nginx, production deployment, operational scripts, and environment rollout concerns.\n\n## Non-Negotiables for Backend Core Work\n\n- Preserve the layered call chain: Router → Endpoint → Service → Repository\u002FDAO → DB. Do not add endpoint-to-model shortcuts for new code.\n- Keep `common\u002F` and `core\u002F` independent of application domains and API modules.\n- Return success and business errors through the shared response\u002Ferror-code helpers; do not hide internal exceptions by converting every failure to `resp_500(message=str(e))`.\n- Treat MySQL and DM8 as co-equal targets. Use dialect helpers for JSON, large text, and update timestamps.\n- Respect tenant ContextVar semantics. ORM SELECTs are auto-filtered, but bulk updates\u002Fdeletes and raw SQL require explicit tenant-safe design.\n- Backend tests run from `src\u002Fbackend\u002F` with uv; new tests belong under `test\u002F\u003Cmodule>\u002F`, not the test root.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fbisheng\u002Fsub-skills\u002Fbackend-core",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill backend-core",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill backend-core",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill backend-core","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbisheng\u002Fsub-skills\u002Fbackend-core\u002FSKILL.md",[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Ftroubleshooting.md","REFERENCE","参考文档",4370,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbisheng\u002Fsub-skills\u002Fbackend-core\u002Freferences\u002Ftroubleshooting.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fworkflows.md",5173,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbisheng\u002Fsub-skills\u002Fbackend-core\u002Freferences\u002Fworkflows.md",[60,68,73,80,87,94],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":69,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]