Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问clear审计通过

axiom-ios-graphicsaxiom iOS graphics 命令行

Agent Skill

axiom-ios-graphics 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,817

周安装

193

GitHub Stars

873

下载量

1,559
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:axiom-ios-graphics(axiom iOS graphics 命令行)
来源仓库:https://github.com/charleswiltgen/axiom
仓库路径:skills/axiom-ios-graphics
安装命令:
npx skills add https://github.com/charleswiltgen/axiom --skill axiom-ios-graphics
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/charleswiltgen/axiom --skill axiom-ios-graphics

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • axiom-ios-graphics 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

iOS Graphics Router

You MUST use this skill for ANY GPU rendering, graphics programming, 3D content display, or display performance work.

When to Use

Use this router when:

  • Porting OpenGL/OpenGL ES code to Metal
  • Porting DirectX code to Metal
  • Converting GLSL/HLSL shaders to Metal Shading Language
  • Setting up MTKView or CAMetalLayer
  • Debugging GPU rendering issues (black screen, wrong colors, crashes)
  • Evaluating translation layers (MetalANGLE, MoltenVK)
  • Optimizing GPU performance or fixing thermal throttling
  • App stuck at 60fps on ProMotion device
  • Configuring CADisplayLink or render loops
  • Variable refresh rate display issues
  • Displaying 3D content in a non-game SwiftUI app
  • Building AR experiences with RealityKit
  • Using RealityView or Model3D in SwiftUI
  • Spatial computing or visionOS 3D content

Routing Logic

Metal Migration

Strategy decisions/skill axiom-metal-migration

  • Translation layer vs native rewrite decision
  • Project assessment and migration planning
  • Anti-patterns and common mistakes
  • Pressure scenarios for deadline resistance

API reference & conversion/skill axiom-metal-migration-ref

  • GLSL → MSL shader conversion tables
  • HLSL → MSL shader conversion tables
  • GL/D3D API → Metal API equivalents
  • MTKView setup, render pipelines, compute shaders
  • Complete WWDC code examples

Diagnostics/skill axiom-metal-migration-diag

  • Black screen after porting
  • Shader compilation errors
  • Wrong colors or coordinate systems
  • Performance regressions
  • Time-cost analysis per diagnostic path

Display Performance

Frame rate & render loops/skill axiom-display-performance

  • App stuck at 60fps on ProMotion (120Hz) device
  • MTKView or CADisplayLink configuration
  • Variable refresh rate optimization
  • System caps (Low Power Mode, Limit Frame Rate, Thermal, Adaptive Power)
  • Frame budget math (8.33ms for 120Hz)
  • Measuring actual vs reported frame rate

RealityKit (Non-Game 3D Content)

For 3D content in non-game SwiftUI apps, AR experiences, and spatial computing, use the RealityKit skills. For game-specific RealityKit patterns, use the ios-games router instead.

Architecture, ECS, and best practices/skill axiom-realitykit

  • Entity-Component-System architecture
  • SwiftUI integration: RealityView, Model3D, attachments
  • AR on iOS: AnchorEntity types, SpatialTrackingSession
  • Materials, physics, interaction
  • Performance optimization

API reference/skill axiom-realitykit-ref

  • Complete component catalog
  • RealityView and Model3D API
  • Material system (PBR, Unlit, Occlusion, Custom)
  • RealityRenderer (Metal integration)

Troubleshooting/skill axiom-realitykit-diag

  • Entity not visible, anchor not tracking
  • Gesture not responding, performance issues
  • Material problems, physics issues

Decision Tree

  1. Translation layer vs native rewrite? → metal-migration
  2. Porting / converting code to Metal? → metal-migration
  3. API reference / shader conversion tables? → metal-migration-ref
  4. MTKView / render pipeline setup? → metal-migration-ref
  5. Something broken after porting (black screen, wrong colors)? → metal-migration-diag
  6. Stuck at 60fps on ProMotion device? → display-performance
  7. CADisplayLink / variable refresh rate? → display-performance
  8. Frame rate not as expected? → display-performance
  9. Display a 3D model in SwiftUI? → axiom-realitykit
  10. Build an AR experience? → axiom-realitykit
  11. RealityView or Model3D setup? → axiom-realitykit-ref
  12. 3D content not visible or not tracking? → axiom-realitykit-diag
  13. Custom Metal rendering of RealityKit content? → axiom-realitykit-ref (RealityRenderer)
  14. Building a 3D game? → Use ios-games router instead

Anti-Rationalization

ThoughtReality
"I'll just translate the shaders line by line"GLSL→MSL has type, coordinate, and precision differences. metal-migration-ref has conversion tables.
"MetalANGLE will handle everything"Translation layers have significant limitations for production. metal-migration evaluates the trade-offs.
"It's just a black screen, probably a simple bug"Black screen has 6 distinct causes. metal-migration-diag diagnoses in 5 min vs 30+ min.
"My app runs at 60fps, that's fine"ProMotion devices support 120Hz. display-performance configures the correct frame rate.
"I'll just use SceneKit for the 3D model"SceneKit is soft-deprecated. RealityView and Model3D are the modern path. axiom-realitykit covers SwiftUI integration.
"I don't need ECS for one 3D model"Model3D shows one model with zero ECS. RealityView scales to complex scenes. axiom-realitykit shows both paths.

Critical Patterns

metal-migration:

  • Translation layer (MetalANGLE) for quick demos
  • Native Metal rewrite for production
  • State management differences (GL stateful → Metal explicit)
  • Coordinate system gotchas (Y-flip, NDC differences)

metal-migration-ref:

  • Complete shader type mappings
  • API equivalent tables
  • MTKView vs CAMetalLayer decision
  • Render pipeline setup patterns

metal-migration-diag:

  • GPU Frame Capture workflow (2-5 min vs 30+ min guessing)
  • Shader debugger for variable inspection
  • Metal validation layer for API misuse
  • Performance regression diagnosis

display-performance:

  • MTKView defaults to 60fps (must set preferredFramesPerSecond = 120)
  • CADisplayLink preferredFrameRateRange for explicit rate control
  • System caps: Low Power Mode, Limit Frame Rate, Thermal, Adaptive Power (iOS 26)
  • 8.33ms frame budget for 120Hz
  • UIScreen.maximumFramesPerSecond lies; CADisplayLink tells truth

axiom-realitykit (non-game 3D):

  • RealityView make/update closure pattern
  • Model3D for simple model display
  • AR anchoring with AnchorEntity
  • Material selection (SimpleMaterial, PBR, Occlusion)

axiom-realitykit-ref (API):

  • RealityRenderer for custom Metal rendering of RealityKit content
  • Complete material property reference
  • RealityView gesture integration

Example Invocations

User: "Should I use MetalANGLE or rewrite in native Metal?" → Invoke: /skill axiom-metal-migration

User: "I'm porting projectM from OpenGL ES to iOS" → Invoke: /skill axiom-metal-migration

User: "How do I convert this GLSL shader to Metal?" → Invoke: /skill axiom-metal-migration-ref

User: "Setting up MTKView for the first time" → Invoke: /skill axiom-metal-migration-ref

User: "My ported app shows a black screen" → Invoke: /skill axiom-metal-migration-diag

User: "Performance is worse after porting to Metal" → Invoke: /skill axiom-metal-migration-diag

User: "My app is stuck at 60fps on iPhone Pro" → Invoke: /skill axiom-display-performance

User: "How do I configure CADisplayLink for 120Hz?" → Invoke: /skill axiom-display-performance

User: "ProMotion not working in my Metal app" → Invoke: /skill axiom-display-performance

User: "How do I show a 3D model in my SwiftUI app?" → Invoke: /skill axiom-realitykit

User: "I need to display a USDZ model" → Invoke: /skill axiom-realitykit

User: "How do I set up RealityView?" → Invoke: /skill axiom-realitykit-ref

User: "My 3D model isn't showing in RealityView" → Invoke: /skill axiom-realitykit-diag

User: "How do I use RealityRenderer with Metal?" → Invoke: /skill axiom-realitykit-ref

User: "I need AR in my app" → Invoke: /skill axiom-realitykit

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.17%
按下载量换算455

OpenCode

23.4%
按下载量换算365

Codex

14.73%
按下载量换算230

Antigravity

11.91%
按下载量换算186

Cursor

7.3%
按下载量换算114

Gemini CLI

3.11%
按下载量换算48

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills