Explain what this code does in plain English. Walk through it line by line, explain the purpose of each section, and identify any potential bugs or improvements: [paste code here]
💻 Coding
Bug Fixer
Find and fix all bugs in the following code. List each bug you found, explain why it was wrong, show the fixed version, and suggest any performance improvements: [paste code]
💻 Coding
Function Builder
Write a [language] function that [describe what it should do]. Include: input parameters with types, return value, error handling, and 3 example test cases. Add comments explaining key decisions.
💻 Coding
Code Refactor
Refactor the following code to make it cleaner, more readable, and follow best practices for [language]. Keep all functionality identical. Explain each change you made and why: [paste code]
💻 Coding
Database Schema Designer
Design a database schema for a [type of app]. Include all necessary tables, column names with data types, primary keys, foreign keys, and indexes. Explain the relationships between tables.
💻 Coding
API Documentation Writer
Write clear API documentation for the following endpoint: [paste endpoint details]. Include: description, HTTP method, URL, request parameters, request body example, response example, and error codes.
💻 Coding
README Generator
Write a professional README.md file for a GitHub project called "[project name]" which [brief description]. Include: badges, description, features list, installation steps, usage examples, and contributing guidelines.
💻 Coding
Interview Coding Prep
Give me 5 [easy/medium/hard] coding interview questions for [language/topic]. For each question: show the problem, explain the approach, write the solution with comments, and analyze time/space complexity.