Toolverse
All skills

ld-permissions

by lightdash

Guide for Lightdash's CASL-based authorization system. Use when working with scopes, custom roles, abilities, permissions, ForbiddenError, authorization, or access control. Helps with adding new scopes, debugging permission issues, understanding the permission flow, and creating

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
lightdash
Category
Security
Views
2

About this skill

Guide for Lightdash's CASL-based authorization system. Use when working with scopes, custom roles, abilities, permissions, ForbiddenError, authorization, or access control. Helps with adding new scopes, debugging permission issues, understanding the permission flow, and creating custom roles.

How to use

  1. Zainstaluj skill ld-permissions w swoim projekcie Lightdasha — będzie dostępny jako przewodnik w kontekście pracy z autoryzacją i uprawnieniami.

  2. Gdy napotkasz problem z dostępem użytkownika lub musisz dodać nowe uprawnienie, uruchom skill i wybierz odpowiadający Ci scenariusz: dodanie nowego scope'a, debugowanie problemu z uprawnieniami, zrozumienie przepływu autoryzacji lub pracę z rolami niestandardowymi.

  3. Aby dodać nowe uprawnienie, skill pokaże Ci kluczowe pliki — zacznij od scopes.ts, gdzie zdefiniujesz nowy scope, a następnie zaktualizuj roleToScopeMapping.ts i scopeAbilityBuilder.ts.

  4. Do debugowania problemów z dostępem sprawdź, czy użytkownik ma przypisaną rolę z odpowiednim scope'em — skill pomoże Ci śledzić przepływ od definicji roli do sprawdzenia uprawnień w kodzie.

  5. Na backendzie używaj wzorca z ForbiddenError do sprawdzenia uprawnień: ability.cannot('manage', subject('Dashboard', { projectUuid })) — skill pokaże Ci dokładną składnię dla Twojego przypadku.

  6. Na frontendie używaj hooka useUser() i komponentu Can do warunkowego renderowania elementów UI — skill wskaże Ci lokalizację providera Ability i przykłady integracji.

Related skills

python-expert

by Shubhamsaboo

Senior Python developer expertise for writing clean, efficient, and well-documented code.\nUse when: writing Python code, optimizing Python scripts, reviewing Python code for best practices,\ndebugging Python issues, implementing type hints, or when user mentions Python, PEP 8,

Security
2777

youtube-watcher

by openclaw

Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.

Security
2231

skill-writer

by pytorch

Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.

Security
15116

llama-cpp

by zechenzhangAGI

Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.

Security
11252

google-analytics

by davila7

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

Security
1260

1password

by openclaw

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.

Security
1174