Skip to content

[EPIC] Persona Marketplace - Custom persona creation and sharing#3

Merged
SaharBarak merged 1 commit into
mainfrom
epic/persona-marketplace
Feb 4, 2026
Merged

[EPIC] Persona Marketplace - Custom persona creation and sharing#3
SaharBarak merged 1 commit into
mainfrom
epic/persona-marketplace

Conversation

@SaharBarak
Copy link
Copy Markdown
Owner

Problem Statement

Personas are hardcoded (5 default Israeli tech personas). Users need:

  • Custom personas tailored to their audience segments
  • Industry-specific personas (healthcare, finance, education)
  • Multi-language personas beyond Hebrew/English
  • Community sharing to benefit from others' designs

Proposed Solution

Persona Creator Wizard

  • Name, avatar, background story
  • Communication style (formality, verbosity, tone)
  • Biases, perspectives, focus areas
  • Language preferences
  • Sample responses for calibration

Persona Testing Sandbox

  • Test responses before using in session
  • Side-by-side comparison
  • Real-time parameter adjustment

Local Management

  • Store in ~/.forge/personas/
  • Import/export as JSON
  • Duplicate, archive, delete

Future: Community Marketplace

  • Browse public personas by category
  • Rate and review
  • Featured/trending

Affected Components

  • src/agents/personas.ts - custom persona loading
  • New src/lib/personas/ module
  • New components: PersonaCreator, PersonaLibrary, PersonaSandbox
  • CLI: forge persona create, forge persona list

Success Criteria

  • Persona creator wizard in UI
  • Personas saved to ~/.forge/personas/
  • Testing sandbox with live preview
  • Import/export as JSON
  • 10+ pre-built industry personas

Estimated Effort

~11 days (BE: 4, FE: 5, QA: 2)


📄 Full spec: docs/epics/003-persona-marketplace.md

@SaharBarak SaharBarak merged commit cbcc0b5 into main Feb 4, 2026
1 check passed
SaharBarak added a commit that referenced this pull request Feb 5, 2026
Implements the Persona Creator Wizard with 5 steps:
- Step 1: Basic Info (name, avatar, role, age, background, color)
- Step 2: Communication Style (speaking style, formality, tone, verbosity)
- Step 3: Personality & Biases (traits, biases, strengths, weaknesses)
- Step 4: Language Preferences (primary language, notes)
- Step 5: Review & Save (preview and confirmation)

Features:
- Full Hebrew/English RTL support
- Form validation and preview
- Tag-based selection with custom input
- Avatar and color pickers
- Progress indicator with step labels
- Edit mode support for existing personas

Part of Epic: Persona Marketplace (#3)
Closes #18
SaharBarak added a commit that referenced this pull request Feb 6, 2026
Add PersonaManager for custom persona CRUD operations:

- Define CustomPersona interface extending AgentPersona
- Create PersonaManager class with full CRUD operations
- Load/save personas from ~/.forge/personas/
- Comprehensive validation logic with errors and warnings
- Support persona sets for grouping
- Session integration with applyToSession()
- Import/export functionality
- Favorites and usage tracking
- Filter and sort capabilities
- 79 comprehensive tests covering all functionality

Part of Epic: Persona Marketplace (#3)
Closes #16
SaharBarak added a commit that referenced this pull request Feb 6, 2026
Implements the Persona Creator Wizard with 5 steps:
- Step 1: Basic Info (name, avatar, role, age, background, color)
- Step 2: Communication Style (speaking style, formality, tone, verbosity)
- Step 3: Personality & Biases (traits, biases, strengths, weaknesses)
- Step 4: Language Preferences (primary language, notes)
- Step 5: Review & Save (preview and confirmation)

Features:
- Full Hebrew/English RTL support
- Form validation and preview
- Tag-based selection with custom input
- Avatar and color pickers
- Progress indicator with step labels
- Edit mode support for existing personas

Part of Epic: Persona Marketplace (#3)
Closes #18
SaharBarak added a commit that referenced this pull request Feb 6, 2026
- PersonaLibrary: Grid/list view with search, filter, sort
  - Role-based filtering (strategist, creative, analyst, critic, custom)
  - Bulk selection for export
  - Import/export JSON functionality
  - Archive and delete actions
  - Full Hebrew RTL support

- PersonaSandbox: Test persona responses
  - Side-by-side comparison mode
  - Carousel mode for multiple personas
  - Test history with export
  - Suggested prompts
  - Copy response functionality

Part of Epic: Persona Marketplace (#3)
SaharBarak added a commit that referenced this pull request Feb 6, 2026
- PersonaLibrary: Grid/list view with search, filter, sort
  - Role-based filtering (strategist, creative, analyst, critic, custom)
  - Bulk selection for export
  - Import/export JSON functionality
  - Archive and delete actions
  - Full Hebrew RTL support

- PersonaSandbox: Test persona responses
  - Side-by-side comparison mode
  - Carousel mode for multiple personas
  - Test history with export
  - Suggested prompts
  - Copy response functionality

Part of Epic: Persona Marketplace (#3)
SaharBarak added a commit that referenced this pull request Feb 6, 2026
Add PersonaManager for custom persona CRUD operations:

- Define CustomPersona interface extending AgentPersona
- Create PersonaManager class with full CRUD operations
- Load/save personas from ~/.forge/personas/
- Comprehensive validation logic with errors and warnings
- Support persona sets for grouping
- Session integration with applyToSession()
- Import/export functionality
- Favorites and usage tracking
- Filter and sort capabilities
- 79 comprehensive tests covering all functionality

Part of Epic: Persona Marketplace (#3)
Closes #16
SaharBarak added a commit that referenced this pull request Feb 9, 2026
…tall/activate

Implements the full Persona Marketplace experience as part of Epic #3:

## New Components
- **PersonaMarketplace**: Full-screen marketplace overlay with tabbed navigation
  (Browse, Installed, Create, Sandbox), category sidebar, search, persona cards
  with install/activate/deactivate actions, and detail preview modal
- **PersonaCard**: Marketplace grid card with status badges, tags, and action buttons
- **PersonaPreview**: Modal with full persona details (background, traits, strengths,
  weaknesses, speaking style) and actions (install, activate, test in sandbox)

## New Store
- **personaStore**: Zustand store managing marketplace state - installed/active persona
  tracking, filtering, preview state, tab navigation

## Integration
- Added 'marketplace' view to uiStore
- Integrated into ShellLayout with:
  - Status bar button (🎭 Personas)
  - Keyboard shortcut (Ctrl+Shift+P)
  - CLI command ('personas' / 'marketplace')
- Lazy-loaded for performance (code splitting)
- Hebrew/English bilingual support throughout

## Tests
- PersonaMarketplace component tests (render, search, tabs, install)
- personaStore unit tests (install/uninstall, activate/deactivate, filters)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant