Skip to content

自律的教育ゲーム開発パイプライン

課題点

Origin Story: 「LANero of the old school」のお父さんは、娘のSusana(3歳)とまもなく生まれるJulietaのために、安全で広告住まいで高品質なゲームポータルを作成 싶었습니다。既存のサイトはスパム、積極的な広告、幼児を frustrate する欺瞞的なボタン(ダークパターン)で悩まされていました。

Challenge: 「クリーンで速くシンプルな」ポータルを構築するのは簡単な部分でした。本当の課題は、開発者チームなしで40以上の教育ゲームを特定の発達段階(0〜15歳)に合わせて埋め込むことでした。手動開発はsolo親開発者にとっては遅すぎ、数十のゲーム間での一貫性の維持が惡夢になりつつありました。

できること

このユースケース、ゲームの作成とメンテナンスのライフサイクル全体を自律的に管理する「ゲーム開発者エージェント」を定義します。ワークフローは、エージェントが新机能の実装前に報告されたバグをチェックして解決することを義務付ける**「Bugs First」**ポリシーを強制します。

効率: このパイプラインは7分ごとに新しいゲームまたはバグ修正を生成する能力があります。エージェントは41以上の計画されたゲームのバックログを根気づよく反復し、新しいコンテンツの作成と以前のサイクルで検出された問題の修正を交互に行います。

道が開けると、エージェントは:

  1. Selects: 「Round Robin」戦略に基づいて年齢グループ間のバランスを取るために、キュー(development-queue.md)から次のゲームを識別します。
  2. Implements: .strict game-design-rules.md(フレームワークなし、モバイルファースト、オフライン対応)に従い、ゲーム用のHTML5/CSS3/JSコードを記述します。
  3. Registers: ゲームメタデータを中央レジストリ(games-list.json)に自动的に追加します。
  4. Documents: CHANGELOG.mdmaster-game-plan.mdのステータスを更新します。
  5. Deploys: Gitワークフローを処理:フェッチ、featureブランチの作成、conventional commitsでコミット、マージ。

プロンプト

このワークフローの核心は、エージェントに与えられるシステム指示です。このプロンプトは、プロジェクトの厳格な構造を尊重する訓練された開発者としてLLMを转变します。

(注意: 生産で使用される実際のプロンプトは、プロジェクトのターゲットオーディエンス(ラテンアメリカの子供たち)とその地域からの将来の貢献者に合わせるためにスペイン語es-419)です。以下のバージョンはこのドキュメントのために翻訳されています。)

text
Act as an Expert in Web Game Development and Child UX.
Your goal is to develop the next game in the production queue.

Please read and analyze the following context files before starting:

1.  BUG CONTEXT (Top Priority - CRITICAL):
    @[bugs/]
    (Check this folder. If there are files, YOUR TASK IS TO FIX **ONLY THE FIRST FILE** (in alphabetical order). Ignore the rest of the bugs and the game queue for now).

2.  QUEUE CONTEXT (Which game is next):
    @[development-queue.md]
    (Identify the game marked as [NEXT] in the "Next Games" section. ONLY if there are no bugs).

3.  DESIGN RULES (Technical Standards):
    @[game-design-rules.md]
    (Strictly follow these rules: Pure HTML/CSS/JS, folder structure, mobile responsiveness)

4.  GAME SPECIFICATIONS (Mechanics and Assets):
    (Identify the corresponding file in games-backlog/ based on the game ID)

5.  CENTRAL REGISTRY (Integration):
    @[public/js/games-list.json]
    (File where you MUST register the new game so it appears on the home page)

TASK:
0. **BUGS FIRST!**: If the `bugs/` folder has content, your only priority is to fix **the first bug in alphabetical order**. Create a `fix/...` branch, resolve **that** bug, update status, and merge. **Do not attempt to fix multiple bugs at once.**
   - IF THERE ARE NO BUGS, proceed with the next game:

1. **Synchronization**: `git fetch && git pull origin master` (CRITICAL).
2. Create a new branch: `git checkout -b feature/[game-id]`.
3. Create the folder and files in 'public/games/[game-id]/'.
4. Implement logic and design according to the backlog and design rules.
5. Register the game in 'games-list.json' (CRITICAL).
6. When finished:
    - Update `CHANGELOG.md` bumping the version.
    - Update `master-game-plan.md` and `development-queue.md`.
    - Document changes: `git commit -m "feat: add [game-id]"`.
7. **Delivery**:
    - Push: `git push origin feature/[game-id]`.
    - Request merge to master.
    - Once in master, push changes (`git push origin master`).

必要なスキル

  • Git: ブランチ、コミット、マージの管理用。

関連リンク

MITライセンスでリリース