track

Define and validate GridRacer track layouts with Swift-compatible Track instances.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/Pjpj42/GridRacer --skill track-pjpj42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: track
Source: https://github.com/Pjpj42/GridRacer/tree/main/.claude/skills/track
Command: npx skills add https://github.com/Pjpj42/GridRacer --skill track-pjpj42

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a formalized Track Designer to create valid GridRacer track layouts, ensuring a playable circuit with defined cell types (track, wall, start, finish), start positions, and a finish line, while guiding adherence to balance and design rules.

Core Features & Use Cases

  • Enforces a Track structure with width, height, cells, startPositions, finishLine, and lapCount to ensure consistent, testable layouts.
  • Encapsulates design guidelines (closed loop, minimum width, staggered starts, perpendicular finish line, multiple racing lines) to aid level designers.
  • Serves as a prototyping and validation tool for level design, gameplay balancing, and rapid iteration of track concepts, including example layouts like oval tracks.

Quick Start

Generate a valid GridRacer track layout for the provided track name or description.

Frequently Asked Questions about track

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a valid GridRacer track layout in Swift?

GridRacer track layouts require a Swift-compatible Track instance with defined width, height, cells, startPositions, finishLine, and lapCount. This Skill formalizes cell types (track, wall, start, finish) and validates track geometry to ensure playable circuits.

What are the rules for creating playable GridRacer track circuits?

Playable track circuits must form a closed loop with minimum width, staggered start positions, and a perpendicular finish line. This Skill enforces these design guidelines to support balanced gameplay and multiple racing lines across track configurations.

Can I use this track design tool for rapid prototyping and gameplay balancing?

Yes, this Skill serves as a prototyping and validation tool for level design. It enables rapid iteration of track concepts, including example layouts like oval tracks, while ensuring geometry and start/finish areas satisfy Track struct requirements.

Does the track validation require any external dependencies or components?

No external dependencies or components are required. The Skill operates independently to define and validate GridRacer track layouts, producing a Swift-compatible Track instance that satisfies all structural requirements for cell types and finish lines.

What's the best way to define start positions and finish lines for a GridRacer track?

Start positions should be staggered and the finish line must be perpendicular to the track direction. This Skill formalizes these areas within the Track struct, ensuring startPositions and finishLine data produce valid, testable racing circuits.

Why does my GridRacer track layout fail validation?

Track layouts fail validation when they lack a closed loop, minimum width, staggered starts, or a perpendicular finish line. This Skill checks Track struct fields (width, height, cells, startPositions, finishLine, lapCount) to pinpoint missing or invalid geometry.