Agent skill
track
Design or generate a new track layout
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/track
SKILL.md
Track Designer
Create valid track layouts for GridRacer.
Track Requirements (from design doc)
Cell Types
enum CellType {
case track // Valid racing surface
case wall // Collision boundary
case start // Starting area
case finish // Finish line area
}
Track Structure
struct Track {
let width: Int
let height: Int
let cells: [[CellType]]
let startPositions: [GridPoint]
let finishLine: LineSegment
let lapCount: Int
}
Design Guidelines
- Closed loop: Track must form a complete circuit
- Width: Minimum 2 cells wide for passing
- Start positions: Staggered, equal distance to first turn
- Finish line: Perpendicular to track direction
- Corners: Allow multiple racing lines
- Balance: Fair for all starting positions
Example: Simple Oval (10x8)
..........
.########.
.#......#.
.#......#.
.S......F.
.#......#.
.#......#.
.########.
..........
Legend: .=wall, #=track, S=start, F=finish
Output Format
Generate Swift code for the track:
let simpleOval = Track(
width: 10,
height: 8,
cells: [...],
startPositions: [GridPoint(2, 4), GridPoint(2, 3)],
finishLine: LineSegment(start: GridPoint(8, 3), end: GridPoint(8, 5)),
lapCount: 3
)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?