Skip to content

[feat] : add custom persona & system template manager with import/export support #96

Description

@hrshjswniii

Overview


PromptPilot currently provides a powerful set of built-in prompt enhancement modes through predefined domain presets and structured system instructions. While these defaults work well for most users, advanced prompt engineers, developers, researchers, and teams often require complete control over the system prompt and output structure used during prompt generation.

This feature introduces a Custom Persona & Template Manager that allows users to create, manage, and reuse their own AI personas, prompting frameworks, and output schemas directly within the extension.

By making templates user-configurable instead of hardcoded, PromptPilot becomes significantly more flexible for professional workflows, specialized domains, and team-specific standards.



Problem Statement


At present, PromptPilot relies on a static set of domain configurations and output structures defined within the extension source code.

Examples include:

  • Developer mode
  • Business mode
  • Research mode
  • Marketing mode

These presets are valuable but cannot be customized without modifying extension code.

As a result, users cannot:

  • Create reusable expert personas
  • Enforce organization-specific prompt standards
  • Define custom output structures
  • Save specialized workflows
  • Share prompt templates across teams
  • Import/export template libraries

Many advanced prompting techniques such as:

  • Chain-of-Thought workflows
  • Few-Shot prompting
  • Security audit templates
  • Legal analysis templates
  • Product requirement generation
  • Structured JSON outputs

must currently be recreated manually every time.



User Stories


Advanced Prompt Engineers

As a power user, I want to create my own system prompts and output formats so I can enforce consistent prompting methodologies across all AI providers.

Developers

As a developer, I want reusable expert personas such as "Senior Rust Security Auditor" or "Principal Software Architect" so I can quickly generate specialized prompts without rewriting instructions.

Teams

As a team lead, I want to export and share approved templates with teammates so everyone follows the same prompting standards.

Researchers

As a researcher, I want custom response schemas so AI outputs match my preferred report structure.



Proposed Solution


Implement a full Custom Persona & Template Manager backed by chrome.storage.local.

Users will be able to:

  • Create custom templates
  • Edit existing templates
  • Delete templates
  • Favorite frequently used templates
  • Import template collections
  • Export template collections
  • Use templates directly from enhancement dropdowns


Acceptance Criteria


Template Management

  • Users can create templates
  • Users can edit templates
  • Users can delete templates
  • Templates persist in chrome.storage.local

Prompt Generation

  • Custom templates appear in dropdown selectors
  • Selecting a template modifies generated prompts correctly
  • Existing built-in presets continue functioning unchanged

Import / Export

  • Templates can be exported as JSON
  • Templates can be imported successfully
  • Invalid imports are rejected gracefully

UX

  • Favorites are supported
  • Templates remain available after browser restart
  • No regression to existing prompt enhancement workflows


Contribution Interest


Hii @Bindu2020324 👋
I’d like to work on this issue as part of GSSoC'26
please assign this issue to me !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions