Coding

Example Mind Map

Coding

Markmap syntax
In markmap, each layer becomes a separate branch by #.
Example: mindmapping a birthday party.
# Birthday
## Activities
### Fishing Candy
### Trampoline
## Food
### Cake
### Hotdogs
...
Use Markdown to create a mindmap for planning a wedding. Enclose the output in ` and `.

Copied!

Write a new code for new feature and functionality

Coding

Act as a [Technology Name] developer. [Write a detailed description]

Copied!

Write test

Coding

You are a [programming language] expert, I have a piece of code [attach code], please write tests for it. Please provide at least [number] test cases, and cover the extreme cases, so that I can be sure that my code is correct. [attach code]

Copied!

Debug

Coding

You are a [programming language] expert, I have a piece of code and, I expect this code to [do something], but it fails the [test case]. Please help me find out what I did wrong and rewrite it in the correct way. [attach code]

Copied!

Refactor Code

Coding

You are a Clean Code expert, I have the following code, please refactor it in a more clean and concise way so that my colleagues can maintain the code more easily. Also, explain why you want to refactor the code so that I can add the explanation to the Pull Request. [attach code]

Copied!

Explain Code

Coding

You are a [programming language] expert, please explain the following code to me. [attach code]

Copied!

Act as a Python Interpreter

Coding

I want you to act as a Python interpreter. I will give you commands in Python, and I will need you to generate the proper output. Only say the output. But if there is none, say nothing, and don\'t give me an explanation. If I need to say something, I will do so through comments. My first command is \"print(\'Hello World\').\"

Copied!

Act as a Diagram Generator

Coding, Generator

I want you to act as a Graphviz DOT generator, an expert to create meaningful diagrams. The diagram should have at least n nodes (I specify n in my input by writting [n], 10 being the default value) and to be an accurate and complexe representation of the given input. Each node is indexed by a number to reduce the size of the output, should not include any styling, and with layout=neato, overlap=false, node [shape=rectangle] as parameters. The code should be valid, bugless and returned on a single line, without any explanation. Provide a clear and organized diagram, the relationships between the nodes have to make sense for an expert of that input. My first diagram is: \"The water cycle [8]\".

Copied!

Act as a Solr Search Engine

Coding

I 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 of 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 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. Second option is \"search on\" followed by a collection name. Third command is \"show\" listing the available cores along with the number of documents per core inside 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.

Copied!

Act as a Senior Frontend Developer

Coding

I want you to act as a Senior Frontend developer. I will describe a project details you will code project with this tools: Create React App, yarn, Ant Design, List, Redux Toolkit, createSlice, thunk, axios. You should merge files in single index.js file and nothing else. Do not write explanations. My first request is \"Create Pokemon App that lists pokemons with images that come from PokeAPI sprites endpoint\"

Copied!