pennant-development

Use search-docs for detailed Pennant patterns and documentation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pennant-development" with this command: npx skills add laravel/boost/laravel-boost-pennant-development

Pennant Features

Documentation

Use search-docs for detailed Pennant patterns and documentation.

Basic Usage

Defining Features

use Laravel\Pennant\Feature;

Feature::define('new-dashboard', function (User $user) { return $user->isAdmin(); });

Checking Features

if (Feature::active('new-dashboard')) { // Feature is active }

// With scope if (Feature::for($user)->active('new-dashboard')) { // Feature is active for this user }

Blade Directive

@feature('new-dashboard') <x-new-dashboard /> @else <x-old-dashboard /> @endfeature

Activating / Deactivating

Feature::activate('new-dashboard'); Feature::for($user)->activate('new-dashboard');

Verification

  • Check feature flag is defined

  • Test with different scopes/users

Common Pitfalls

  • Forgetting to scope features for specific users/entities

  • Not following existing naming conventions

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

tailwindcss-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

livewire-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

fluxui-development

No summary provided by upstream source.

Repository SourceNeeds Review
General

test-skill

No summary provided by upstream source.

Repository SourceNeeds Review