Toolverse
All skills

pennant-development

by laravel

Manages feature flags with Laravel Pennant. Activates when creating, checking, or toggling feature flags; showing or hiding features conditionally; implementing A/B testing; working with @feature directive; or when the user mentions feature flags, feature toggles, Pennant,

Installation

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

Installation

Quick info

Author
laravel
Category
Backend
Views
5

About this skill

Manages feature flags with Laravel Pennant. Activates when creating, checking, or toggling feature flags; showing or hiding features conditionally; implementing A/B testing; working with @feature directive; or when the user mentions feature flags, feature toggles, Pennant, conditional features, rollouts, or gradually enabling features.

How to use

  1. Zainstaluj Laravel Pennant w swoim projekcie – pakiet jest oficjalnym narzędziem Laravelu do zarządzania flagami funkcji. 2. Zdefiniuj flagę funkcji za pomocą Feature::define(), przekazując nazwę flagi i callback, który określa warunki aktywacji (np. czy użytkownik jest adminem). 3. Sprawdzaj status flagi w kodzie PHP za pomocą Feature::active('nazwa-flagi') lub Feature::for($user)->active('nazwa-flagi') dla sprawdzenia w kontekście konkretnego użytkownika. 4. W szablonach Blade używaj dyrektywy @feature('nazwa-flagi') ... @else ... @endfeature, aby warunkowo wyświetlać komponenty na podstawie stanu flagi. 5. Aktywuj lub dezaktywuj flagi dynamicznie za pomocą Feature::activate('nazwa-flagi') i Feature::deactivate('nazwa-flagi'), opcjonalnie z zakreśleniem do konkretnego użytkownika. 6. Testuj flagi z różnymi zakresami i użytkownikami, aby upewnić się, że warunki działają prawidłowo – pamiętaj zawsze o zakreśleniu flagi do odpowiedniego kontekstu (użytkownika, zespołu), aby uniknąć błędów.

Related skills

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147

literature-review

by K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature

Backend
238507

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582

scientific-writing

by K-Dense-AI

Write scientific manuscripts. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), abstracts, for research papers and journal submissions.

Backend
47191

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167