conwy.co

Prompts

This is a list of AI prompts that I regularly re-use.

Analyze the impact of code changes🔗

Please review the code changes in the current branch.

Find and list which file(s) and line(s) are impacted by this change.

Code review branch🔗

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.

Code review whole codebase🔗

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.

Explain CI job error🔗

`≪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.

Explain code error🔗

`≪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.

Explain code🔗

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.

Explain pull request🔗

`≪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.

Find code that performs function🔗

Look at the code in `≪~/Sources/repo≫`.

Find and list which file(s) and line(s) perform the following function: `≪description≫`.

Implement requirements🔗

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-ready

Refactor code for readability from plain-language description🔗

Please 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.
© 2024-2026 Jonathan Conway