You are a staff engineer running a system design interview. Give me this question: design [SYSTEM, e.g. a URL shortener, a chat app, a news feed, a ride-hailing service]. Play the interviewer: let me ask clarifying questions, then ask me to propose requirements, API, data model, high-level architecture, scaling approach and trade-offs, one stage at a time. Push back where my design is weak, as a real interviewer would. At the end, show a strong reference design and a feedback summary of what I missed.
Tip: Draw your design on paper or in a diagram tool while you answer, and describe it in text.
Design the architecture for a local delivery app
Coding · Claude, ChatGPT, Gemini
Act as a solutions architect. Design the system for a food and grocery delivery app launching in [CITIES, e.g. Lahore and Faisalabad], expecting [NUMBER] orders per day in year one. Features: customer app, rider app, restaurant dashboard, live order tracking, cash on delivery and digital wallet payments, and SMS or push notifications. Consider patchy mobile internet for riders. Give: main components and how they talk to each other, database choices, how live tracking works, how to handle payment failures, and what to build first as an MVP versus later. Include a simple text diagram and a rough list of cloud services needed.
Tip: Adjust the order numbers to your real estimate. Ask follow-ups about cost or a specific component.
Clean a messy CSV file with pandas
Coding · ChatGPT, Claude, Gemini
You are a data analyst who is expert in pandas. I have a CSV file with these columns and sample rows:
[PASTE HEADERS AND 5-10 ROWS]
Problems I have noticed: [e.g. mixed date formats, prices with 'Rs' and commas, duplicate rows, city names spelled differently like 'Karachi' and 'khi']. Write a well-commented pandas script that loads the file, cleans each problem, standardises column names, handles missing values sensibly (explain your choice), removes duplicates, and saves a clean file. Print a before-and-after summary of row counts and null values.
Tip: Replace personal data in the sample rows with fake values. Run the script in Jupyter or Google Colab to see each step.
Analyse sales data with pandas group by
Coding · ChatGPT, Claude, Gemini
Act as a business data analyst. I have sales data in a pandas DataFrame with columns: [LIST, e.g. date, city, product, category, quantity, price_pkr]. Write pandas code to answer: total revenue by month, top 10 products by revenue, revenue by city and category as a pivot table, month-over-month growth percentage, and the best day of the week for sales. Explain each step of the code briefly. Then suggest three further questions this data could answer for the business owner.
Tip: Load your data first and print df.head() and df.dtypes so you can tell the AI the exact column names and types.
Turn my DataFrame into clear charts
Coding · ChatGPT, Claude, Gemini
You are a data visualisation expert using Python. I have a pandas DataFrame with columns [LIST] and I want to show [MESSAGE, e.g. how monthly signups changed, which cities perform best] to [AUDIENCE, e.g. my manager, a client]. Recommend the best chart type for each message and why. Write matplotlib or seaborn code for each chart with a clear title, axis labels, readable fonts, sensible colours and number formatting (for example thousands separators for PKR). Show how to save each chart as a PNG for a report or slide.
Tip: Tell the AI your audience; a chart for a client should be simpler than one for analysts.
Write an Excel formula for my exact need
Coding · ChatGPT, Copilot, Gemini
Act as an Excel expert. My sheet has these columns: [DESCRIBE COLUMNS AND WHAT IS IN EACH, with an example row]. I need a formula in column [COLUMN] that [WHAT IT SHOULD DO, e.g. finds the price from another sheet, calculates late fees after the due date, marks rows as Paid or Pending]. I use [Excel 365 / Excel 2016 / Google Sheets]. Give the formula, explain each part in simple words, show a version that handles blanks and errors cleanly, and mention if a newer function (like XLOOKUP, FILTER or LET) would make it simpler.
Tip: Say which version you use, as some functions are not available in older Excel.
Fix an Excel formula that returns errors
Coding · ChatGPT, Copilot, Gemini
You are an Excel troubleshooting expert. This formula is giving me [ERROR, e.g. #N/A, #VALUE!, #REF!, wrong result]:
[PASTE FORMULA]
The cells it refers to contain: [DESCRIBE WITH EXAMPLES]. What I expected: [EXPECTED RESULT]. Explain what the error means, the most likely reasons in my case (for example numbers stored as text, extra spaces, wrong ranges, absolute vs relative references), how to check each one, and the corrected formula.
Tip: Describe the actual cell contents, including whether numbers are left-aligned (often a sign they are stored as text).
Automate Google Sheets with Apps Script
Coding · ChatGPT, Claude, Gemini
Act as a Google Apps Script developer. I want to automate this task in Google Sheets: [TASK, e.g. send an email reminder when a due date is 3 days away, copy new form responses into monthly tabs, generate a PDF invoice from a template row]. My sheet structure: [TABS, COLUMNS, SAMPLE ROW]. Write the script with comments, explain how to paste it into the Apps Script editor, how to set a time-based or on-edit trigger, what permissions it will ask for and why, and how to test it safely on a copy of the sheet.
Tip: Always test on a copy of your sheet first. Read the permission screen carefully before allowing it.
Build a student fee tracker in Google Sheets
Coding · ChatGPT, Gemini, Copilot
You are a spreadsheet designer helping a small academy or tuition centre in [CITY]. Design a Google Sheets fee tracker for about [NUMBER] students. Include: a student list tab (name, class, guardian contact, monthly fee in PKR, discount), a monthly payments tab, a summary dashboard showing collected vs pending fees per month and a list of defaulters, and conditional formatting to highlight unpaid fees. Give me the exact column layout for each tab and every formula needed, explained simply. Suggest simple data validation to prevent typing mistakes.
Tip: Build the tabs exactly as described, then ask for extra features such as a WhatsApp reminder message column.
Write an Excel VBA macro to save repetitive work
Coding · ChatGPT, Copilot, Claude
Act as an Excel VBA developer. Every [DAY/WEEK] I manually do this in Excel: [DESCRIBE STEPS IN DETAIL, e.g. open a file, remove blank rows, format columns, split data into sheets by city, save as PDF]. Write a VBA macro that automates this. Add comments on each section, include basic error handling, and avoid hard-coded file paths where possible (use a file picker). Explain how to add the macro, assign it to a button, and save the workbook as .xlsm. Warn me about anything that cannot be undone.
Tip: Keep a backup of your file, since macro actions cannot be undone with Ctrl+Z.
Automate file organising with a Python script
Coding · ChatGPT, Claude, Copilot
You are a Python automation expert. Write a script that organises files in the folder [PATH]: [RULES, e.g. move files into subfolders by type (images, PDFs, documents), rename photos by date taken, delete nothing]. Requirements: a dry-run mode that only prints what would happen, a log of every action, safe handling of duplicate file names, and support for both Windows and Linux paths using pathlib. Explain how to run it and how to schedule it to run automatically on my operating system.
Tip: Always run in dry-run mode first and check the output before letting the script move real files.
Write a respectful web scraper in Python
Coding · ChatGPT, Claude, DeepSeek
Act as a Python developer who scrapes responsibly. I want to collect [DATA, e.g. public product names and prices] from [WEBSITE TYPE] for [PURPOSE, e.g. personal price comparison, research]. First tell me what to check before scraping: the site's terms of use, robots.txt, whether an official API exists, and personal data concerns. Then write a script using requests and BeautifulSoup (or Playwright if the page needs JavaScript) that respects rate limits with delays, sets a clear user agent, handles errors and saves results to CSV. Do not include any method to bypass logins, CAPTCHAs or blocks.
Tip: If the site offers an API or a data export, use that instead. Only collect public data you are allowed to use.
Send a daily report email automatically with Python
Coding · ChatGPT, Claude, Copilot
You are an automation engineer. Write a Python script that every morning reads [DATA SOURCE, e.g. a CSV, Google Sheet, MySQL table], calculates [SUMMARY, e.g. yesterday's orders and revenue in PKR], builds a clean HTML email with a small table, and sends it to [RECIPIENTS] using SMTP. Keep email credentials in environment variables or a .env file, not in the code. Include error handling and logging, and explain how to schedule it with cron on Linux or Task Scheduler on Windows.
Tip: For Gmail, use an app password rather than your main password. Send test emails to yourself first.
Build a simple Telegram bot for my business
Coding · ChatGPT, Claude, DeepSeek
Act as a bot developer. Build a Telegram bot in [Python or Node.js] for [BUSINESS, e.g. a bakery taking pre-orders, a tuition centre sharing timetables]. Features: /start welcome message, a menu with buttons, answering [COMMON QUESTIONS], collecting an order or enquiry and forwarding it to the owner's chat, and storing enquiries in a simple database. Explain how to create the bot token with BotFather, keep the token secret, run it locally, and host it cheaply. Keep the code well organised and commented.
Tip: Start with the basic features, test with friends, then add more commands one by one.
Pick portfolio projects that impress local employers
Coding · ChatGPT, Claude, Gemini
Act as a hiring manager at a software company in [CITY, e.g. Lahore, Karachi, Islamabad] who reviews junior developer CVs. I want a job as a [ROLE, e.g. MERN developer, Laravel developer, Flutter developer, data analyst]. My current skills: [LIST]. Suggest 5 portfolio projects that would stand out, avoiding overused ones like basic to-do apps or weather apps. For each: the problem it solves, key features, tech stack, what skill it proves to an employer, and an estimated build time. Rank them by impact on my job search.
Tip: Build two or three projects well rather than five badly. Deploy them online and link them in your CV.
Plan a portfolio project from idea to launch
Coding · Claude, ChatGPT, Gemini
You are a product-minded senior developer mentoring me. My project idea: [IDEA]. Tech stack: [STACK]. I can spend [HOURS] per week. Turn this into a plan: a short problem statement, a list of MVP features vs later features, a simple database schema, main screens or pages, a weekly milestone plan, a testing plan, and a deployment plan using free or low-cost hosting. End with how I should present the project on GitHub and in my CV so employers understand its value.
Tip: Keep the MVP small enough to finish in a few weeks. Update the plan with the AI as you progress.
Write a standout GitHub profile README
Coding · ChatGPT, Claude, Gemini
Act as a developer branding coach. Write a GitHub profile README for me. Details: name [NAME], role I want [ROLE], location [CITY, Pakistan] and open to [remote / onsite / freelance], skills [LIST], top 3 projects with one-line descriptions and links [LIST], what I am currently learning [TOPIC], and how to contact me [METHOD]. Keep it professional, short and scannable, in Markdown, with a clean skills section. Avoid clutter like too many badges or animated widgets. Give two versions: minimal and slightly more detailed.
Tip: Create a repository with the same name as your GitHub username and put this in its README.md.
Estimate time and price for a freelance coding job
Coding · Claude, ChatGPT, Gemini
You are an experienced freelance developer who helps others quote fairly. A client wants: [PASTE PROJECT DESCRIPTION]. My skill level: [LEVEL] and my usual rate: [HOURLY RATE IN USD OR PKR]. Break the project into tasks in a table with columns: Task, Details, Estimated hours (low and high), Risk level. Add time for communication, testing, revisions and deployment. Give a total range and suggest how to structure pricing (fixed price with milestones, or hourly). List the questions I must ask the client before sending a quote, and things to exclude clearly from scope.
Tip: Ask the client the listed questions before quoting. Add a buffer to estimates for unclear requirements.
Write a Fiverr gig description for development services
Coding · ChatGPT, Claude, Gemini
Act as a freelancing coach who knows how buyers on Fiverr search and decide. Write a gig for my service: [SERVICE, e.g. Laravel bug fixing, WordPress website development, Flutter app UI]. My experience: [SUMMARY, only true claims]. Give: 3 gig title options, a gig description under 1,200 characters with clear benefits and what the buyer must provide, three package tiers (Basic, Standard, Premium) with deliverables and delivery time (leave prices as [PRICE] for me to decide), 5 search tags, and 5 FAQs. Do not make promises I cannot keep, such as guaranteed rankings.
Tip: Only list skills and results you can actually deliver. Look at similar gigs to decide your own pricing.
Write an Upwork proposal for a coding job
Coding · ChatGPT, Claude, Gemini
You are a top-rated Upwork freelancer helping me write a proposal. Here is the job post:
[PASTE JOB POST]
My relevant experience and portfolio links: [LIST, only real work]. Write a proposal under 180 words that: opens by addressing the client's specific problem (not with 'Dear Sir'), shows I understood the requirements, briefly suggests my approach, mentions one relevant past project, asks one smart clarifying question, and ends with a clear next step. Keep the tone confident and friendly, not desperate or generic.
Tip: Personalise every proposal. Sending the same generic text to many jobs rarely works.
Prepare questions to clarify a client's software requirements
Coding · Claude, ChatGPT, Gemini
Act as a business analyst for a small software house. A client wants [PROJECT, e.g. an inventory system for their shop, a booking website for a salon in Rawalpindi]. Their brief: [PASTE BRIEF]. Write a list of clarifying questions grouped by: goals and users, features, content and data, design, integrations (payments, SMS, maps), hosting and maintenance, budget and timeline. Keep questions simple enough for a non-technical client. Then give a one-page requirements summary template I can fill in after the meeting and send back for approval.
Tip: Send the questions before the meeting or use them during a call. Get written approval of the summary before starting.
Translate code from one language to another
Coding · ChatGPT, Claude, DeepSeek
You are an expert in both [SOURCE LANGUAGE] and [TARGET LANGUAGE]. Convert this code:
[PASTE CODE]
Do not do a word-for-word translation; write idiomatic [TARGET LANGUAGE] using its common libraries and conventions. Keep the same behaviour. After the code, list: differences in behaviour to watch for (integer division, null handling, string encoding, error handling), library equivalents you used, and any part that could not be translated directly.
Tip: Run the same test inputs through both versions to confirm they give identical results.
Explain a coding error in simple English with Urdu terms
Coding · ChatGPT, Claude, Gemini
Act as a friendly coding teacher for students in Pakistan whose first language is Urdu. Explain this error message and how to fix it:
[PASTE ERROR AND CODE]
Use very simple English with short sentences. Where helpful, add the Urdu word in brackets for key ideas (for example variable, loop, condition). Explain: what the error means, why it happened in my code, the fix, and one tip to avoid it in future. Avoid jargon; if you must use a technical term, explain it.
Tip: Useful for beginners and for teachers explaining errors to students. Ask for a fully Urdu explanation if needed.
Move from JavaScript to TypeScript quickly
Coding · ChatGPT, Claude, Copilot
You are a TypeScript trainer. I know JavaScript well and want to learn TypeScript for [PURPOSE, e.g. React projects, Node.js APIs, job requirements]. Teach me the essentials in a practical order: basic types, interfaces vs type aliases, union types, generics, type narrowing, utility types, and typing API responses. For each, give a before (JavaScript) and after (TypeScript) example. Then convert this JavaScript file of mine to TypeScript and explain each type decision:
[PASTE FILE]
Tip: Turn on strict mode in tsconfig.json from the start; it teaches good habits early.
Understand OOP concepts using PHP examples
Coding · ChatGPT, Claude, DeepSeek
Act as a university lecturer teaching object-oriented programming. Explain classes, objects, constructors, encapsulation, inheritance, polymorphism, abstraction, interfaces and traits using modern PHP (8 or later). Use one running example throughout, such as a bank account system or an online shop, instead of unrelated examples. For each concept give a short explanation, code, and a common exam or interview question with a model answer. Finish with a small assignment that uses all the concepts together.
Tip: Type the code yourself instead of copying, and run it locally to see the output.
Apply the right design pattern to my code
Coding · Claude, ChatGPT, DeepSeek
You are a software architect. Here is code that is becoming hard to extend:
[PASTE CODE]
The change I need to make often is: [e.g. adding new payment methods, new notification channels, new report formats]. Suggest which design pattern (for example Strategy, Factory, Observer, Adapter, Repository) fits best and why, and which patterns would be overkill here. Show the refactored code using the pattern in [LANGUAGE], and explain how adding a new variation would work after the change.
Tip: Patterns are tools, not goals. If the AI says the code is fine without one, that is a good answer too.
Improve naming and readability in my code
Coding · ChatGPT, Claude, Copilot
Act as a clean code reviewer focused only on readability. Review this code:
[PASTE CODE]
Suggest better names for variables, functions and classes, point out long functions or deep nesting, magic numbers, unclear conditions, and inconsistent formatting. Give your suggestions as a table: Current, Suggested, Reason. Then show the improved code with the same behaviour. Do not change logic or add features.
Tip: Use this before submitting assignments or client code. Apply your team's style guide if it differs from the suggestions.
Make a plan to reduce technical debt
Coding · Claude, ChatGPT, Gemini
You are an engineering manager. Our [PRODUCT TYPE] codebase has these problems: [LIST, e.g. no tests, outdated framework version, duplicated code, slow deployments, one person understands the billing module]. Team size: [N]. We still need to ship features every [PERIOD]. Create a realistic plan to reduce technical debt without stopping feature work. Include a prioritisation table (Problem, Business risk, Effort, Priority), a quarterly roadmap, how to explain the value to non-technical management, and simple metrics to track progress.
Tip: Share honest details about your team's capacity so the plan is achievable.
Plan a migration from plain PHP to Laravel
Coding · Claude, ChatGPT, DeepSeek
Act as a senior PHP consultant. I have a legacy plain PHP application with [DESCRIPTION, e.g. 60 files, mysqli queries mixed with HTML, session-based login, no framework]. It is live and used by [USERS]. Plan a gradual migration to Laravel [VERSION] with no big-bang rewrite. Cover: assessment steps, running old and new code side by side, migrating the database and authentication, which modules to move first, testing strategy, and risks. Give a phased plan with rough effort per phase and a rollback option at each step.
Tip: Share the list of main modules and how users log in. Keep the live app backed up throughout.
Understand and add the right MySQL indexes
Coding · ChatGPT, Claude, DeepSeek
You are a MySQL expert and teacher. Explain how indexes work in MySQL (B-tree basics, composite indexes, the leftmost prefix rule, covering indexes) in simple words with an analogy. Then, based on my table and most common queries, recommend which indexes to add or remove:
Table: [PASTE CREATE TABLE]
Common queries: [PASTE 3-5 QUERIES]
Give the exact ALTER TABLE statements and explain how to verify the improvement with EXPLAIN.
Tip: Add indexes during low-traffic hours on large tables, as it can lock or slow the table.
Learn SQL window functions with practical examples
Coding · ChatGPT, Claude, DeepSeek
Act as a data analytics trainer. Teach me SQL window functions: ROW_NUMBER, RANK, DENSE_RANK, LAG, LEAD, running totals with SUM OVER, moving averages and PARTITION BY. Use one sample table, [TABLE, e.g. monthly sales per salesperson per city], and give the CREATE and INSERT statements so I can follow along. For each function show a query, its output table, and a real business question it answers. End with 5 practice questions without answers.
Tip: Run the examples in MySQL 8, PostgreSQL or SQLite, which all support window functions.
Back up and restore a database from the command line
Coding · ChatGPT, Claude, Gemini
You are a database administrator. Explain how to back up and restore a [MySQL / PostgreSQL] database of about [SIZE] from the command line. Cover: a full backup command, backing up a single table, compressing the output, restoring to a new database, and moving a database from my local XAMPP setup to a live server. Explain each flag. Include safety tips: testing restores, not typing passwords directly in commands, and checking character sets so Urdu text is not corrupted.
Tip: Practise restoring to a test database before you ever need to do it in an emergency.
Choose between JWT and session authentication
Coding · Claude, ChatGPT, Gemini
Act as a backend security architect. My project: [DESCRIPTION, e.g. a Laravel API used by a Flutter mobile app and a React admin panel]. Explain the difference between session-based authentication and token-based authentication (JWT or opaque tokens) in simple terms. Compare them for my case in a table: security, logout and revocation, mobile support, scalability, complexity. Recommend one approach, explain where to store tokens safely on web and mobile, and list the common mistakes to avoid.
Tip: Mention your framework, as many have built-in solutions such as Laravel Sanctum that are safer than building your own.
Add rate limiting to protect my API
Coding · ChatGPT, Claude, Copilot
You are a backend engineer focused on reliability and abuse prevention for your own services. Explain rate limiting strategies (fixed window, sliding window, token bucket) simply. Then show how to add rate limiting to my [FRAMEWORK, e.g. Express, Laravel, Django REST] API for: login attempts, OTP or SMS sending endpoints, and general API use. Include the code, the right HTTP status and headers to return, and how to handle users behind a shared IP address such as a university network.
Tip: Protect OTP and SMS endpoints first, since abuse there can cost you money quickly.
Create a Postman collection and API tests
Coding · ChatGPT, Claude, Copilot
Act as a QA engineer who tests APIs. Based on these endpoints:
[PASTE ENDPOINT LIST OR OPENAPI SPEC]
Design a Postman test plan. For each endpoint give: test cases (valid request, missing fields, invalid types, unauthorised, not found), the request body, and a Postman test script in JavaScript that checks status code, response time and key fields. Show how to use environment variables for the base URL and token, and how to run the collection from the command line with Newman for CI.
Tip: Use a staging server for tests, never production data. Save the token in an environment variable, not in requests.
Check my web page for accessibility problems
Coding · Claude, ChatGPT, Copilot
You are a web accessibility specialist. Review this HTML and CSS against WCAG guidelines:
[PASTE CODE]
Check: headings order, alt text, form labels, colour contrast, keyboard navigation and focus styles, ARIA use, link text, and language attributes (including pages with mixed English and Urdu text). List each issue in a table with severity, who it affects, and the fix. Then give the corrected code.
Tip: Also test yourself by navigating the page with only the Tab key, and run a Lighthouse accessibility audit.
Convert my CSS to Tailwind classes
Coding · ChatGPT, Claude, Copilot
Act as a Tailwind CSS expert. Convert this component from plain CSS to Tailwind CSS [VERSION]:
[PASTE HTML AND CSS]
Keep the same look on mobile and desktop. Use responsive prefixes, hover and focus states, and dark mode classes if the original has them. Where the class list gets very long, suggest how to extract a reusable component instead of using @apply everywhere. Point out any styles that have no direct Tailwind equivalent and how to handle them.
Tip: Compare both versions side by side in the browser to catch small differences in spacing or colour.
Improve SEO in my Next.js website
Coding · ChatGPT, Claude, Gemini
You are a technical SEO engineer who works with Next.js. My site: [DESCRIPTION, e.g. a blog in English and Urdu, a service business site in Multan]. Next.js version and router: [App Router / Pages Router]. Give a technical SEO checklist with code: metadata and Open Graph tags per page, dynamic sitemap and robots file, canonical URLs, structured data (JSON-LD) for my content type, hreflang for multiple languages, image optimisation and page speed. Explain which pages should be static, server rendered or client rendered, and why.
Tip: Check the results with Google Search Console and the Rich Results Test after deploying.
Connect a Flutter app to a REST API
Coding · ChatGPT, Claude, Gemini
Act as a senior Flutter developer. Show me how to connect my Flutter app to this REST API: [ENDPOINTS AND SAMPLE JSON RESPONSES]. Include: model classes with fromJson and toJson, a service or repository class using http or dio, error handling for no internet and server errors, a loading, success and error state on screen, and storing the auth token securely. Follow a clean folder structure. Explain how to test with a slow network, since many users are on mobile data.
Tip: Paste real sample responses from your API so the model classes match exactly.
Prepare a Flutter app for Play Store release
Coding · ChatGPT, Claude, Gemini
You are a mobile release manager. My Flutter app [NAME AND PURPOSE] is ready for its first release on Google Play. Give me a step-by-step checklist: app icon and splash screen, app name and package ID, versioning, signing the release build and keeping the keystore safe, reducing app size, testing a release build on real low-end Android phones, privacy policy and data safety form preparation, store listing text and screenshots, and using internal or closed testing before production. Mark the steps that cannot be changed later.
Tip: Check Google Play's current policies yourself, since requirements change. Back up your keystore in two safe places.
Manage secrets and environment variables safely
Coding · Claude, ChatGPT, Copilot
Act as a DevSecOps engineer. My [STACK] project currently has [SITUATION, e.g. API keys hard-coded in files, a .env committed to GitHub, passwords shared on WhatsApp]. Explain the right way to handle secrets across local development, CI, staging and production. Cover: .env files and .gitignore, example env files, CI secrets, a secrets manager option, rotating a key that has leaked, and removing a secret from Git history. Give a step-by-step clean-up plan for my current situation.
Tip: If a key was ever pushed publicly, rotate it first; removing it from history alone is not enough.
Find the cause of a problem from server logs
Coding · Claude, ChatGPT, Gemini
You are a site reliability engineer. My [APP/SERVER] had this problem: [SYMPTOM, e.g. site went down at 2am, random 500 errors, very slow checkout]. Here are log excerpts from around that time:
[PASTE LOGS, with IPs and personal data masked]
Analyse them: identify the most likely root cause, the timeline of events, and any warning signs before the failure. Suggest the commands (grep, awk, tail, journalctl) I can use to dig further, a fix, and monitoring or alerts that would catch it earlier next time.
Tip: Include logs from a few minutes before the problem started, not only the errors themselves.
Set up and debug cron jobs on Linux
Coding · ChatGPT, Claude, Copilot
Act as a Linux administrator. I want to run [SCRIPT/COMMAND] on my server [SCHEDULE IN PLAIN WORDS, e.g. every weekday at 9am Pakistan time]. Give the correct crontab line and explain each field. Then explain why cron jobs often work manually but fail in cron (environment variables, PATH, relative paths, permissions, timezone) and how to fix each. Show how to log output and errors to a file and how to check whether the job ran. If I use Laravel, also show the scheduler setup.
Tip: Check the server's timezone with the 'date' command first, as it is often set to UTC.
Find a memory leak in my JavaScript app
Coding · Claude, ChatGPT, Copilot
You are a JavaScript performance expert. My [browser app / Node.js server] uses more and more memory over time: [DETAILS, e.g. tab becomes slow after an hour, server restarts after a day]. Code that might be involved:
[PASTE CODE]
Explain the common causes of memory leaks (forgotten event listeners, timers, closures, growing caches, detached DOM nodes). Show me step by step how to use Chrome DevTools heap snapshots or Node.js inspection tools to find the leak, and point out anything suspicious in my code with a fix.
Tip: Take two or three heap snapshots a few minutes apart and compare them to see what keeps growing.
Design a caching strategy for my web app
Coding · Claude, ChatGPT, DeepSeek
Act as a backend performance architect. My app: [DESCRIPTION], about [TRAFFIC] requests per day. Slow parts: [LIST, e.g. homepage product list, dashboard stats, search]. Data that changes often: [LIST]. Recommend a caching strategy covering: browser and CDN caching, application caching with Redis or Memcached, database query caching, and cache invalidation. For each slow part, say what to cache, for how long and how to invalidate it. Show code examples in [FRAMEWORK] and warn me where caching could show users stale or wrong data.
Tip: Measure response times before and after, so you know caching actually helped.
Shape a strong final year project idea
Coding · ChatGPT, Claude, Gemini
You are a supervisor for BS Computer Science and Software Engineering final year projects at a Pakistani university. Our group of [NUMBER] students is interested in [AREAS, e.g. AI, web, mobile, IoT] and has these skills: [LIST]. Suggest 5 original FYP ideas that solve real local problems. For each: problem statement, target users, main modules, tech stack, what makes it more than a basic CRUD app, and risks. Then help us write a one-page proposal for our favourite idea with objectives, scope and a timeline across [NUMBER] months. The work itself must be ours.
Tip: Discuss the ideas with your real supervisor before finalising, and check your department's proposal format.
Build a simple Chrome extension
Coding · ChatGPT, Claude, Copilot
Act as a browser extension developer. Build a Chrome extension using Manifest V3 that [FEATURE, e.g. saves highlighted text to a notes list, shows a word count of the page, blocks distracting sites during study hours]. Give the full file structure and code: manifest.json, popup HTML/CSS/JS, content script and background service worker if needed, and storage handling. Request only the minimum permissions and explain why each is needed. Explain how to load it unpacked for testing.
Tip: Load it through chrome://extensions with Developer mode on. Ask for extra features one at a time.
Write handover documentation for a client project
Coding · Claude, ChatGPT, Gemini
You are a senior developer finishing a freelance project and handing it to the client and any future developer. Based on these project details: [STACK, HOSTING, MAIN FEATURES, THIRD-PARTY SERVICES, FOLDER STRUCTURE], write a handover document covering: system overview, how to run it locally, deployment steps, where credentials are stored (without real values), backups, common admin tasks for a non-technical client, known limitations, and a maintenance checklist. Use clear headings and simple language for the client sections.
Tip: Share credentials with the client separately through a secure method, never inside the document.
Create a test plan with edge cases for a feature
Coding · Claude, ChatGPT, Gemini
Act as a QA lead. The feature is: [DESCRIBE, e.g. checkout with cash on delivery and discount codes, student registration form, file upload]. Write a test plan with test cases in a table: ID, Scenario, Steps, Test data, Expected result, Priority. Include happy paths, edge cases (empty fields, very long inputs, Urdu or special characters, slow internet, double clicks, expired sessions), negative cases and basic security checks. Mark which cases should be automated and which are better tested manually.
Tip: Share any business rules (limits, discounts, roles) so the AI can create realistic test data.
Fix Linux permission denied errors correctly
Coding · ChatGPT, Claude, Gemini
You are a Linux system administrator. I get 'Permission denied' when [ACTION, e.g. my Laravel app writes to storage, Nginx serves files, I run a script]. Output of ls -la for the relevant folder: [PASTE]. The process runs as user: [USER, if known]. Explain how Linux permissions and ownership work (read, write, execute, user, group, others) in simple words. Then give the correct, least-privilege fix for my case, and explain why using chmod 777 is a bad idea.
Tip: Avoid chmod 777 even if an online answer suggests it; it opens security holes on your server.
Stay Updated
Join Our Newsletter
Get the latest news and curated updates straight to your inbox. Sign up for our newsletter.