A dynamic generator for creating expert-crafted, up-to-date prompt templates to make Large Language Models (LLMs) super performant with Robot Framework.
When a newcomer asks a generic LLM for help, the answer is often outdated (recommending SeleniumLibrary over Browser), incomplete, or missing best practices. This leads to a frustrating start for new users.
RF-Prompt-Forge is not a system that generates and maintains those expert prompts. It uses a Python-based toolkit to:
- Programmatically install popular Robot Framework libraries like
robotframework-browser. - Extract official keyword documentation directly from the source using
libdoc. - Inject this up-to-date information into expert-crafted Jinja2 templates.
- Produce highly optimized, copy-paste-ready prompt files.
This ensures our prompts always reflect the latest library versions and modern best practices, turning any LLM into a specialized Robot Framework mentor.
- Navigate to the
promptsdirectory. - Find the template that matches your task (e.g.,
02-test-creation/01-browser-test.md). - Copy the entire content of the file and paste it into your favorite LLM.
- Follow the instructions in the prompt to get an expert-guided result!
To regenerate the prompts (e.g., after updating a library version):
- Install the required Python packages:
pip install requests pyyaml jinja2 - Run the generation script:
python scripts/generate_prompts.py
We have a detailed plan for expanding our library coverage and adding new prompt categories. For a full overview of our current status, next steps, and future goals, please see our Project Roadmap.
We welcome contributions! If you have an idea for a new prompt template or an improvement to the generation system, please see our CONTRIBUTING.md file for guidelines.
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.