Skip to content

Results for “orm”

276 prompts

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

Review this PostgreSQL schema. Check normalisation, data types, constraints, foreign keys, indexes for likely queries ([queries]), naming consistency, and future scaling issues. Suggest improvements with migration SQL. Schema: [paste schema]

Claude
Coding & Development

PostgreSQL schema review

Reviews a database schema for performance and integrity issues.

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

Create a launch checklist for an online store selling [products] on [platform]. Cover legal and admin, product pages, payments, shipping and returns, analytics, email capture, SEO basics, launch marketing and post-launch tasks, ordered by week.

ChatGPT
Business & Productivity

Ecommerce business launch checklist

Everything to set up before launching an online store.

0

Create an inventory management plan for [business] selling [number] products. Include ABC analysis, reorder points and safety stock formulas with examples, a weekly stock-check routine, and how to handle slow-moving items.

ChatGPT
Business & Productivity

Inventory management plan

Keeps stock levels healthy without tying up cash.

0

Help me write a performance review for [employee], a [role]. Achievements: [list]. Areas for growth: [list]. Rating: [rating]. Write it in a fair, specific and encouraging tone, with examples, and 3 SMART goals for the next period.

ChatGPT
Business & Productivity

Employee performance review

A balanced, specific performance review for a team member.

0