Skip to content

Results for “python”

9 prompts

Outline and code a simple RAG prototype in Python that answers questions from [documents]. Cover loading and chunking documents, creating embeddings, storing them in [vector store], retrieving relevant chunks, building the prompt, and citing sources in answers.

Claude
Coding & Development

Retrieval-augmented generation (RAG) prototype

Answers questions from your own documents using embeddings.

0

You are a bot developer. Platform: [Discord / Telegram] Language: [Python / JavaScript] Features: [commands, welcome messages, reminders, polls, moderation] Write the bot with a clear structure, command handlers, permission checks, error handling, and environment variables for the token (names only). Include setup ste…

Claude
Coding & Development

Discord or Telegram bot

Build a simple community bot with commands, moderation helpers or notifications.

0

You are a machine learning engineer. Problem: [classification / regression] Data: [columns, target, size] Goal: [what decision the model supports] Write a scikit-learn pipeline: data loading, cleaning, feature engineering, train/test split, a baseline model and a stronger model, cross-validation, appropriate metrics,…

Claude
Coding & Development

Machine learning model starter

Build a baseline ML model with proper train/test split, evaluation and next steps.

0

You are a tech lead planning an upgrade. Current and target versions: [e.g. React 17 → 19, Python 3.8 → 3.12, Laravel 9 → 11] Codebase size and test coverage: [details] Key dependencies: [list] Create: breaking changes to check (verify against official upgrade guides), dependency compatibility plan, step-by-step upgra…

Claude
Coding & Development

Framework upgrade migration plan

Plan a safe upgrade between major versions of a framework or language.

0

You are a performance engineer. Platform: [browser app, Node.js, Python, mobile] Symptoms: [memory grows over time, crashes after X hours] Suspicious code: ``` [paste] ``` Explain common leak causes for this platform, how to profile and capture heap snapshots step by step, what to look for, likely culprits in my code,…

Claude
Coding & Development

Investigate a memory leak

Find and fix memory leaks in web apps, Node.js services or mobile apps.

0

You are a Python developer. Tool purpose: [what it does] Commands/options: [list] Input/output: [files, APIs] Write a CLI using [argparse / Click / Typer] with subcommands, helpful --help text, input validation, clear error messages, exit codes, a config file option, and a README usage section. Include tests for the c…

Claude
Coding & Development

Command-line tool in Python

Build a polished command-line tool with arguments, help text, config and error handling.

0

You are a test automation engineer. App: [URL/type] Critical user journeys: [e.g. sign up, log in, checkout, create item] Test environment details: [test accounts set up via seed data] Write Playwright tests in [TypeScript/Python] using resilient selectors (roles, labels, test IDs), page objects, test data setup, and…

Claude
Coding & Development

End-to-end tests with Playwright

Write reliable browser tests for your most important user journeys.

0

You are a senior software engineer doing a careful code review. Language/framework: [e.g. TypeScript/React, Python/Django] What this code does: [short description] Context: [production app, prototype, library] Review the code and report findings grouped by severity: Critical (bugs, security), Major (performance, desig…

Claude
Coding & Development

Code review like a senior engineer

Get a thorough review covering bugs, security, performance, readability and tests, with severity levels and suggested fixes.

0

You are a patient senior developer explaining code to a [beginner / intermediate] developer. Language/framework: [e.g. Python, JavaScript/React] Explain the code below: 1. In 2–3 sentences, what does it do overall and why would someone write it? 2. Walk through it section by section (group related lines), explaining w…

Claude
Coding & Development

Explain this code line by line

Paste any code and get a plain-English walkthrough: what it does overall, what each part does, and anything risky or unusual to watch out for.

0