Agent skill
verify
Verify game mechanics match the design document
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/verify-pjpj42-gridracer
SKILL.md
Verify Game Mechanics
Compare implementation against design document specifications.
Arguments
$ARGUMENTS - Which mechanic to verify (movement, collision, laps, or all)
Verification Checklist
Movement Mechanics
From design doc:
NewPosition = CurrentPosition + CurrentVelocity + Acceleration
NewVelocity = CurrentVelocity + Acceleration
Verify:
- Read movement code in Swift
- Confirm formula matches
- Play-test: Start at (5,5) with vel (0,0), accel (1,1) → should be at (6,6) with vel (1,1)
Collision Detection
From design doc:
- Use Bresenham's line algorithm
- Check ALL cells along path
- Any wall cell = crash
Verify:
- Find collision code
- Confirm Bresenham implementation
- Play-test: Move toward wall, verify crash occurs
Crash Handling
From design doc:
- Lose 1 life
- Velocity resets to (0, 0)
- Respawn at nearest valid cell
Verify:
- Find crash handling code
- Confirm all three effects
- Play-test: Crash, verify life decremented
Lap Counting
From design doc:
- Cross finish line in correct direction
- Use line segment intersection
Verify:
- Find lap counting code
- Confirm direction check
- Play-test: Complete lap, verify counter
Report Format
Mechanic Verification: [name]
===========================
Design Spec: [quote from doc]
Implementation: [file:line]
Match: YES / NO / PARTIAL
Issues: [any discrepancies]
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?