Skip to content

feat: プロンプ道場 — プロンプト作成評価アプリ#7

Draft
maouM-cmd wants to merge 6 commits into
mainfrom
cursor/prompt-dojo-app-8ba0
Draft

feat: プロンプ道場 — プロンプト作成評価アプリ#7
maouM-cmd wants to merge 6 commits into
mainfrom
cursor/prompt-dojo-app-8ba0

Conversation

@maouM-cmd

Copy link
Copy Markdown
Owner

Summary

新規アプリ プロンプ道場 (prompt-dojo/) を追加しました。課題に対してプロンプトを書き、即時の構造チェック(自動採点)と他ユーザーの星評価でランキングを競う公開Webサービスです。

主な機能

  • 課題一覧・詳細 — 初回起動時に3件のサンプル課題をシード
  • プロンプト投稿 — リアルタイム自動フィードバック(debounce 500ms)
  • 自動採点 — 役割・タスク・出力形式・制約・文脈の5項目ルールベース採点(S/A/B/Cランク)
  • みんなで評価 — 星1〜5のコミュニティ評価(自己評価不可)
  • ランキング — 総合 / 自動 / コミュニティ別タブ
  • 投稿履歴 — セッション紐付けのニックネーム認証
  • 共有 — 投稿ごとの固有URL + OGP
  • 管理画面/admin で課題 CRUD

技術スタック

  • Next.js 16 (App Router) + React 19 + TypeScript
  • SQLite (better-sqlite3) + Tailwind CSS 4
  • Docker + Render デプロイ設定

スコア計算

  • 自動スコア: 0〜100(構造チェック)
  • 総合スコア: auto × 40% + community_stars × 20 × 60%

動作確認

  • npm run build — 成功
  • npm run lint — 警告なし
  • API スモークテスト(health / challenges / evaluate / session / submission / rate / leaderboard)— 成功

デプロイ

  • prompt-dojo/render.yaml — 独立 Blueprint
  • ルート render.yamlprompt-dojo サービスを追加

環境変数: ADMIN_PASSWORD, NEXT_PUBLIC_SITE_NAME, NEXT_PUBLIC_CONTACT_EMAIL

Open in Web Open in Cursor 

cursoragent and others added 6 commits July 1, 2026 06:10
New Next.js app for community prompt writing practice:
- Challenge list with seed data and admin CRUD
- Real-time rule-based prompt structure scoring
- Star ratings from other users with leaderboard
- Session-based nickname auth, history, sharing
- Docker and Render deployment config

Co-authored-by: maouM-cmd <maouM-cmd@users.noreply.github.com>
…eval, OAuth, ads

- Comments and reports with auto-hide after 3 reports
- Admin moderation for submissions, pending challenges, reports
- User-submitted challenges with pending/approve workflow
- OpenAI LLM scoring on submission with daily rate limit
- Google OAuth via NextAuth v5 alongside nickname sessions
- AdSlot on home, challenge detail, leaderboard pages
- Updated docs, privacy policy, and Render env vars

Co-authored-by: maouM-cmd <maouM-cmd@users.noreply.github.com>
…ge gen, email auth, push

- Comment threads with parent_id and reply UI (max 2 levels)
- GitHub and Apple OAuth via refactored NextAuth providers
- LLM challenge generation API and UI for users and admin
- Email/password register and login with bcrypt
- Web push notifications on comment, rating, challenge approval
- Service worker, push subscribe API, history page notify button
- Updated REQUIREMENTS, README, render.yaml, privacy policy

Co-authored-by: maouM-cmd <maouM-cmd@users.noreply.github.com>
- Add email verification flow with SMTP mailer and auth tokens
- Add password reset via forgot/reset pages and APIs
- Enforce email verification for submissions, comments, and challenges
- Support recursive comment threads up to 5 levels deep
- Add PWA manifest, icons, and shared service worker registration
- Update REQUIREMENTS.md and privacy policy for Phase 4

Co-authored-by: maouM-cmd <maouM-cmd@users.noreply.github.com>
- Add categories, tags, and challenge filtering (DB, API, UI)
- Integrate next-intl with ja/en routing and LocaleSwitcher
- Extend service worker with cache strategy and offline page
- Localize mail templates and main auth/home UI
- Update REQUIREMENTS.md to v5.0

Co-authored-by: maouM-cmd <maouM-cmd@users.noreply.github.com>
- Add api-errors.ts and mapApiError for localized API error codes
- Extend errorCode coverage across auth, admin, session, and CRUD routes
- Complete UI i18n for auth pages, submission detail, and shared components
- Add English terms/privacy content via LegalContent component
- Implement IndexedDB offline queue with OfflineSyncProvider and SyncBadge
- Add Capacitor mobile shell (mobile/) with setup README
- Update REQUIREMENTS.md to v6.0

Co-authored-by: maouM-cmd <maouM-cmd@users.noreply.github.com>
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.

2 participants