Toolverse
All skills

clerk-hello-world

by jeremylongshore

Create your first authenticated request with Clerk.\nUse when making initial API calls, testing authentication,\nor verifying Clerk integration works correctly.\nTrigger with phrases like \

Installation

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

Installation

Quick info

Category
Testing

About this skill

Create your first authenticated request with Clerk.\nUse when making initial API calls, testing authentication,\nor verifying Clerk integration works correctly.\nTrigger with phrases like \

How to use

  1. Upewnij się, że masz zainstalowany Clerk SDK (skill clerk-install-auth powinien być już uruchomiony) i skonfigurowane zmienne środowiskowe: NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY oraz CLERK_SECRET_KEY.

  2. Sprawdź, czy ClerkProvider otacza root Twojej aplikacji i middleware jest skonfigurowany w katalogu głównym projektu.

  3. W komponencie serwera (np. app/dashboard/page.tsx) użyj funkcji auth() do pobrania userId z sesji — jest to lekkie i nie wymaga dodatkowego API call. Jeśli userId nie istnieje, przekieruj użytkownika na stronę logowania.

  4. Jeśli potrzebujesz pełnych danych użytkownika (imię, email, datę utworzenia), użyj currentUser() — pamiętaj, że ta funkcja wykonuje Backend API call i liczy się do limitu zapytań, więc używaj jej oszczędnie.

  5. Wyzwól skill frazami takimi jak "clerk hello world", "first clerk request", "test clerk auth" lub "verify clerk setup", aby automatycznie wygenerować kod testowy.

  6. Uruchom aplikację i sprawdź, czy dashboard wyświetla poprawnie dane użytkownika — to potwierdzenie, że cała integracja Clerk działa prawidłowo.

Related skills

test-cases

by cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering

Testing
2862

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105

differential-review

by trailofbits

Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for context, calculates blast radius, checks test coverage, and generates comprehensive markdown reports. Automatically detects and

Testing
2510

playwright-browser-automation

by lackeyjb

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test

Testing
13130

go-dev-guidelines

by jumppad-labs

This skill should be used when writing, refactoring, or testing Go code. It provides idiomatic Go development patterns, TDD-based workflows, project structure conventions, and testing best practices using testify/require and mockery. Activate this skill when creating new Go

Testing
1190

playwright

by BloomBooks

How to make good playwright (e2e) tests for this project.

Testing
1298