AGENT SKILL

skill-055

A library for rendering game scenes and environments using the same underlying technology stack. Use this for visualizing game spaces.

License 许可
MIT
最近更新
2026-06-04
Stars
★ 8
Forks
2

01 前言 Front Matter

name
skill-055
description
A library for rendering game scenes and environments using the same underlying technology stack. Use this for visualizing game spaces.

03 SKILL.md 正文

Scene Renderer Skill

This skill provides a scene_renderer module to create, manipulate, and display game scenes in real-time.

When to use

  • Game Development: To visualize environments during development.
  • Level Editors: For building and testing levels in a game.
  • Showcasing: To create demos or trailers for a game.

How to use

Import the module:

from scene_renderer import Scene, Entity, Camera

1. The Scene Class

The primary container for all entities and the camera.

scene = Scene()

2. Adding Entities

Define and add objects to the scene.

entity = Entity(id="tree", model="tree_model.obj", position=(10, 0, 20))
scene.add_entity(entity)

3. Setting Up the Camera

Define the camera parameters.

camera = Camera(position=(0, 5, -10), look_at=(0, 0, 0))
scene.set_camera(camera)

4. Rendering the Scene

Render the current scene to the display.

scene.render()  # Renders the current frame to the screen

5. Updating Entities

Update the state of entities every frame.

for entity in scene.entities:
    entity.update()  # Move, rotate, or animate entities

6. Saving Scene State

Serialize the current scene to JSON format.

scene_data = scene.to_json()  # Save the scene state

7. Loading a Scene

Load an existing scene from JSON.

scene.from_json(scene_data)  # Load the scene state from JSON

This skill aims to streamline the process of rendering game scenes, enabling developers to create visually appealing environments quickly.

04 同仓库更多 Skills

legendtkl
legendtkl/agentic-skill-router

foo

A test skill named foo

★ 8
legendtkl
legendtkl/agentic-skill-router

bar

飞书 — bar with quoted Chinese

★ 8
legendtkl
legendtkl/agentic-skill-router

agentic-skill-router

First use any clearly matching enabled local/user Agent Skill. If none matches, prefer this router for skill-shaped requests involving a named tool, API, service, CLI, platform, file format, dataset, or domain workflow, including when a generic built-in skill such as browser, Chrome, or web search also seems applicable; use built-ins directly only when explicitly requested or when the task is primarily live browsing, logged-in page operation, clicking, screenshotting, or current webpage inspection. Also use directly to audit, slim, disable, restore, or route locally installed Agent Skills across supported hosts. Examples include Vercel, Netlify, Cloudflare, Render, Playwright, Sentry, Linear, GitHub, OpenAI APIs, PDF, DOCX, PPTX, and spreadsheets.

★ 8
legendtkl
legendtkl/agentic-skill-router

syn-video-trim

Skill for trimming and cutting clips in the context of video files. Use when the user's task is specifically about trimming and cutting clips.

★ 8
legendtkl
legendtkl/agentic-skill-router

syn-video-transcode

Skill for transcoding codecs and resolutions in the context of video files. Use when the user's task is specifically about transcoding codecs and resolutions.

★ 8
legendtkl
legendtkl/agentic-skill-router

syn-video-thumbnail

Skill for extracting thumbnails and frames in the context of video files. Use when the user's task is specifically about extracting thumbnails and frames.

★ 8