This is a list of AI prompts that I regularly re-use.
Please review the code changes in the current branch.
Find and list which file(s) and line(s) are impacted by this change.Please review the code changes in the current branch.
Look at the checklist in the file: `≪~/Downloads/front-end-development-checklist.md≫`.
Identify which checklist items are relevant for this change.
For each relevant checklist item:
- Review the code change and evaluate whether complies or not.
- List any checklist items for which the code change is not compliant.
- For each non-complied checklist item, provide an explanation and recommendation on how to address it.Please review the whole code base in the current folder.
Go through the items in the checklist in `≪~/Downloads/front-end-development-checklist.md≫`.
Identify which checklist items are relevant for this change.
For each relevant checklist item:
- Review the code change and evaluate whether complies or not.
- List any checklist items for which the code change is not compliant.
- For each non-complied checklist item, provide an explanation and recommendation on how to address it.`≪error≫`
Please find a solution for this failing job. Use the logs, job definition, and any referenced files where the failure occurred. Keep your response focused on the solution and include code suggestions when appropriate.`≪error≫`
Please find a solution for this error. Use the logs, code, and any referenced files where the error occurred. Keep your response focused on the solution and include code suggestions when appropriate.Walk me through the `≪function | component | class | method | etc≫` named `≪name≫` in the file: `≪path/file≫`.
Explain how it works in simple but technical language.`≪https://github.com/org/repo≫`
What does this PR do?
What is its purpose?
How does it achieve it?
Break down the code changes and how they function.
How might I verify that this PR achieves the intended outcome?
Please explain the above to me, in simple but technical language.Look at the code in `≪~/Sources/repo≫`.
Find and list which file(s) and line(s) perform the following function: `≪description≫`.Please make code changes to implement the requirements given in the following ticket(s):
- `≪[TICKET-CODE](https://ticket-system/browse/TICKET-CODE)≫`
Downloaded PDF and DOC of the ticket can be found in this directory:
- `≪/path/to/ticket.pdf≫`
Implement the code changes in the current branch then commit.
The code changes should be:
- High quality
- Consistent with the coding style used in the rest of the code base
- Conformant with the relevant items in the checklist `≪/path/to/checklist.md≫`
- Production-readyPlease refactor the code snippet I will give you to be more readable, based on a plain language description of what the code should do.
Here is the code snippet:
`≪code≫`
Here is a plain-language description of expected code behaviour:
`≪description≫`
Using the plain-language description as a guide, please refactor the code to be more readable.
- Easy to follow logical flow
- Sensible names for variables, functions, etc.