stacks-slug
OfficialCreate unique, collision-aware slugs.
Authorstacksjs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Slug generation for data records often collides, creating duplicate URLs and broken navigation. This skill enforces database-aware slug generation using the uniqueSlug function with optional table and column configuration to prevent collisions and maintain clean URLs.
Core Features & Use Cases
- Collision-aware slug generation using a database check to ensure uniqueness
- Basic slugification via slugify for non-database scenarios
- Unicode-aware slug handling with configurable table/column for various models
Quick Start
Provide a sample title to generate a collision-free slug using the configured table and column.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: stacks-slug Download link: https://github.com/stacksjs/stacks/archive/main.zip#stacks-slug Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.