Skip to main content
在 Manus 中运行任何 Skill
一键导入

opa-authz-react

星标65
分支10
更新时间2026年4月16日 07:23

Add or modify frontend OPA authorization in a Backstage React plugin using RequireOpaAuthz or useOpaAuthz. Use this skill whenever the user wants to hide/show UI components based on OPA policy decisions, gate frontend elements behind an authorization check, use the useOpaAuthz hook for custom auth flows, wire up the OpaAuthzClientReact API factory, write a Rego policy for frontend authorization, or test OPA-gated components. Trigger on phrases like "hide component", "show button if allowed", "frontend OPA", "RequireOpaAuthz", "useOpaAuthz", "gate UI with OPA", or any time the user is working with `@parsifal-m/backstage-plugin-opa-authz-react`.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly