Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

handler-authz-rollout

Étoiles0
Forks0
Mis à jour22 avril 2026 à 16:58

Use this skill when adding a new REST handler under `src/api/` that needs the Phase-4 authz gate, OR when rolling the gate onto an existing ungated handler family. Scaffolds the ~45-line inline gate block (per N1 decision), the `AuthContext` extractor insertion (per api-handler.md ordering), the `.await set_ownership` on create paths (A-12), the pool-None fallback with file-family metric label, and the five canonical tests in `tests/api_<resource>_authz.rs`. Canonical references: `.claude/rules/api-handler.md` + `.scratchpad/plans/entraid-auth/phase-4-authz-helpers.md` (decision N1). Trigger: `/handler-authz-rollout` or when a PR adds a new `src/api/*.rs` handler that returns ownable data.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly