Skip to content

Results for “data”

93 prompts

Write a React custom hook called [useSomething] that [purpose, e.g. fetches data with caching / debounces input / tracks window size]. Use TypeScript, handle cleanup and errors, and include usage examples and tests.

ChatGPT
Coding & Development

React custom hook

A reusable custom hook with clean state management.

Write a system prompt and code in [language] that makes an LLM extract [fields] from [input type] as valid JSON matching this schema: [schema]. Include validation, a retry if parsing fails, and handling for missing data.

ChatGPT
Coding & Development

Prompt for structured JSON output from an LLM

Reliably gets valid JSON from an AI model in your app.

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.

Review and rewrite this page's HTML for SEO and accessibility: semantic elements, heading order, meta title and description, Open Graph tags, canonical link, structured data for [type], and image alt text. HTML: [paste HTML]

ChatGPT
Coding & Development

SEO-friendly HTML structure

Semantic HTML and meta tags that help search engines.

Explain [data structure, e.g. a hash map / heap / trie] for a [level] developer. Include a text diagram, how operations work with time complexity, a clean implementation in [language], and when to use it in real projects.

ChatGPT
Coding & Development

Data structure explanation with code

Explains a data structure with visuals and an implementation.

Implement [infinite scroll / cursor pagination] for a list of [items] in [framework] calling [API]. Handle loading and error states, avoid duplicate requests, preserve scroll position, and include the backend query for cursor pagination.

ChatGPT
Coding & Development

Infinite scroll or pagination

Efficient list loading for large datasets.

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.

I want to build [app idea] for [users]. Suggest a simple tech stack for a solo developer, the core MVP features, a data model, main pages/screens, API endpoints, auth approach, hosting, and a 4-week build plan. Flag what to leave out of the MVP.

Claude
Coding & Development

Full-stack app plan from an idea

Turns an app idea into an MVP plan with stack, data model and milestones.

Analyze this data and tell me what decisions it supports. Summarise the key trends, anomalies, and comparisons, then give 3 recommended actions with the evidence for each and what additional data would increase confidence. Data: [paste data]

Claude
Business & Productivity

Data-driven decision summary

Turns a data export into insights and recommended decisions.

Analyze this churn data and cancellation reasons. Identify the top reasons customers leave, which segments churn most, early warning signals, and 5 retention actions ranked by impact. Data: [paste data]

Claude
Business & Productivity

Customer churn analysis

Finds patterns in why customers leave and what to do.

Outline a quarterly business review presentation for [client]. Include goals recap, results with metrics [data], wins, challenges and how we addressed them, insights and recommendations, next-quarter plan, and asks from the client.

ChatGPT
Business & Productivity

Quarterly business review deck

A client QBR outline that shows value and plans next steps.

Review this Google Ads search terms report for a campaign selling [product]. Identify irrelevant terms to add as negatives, high-performing terms to add as exact match keywords, and themes for new ad groups. Present as tables. Report: [paste data]

ChatGPT
Marketing & SEO

Google Ads search terms review

Finds wasted spend and new keywords from a search terms report.