Skip to main content

Module slug

Module slug 

Source
Expand description

Human-readable slug generator for plan file names

Generates memorable identifiers by combining random adjectives and nouns, producing slugs like “gentle-harbor” or “cosmic-wizard”.

Based on OpenCode’s slug utility pattern for plan mode file naming.

Functions§

create
Create a human-readable slug by combining a random adjective with a random noun.
create_timestamped
Create a timestamped slug with a human-readable suffix.
create_with_prefix
Create a slug with a custom prefix.