/promete:prometefrom promete
Writes, reads, and debugs code for the Promete 2D game engine (C# / .NET 10). Covers PrometeApp, DI plugins, scenes, nodes (Sprite, Text, Tilemap, Shape, Container, MaskedContainer), textures, fonts, keyboard/mouse/gamepad input, audio, Vector/Angle, coroutines, ImGui integration, and custom extensions.
Ships in promete. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Promete は .NET 10 以降向けの 2D ゲームエンジン。ノードの階層構造と、DI コンテナベースのプラグインで構成される。このスキルは Promete v2 を対象とする。
import 文や <Tabs> などのコンポーネントが含まれるが、中身は通常の Markdown として読める/guide/<カテゴリ>/<ページ> は references/<カテゴリ>/<ページ>.md (または .mdx) に対応するvar app = PrometeApp.Create()
.Use<Keyboard>() // プラグインをシングルトンとして登録
.Use<Mouse>()
.BuildWithOpenGLDesktop(WindowOptions.Default with { Title = "My Game" });
return app.Run<MainScene>();
WindowOptions はバックエンドの構築時 (BuildWithOpenGLDesktop) に渡す。
public class MainScene(Keyboard keyboard) : Scene
{
public override void OnStart() { /* 1 度だけ。リソースの読み込み */ }
public override void OnUpdate() { /* 毎フレーム */ }
public override void OnDestroy() { /* 破棄時。リソースの解放 */ }
}
Use<T>() で登録していないプラグインは注入できないApp (PrometeApp)、View (画面: サイズ・タイトルなど)、Time (DeltaTime など)、Root (ルートのコンテナ) を使うApp.LoadScene<T>() (置き換え)、App.PushScene<T>() / App.PopScene() (スタック)internal 以上の可視性と public コンストラクタが必要App.NextFrame(() => ...) で次のフレームに回すvar texture = App.TextureFactory.Load("assets/player.png");
var sprite = new Sprite(texture)
.Location(100, 200)
.Pivot(0.5f, 0.5f)
.Angle(90.Degrees)
.ZIndex(10);
Root.Add(sprite);
Angle 型。90.Degrees / MathF.PI.Radians で生成するIDisposable なリソースは、OnDestroy で自分で破棄するIWindow と、シーンの Window プロパティは v1 の API で非推奨。View / Time / App を使うNodeRendererBase / UseRenderer は v2 で廃止された。描画はノードの Collect() でコマンドを積むreferences/audio/filters.md (opens in a new tab)references/audio/playback.md (opens in a new tab)references/audio/source.md (opens in a new tab)references/concepts/node-and-logic.md (opens in a new tab)references/extends/audio-source.md (opens in a new tab)references/extends/backend.md (opens in a new tab)references/extends/font.md (opens in a new tab)references/extends/nodes.md (opens in a new tab)references/extends/rendercommand.md (opens in a new tab)references/extends/renderers.md (opens in a new tab)references/extends/tiles.md (opens in a new tab)references/graphics/container.md (opens in a new tab)references/graphics/framebuffer.md (opens in a new tab)references/graphics/masked-container.md (opens in a new tab)references/graphics/nine-slice-sprite.md (opens in a new tab)references/graphics/nodes.md (opens in a new tab)references/graphics/pie-sprite.md (opens in a new tab)references/graphics/postprocess.md (opens in a new tab)references/graphics/scene.md (opens in a new tab)references/graphics/shader.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometeapp/promete --plugin prometeOther plugins' skills for the same job