mcpField
A
apple-graphics

apple-graphics

github.com/fandhe-aiDevelopment4118 installsUpdated 5d ago
Repository

About apple-graphics

apple-graphics is a reference skill for developers working with Apple graphics frameworks. It maps graphics tasks to documentation pages covering Metal, Core Animation, Core Graphics, Core Image, SpriteKit, and SceneKit.

Key features

  1. 01Task-to-framework mapping
  2. 02Metal API references
  3. 03Core Animation references
  4. 042D drawing and image processing
  5. 05SpriteKit and SceneKit guidance

Use cases

  1. 01Setting up Metal rendering and resources
  2. 02Building layer-based animations
  3. 03Drawing paths and processing images
  4. 04Creating 2D or 3D scenes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill apple-graphics

After installing, type/apple-graphicsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/core-animation/
caanimation.md
caanimationgroup.md
cabasicanimation.md
caconstraint.md
cadisplaylink.md
caemitterlayer.md
cagradientlayer.md
cakeyframeanimation.md
calayer.md
camediatimingfunction.md
cametaldisplaylink.md
cametaldrawable.md
capropertyanimation.md
careplicatorlayer.md
cascrolllayer.md
cashapelayer.md
caspringanimation.md
catextlayer.md
catiledlayer.md
catransaction.md
catransformlayer.md
catransition.md
cavaluefunction.md
README.md
references/core-graphics/
cgaffinetransform.md
cgbitmapinfo.md
cgblendmode.md
cgcolor.md
cgcolorspace.md
cgcontext.md

Details

From the project README

ディレクトリ構成

skills/apple-graphics/
  SKILL.md
  references/
    metal/
      README.md
      mtldevice.md
      mtlcommandqueue.md
      mtlcommandbuffer.md
      mtlrendercommandencoder.md
      mtlcomputecommandencoder.md
      mtlrenderpipelinestate.md
      mtlrenderpipelinedescriptor.md
      mtlcomputepipelinestate.md
      mtlbuffer.md
      mtltexture.md
      mtltexturedescriptor.md
      mtllibrary.md
      mtlfunction.md
      mtlrenderpassdescriptor.md
      mtkview.md
      mtktextureloader.md
      mtl4commandqueue.md
      mtl4commandbuffer.md
      mtl4compilerdescriptor.md
      mtl4argumenttable.md
      mtl4renderpipelinedescriptor.md
      mtl4argumenttabledescriptor.md
      mtl4commandallocator.md
      mtl4rendercommandencoder.md
      mtl4compiler.md
      mtlresidencyset.md
      mtltensor.md
      mtltensordescriptor.md
    core-animation/
      README.md
      calayer.md
      cashapelayer.md
      cagradientlayer.md
      catextlayer.md
      caemitterlayer.md
      careplicatorlayer.md
      caanimation.md
      cabasicanimation.md
      cakeyframeanimation.md
      caspringanimation.md
      caanimationgroup.md
      catransition.md
      catransaction.md
      camediatimingfunction.md
      cadisplaylink.md
      cametaldisplaylink.md
      cametaldrawable.md
      cascrolllayer.md
      catiledlayer.md
      catransformlayer.md
      caconstraint.md
      capropertyanimation.md
      cavaluefunction.md
    core-graphics/
      README.md
      cgcontext.md
      cgpath.md
      cgmutablepath.md
      cgrect.md
      cgsize.md
      cgpoint.md
      cgaffinetransform.md
      cgcolor.md
      cgcolorspace.md
      cgimage.md
      cggradient.md
      cglayer.md
      cgfont.md
      cgdataprovider.md
      cgbitmapinfo.md
      cgblendmode.md
    core-image/
      README.md
      ciimage.md
      cifilter.md
      cicontext.md
      cicolor.md
      civector.md
      cikernel.md
      cicolorkernel.md
      cifilterbuiltins.md
      cidetector.md
      cisampler.md
      ciimageprocessorkernel.md
      ciwarpkernel.md
      cirawfilter.md
      ciblendkernel.md
      cifiltershape.md
      cirenderdestination.md
    spritekit/
      README.md
      skscene.md
      skview.md
      sknode.md
      skspritenode.md
      sklabelnode.md
      skshapenode.md
      skaction.md
      skphysicsbody.md
      skphysicsworld.md
      skemitternode.md
      sktexture.md
      sktextureatlas.md
      skconstraint.md
      skcameranode.md
      skfieldnode.md
    scenekit/
      README.md
      scnscene.md
      scnview.md
      scnnode.md
      scngeometry.md
      scnmaterial.md
      scncamera.md
      scnlight.md
      scnaction.md
      scnphysicsbody.md
      scnphysicsworld.md
      scnanimation.md
      scnscenesource.md
      scngeometrysource.md
      scnbox.md
      scnsphere.md
      scncylinder.md
      scnplane.md
      scncone.md
      scntorus.md
      scncapsule.md
      scnpyramid.md
      scntube.md
      scnvector3.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
GPU デバイス・コマンドキューを初期化したいmetalreferences/metal/README.md
レンダーパイプライン・シェーダーを設定したいmetalreferences/metal/README.md
バッファ・テクスチャを作成・管理したいmetalreferences/metal/README.md
MTKView でメタルレンダリングループを構築したいmetalreferences/metal/README.md
Metal 4 API (MTL4CommandQueue / MTL4CommandAllocator / MTL4RenderCommandEncoder / MTL4Compiler / MTL4ArgumentTable) でコマンドを記録・コンパイルしたいmetalreferences/metal/README.md
リソースの常駐管理 (MTLResidencySet) を行いたいmetalreferences/metal/README.md
ML 向け多次元リソース (MTLTensor) を作成・読み書きしたいmetalreferences/metal/README.md
レイヤーにアニメーションを追加したいcore-animationreferences/core-animation/README.md
グラデーション・パーティクル・テキストをレイヤーで描きたいcore-animationreferences/core-animation/README.md
スプリングアニメーション・キーフレームアニメーションを使いたいcore-animationreferences/core-animation/README.md
表示同期コールバック (CADisplayLink / CAMetalDisplayLink) を設定したいcore-animationreferences/core-animation/README.md
スクロールレイヤー・タイル表示・3D レイヤー階層を扱いたいcore-animationreferences/core-animation/README.md
Quartz 2D でパスを描画・塗りつぶしたいcore-graphicsreferences/core-graphics/README.md
アフィン変換・クリッピングを適用したいcore-graphicsreferences/core-graphics/README.md
ビットマップコンテキストを作成したいcore-graphicsreferences/core-graphics/README.md
カラースペース・グラデーション・ブレンドモードを指定したいcore-graphicsreferences/core-graphics/README.md
組み込みフィルターで画像を加工したいcore-imagereferences/core-image/README.md
カスタムカーネル (GPU) を書きたいcore-imagereferences/core-image/README.md
顔・QR コードを検出したいcore-imagereferences/core-image/README.md
Metal バックエンドで CIImage を高速レンダリングしたいcore-imagereferences/core-image/README.md
RAW 画像・ジオメトリワープ・ブレンドカーネルを処理したいcore-imagereferences/core-image/README.md
2D ゲームシーンを構築したいspritekitreferences/spritekit/README.md
スプライト・テキスト・シェイプを配置したいspritekitreferences/spritekit/README.md
物理シミュレーション・衝突判定を設定したいspritekitreferences/spritekit/README.md
パーティクルエフェクト・フィールドノードを使いたいspritekitreferences/spritekit/README.md
3D シーン・ノード階層を構築したいscenekitreferences/scenekit/README.md
マテリアル・ライト・カメラを設定したいscenekitreferences/scenekit/README.md
プリミティブジオメトリ (Box / Sphere 等) を使いたいscenekitreferences/scenekit/README.md
3D 物理シミュレーション・アニメーションを追加したいscenekitreferences/scenekit/README.md

Comments

Markdown supported