프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Prompt Saver

✓ 서비스 회사 · promptsaver.online

제작자: VeshRaazThapa버전 1.0.0i★ 0i클라우드에서 실행공식 사이트 ↗
레지스트리 이름online.promptsaver/prompt-saver

설치 방법

What it does

Your versioned prompt library: search, read, save and version prompts from Claude Code.

  • Connects 클라우드에서 실행
  • Account or key Needs Authorization
  • Category 검색 및 AI 기억

함께 쓰기

이런 작업을 AI에게 가르치는 Skill, 이것과 함께 쓸 수 있습니다

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

제작자: google-research★ 35,629skill 1개

Skill · 안내서

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

제작자: BigBodyCobain★ 11,602skill 1개

Skill · 안내서

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

제작자: gosom★ 8,209skill 1개

Skill · 안내서

이 순위인 이유

이 항목은 “AI와 연결되는 앱” 탭에 있으며, 이 탭은 별 없이 다음 순서로 정렬합니다

1. Claude 커넥터 디렉터리에 있음아니요
2. 팀이 직접 써 봄아니요
3. 태국 사용자에게 맞음아니요
4. 별을 뺀 사용량20/100인기 0 · 최신성 12 · 응답 중 8 · 사용자 좋아요 +0
5. 등록일2026-11-01

사용자 좋아요: 0 · 순위에 최대 5점(1인 1점) 더해지며 돈으로 살 수 없습니다.

품질: 기본 점검 4/4개 통과(표시만, 정렬에는 안 씀)

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

한 문장으로 AI에게 설치 맡기기

Prompt Saver 설치해 줘. https://mcp.popnx.com/i/online-promptsaver-prompt-saver.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기

검사 4/4 통과 · 내가 묻는 내용은 제작자 서버(promptsaver.online)를 거쳐요 · ✓ 명령 확인 2026년 11월 13일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있어요 · 약 5분

Prompt Saver 키가 필요해요 (제작자 사이트에서 만들기) · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가

  1. Prompt Saver에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Prompt Saver 사이트 열기 ↗

  2. Claude의 Connectors 페이지 열기

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  3. “Add” → “Custom” → “Web”를 누르고 이 2칸 채우기

    여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요

    Name · 이름Prompt Saver
    Remote MCP server URL · 주소https://promptsaver.online/api/mcp

    Request headers에 이 이름과 값을 추가

    헤더 이름Authorization
    값Bearer <여기에 키 붙여 넣기>

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

    Claude가 찾은 로그인 설정 화면에서 Continue를 누르고 · Authentication은 제작자 안내대로(Sign in now, Sign in when needed, No sign in) 고른 뒤 Add를 누르세요

  4. 채팅에서 켜기

    +ConnectorsPrompt Saver

  5. 해 보기

    Prompt Saver을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Prompt Saver을 쓰고 있다고 하거나 답에 Prompt Saver 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Prompt Saver에 연결할 수 없어요

Prompt Saver는 연결할 때 내 키가 필요한데, OpenAI 도움말은 OAuth 로그인만 설명하고 우리가 확인한 키 입력 방법이 없어요

대신 이렇게 할 수 있어요

A · Prompt Saver에 연결되는 앱 쓰기

  • Prompt Saver 키가 필요해요 (제작자 사이트에서 만들기) · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가
  • Prompt Saver 키가 필요해요 (제작자 사이트에서 만들기)
  • Prompt Saver 키가 필요해요 (제작자 사이트에서 만들기)
  • Prompt Saver 키가 필요해요 (제작자 사이트에서 만들기)

B · 검색 및 AI 기억에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있어요 · 약 5분

Prompt Saver 키가 필요해요 (제작자 사이트에서 만들기)

  1. Prompt Saver에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Prompt Saver 사이트 열기 ↗

  2. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  3. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport http --scope user prompt-saver https://promptsaver.online/api/mcp --header 'Authorization: Bearer your-value'

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Claude Code에서 /mcp 입력

    Prompt Saver이 목록에 있고 연결됨으로 보이면 돼요

  5. 해 보기

    Prompt Saver을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 Prompt Saver을 쓰고 있다고 하거나 답에 Prompt Saver 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있어요 · 약 5분

Prompt Saver 키가 필요해요 (제작자 사이트에서 만들기)

  1. Prompt Saver에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Prompt Saver 사이트 열기 ↗

  2. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  3. 키 입력

    Prompt Saver 설정에서 Authorization가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Cursor에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    Prompt Saver을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 Prompt Saver을 쓰고 있다고 하거나 답에 Prompt Saver 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있어요 · 약 5분

Prompt Saver 키가 필요해요 (제작자 사이트에서 만들기)

  1. Prompt Saver에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Prompt Saver 사이트 열기 ↗

  2. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  3. 키 입력

    Prompt Saver 설정에서 Authorization가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. VS Code에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    Prompt Saver을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Prompt Saver을 쓰고 있다고 하거나 답에 Prompt Saver 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://promptsaver.online/api/mcp

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Prompt Saver을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport http --scope user prompt-saver https://promptsaver.online/api/mcp --header 'Authorization: Bearer your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "prompt-saver": {
      "url": "https://promptsaver.online/api/mcp",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "prompt-saver": {
      "type": "http",
      "url": "https://promptsaver.online/api/mcp",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

직접 입력할 값

  • Authorization 비밀 필수 HTTP header
    Bearer token from Settings at https://promptsaver.online (format: Bearer ps_...)

설명은 아직 영어 원문입니다.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
확인된 도메인
✓ promptsaver.online
연결 방식
클라우드에서 실행
전송 방식
streamable-http
최신 버전i
1.0.0
레지스트리 공개i
2026년 11월 1일
코드 마지막 변경i
2026년 11월 12일
마지막 확인
2026년 11월 17일
제작자
VeshRaazThapa
웹사이트
promptsaver.online
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

인터넷으로 연결하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

모든 앱과 장단점 →

할 수 있는 일

서버가 도구 목록을 보여 주기 전에 로그인을 요구해요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 19일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 도메인 promptsaver.online 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 7일 전

  • – 해당 없음

    라이선스 있음

    해당 없음: promptsaver.online 소유자가 직접 운영하는 클라우드 서버라 저장소 코드를 실행하지 않아요

  • ✓ 통과

    엔드포인트 응답

    566ms 만에 응답(HTTP 401)

  • ✓ 통과

    OAuth로 로그인

    OAuth 로그인을 지원한다고 밝혀서, AI 앱이 로그인 화면으로 안내해 줘요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

우리가 확인하는 것 → · JSON

제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기

제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/online-promptsaver-prompt-saver.svg)](https://mcp.popnx.com/en/servers/online-promptsaver-prompt-saver)

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

로그인하고 리뷰 쓰기

검색 및 AI 기억 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 6394개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 6394개 중 69%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 6394개 중 99%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Prompt Saver, 안전한가요?

해당하는 기본 점검 4개 중 4개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: Authorization

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 7일 전 변경됐고, 최신 버전(1.0.0)은 18일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 받는 앱에서도 쓸 수 있어요. 예: 웹 ChatGPT(Business 이상은 전체 MCP, Pro는 읽기 전용).

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

비슷하게 동작하는 다른 것

같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

제작자: every-app널리 사용됨★ 2.8만5일 전 업데이트

클라우드에서 실행✓ everyapp.com

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

제작자: exa-labs널리 사용됨★ 5.2천2개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · exa.aiPopNx 팀이 직접 써 봄

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

제작자: MicrosoftDocs널리 사용됨★ 2천12개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · microsoft.comPopNx 팀이 직접 써 봄

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

제작자: proxysoul성장 중★ 1.6천2개월 전 업데이트

클라우드에서 실행✓ empryo.com
비슷한 항목과 비교
이 항목
Prompt Saver
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
실행 위치클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요
키 필요예아니요아니요아니요아니요아니요
Claude에서 +로 추가아니요예예예아니요아니요
기본 점검4/45/52/44/44/44/4
라이선스MITMITMITCC-BY-4.0NOASSERTIONApache-2.0
가격등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Prompt Saver - LLM Prompt Intelligence Platform

Live: https://promptsaver.online/

Chrome extension: Add to Chrome — type // in Claude, ChatGPT or Gemini to insert a saved prompt.

A prompt management tool for saving, versioning, and searching LLM prompts. Built with Next.js, Neon Postgres, and a warm stone/teal design system.

Features (MVP - Phase 1)

  • Prompt Authoring: Create and edit prompts with automatic versioning
  • Multi-LLM Testing: Execute prompts against multiple LLM providers from a single interface
  • Prompt Library: Full-text search and intelligent categorization of prompts
  • Workspace-Based Organization: Organize prompts within dedicated workspaces

MCP Server (Claude Code Integration)

Prompt Saver runs a remote MCP server at /api/mcp, so a Claude Code session can search, read, and save your prompts without leaving the terminal.

Connect
  1. Sign in at https://promptsaver.online/, then click Settings and generate a token. The raw token is shown exactly once — copy it immediately. Only its SHA-256 hash is stored, so a lost token can't be recovered; revoke it on the same page and create a new one.
  2. The tokens page shows the registration command with your token filled in. It looks like:
   claude mcp add --transport http prompt-saver --scope user \

https://promptsaver.online/api/mcp \ --header "Authorization: Bearer ps_..."

--scope user registers the server once for every project rather than just the current one.

Tools

Once connected, Claude Code can call five tools against your prompt library:

  • search_prompts(query, limit?) — searches title, description, content and tags. Returns summaries only (id, title, description, tags, updated_at) — never full bodies. limit defaults to 20 and is capped at 50.
  • get_prompt(id) — fetches the full text of one prompt.
  • create_prompt(title, content, description?, tags?) — saves a new prompt along with its first version.
  • update_prompt(id, ...) — updates a prompt's draft in place, without creating a new version.
  • save_version(id, content, change_summary?) — saves an immutable new version of an existing prompt.

There is no delete tool.

Favourite prompts as slash commands

Any prompt marked as a favourite (the star in the web app) is also registered as a slash command, named from its title — "Daily Planning" becomes /mcp__prompt-saver__daily-planning. Archived favourites are excluded. Each command takes one optional context argument, appended to the prompt body:

/mcp__prompt-saver__daily-planning auth refactor

Favourites are read once, when the session connects. Starring a prompt does not add its slash command to a session that's already running — open a new session, or run /mcp to reconnect, to pick up newly starred prompts.

Cold starts

The database backing this app (Neon Postgres) scales its compute to zero when idle. The first MCP request after a period of inactivity may take noticeably longer while it wakes back up; subsequent requests are fast.

Chrome extension

The Chrome extension lives in extension/. It lets users save prompts from any webpage or AI chat interface.

Setup and development
cd extension

npm install npm run dev

The development build is unpacked and ready to load into Chrome. Configuration requires the web app's NEXT_PUBLIC_EXTENSION_IDS environment variable to contain the extension's ID (visible in chrome://extensions/ when unpacked). Set it to * to allow any well-formed extension ID. That's useful while unpacked IDs change, but any extension can then ask a signed-in user to connect (the connect page shows the requesting ID), so use an explicit list in production.

API

The extension calls these endpoints on the web app's /api/v1/prompts route:

MethodPathPurposeHeaders
GET/api/v1/promptsList prompts. Accepts ?q= &limit= (limit ≤200).Authorization: Bearer ps_
POST/api/v1/promptsCreate a new prompt.Authorization: Bearer ps_
GET/api/v1/prompts/:idFetch a single prompt by ID.Authorization: Bearer ps_
PATCH/api/v1/prompts/:idUpdate a prompt.Authorization: Bearer ps_

All endpoints require a bearer token prefixed with ps_.

For privacy details, see /privacy.

Technology Stack

  • Frontend: Next.js 16, React 18, TypeScript (strict mode)
  • Styling: Tailwind CSS (WCAG 2.1 AA accessible)
  • Storage: Neon Postgres via Drizzle ORM (server-side, per-user isolated)
  • Authentication: Google OAuth via NextAuth.js
  • Testing: Jest + React Testing Library
  • Code Quality: ESLint, Prettier, TypeScript strict mode

Prerequisites

  • Node.js 18.17+ or 20.x
  • npm 9+ (or use npm ci with --legacy-peer-deps)

Setup

1. Clone and Install
git clone <repository-url>

cd prompt-saver npm install --legacy-peer-deps

2. Configure Environment Variables

Create .env.local based on .env.example:

cp .env.example .env.local

Required variables:

NEXTAUTH_SECRET=your-secret-key-here

NEXTAUTH_URL=http://localhost:3000 GOOGLE_CLIENT_ID=your-google-client-id GOOGLE_CLIENT_SECRET=your-google-client-secret DATABASE_URL=postgresql://...-pooler.../neondb?sslmode=require DATABASE_URL_UNPOOLED=postgresql://.../neondb?sslmode=require ALLOWED_EMAILS=you@example.com

Warning: leaving ALLOWED_EMAILS unset lets anyone with a Google account sign in and get their own workspace. Always set it to a comma-separated allowlist of emails before deploying anywhere reachable.

3. Run Development Server
npm run dev

Visit http://localhost:3000 in your browser.

Development

Scripts
# Start development server

npm run dev

Build for production

npm run build

Run production server

npm start

Run tests

npm run test npm run test:watch # Watch mode npm run test:coverage # With coverage

Linting

npm run lint npm run lint:fix

Code formatting

npm run format npm run format:check

Type checking

npm run type-check

Project Structure
src/

├── app/ # Next.js App Router pages and layouts ├── components/ # React components ├── lib/ # Utilities, hooks, services, and business logic │ ├── api/ # API response wrappers │ ├── auth/ # Authentication logic │ ├── db/ # Database repositories and schemas │ ├── hooks/ # Custom React hooks │ ├── services/ # Business logic services │ └── utils/ # Helper utilities └── types/ # TypeScript type definitions

tests/ ├── unit/ # Unit tests for utilities and hooks ├── integration/ # Integration tests └── contract/ # API contract tests

Code Quality Standards

TypeScript Strict Mode
  • No any types without justification
  • All implicit returns must be typed
  • Strict null checking enabled
  • Strict property initialization required
ESLint Rules
  • 80%+ test coverage for all utilities and hooks
  • Maximum function complexity: 10 cyclomatic points
  • No console statements in production code (warning only)
  • No unused variables or imports
Testing Requirements
  • All utilities must have unit tests
  • All components must have integration tests
  • API routes must have contract tests
  • TDD approach: write tests first, must fail before implementation

Performance Targets

  • Core Web Vitals: LCP ≤2.5s, FID ≤100ms, CLS ≤0.1
  • Version creation: <100ms (atomic)
  • Search response: <200ms for 10k prompts
  • API response time (p95): <200ms
  • Concurrent LLM executions: 100+ parallel

Accessibility

  • WCAG 2.1 AA compliance
  • Responsive design (320px to 1920px+)
  • Keyboard navigation support
  • Screen reader friendly components

Deployment

Build
npm run build
Environment Variables (Production)

Set these in your deployment platform:

NEXTAUTH_SECRET=<generate-with-: openssl rand -base64 32>

NEXTAUTH_URL=https://your-production-domain.com GOOGLE_CLIENT_ID=your-google-client-id GOOGLE_CLIENT_SECRET=your-google-client-secret DATABASE_URL=postgresql://...-pooler.../neondb?sslmode=require DATABASE_URL_UNPOOLED=postgresql://.../neondb?sslmode=require ALLOWED_EMAILS=you@example.com

Warning: leaving ALLOWED_EMAILS unset lets anyone with a Google account sign in and get their own workspace. Do not skip it.

CI/CD

GitHub Actions automatically runs on push and pull requests:

  • TypeScript type checking
  • ESLint linting
  • Prettier formatting
  • Jest test suite
  • Next.js build verification

Tests must pass before merging to main branch.

Contributing

  1. Create a feature branch from 001-prompt-platform
  2. Follow the TypeScript strict mode guidelines
  3. Write tests first (TDD approach)
  4. Ensure all tests pass: npm test
  5. Ensure linting passes: npm run lint
  6. Submit a pull request

Architecture Decisions

Repository Pattern

Database access is confined to repository classes implementing the interfaces in src/lib/db/repositories/types.ts. Server Actions are the only callers; client components never touch the database.

Immutable Versions

PromptVersions are immutable by design - no in-place edits allowed. This enables clean audit trails and version history.

Workspace Isolation

Every user gets one private workspace, created on first sign-in. All queries are scoped to the workspace id returned by getCurrentContext() — never to a value supplied by the client.

Roadmap

  • Phase 2: Foundational infrastructure (database, auth, API patterns)
  • Phase 3: User Story 1 - Prompt Authoring & Versioning
  • Phase 4: User Story 2 - Multi-LLM Execution & Testing
  • Phase 5: User Story 3 - Prompt Library & Search
  • Phase 6: User Story 4 - Collaboration & Sharing
  • Phase 7: User Story 5 - Prompt Testing & Evaluation

License

MIT — see LICENSE.

Support

For issues or questions, please contact the development team.