[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F7VMSAXPRGMV4VNJQA3K5Q":3,"skill-same:01M7F7VMSAXPRGMV4VNJQA3K5Q":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},"01M7F7VMSAXPRGMV4VNJQA3K5Q","identity-permissions-tenancy",null,"Operate on BiSheng JWT auth, RBAC\u002FReBAC\u002FOpenFGA permissions, tenant isolation, admin scope, approval center, commercial gateway integration, and cursor permission performance.","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\u002Fidentity-permissions-tenancy\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: identity-permissions-tenancy\ndescription: \"Operate on BiSheng JWT auth, RBAC\u002FReBAC\u002FOpenFGA permissions,\n  tenant isolation, admin scope, approval center, commercial gateway\n  integration, and cursor permission performance.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# identity-permissions-tenancy\n\nUse this sub-skill when a task touches BiSheng authentication, authorization, resource ownership, OpenFGA\u002FReBAC, RBAC menu permissions, multi-tenant isolation, admin scope, approval workflows, SSO\u002Forg sync, commercial gateway behavior, or cursor-pagination permission performance.\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. Run the read-only pattern checker before or after a permission\u002Ftenant-sensitive edit:\n   ```bash\n   python scripts\u002Fcheck_arch_rules.py --repo-root \u003Cbisheng-checkout>\n   ```\n2. Read [references\u002Fworkflows.md](references\u002Fworkflows.md) for auth, PermissionService, tenant ContextVar, gateway, approval, and cursor workflows.\n3. Read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) for missing permissions, invisible resources, tenant leaks, SSO\u002Fgateway, and cursor list failures.\n\n## Owned responsibilities\n\n- JWT\u002Fauth user loading, menu keys, and role\u002Fuser\u002Fgroup relationships.\n- PermissionService, OpenFGA\u002FReBAC model, failed tuple retry, owner grants, relation models, and resource authorization.\n- Tenant ContextVar, SQLAlchemy tenant filter, tenant storage prefixes, tenant tree\u002Fadmin scope, user-tenant membership, and quota hierarchy.\n- Approval center and menu-approval mode when they affect access decisions.\n- Commercial gateway integration, SSO\u002FOAuth\u002FLDAP\u002FWeCom org sync, sensitive-word gateway filters, and rate\u002Fonline limits.\n- Cursor pagination patterns where permission filtering and DM8 keyset compatibility determine list correctness.\n\n## Route sibling areas instead of duplicating them\n\n- Use `backend-core` for generic FastAPI routes, schemas, service layering, and non-permission models.\n- Use `frontend-apps` for React route guards and UI rendering after the backend permission contract is known.\n- Use `knowledge-rag` for parser\u002Fvector\u002Fretrieval internals after visibility is proven correct.\n- Use `workflow-engine` for graph execution after app visibility and permissions are proven correct.\n- Use `deployment-maintenance` for running operational backfill\u002Fmigration scripts.\n\n## Non-negotiables\n\n- New resource authorization must go through PermissionService\u002FOpenFGA-aware services; do not add direct role-access table shortcuts.\n- Resource creation must write owner\u002Fauthorization tuples or enqueue failed tuple compensation as designed.\n- ORM tenant filtering applies to SELECT; raw SQL and bulk update\u002Fdelete require explicit tenant-safe handling.\n- Use tenant bypass helpers only for intentional cross-tenant maintenance reads\u002Fwrites.\n- Cursor pagination under permission filtering must advance by the last DB row, not the last visible row.\n- Frontend 403 and menu visibility bugs should not be patched until backend\u002Fmenu\u002Fplugin permission data is understood.\n","# identity-permissions-tenancy\n\nUse this sub-skill when a task touches BiSheng authentication, authorization, resource ownership, OpenFGA\u002FReBAC, RBAC menu permissions, multi-tenant isolation, admin scope, approval workflows, SSO\u002Forg sync, commercial gateway behavior, or cursor-pagination permission performance.\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. Run the read-only pattern checker before or after a permission\u002Ftenant-sensitive edit:\n   ```bash\n   python scripts\u002Fcheck_arch_rules.py --repo-root \u003Cbisheng-checkout>\n   ```\n2. Read [references\u002Fworkflows.md](references\u002Fworkflows.md) for auth, PermissionService, tenant ContextVar, gateway, approval, and cursor workflows.\n3. Read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) for missing permissions, invisible resources, tenant leaks, SSO\u002Fgateway, and cursor list failures.\n\n## Owned responsibilities\n\n- JWT\u002Fauth user loading, menu keys, and role\u002Fuser\u002Fgroup relationships.\n- PermissionService, OpenFGA\u002FReBAC model, failed tuple retry, owner grants, relation models, and resource authorization.\n- Tenant ContextVar, SQLAlchemy tenant filter, tenant storage prefixes, tenant tree\u002Fadmin scope, user-tenant membership, and quota hierarchy.\n- Approval center and menu-approval mode when they affect access decisions.\n- Commercial gateway integration, SSO\u002FOAuth\u002FLDAP\u002FWeCom org sync, sensitive-word gateway filters, and rate\u002Fonline limits.\n- Cursor pagination patterns where permission filtering and DM8 keyset compatibility determine list correctness.\n\n## Route sibling areas instead of duplicating them\n\n- Use `backend-core` for generic FastAPI routes, schemas, service layering, and non-permission models.\n- Use `frontend-apps` for React route guards and UI rendering after the backend permission contract is known.\n- Use `knowledge-rag` for parser\u002Fvector\u002Fretrieval internals after visibility is proven correct.\n- Use `workflow-engine` for graph execution after app visibility and permissions are proven correct.\n- Use `deployment-maintenance` for running operational backfill\u002Fmigration scripts.\n\n## Non-negotiables\n\n- New resource authorization must go through PermissionService\u002FOpenFGA-aware services; do not add direct role-access table shortcuts.\n- Resource creation must write owner\u002Fauthorization tuples or enqueue failed tuple compensation as designed.\n- ORM tenant filtering applies to SELECT; raw SQL and bulk update\u002Fdelete require explicit tenant-safe handling.\n- Use tenant bypass helpers only for intentional cross-tenant maintenance reads\u002Fwrites.\n- Cursor pagination under permission filtering must advance by the last DB row, not the last visible row.\n- Frontend 403 and menu visibility bugs should not be patched until backend\u002Fmenu\u002Fplugin permission data is understood.\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\u002Fidentity-permissions-tenancy",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 identity-permissions-tenancy",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill identity-permissions-tenancy",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill identity-permissions-tenancy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbisheng\u002Fsub-skills\u002Fidentity-permissions-tenancy\u002FSKILL.md",[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Ftroubleshooting.md","REFERENCE","参考文档",2860,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbisheng\u002Fsub-skills\u002Fidentity-permissions-tenancy\u002Freferences\u002Ftroubleshooting.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fworkflows.md",4595,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbisheng\u002Fsub-skills\u002Fidentity-permissions-tenancy\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",[],[]]