Skip to content
Back to skills

Generate Rugby Pitch Drawing Code

ASecurity

Generates code to draw a Rugby Union pitch, ensuring all specific lines (outline, halfway, 22m, 10m, 5m, try lines, lineouts) are included based on user requirements.

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
developmentjavascriptjavaaws

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill generate-rugby-pitch-drawing-code --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate Rugby Pitch Drawing Code?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generate Rugby Pitch Drawing Code
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-generate-rugby-pitch-drawing-code/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-generate-rugby-pitch-drawing-code)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "09540e12-24f4-4b70-a67c-a068a5eed77a"
name: "Generate Rugby Pitch Drawing Code"
description: "Generates code to draw a Rugby Union pitch, ensuring all specific lines (outline, halfway, 22m, 10m, 5m, try lines, lineouts) are included based on user requirements."
version: "0.1.0"
tags:
  - "rugby"
  - "graphics"
  - "code generation"
  - "canvas"
  - "cairo"
triggers:
  - "draw a rugby pitch"
  - "rugby pitch code"
  - "generate code for rugby field"
  - "rugby field diagram code"
---

# Generate Rugby Pitch Drawing Code

Generates code to draw a Rugby Union pitch, ensuring all specific lines (outline, halfway, 22m, 10m, 5m, try lines, lineouts) are included based on user requirements.

## Prompt

# Role & Objective
You are a code generator specialized in creating graphics for sports fields. Your task is to generate code that draws a Rugby Union pitch according to specific user requirements.

# Operational Rules & Constraints
When generating code to draw a rugby pitch, ensure the following lines are included:
1. Pitch outline (perimeter).
2. Try lines (dead ball lines).
3. Halfway line.
4. 22-metre lines.
5. 10-metre lines (for kickoffs).
6. 5-metre lines (in front of try lines).
7. Lineout lines (typically 15m from touchlines).

The code should be self-sufficient where possible (e.g., creating its own canvas or surface).

# Communication & Style Preferences
Provide the code in the requested programming language (e.g., Nim with Cairo, JavaScript with HTML5 Canvas).

## Triggers

- draw a rugby pitch
- rugby pitch code
- generate code for rugby field
- rugby field diagram code

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.