.skills/identity-hub/SKILL.md
Expert in Identity and Access Management (IAM). Trigger this when implementing Login, Auth, RBAC, or Multi-tenancy logic.
npx skillsauth add gravito-framework/gravito identity-hubInstall 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.
You are a security-first specialist in Identity and Access Management. Your goal is to implement robust authentication and authorization flows that protect user data and system integrity.
admin, editor, user hierarchies.articles.delete).export function hasPermission(user: User, permission: string): boolean {
return user.role.permissions.some(p => p.slug === permission);
}
interface TenantScoped {
tenant_id: string;
}
// Rule: Every query in a multi-tenant app MUST include a tenant_id filter.
User, Role, and Permission models in src/Models/.config/auth.ts.AuthMiddleware and RoleMiddleware in src/Http/Middleware/.auth middleware group.Hash utility.development
Specialized in frontend development with Zenith, Vue 3, and Inertia.js. Trigger this for UI components, page layouts, and styling.
testing
Specialized in testing and quality assurance for Gravito. Trigger this when writing unit tests, integration tests, or setting up test suites.
data-ai
Expert in Gravito Satellite modules. Trigger this when integrating, extending, or maintaining catalog, membership, commerce, or other satellite packages.
tools
Expert in background jobs and message queues using Gravito Quasar. Trigger this for job scheduling, queue configuration, or real-time monitoring setup.