generate-puzzle

Installation
SKILL.md

Generate Puzzle

Generate jigsaw puzzles using the jigsawR package's unified API.

When to Use

  • Creating puzzle SVG files for a specific type and configuration
  • Testing puzzle generation with different parameters
  • Generating sample output for documentation or demos
  • Creating ggplot2 puzzle visualizations with geom_puzzle_*()

Inputs

  • Required: Puzzle type ("rectangular", "hexagonal", "concentric", "voronoi", "random", "snic")
  • Required: Grid dimensions (type-dependent: c(cols, rows) or c(rings))
  • Optional: Size in mm (default varies by type)
  • Optional: Seed for reproducibility (default: 42)
  • Optional: Offset (0 = interlocked, >0 = separated pieces)
  • Optional: Layout ("grid" or "repel" for rectangular)
Related skills
Installs
1
GitHub Stars
13
First Seen
Mar 18, 2026