Skip to content

Results for “orm”

170 prompts

My [framework] app has these needs: [describe shared state, server data, forms]. Recommend a state management approach (e.g. built-in state, Context, Zustand, Redux Toolkit, React Query), explain why, and show the setup with one example feature.

ChatGPT
Coding & Development

State management setup

Chooses and sets up state management for a frontend app.

0

Write a pandas script to clean this CSV: [describe columns and problems, e.g. mixed date formats, duplicates, missing values, inconsistent names]. Log each cleaning step, keep a summary of rows changed, and save a clean file.

ChatGPT
Coding & Development

Python data cleaning script

Cleans messy CSV data into an analysis-ready table.

0

Write a WordPress plugin that [feature, e.g. adds a custom post type with a shortcode]. Follow WordPress coding standards, sanitise inputs, escape outputs, use nonces for forms, and include activation/deactivation hooks.

ChatGPT
Coding & Development

WordPress custom plugin

A small, secure WordPress plugin for a custom feature.

0

Create a code review checklist for a team working in [stack]. Cover correctness, readability, tests, security, performance, error handling, logging, documentation and style. Add tips for giving kind, actionable review comments.

ChatGPT
Coding & Development

Code review checklist for a team

A practical checklist for consistent code reviews.

0

This function is too slow for large inputs ([input size]). Analyse its time and space complexity, propose a more efficient approach, implement it, and show a quick benchmark plan. Code: [paste code]

ChatGPT
Coding & Development

Algorithm optimisation

Speeds up an algorithm by improving its complexity.

0

Build validation for a [form type] form in [framework or vanilla JS]. Validate [fields] on blur and submit, show inline accessible error messages, disable submit while sending, and handle server-side errors gracefully.

ChatGPT
Coding & Development

Form validation on the frontend

Accessible form validation with helpful error messages.

0

Implement a real-time [feature, e.g. chat / live notifications] using WebSockets in [stack]. Include server setup, client connection with reconnect logic, message format, authentication, and how to scale beyond one server.

ChatGPT
Coding & Development

WebSocket real-time feature

Adds real-time updates like chat or live notifications.

0

Write a Python class for [purpose, e.g. a shopping cart]. Include type hints, docstrings, validation, a clean public API, and pytest unit tests covering normal use and edge cases.

ChatGPT
Coding & Development

Write a Python class with tests

A well-designed Python class with type hints and unit tests.

0

My web page has these performance metrics and details: [Lighthouse results / stack / page description]. Identify the biggest causes of slow loading and poor Core Web Vitals, and give prioritised fixes with code examples (images, fonts, JS bundles, caching, rendering).

ChatGPT
Coding & Development

Web app performance audit

Finds and fixes slow page loads and poor Core Web Vitals.

0

Write Jest unit tests for this function/module. Cover normal cases, edge cases, error handling, and mock [dependencies]. Use descriptive test names and arrange-act-assert structure. Code: [paste code]

ChatGPT
Coding & Development

Unit tests in Jest

Thorough Jest tests with mocks and edge cases.

0

Write 12 reference check questions for a candidate for [role]. Cover performance, working style, strengths, areas to develop, and whether they'd rehire them. Include tips for reading between the lines and a short intro script.

ChatGPT
Business & Productivity

Reference check questions

Questions that get honest, useful references.

0

Write 15 one-sentence descriptions of my startup: [what it does, for whom, how it's different]. Mix formats like 'X for Y', problem-solution and outcome-focused. Mark the 3 clearest for investors and the 3 best for customers.

ChatGPT
Business & Productivity

Startup pitch one-liner

Sharp ways to describe your startup in one sentence.

0