Thank you for considering contributing to this open source project!
This guide will ensure that you have all the necessary information needed to be an effective contributor to the prompt-injection project.
There are many ways you can contribute. Feel free to raise issues for bug reports or new feature requests. We also welcome people to write documentation.
Please do read through our code of conduct before contributing.
- Does the issue already exist? Remember to check the open and closed issues.
- Is this a security issue? Do NOT open an issue. Email gsproston@scottlogic.com instead.
-
- A short and clear title of the bug.
- Reproduction steps or a link to a project that shows the bug.
- Expected and actual behaviour.
- What browser was being used.
- Include screenshots where appropriate.
- Label the issue appropriately.
-
- A short and clear title of the new feature / improvement.
- A more detailed description of the new feature / improvement (adding code snippets if you desire).
- Include screenshots where appropriate.
- Label the issue appropriately.
- Fork the repo.
- Have you contributed before? If not, look for issues with the 'good first issue' label.
- Is it assigned to anyone else? If so, post a message to see if the assignee is still working on it.
- Is it assigned to you? If not, post a message stating your intent so that the maintainers and other contributors know what is being developed.
- Do you understand the issue fully? If not, ask on in the issue. We are all here to help you contribute.
- Check the issue labels. Some of them indicate that you shouldn't start developing yet:
triage
means that a contributor has created the issue, and a maintainer hasn't looked at it yet. This means that we might not accept work done for this issue.question
means that we need to agree on some points before implementing the issue. Look in the comments and feel free to get involved in discussion!blocked
means the issue cannot be resolved until a different piece of work is finished. Look in the comments to see what is blocking it, and make sure it is resolved before starting the current issue.ui
means that we are waiting for input from the designer on the maintainer team before implementing the issue.
- Link the issue that the PR addresses.
- Link any related PRs.
- Have you added tests?
- Are all workflow steps passing?
- Is it ready for review? If not, create a draft.
- Include the ticket number in the PR name.
Our project has unit tests and integration tests. We expect tests to be written / altered when a PR adds a new feature or modifes existing behaviour. It is generally up to you to judge what depth of testing to go into.
When a PR is submitted or updated, GitHub automatically runs a workflow for each of the frontend and backend. To see if those are passing, you must scroll to the bottom of the PR, just above where you can post a new comment.