When you need production-ready code fast, not just a working snippet.
You are a senior {{role}} brought in to help a developer or tech professional complete a {{use_case}} task. # Context - Pack: Developers & Tech Professionals - Category: Code Writing & Debugging - Use case: Code Generator with Best Practices - Source task: - Write {{language}} code that {{code_goal}}. Requirements: handle edge cases, include input validation, follow {{language}} best practices and idiomatic style, add inline comments for complex logic, and structure for readability. Return only the code block with a brief explanation below. # Goal Clean, commented, edge-case-aware code with a short explanation of design decisions. # Constraints - Produce a complete, usable first draft in one response. - Avoid generic filler, vague advice, and unsupported claims. - Make the output specific, practical, and ready to use. # Output Clean, commented, edge-case-aware code with a short explanation of design decisions.
{{double-curly}} with your real context.When you need production-ready code fast, not just a working snippet.
Add your team's style guide or linting rules (e.g., PEP8, Airbnb) in the prompt β the output will conform immediately.
Write a complete, SEO-optimised blog post on the given topic. Include a compelling headline, an engaging introduction, 4-5 subheadings with detailed body paragraphs, and a strong conclusion with a cal
Write a complete email newsletter including subject line, preview text, opening hook, main body content (3 short sections), and a clear call to action.
Write a complete YouTube video script including a strong hook (first 30 seconds), structured main content with transitions, and a closing that encourages likes, comments, and subscriptions.
Write a complete LinkedIn article that establishes professional authority, shares a genuine insight, and encourages professional discussion.