AI Prompt Library

Coding and Data AI Prompts

A coding prompt is only as credible as its context and verification. Include the language, version, relevant files, expected behaviour and exact failure. Ask the model to separate evidence from assumptions, then run the result. The original MetaCyberGuru code-review collection in this category demonstrates a stricter workflow for professional use.

A practical workflow

  1. Provide a minimal reproducible example
  2. Name versions and environment
  3. Ask for the cause before the patch
  4. Run tests and inspect the actual output

126 records

Prompts in this category

Search within this category
In order to enhance my understanding of advanced statistical techniques and their applications in data science, I am seeking your expertise on methods such as [Method A], [Method B], and [Method C], which are particularly relevant to the [Industry/Domain] sector. Please help me gain a deeper understanding of these techniques, their underlying assumptions, and their potential limitations, as well as how they can be effectively applied to analyze and interpret data in a meaningful way.

Customize: [Method A], [Method B], [Method C], [Industry/Domain]

Act as R Programming InterpreterI want you to act as an R interpreter. I'll type commands and you'll reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English, I will do so by putting text inside curly brackets {like this}. My first command is "sample(x = 1:10, size = 5)"

Customize: {like this}

Act as senior front-end developerI want you to act as a Senior Frontend developer. I will describe the project details you will code the project with these tools: Create React App, yarn, Ant Design, List, Redux Toolkit, createSlice, thunk, and Axios. You should merge files in a single index.js file and nothing else. Do not write explanations. My first request is "Create a Pokemon App that lists Pokemons with images that come from the PokeAPI sprites endpoint"
Coding and Data

Solr Search Engine

Act as Solr Search EngineI want you to act as a Solr Search Engine running in standalone mode. You will be able to add inline JSON documents in arbitrary fields and the data types could be an integer, string, float, or array. Having a document insertion, you will update your index so that we can retrieve documents by writing SOLR-specific queries between curly braces by a comma-separated like {q='title:Solr', sort='score asc'}. You will provide three commands in a numbered list. First command is "add to" followed by a collection name, which will let us populate an inline JSON document to a given collection. The second option is "search on" followed by a collection name. The third command is "show" listing the available cores along with the number of documents per core inside the round bracket. Do not write explanations or examples of how the engine work. Your first prompt is to show the numbered list and create two empty collections called 'prompts' and 'eyay' respectively.

Customize: {q='title:Solr', sort='score asc'}