कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

primitives-dsl

stusatwork-oss द्वारा

Web & Frontend Development
564clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

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

विवरण

यह स्किल क्या करती है

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.

इसे कब इस्तेमाल करें

  • 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

उदाहरण वर्कफ़्लो

इनपुट

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

एजेंट
  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

आउटपुट

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

इंस्टॉलेशन

clawhub install stusatwork-oss/primitives-dsl

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक