Saltar al contenido
TakoAPI
Volver a skills

primitives-dsl

por stusatwork-oss

Web & Frontend Development
564Descargas según clawskills.sh
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Universal game architecture DSL with six primitives (LOOP, TILEGRID, CONTROLBLOCK, POOL, EVENT, DISPATCHER)

Descripción

Qué hace esta skill

A DSL of six named primitives — LOOP, TILEGRID, CONTROLBLOCK, POOL, EVENT, DISPATCHER — that appear consistently across 68K-era loops, Cell/SPU orchestration, CUDA kernels, and ECS engines. Each invocation produces a Primitive Map, Dataflow Sketch, worked example, and portability notes using the same vocabulary every time.

A fixed six-primitive vocabulary eliminates architectural ambiguity when documenting or translating engine designs across platforms that share no common terminology.

Cuándo usarla

  • Porting a 2D game loop from 68K assembly to a modern ECS engine
  • Explaining engine architecture to an AI agent without ambiguity
  • Refactoring a tangled update cycle into explicit state and event flow
  • Mapping legacy Cell/SPU code to equivalent CUDA kernel patterns
  • Designing a constrained-device sim loop with bounded allocators

Flujo de trabajo de ejemplo

ENTRADA

User asks: Apply primitives-dsl to design a loop for a classic 2D shooter

AGENTE
  1. 1

    Identify LOOP phases: input, physics, collision, render

  2. 2

    Define POOL bounds for bullet and particle slots

  3. 3

    Name CONTROLBLOCK fields for player state flags and timers

  4. 4

    Specify EVENT routing keys for collision and death events

  5. 5

    Produce Primitive Map table, Dataflow Sketch, and Portability Notes for 68K, Cell, CUDA, and ECS

SALIDA

A table-based Primitive Map with Dataflow Sketch and platform portability notes across four architectures

Instalación

clawhub install stusatwork-oss/primitives-dsl

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces