Prompt2Extension: A System for Generating Functional Browser Extensions from Natural Language Prompts
Abstract
This paper introduces Prompt2Extension, that allows users to create functional, installable browser extensions using natural language prompting.Even though the power of the large language models (LLMs) has shown a tremendous effect on the software development process, designing user-specific browser extensions in an automated manner is not an easy task.The sophisticated, prompt-centric architecture of our system can convert high-level user requirements into multi file browser extensions with massive scale and using the Gemini 1.5 Pro API of Google.We rely on a complex Chain-of-Thought system prompt that forces the LLM to strategize the required files and permissions, judge the request and explain the logic prior to creating the final code.The formatted JSON object created by this one-shot generation process contains all required files (manifest.json,JavaScript, HTML and CSS) and is bundled into a downloadable .zipfile.One of the features of our React-based user interface is the ability of the user to look at the generated code before installation.Experiments have shown that this prompt-driven method can effectively create a broad spectrum of extensions, including simple style manipulators as well as more complex, event-driven extensions that need background scripts.This piece shows how advanced prompt engineering can become in order to turn a specialized field of software development into a far more accessible field by allowing non-programmers to build their own original web tools.
Fields of Study & Subjects
Software Engineering Research
Mobile and Web Applications
Web Applications and Data Management
Publication details
- Journal / source
- IJARCCE
- Volume
- 15
- Issue
- 1
- Publication date
- 12 January 2026