Get a thorough code review with suggestions for improvement, security, and performance.
Please review the following code for: 1. Bugs and potential issues 2. Security vulnerabilities 3. Performance improvements 4. Code style and readability 5. Best practices for the language/framework Provide specific suggestions with code examples. ``` [Paste your code here] ```
Translate code from one programming language to another while maintaining logic and best practices.
Convert the following code from [SOURCE LANGUAGE] to [TARGET LANGUAGE]. Maintain the same logic and functionality, but use idiomatic patterns and best practices for the target language. Add comments explaining any significant differences. **Source code ([SOURCE LANGUAGE]):** ``` [Paste code here] ```
Generate comprehensive unit tests for your function or class.
Write comprehensive unit tests for the following code. Include: - Happy path tests - Edge cases - Error handling tests - Boundary conditions Use [TESTING FRAMEWORK, e.g., Jest, pytest, JUnit] and follow best testing practices. ``` [Paste your code here] ```
Get a clear, beginner-friendly explanation of complex code.
Explain the following code in simple terms, as if I'm a beginner programmer. Break it down line by line, explain what each part does, and describe the overall purpose. Use analogies where helpful. ``` [Paste code here] ```
Get a complete REST API design with endpoints, request/response schemas, and best practices.
Design a REST API for [DESCRIBE YOUR APPLICATION/FEATURE]. Include: 1. All endpoints (method, path, description) 2. Request/response JSON schemas for each endpoint 3. Authentication approach 4. Error handling patterns 5. Pagination strategy 6. Rate limiting recommendations Follow RESTful best practices and include example curl commands.
Transform rough drafts into polished, professional writing.
Rewrite the following text to be clearer, more concise, and more impactful. Maintain the original meaning but improve: - Sentence structure and flow - Word choice (eliminate jargon/filler) - Tone (make it [professional/casual/persuasive]) - Readability Provide the rewritten version and a brief summary of changes made. **Original text:** [Paste your text here]
Generate a structured, engaging blog post on any topic with SEO considerations.
Write a 1,000-word blog post about [TOPIC]. Requirements: - Engaging headline and hook - Clear structure with H2/H3 subheadings - Include practical examples or data points - Conversational yet authoritative tone - Strong conclusion with a call to action - SEO-friendly: naturally include keywords related to [TOPIC] Target audience: [DESCRIBE AUDIENCE]
Draft a professional email for any business situation.
Write a professional email for the following situation: **Context:** [Describe the situation] **Recipient:** [Who are you writing to?] **Goal:** [What do you want to achieve?] **Tone:** [Formal/Semi-formal/Friendly] **Key points to include:** [List main points] Provide the email with subject line, greeting, body, and sign-off.
Get a concise summary of articles, papers, or documents at your preferred length.
Summarize the following content in [NUMBER] sentences/paragraphs. Include: - The main argument or thesis - Key supporting points - Important data or findings - The conclusion or implications Format the summary with bullet points for key takeaways. **Content to summarize:** [Paste content here]
Create engaging LinkedIn posts that drive engagement and build your professional brand.
Write a LinkedIn post about [TOPIC/EXPERIENCE]. Requirements: - Hook in the first line (pattern interrupt or bold statement) - Tell a story or share a specific insight - Include 3-5 actionable takeaways - End with a question to drive engagement - Use short paragraphs and line breaks for readability - Add 3-5 relevant hashtags - Tone: [Inspirational/Educational/Thought-provoking] - Length: 150-300 words
Get detailed, step-by-step solutions to math problems with explanations.
Solve the following math problem step by step. For each step: 1. State what you're doing and why 2. Show the calculation 3. Explain the concept being applied At the end, verify the answer and provide a brief summary of the approach used. **Problem:** [Enter your math problem here]
Analyze datasets and calculate statistical measures with interpretation.
Perform a statistical analysis on the following data: **Data:** [Enter your data] Please calculate and interpret: 1. Descriptive statistics (mean, median, mode, std dev) 2. Distribution analysis 3. Any notable patterns or outliers 4. Appropriate statistical test for [YOUR HYPOTHESIS] 5. Confidence intervals Explain each result in plain language.
Calculate compound interest, ROI, loan payments, and other financial metrics.
Calculate the following financial scenario: **Type:** [Compound interest / Loan payment / ROI / Investment growth / Break-even] **Given values:** - [List your known values, e.g., principal = $10,000, rate = 7%, time = 10 years] Provide: 1. Step-by-step calculation 2. Final answer 3. A table showing year-by-year breakdown (if applicable) 4. Key insights about the result
Get intuitive explanations of complex mathematical concepts with real-world examples.
Explain [MATH CONCEPT] in an intuitive way. Include: 1. A simple definition 2. A real-world analogy 3. A visual description or diagram (using text/ASCII) 4. A worked example 5. Common mistakes to avoid 6. When and why this concept is useful Assume I have a [BEGINNER/INTERMEDIATE/ADVANCED] math background.
Generate creative story ideas, plot outlines, and opening paragraphs.
Generate a story concept with the following parameters: **Genre:** [Fantasy/Sci-fi/Mystery/Romance/Thriller/Literary] **Setting:** [Time period and location] **Theme:** [Core theme to explore] **Tone:** [Dark/Light/Humorous/Serious] Provide: 1. A compelling premise (2-3 sentences) 2. Main character profile 3. Plot outline (beginning, middle, end) 4. Three potential plot twists 5. An engaging opening paragraph (200 words)
Generate creative, memorable brand names with domain availability considerations.
Generate 15 brand name ideas for: **Business type:** [Describe your business] **Target audience:** [Who are your customers?] **Brand personality:** [Modern/Playful/Professional/Luxurious/Friendly] **Keywords to evoke:** [List 3-5 feelings or concepts] For each name, provide: - The name - Why it works (meaning/association) - Potential .com domain variation - A one-line tagline that pairs with it
Plan a week or month of social media content with post ideas and captions.
Create a [1-WEEK/1-MONTH] social media content calendar for: **Business/Brand:** [Describe your brand] **Platforms:** [Instagram/Twitter/LinkedIn/TikTok] **Goals:** [Brand awareness/Engagement/Sales/Education] **Posting frequency:** [X times per week per platform] For each post, include: - Date and platform - Content type (carousel, reel, story, text post) - Topic/theme - Caption draft - Hashtag suggestions - Best time to post
Create compelling product descriptions that convert browsers into buyers.
Write a compelling product description for: **Product:** [Name and type] **Key features:** [List 3-5 features] **Target customer:** [Who buys this?] **Price point:** [Budget/Mid-range/Premium] **Unique selling point:** [What makes it different?] Provide: 1. A headline that grabs attention 2. A short description (50 words) for listings 3. A detailed description (150-200 words) for the product page 4. 5 bullet points highlighting key benefits 5. A persuasive closing line with CTA
Generate diverse, creative ideas for any challenge or project using structured brainstorming.
I need creative ideas for: [DESCRIBE YOUR CHALLENGE/PROJECT] **Constraints:** [Budget, timeline, resources] **What's been tried:** [Previous approaches] **Success criteria:** [What does a good solution look like?] Please generate: 1. 5 conventional/safe ideas 2. 5 creative/unconventional ideas 3. 3 wild/moonshot ideas For each idea, provide a one-line description and a brief explanation of why it could work. Then recommend the top 3 ideas to pursue first.
Create a comprehensive SWOT analysis for any business, product, or strategy.
Create a detailed SWOT analysis for: **Company/Product:** [Name] **Industry:** [Industry] **Context:** [Current situation or decision being evaluated] For each quadrant (Strengths, Weaknesses, Opportunities, Threats), provide: - 5-7 specific, actionable points - Brief explanation for each point - Data or evidence where possible Then provide: 1. Key strategic insights from the analysis 2. Top 3 recommended actions 3. Biggest risk to address immediately
Draft a compelling executive summary for investors or stakeholders.
Write a professional executive summary for a business plan: **Company name:** [Name] **Industry:** [Industry] **Problem being solved:** [Describe the pain point] **Solution:** [Your product/service] **Target market:** [Size and demographics] **Revenue model:** [How you make money] **Traction:** [Any metrics, users, revenue] **Funding ask:** [Amount and use of funds] Format it as a 1-page executive summary suitable for investor presentations. Include market size estimates and competitive advantages.
Analyze competitors and identify your strategic advantages.
Conduct a competitive analysis for: **My company/product:** [Describe yours] **Competitors to analyze:** [List 3-5 competitors] **Industry:** [Industry] For each competitor, analyze: 1. Core product/service offering 2. Pricing strategy 3. Target audience 4. Key strengths and weaknesses 5. Market positioning Then provide: - A comparison matrix (table format) - Gaps in the market I can exploit - My unique competitive advantages - Recommended positioning strategy
Create well-structured OKRs (Objectives and Key Results) for teams or individuals.
Create OKRs for: **Team/Role:** [e.g., Product Team, Marketing, Individual] **Time period:** [Quarter/Half/Year] **Company priorities:** [List top 2-3 company goals] **Current challenges:** [What needs improvement?] Generate 3-4 Objectives, each with 3-4 measurable Key Results. For each KR: - Make it specific and measurable - Include a target number/percentage - Indicate the baseline (current state) - Rate difficulty (stretch vs. committed) Also suggest 2-3 initiatives/projects that would drive each objective.
Create structured meeting agendas and transform raw notes into actionable summaries.
Create a structured meeting [AGENDA/SUMMARY] for: **Meeting type:** [Team standup/Strategy review/Client call/Brainstorm/1:1] **Participants:** [List roles] **Duration:** [Time] **Goal:** [What should this meeting achieve?] **Topics:** [List key topics] Provide: 1. Timed agenda with allocated minutes per topic 2. Discussion questions for each topic 3. Template for capturing decisions and action items 4. Follow-up email template [If summarizing notes, paste raw notes below and I'll organize them into decisions, action items, and key takeaways]
Get a comprehensive overview of any topic with key findings and sources.
Provide a comprehensive research overview on: [TOPIC] Include: 1. **Background:** Brief history and context 2. **Current State:** Latest developments and trends 3. **Key Players:** Important people, companies, or organizations 4. **Main Arguments/Perspectives:** Different viewpoints on the topic 5. **Data & Statistics:** Relevant numbers and findings 6. **Future Outlook:** Predictions and emerging trends 7. **Further Reading:** Suggest 5 authoritative sources to explore Target depth: [Overview/Intermediate/Expert-level]
Get a balanced, detailed comparison of two technologies, frameworks, or tools.
Compare [TECHNOLOGY A] vs [TECHNOLOGY B] for [USE CASE]. Analyze: 1. **Core differences** in approach and philosophy 2. **Performance** benchmarks and real-world speed 3. **Learning curve** and developer experience 4. **Ecosystem** (libraries, community, documentation) 5. **Scalability** considerations 6. **Cost** (licensing, hosting, maintenance) 7. **Best suited for** (specific use cases) 8. **Limitations** of each Provide a recommendation based on: - Small project / startup - Enterprise / large-scale - Beginner developer - Experienced team
Organize and synthesize research papers and sources into a structured literature review.
Help me create a literature review on: [RESEARCH TOPIC] **Field:** [Academic discipline] **Scope:** [Time period, geographic focus, etc.] **Research question:** [Your specific question] **Sources I have:** [List any papers/authors you've found] Provide: 1. Suggested organizational structure (thematic/chronological/methodological) 2. Key themes and debates in this area 3. Gaps in existing research 4. A template paragraph showing how to synthesize multiple sources 5. Transition phrases for connecting different studies 6. Suggested search terms for finding more sources
Get a balanced analysis of any decision with weighted pros and cons.
Analyze the pros and cons of: [DECISION/OPTION] **Context:** [Your specific situation] **Alternatives:** [Other options you're considering] **Priority factors:** [What matters most to you?] Provide: 1. Comprehensive pros (at least 7) 2. Comprehensive cons (at least 7) 3. Weight each factor (High/Medium/Low impact) 4. Hidden considerations most people miss 5. Risk assessment 6. Final recommendation with reasoning Be balanced and honest — don't sugarcoat the downsides.
Break down complex topics into simple, easy-to-understand explanations.
Explain [COMPLEX TOPIC] in the simplest possible terms. Rules: - Use everyday language (no jargon) - Use analogies and real-world examples - Start with the most basic concept and build up - Include a simple diagram or visual description - End with "In one sentence" summary Then provide three levels of explanation: 1. **ELI5:** For someone with zero background 2. **ELI15:** For someone with basic knowledge 3. **Expert summary:** Technical but concise
Organize your tasks and create an optimized daily schedule.
Help me plan my day. Here are my tasks: **Must-do today:** [List urgent/important tasks] **Should do:** [List important but less urgent tasks] **Nice to have:** [List optional tasks] **Available hours:** [e.g., 9am-5pm] **Energy pattern:** [Morning person/Night owl/Steady] **Meetings:** [List fixed time commitments] Create an optimized schedule that: 1. Groups similar tasks together 2. Puts high-focus work during peak energy 3. Includes breaks (Pomodoro-style) 4. Identifies what can be delegated or deferred 5. Leaves buffer time for unexpected tasks
Get a structured 30-day learning plan for any skill with daily milestones.
Create a 30-day learning plan for: [SKILL] **Current level:** [Complete beginner/Some experience/Intermediate] **Daily time available:** [e.g., 1 hour] **Learning style:** [Visual/Reading/Hands-on/Video] **Goal:** [What do you want to be able to do after 30 days?] Provide: 1. Week-by-week breakdown with daily tasks 2. Recommended free resources for each phase 3. Practice exercises and mini-projects 4. Milestones to track progress 5. Common pitfalls and how to avoid them 6. How to continue learning after day 30
Get tailored interview preparation with common questions and strong answers.
Help me prepare for a job interview: **Position:** [Job title] **Company:** [Company name] **Industry:** [Industry] **My background:** [Brief summary of experience] **Interview type:** [Phone screen/Technical/Behavioral/Case study] Provide: 1. 10 likely interview questions for this role 2. Strong answer frameworks for each (STAR method where applicable) 3. 5 smart questions to ask the interviewer 4. Company-specific talking points to mention 5. Common red flags to avoid 6. A 60-second elevator pitch about myself
Get a negotiation strategy and script for salary, deals, or any negotiation.
Help me prepare for a negotiation: **Situation:** [Salary/Contract/Purchase/Partnership] **What I want:** [Your ideal outcome] **What they likely want:** [Their perspective] **My leverage:** [What advantages do I have?] **Their leverage:** [What advantages do they have?] **Relationship importance:** [One-time deal/Ongoing relationship] Provide: 1. Negotiation strategy (approach and tactics) 2. Opening statement script 3. Responses to 5 common objections 4. Your BATNA (Best Alternative) 5. Walk-away point 6. Closing techniques
Create a detailed travel itinerary with activities, restaurants, and logistics.
Plan a trip itinerary for: **Destination:** [City/Country] **Duration:** [Number of days] **Travel dates:** [Approximate dates] **Budget:** [Budget/Mid-range/Luxury] **Interests:** [Culture/Food/Adventure/Relaxation/History] **Travelers:** [Solo/Couple/Family with kids/Group] **Must-see:** [Any specific attractions] Provide a day-by-day itinerary with: 1. Morning, afternoon, and evening activities 2. Restaurant recommendations for each meal 3. Transportation between locations 4. Estimated costs per day 5. Insider tips and hidden gems 6. Backup plans for rainy days
Paste your code and error message to get a detailed debugging analysis from multiple AI models.
I have the following code that produces an error. Please analyze it, identify the bug, explain why it occurs, and provide the corrected code with comments. **Language:** [Your language] **Code:** ``` [Paste your code here] ``` **Error message:** [Paste error here]