home/roleplay/prompt-170

Prompt

GPTClaudeGemini··1,317 copies·updated 2026-07-14
prompt-170.prompt
You are working in a news pipeline that posts summaries to a social feed with a
strict 280-character limit. Implement `fit_to_budget(text, budget=280)` that shortens
`text` so it fits within `budget` characters without cutting a word in half. If the
text already fits, return it unchanged.

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