Flow Tracer: Trace Data Through Engine

VerifiedSafe

Trace how data moves through the engine for a named flow, from ECS to GPU or file to entity, with step-by-step output.

Sby Skills Guide Bot
DevelopmentIntermediate
8/25/2026
Claude CodeCursorWindsurfCodex
#data-flow#code-tracing#ecs#rust#game-engine

Recommended for

Automated summary

Traces a piece of data step by step through the engine — ECS to GPU or file to entity — with file:line references at every hop.

Strengths

  • Six built-in flows (render, frame-tick, entity-spawn, query, resize, nif-import) are traced instantly with no manual exploration
  • A fixed output format with file:line and the data transformation at each boundary makes results easy to verify
  • A structured fallback procedure for custom flows: locate the entry point, follow each call, document the transformations
  • Explicitly calls out error-handling gaps, missing validation and performance concerns found along the path

Limitations

  • Built-in flows are hardcoded to one specific Rust/Vulkan engine, so they go stale as the code changes and are useless on other projects
  • Output quality depends on the agent actually opening files; line numbers can be approximate or fabricated
  • Plain text output only — no diagram and no verification against actual runtime behaviour
When to use it

Use it when you need to understand how a specific piece of data (a draw command, a spawn, a query) travels through the engine before changing it.

When not to use it

Skip it when you want a broad architecture overview or dependency graph rather than a single path, or when the codebase isn't the Rust engine the built-in flows describe.

Security analysis

Safe
Quality score92/100

The skill only provides static guidance for tracing data flows within a codebase; it does not instruct any destructive, exfiltrating, or obfuscated actions. No tools are declared, and the content is purely informational.

No concerns found

How this analysis is made

Examples

Trace the built-in render flow
/flow-tracer render — walk me through how an entity with (Transform, MeshHandle) ends up as a cmd_draw_indexed call, with file:line at each step.
Trace a custom flow
Trace how a WindowEvent::Resized reaches the Camera aspect ratio update, including the swapchain recreation, and flag any error-handling gaps with file:line references.
Trace entity spawn and locking
Walk me through the entity-spawn flow: what locks are taken and what data is transformed when world.insert(id, Component) writes to storage?

description: "Trace a data flow through the engine — from ECS to GPU or from file to entity" argument-hint: "<flow-name or description>"

Flow Tracer

Trace how data moves through the engine for a named flow.

Built-in Flows

render

Entity with (Transform, MeshHandle) → build_render_data() → DrawCommand → VulkanContext::draw_frame() → push constants → cmd_draw_indexed

frame-tick

winit about_to_wait → Instant::now() → DeltaTime/TotalTime update → scheduler.run() → systems execute → request_redraw → RedrawRequested → draw_frame

entity-spawn

World::spawn() → EntityId → world.insert(id, Component) → storage_write() → RwLock → TypeMap entry → storage.insert()

query

world.query::<T>() → storages.get(TypeId) → RwLock::read() → QueryRead holding guard → iter() → (EntityId, &T) pairs

resize

WindowEvent::Resized → recreate_swapchain() → destroy old (framebuffers, render pass, swapchain) → create new → reset_image_fences → update Camera aspect

nif-import (planned)

.nif file → NIF parser (header, objects, RTTI, strings) → link resolution → NIF-to-ECS importer → spawn entities with (Transform, MeshHandle, Name, Parent, Children)

Custom Flows

If $ARGUMENTS doesn't match a built-in flow, trace the described data path:

  1. Find the entry point (grep for the function/type)
  2. Follow each call step by step, noting file:line
  3. Document data transformations at each boundary
  4. Identify risks: error handling gaps, missing validation, performance concerns

Output Format

Step 1: [file:line] description
  → data: what's passed
Step 2: [file:line] description
  → transforms: what changes
...

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/flow-tracer-trace-data-through-engine-mt87682n/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/flow-tracer-trace-data-through-engine-mt87682n' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/flow-tracer-trace-data-through-engine-mt87682n/download' --output '.skill-downloads/flow-tracer-trace-data-through-engine-mt87682n/SKILL.md.part' && mv '.skill-downloads/flow-tracer-trace-data-through-engine-mt87682n/SKILL.md.part' '.skill-downloads/flow-tracer-trace-data-through-engine-mt87682n/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/flow-tracer-trace-data-through-engine-mt87682n/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills