Arjun Mehta

@arjun_codes

Backend dev (Go, Postgres). Pastes stack traces into Claude more often than I'd like to admit.

public prompts
5
uses
7,635
saves
2,470
remixes
27

Uses count copies, fill-ins, inserts and opens in an AI chat, once per person per day.

Public prompts by Arjun Mehta

Write test framework tests for the function below. Cover the happy path, the boundaries, invalid input, and one property that should always hold. Use test names that read as sentences. Don't mock what you don't own. If the function is hard to test, suggest the smallest refactor that would help. paste function
720 uses
Read this stack trace from service name (language / framework). In three sentences: what failed, the most likely root cause, and the first thing I should check. Then list up to three other possible causes, ranked, each with the log line or metric that would confirm it. If the trace is cut off or ambiguous, say what extra information you need instead of guessing. paste stack trace
2,240 uses
Write a regex in language that matches what it should match and does not match what it should not. Then give 8 test strings: 4 that should match and 4 that shouldn't, including edge cases like empty strings and Unicode. Explain each part of the pattern in a table. If a regex is the wrong tool here, say so and show the alternative.
990 uses
Data & AnalysisStaff pick
Here's my schema: paste CREATE TABLE statements Write a Postgres / MySQL / SQLite query that answers: question. Use CTEs instead of nested subqueries, name columns clearly and handle NULLs explicitly. After the query, explain in three bullet points how it works, and one thing that could make it slow on a large table, with the index that would fix it.
1,955 uses