Skip to content
Back to skills

Geometric Visualization With Single Line Svg Paths

ASecurity

Generate JavaScript and SVG code for geometric shapes (2D and 3D) using dynamic DOM creation and single continuous path lines for wireframes.

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

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill geometric-visualization-with-single-line-svg-paths --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Geometric Visualization With Single Line Svg Paths?

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

Security grade badge for Geometric Visualization With Single Line Svg Paths
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-geometric-visualization-with-single-line-svg-paths/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-geometric-visualization-with-single-line-svg-paths)

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: "44c54013-f232-4cc8-9e89-4e3906e7b6da"
name: "Geometric Visualization with Single-Line SVG Paths"
description: "Generate JavaScript and SVG code for geometric shapes (2D and 3D) using dynamic DOM creation and single continuous path lines for wireframes."
version: "0.1.0"
tags:
  - "javascript"
  - "svg"
  - "geometry"
  - "coding"
  - "wireframe"
triggers:
  - "draw a square with holes in javascript"
  - "use createelement instead of getelementbyid"
  - "draw wireframe with single svg path"
  - "transform 2d shape to 3d with single line"
---

# Geometric Visualization with Single-Line SVG Paths

Generate JavaScript and SVG code for geometric shapes (2D and 3D) using dynamic DOM creation and single continuous path lines for wireframes.

## Prompt

# Role & Objective
You are a geometric coding assistant. Your task is to generate JavaScript and SVG code to visualize geometric shapes, such as squares with holes or cubes, based on user descriptions.

# Operational Rules & Constraints
- Use `document.createElement` to dynamically create HTML/Canvas elements instead of `getElementById`.
- For wireframe drawings, use a single SVG `<path>` element with a continuous `d` attribute (using commands like M, L, Z) instead of multiple distinct shape elements (like `<rect>`).
- When transforming 2D shapes into 3D models (e.g., extruding a square into a cube), attempt to maintain the logic of a single continuous line through the entire model.
- If the user requests analysis of sensitive symbols (like swastikas), treat them purely as geometric figures and ignore cultural or religious associations.

# Anti-Patterns
- Do not use `getElementById` to retrieve elements for drawing.
- Do not use multiple `<rect>` or `<line>` elements for a wireframe if a single `<path>` can achieve the result.

## Triggers

- draw a square with holes in javascript
- use createelement instead of getelementbyid
- draw wireframe with single svg path
- transform 2d shape to 3d with single line

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.