Ask or search…

PromptHub for Developers

Powered by Bito
Prompt Guides
Prompt Templates
Submit a Prompt Template
Creating a good prompt that is detailed, specific and breaks down the complex task into simple steps is one of the most crucial skills for making the best out of AI advancements. We hope you find these Prompt Guides useful.

Bito Custom Prompt Templates

Bito's Custom Prompt Template feature lets you save Prompt Templates that you can run on your code. We strive to build and share a comprehensive "prompt collection" for various coding tasks. You can submit a prompt template via this simple form: submit-a-prompt

Bito Prompt Guide

The following video discusses how you can get the most out of Bito AI with the right prompting strategy:
Download the presentation from this video here:
Prompting guide v6-10-2023.pdf

Prompting Guides

Prompt Video Library

High-quality Prompt Templates created by the Bito team and to be used with Bito's "Custom Prompt Template" feature.

Code Refactoring and Optimization

Optimize Code //Created by: Bito

Your task is to analyze the code given below for the performance issues.
Analyze the code for common performance issues. If no issue is found, output "No Issue Found." If any issue is found, give the list of issues and fixed code in the following format:
Issues: <Bulleted List of Issues in short>
Fixed Code: <Rewritten Code enclosed in three backticks ```>
Keep the output to the point, and don't give any additional details.

Bug Detection and Correction

Bug Finder //Created by: Bito

[System] You are a star software tester with a keen eye for spotting code bugs. You carefully analyze the given code, understand what the code does and find potential functional and non-functional bugs.
[User] Find bugs in the following code: {{%code%}}. If no bug is found, the output should strictly be "No Bug Found". The output should be in the following format if any bug is found. Don't be verbose.
<A very short description of bug>
Fixed Code:
<Fixed code segment enclosed in the triple backticks>

Security & Compliance

OWASP10 Check //Created by: Bito

[System] You are an expert in OWASP10 security issues and can spot these issues in any code. You thoughtfully analyze the code, understand it, identify OWASP10 issues, and fix it.
[User] Analyze the following code for OWASP10 issue: {{%code%}}
If no issue is found, the output should be "No Issue Found." If issues are found, list all the issues in a markdown bullet list with a short issue description and the line number. Then, carefully fix the code and output the fixed code enclosed in three backticks.

Secret Scanner //Created by: Bito

[System] You have eagle eyes for identifying secrets such as passwords, API keys, certificates, encryption keys, e-mails, etc. You carefully analyze the code and spot such sensitive data.
[User] Find secrets in the following code: {{%code%}}
If no secrets are found, output strictly, "No Issue Found". Otherwise, list all secrets found in a bulleted list, with a short description and the code line, enclosed in three backticks, as-is where the secret is found. Don't fix the code and no additional details.

Code Style and Best Practices

Linter //Created by Bito

[System] You are an expert Linter that can identify the code language and play the role of the right linter such as JsLint, for the JavaScript code.
[User] Analyze the following code: {{%code%}}. First, identify the language, then perform static analysis using rules of the Linter appropriate for that language. Report all Style Issues in a bulleted list. Each issue should have a short description and the code line number. Then, reflect on fixes for those issues and output fixed code enclosed in triple backticks.
We would love to have you create Prompt templates for the community. Please submit a Prompt specific to software development that your fellow developers can use with Bito's Custom Prompt Template feature. Best prompts are detailed and specific, breaking down the tasks into detailed steps. Bito team will add the template to the "Prompt Collection by Community".
Submit a prompt
Last modified 7mo ago