First off, thank you for considering contributing! This project thrives on community involvement, and every contribution helps make Robot Framework more accessible for everyone.
Our project is a prompt generator, not just a collection of static files. Contributions typically involve improving the generation process or the templates themselves.
Have an idea for a new prompt workflow (e.g., "A prompt for creating custom keywords") or a way to make an existing prompt better?
- Open an Issue: Go to the "Issues" tab and describe your suggestion in detail. This is the best way to start a discussion.
Want to add prompt support for a new Robot Framework library?
- Fork the Repository.
- Update
config/libraries.yml: Add the new library's name and PyPI package name to the list. - Create a Template (if needed): If the library introduces a new testing domain (e.g., Desktop), create a new Jinja2 template (e.g.,
templates/06-desktop-test.md.j2). For common types like web or API, you can often reuse an existing template. - Run the Generators:
- First, run
python scripts/generate_libdoc.pyto fetch the new library's keyword data. - Then, run
python scripts/generate_prompts.pyto create the final prompt file based on your new config entry.
- First, run
- Create a Pull Request: Submit your changes for review.
See a way to make an existing template (.j2 file) or a Python script better?
- Fork the Repository.
- Make Your Changes: Modify the relevant files in
/templates/or/scripts/. - Run the Generator: Ensure your changes work by running
python scripts/generate_prompts.py. - Commit Your Changes: Commit the changes to the source files AND the newly generated prompt files in the
prompts/directory. - Create a Pull Request.
Thank you again for your contribution!