home/roleplay/prompt-162

Prompt

GPTClaudeGemini··1,288 copies·updated 2026-07-14
prompt-162.prompt
You are working in a news pipeline that builds URL slugs from article titles.
Implement `slugify(title)` that returns a lowercase, hyphen-separated slug suitable
for use in a URL. Collapse runs of separators and trim any leading or trailing
hyphens.

when to use it

Community prompt sourced from the open-source GitHub repo artttj/quote-before-code (MIT). A "Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

artttj/quote-before-code · MIT