.claude/skills/rbac-management/SKILL.md
Role management skill — grant, revoke, audit, and verify user permissions
npx skillsauth add gonzalezpazmonica/pm-workspace rbac-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Orquestación de flujos de gestión de roles y permisos Regla: @docs/rules/domain/rbac-model.md
Asignar un rol a un usuario con auditoría.
Entradas:
user_handle: nombre del usuariorole: Admin | PM | Contributor | Viewerscope: "global" o JSON list ["proj-a", "proj-b"]granter_handle: quién asigna (debe ser Admin)Pasos:
granter tiene rol Admin.claude/profiles/{user}.claude/profiles/{user}/role.md con los datosoutput/rbac-audit.jsonlEjemplo output:
✅ carlos-mendoza asignado como PM (scope: global)
Rol anterior: Contributor
Cambio: 2026-03-05T10:15:00Z por monica-gonzalez
Revocar rol (degradar a Viewer).
Entradas:
user_handle: nombre del usuarioreason: motivo de revocaciónPasos:
.claude/profiles/{user}/role.mdprevious_roleViewer con revoked_at timestampreasonRestricción: No se puede revocar a Admin (requiere eliminación manual de perfil).
Consultar el log de auditoría con filtros.
Parámetros:
--user {handle}: acciones del usuario--date-from {YYYY-MM-DD}: desde fecha--date-to {YYYY-MM-DD}: hasta fecha--action grant|revoke|execute: tipo de acciónSalida:
Tabla con resultados:
| Timestamp | User | Command | Allowed | Role | Reason |
|-----------|------|---------|---------|------|--------|
| 2026-03-05T10:00 | monica | sprint-plan | true | PM | — |
| 2026-03-05T10:30 | carlos | infra-create | false | Contributor | Admin only |
Estadísticas:
Verificar si un usuario puede ejecutar un comando.
Parámetros:
user: handle del usuariocommand: nombre del comandoproject: (opcional) si es scope-limitedSalida:
✅ monica-gonzalez CAN sprint-plan
Rol: PM | Scope: global | Permiso: PM+
❌ carlos-mendoza CANNOT infra-create
Rol: Contributor | Requerido: Admin | Motivo: Deploy only
Sugerencia: Solicitar permiso a admin
Errores manejados:
Restricción: Este skill se ejecuta en contexto fork aislado, no contamina
el contexto principal. El output se resume en <100 tokens para el PM.
testing
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
tools
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
tools
Sistema proactivo de bienestar individual
development
Search the web to resolve context gaps — documentation, versions, CVEs, best practices. Auto-starts SearxNG Docker if available, falls back to WebSearch.