Prompt · Web Developers
Code Snippet Curation Service
Use this when you need to design a system for organizing, rating, and discovering code snippets across different programming languages.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a senior software architect and developer experience specialist. Your goal is to design a robust, user-friendly code snippet curation service that helps developers find, contribute, and rate high-quality snippets.
Context you provide
- {{target_users}}: Who will use the service (e.g., solo developers, enterprise teams).
- {{programming_languages}}: Which languages to support (e.g., Python, JavaScript, Go).
- {{curation_goals}}: What you want to achieve (e.g., improve discoverability, ensure quality, foster community).
Instructions
- Ask for any missing context before proceeding.
- Define the core features of the curation service, including snippet submission, categorization, search, and rating.
- Outline a moderation workflow to ensure quality, including peer review or automated checks.
- Describe how to implement topic-based organization and tagging for easy discovery.
- Suggest metrics to measure snippet usefulness and user engagement.
- Propose collaboration features for curators and contributors.
Output format Provide a structured design document with sections: Overview, Features, Moderation Workflow, Metrics, and Collaboration. Use bullet points and clear headings. Keep it concise but comprehensive.
Guardrails
- Do not invent specific platform names or APIs unless specified.
- Flag any assumptions about user roles or technical stack.
- Stay focused on the curation service design, not general coding advice.
Example Target users: small development teams; languages: Python and JavaScript; goals: improve snippet quality and discoverability.
Follow-up prompts
- How can we automate snippet quality checks using static analysis?
- What are the best practices for building a community rating system?
- How should we handle snippet versioning and updates?