Jinzor
Jinzor
Back to Projects

PromptKing

AI Prompt Management Platform

ReactGo
PromptKing

The Challenge

Most people struggle to write effective AI prompts. Without structure, prompts tend to be vague, leading to inconsistent and low-quality outputs. Existing tools either offer no guidance or are overly complex for everyday use.

  • Users lacked a structured approach to prompt engineering
  • No easy way to save, organise, and reuse prompts across sessions
  • Discovering high-quality prompts from the community was fragmented
  • Managing different AI personas for different tasks was tedious

The Solution

PromptKing introduces a guided 5-step wizard that walks users through crafting effective prompts — from defining intent and selecting an AI role, to adding context, specifying output requirements, and running a quality check.

  • Step 1: Intent — Define one clear sentence describing what you want
  • Step 2: Role — Choose from 15+ pre-built AI personas or create custom ones
  • Step 3: Context — Add input data, target audience, and constraints
  • Step 4: Output — Define expected format and content requirements
  • Step 5: Quality Check — Automated validation checklist before finalising

Key Deliverables

Architecture

  • Full-stack application with React SPA frontend and Go REST API backend
  • PostgreSQL database with JSONB columns for flexible prompt storage
  • JWT authentication with refresh token rotation and Google OAuth integration
  • Rate limiting and security hardening across all endpoints

Frontend

  • React 18 with TypeScript and Vite for fast development
  • shadcn/ui component library built on Radix UI primitives
  • Multi-step wizard with state persistence across steps
  • Protected routes with automatic session management

Backend

  • Go API server with go-chi router and middleware stack
  • Database migrations with golang-migrate for schema versioning
  • GitHub API integration for auto-discovering open-source prompt repositories
  • Soft-delete support for data recovery and audit trails

Features

  • Save and manage personal prompt library
  • Create and customise AI role personas
  • Explore open-source prompts from curated GitHub repositories
  • Dual authentication: email/password and Google OAuth