Skip to content

Commit

Permalink
Adds various prompts for working with ChatGPT (#99)
Browse files Browse the repository at this point in the history
Co-authored-by: Colton Loftus <[email protected]>
  • Loading branch information
jaresty and C-Loftus authored Jul 21, 2024
1 parent 0017d99 commit a8d2d5e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions GPT/lists/staticPrompt.talon-list
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ format table: The following markdown text is raw data. There is no index. Return
format bullets: Convert the every paragraph into a one heading with series of bullet points underneath it. Each paragraph is separated by a new line. Separate paragraphs should not have combined bullet points. This should all be done in markdown syntax. If it is a small paragraph than you can just leave it as a heading and not add bullet points. Do not reduce content, only reduce things that would be redundant. These bullet points should be in a useful format for notes for those who want to quickly look at it. If there is a citation in the markdown original then keep the citation just at the top and not within every individual bullet point.
format mermaid: convert the following plain text into the text syntax for a mermaid diagram.
format comment: format the following text as a comment for the current programming language. Use the proper comment syntax for the current language. Split the comment into multiple lines if the lines are too long
group: Act as an organizer. The following text consists of various topics all put together. Please group these items into categories and label each category. Return just the results.
join: Act as an editor. The following text is separated into multiple parts. Please group them together into one part maintaining the flow and meaning. Reorder in whatever way makes sense. Remove any redundant information. The result should be only one part with no additional structure. Return just the modified text.

## TEXT GENERATION
explain: explain this text in a way that is easier to understand for a layman without technical knowledge
Expand All @@ -23,6 +25,8 @@ fit schema: the given text has a series of responses that need to be categorized
answer: generate text that satisfies the question or request given in the input
shell: generate a shell script that performs the following actions. Output only the command. Do not output any comments or explanations. Default to the bash shell unless otherwise specified.
add emoji: return the same exact text verbatim with the same formatting, but add emoji when appropriate in order to make the text fun and easier to understand
make softer: Act as an editor. I want you to make the following text softer in tone. Return just the modified text.
make stronger: Act as an editor. I want you to make the following text stronger in tone. Return just the modified text.

## FILE CONVERSIONS
convert to jason: Convert the following data into a json format.
Expand All @@ -31,7 +35,7 @@ convert to python: Convert the following key value pairs into the syntax for a p
convert to sheet: Convert the following data into a csv format.
convert to yam: Convert the following data into a yaml format.

## ACCESSIBILITY
## CHECKERS
describe code: explain what the following code does in natural language at a high level without getting into the specifics of the syntax.
check grammar: Check the grammar and formatting of the following text. Return a list of all potential errors.
check spelling: Check the spelling of the following text. Return a list of all potential errors.
Expand All @@ -41,4 +45,7 @@ check structure: Skim the structure and layout of the following text. Tell me if
translate to english: Translate the following text into English.

## CODE GENERATION
generate code: the following plaintext describes a process in code in the language that is specified by the system prompt. Please output the code necessary to do this.
generate code: the following plaintext describes a process in code in the language that is specified by the system prompt. Please output the code necessary to do this. Return just code and not any natural language explanations.
update comments: Act as a software engineer. The following code may be missing comments or the comments could be out of date. Please update the comments. If you are unsure how to comment something ask a question in a comment instead. Return just the code and not any explanations.
clean code: Act as a software engineer. Reduce any duplication in the selected code and improve it to be more idiomatic and clear for other users. However, do not change the behavior or functionality. Return just the code and not any explanations.
improve semantics: The following is an HTML document. Keep the same structure and layout but if it is needed, change any elements to use proper semantic HTML and make sure it is implementing best practices for user accessibility. Output just the HTML and not any extra explanations.

0 comments on commit a8d2d5e

Please sign in to comment.