sluggable-development
karuhun-developer · Community
From the publisher: Use when making a field on an Eloquent model sluggable, generating the migration for a slug column, switching to self-healing URLs, or resolving a model from i…
Discoverable only. Sundrybay does not install anything yet. The routes below are copy-paste setups and links that open your app, where you confirm. How we check
Set it up yourself
Source 1 route
Any app that loads skills from a folder 1 route
git clone --no-checkout https://github.com/karuhun-developer/template-laravel-livewire.git template-laravel-livewire && git -C template-laravel-livewire checkout --detach 23b56ac0d02959c603f5f923f4e82465c7fa46fe && cp -r -- template-laravel-livewire/.claude/skills/sluggable-development <your skills folder>
Pinned to commit 23b56ac0d029, the version Sundrybay listed.
Use when making a field on an Eloquent model sluggable, generating the migration for a slug column, switching to self-healing URLs, or resolving a model from its slug in a route. Trigger when the request mentions slugs, permalinks, the spatie/laravel-sluggable package, the HasSlug or HasTranslatableSlug trait, the #[Sluggable] attribute, SlugOptions, findBySlug, self-healing URLs, or stale slug redirects in a Laravel project. Covers choosing between the attribute and the trait, generating unique slugs, configuring separator/length/language/scope/uniqueness, preventing slug overwrites, translatable slugs via spatie/laravel-translatable, route model binding through the slug column, self-healing route keys, customizing the 308 redirect through the SelfHealing facade, and overriding the default actions via config/sluggable.php. Do not use for one-off URL-safe strings, signed URLs, or Laravel's built-in Str::slug helper when the result is not stored on a model.
- Name in SKILL.md
- sluggable-development · From the SKILL.md front matter
- Version
- cfcc2b78a6f3 · From the SKILL.md front matter, or the content hash when none is given