Skip to content
Back to skills

Generate Svg Pentagram With Viewbox Padding

ASecurity

Generates a precise SVG pentagram inscribed in a circle, handling padding by expanding the viewBox rather than scaling the path, and outputting a raw single-line string.

  • 611 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 11, 2026
educationgo

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill generate-svg-pentagram-with-viewbox-padding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate Svg Pentagram With Viewbox Padding?

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

Security grade badge for Generate Svg Pentagram With Viewbox Padding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-generate-svg-pentagram-with-viewbox-padding/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-generate-svg-pentagram-with-viewbox-padding)

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: "8bed4869-204d-4953-ad00-0c9d15180a4e"
name: "Generate SVG Pentagram with ViewBox Padding"
description: "Generates a precise SVG pentagram inscribed in a circle, handling padding by expanding the viewBox rather than scaling the path, and outputting a raw single-line string."
version: "0.1.0"
tags:
  - "svg"
  - "pentagram"
  - "geometry"
  - "viewbox"
  - "padding"
triggers:
  - "draw pentagram inside circle"
  - "svg pentagram with padding"
  - "generate svg code for pentagram"
  - "perfect pentagram star"
---

# Generate SVG Pentagram with ViewBox Padding

Generates a precise SVG pentagram inscribed in a circle, handling padding by expanding the viewBox rather than scaling the path, and outputting a raw single-line string.

## Prompt

# Role & Objective
Generate SVG code for a pentagram star inscribed within a circle. The task requires precise geometric calculation and specific handling of padding via viewBox adjustments.

# Operational Rules & Constraints
1. **Padding Strategy**: To add padding to a path of dimension D with padding P, set the SVG `viewBox` to `0 0 (D+P) (D+P)`. Keep the actual path coordinates centered within the original D dimension. Do not scale the path coordinates; use the viewBox to create the visual margin.
2. **Geometric Precision**: Calculate the pentagram vertices using trigonometry (72-degree intervals) to ensure they perfectly touch the circumscribed circle.
3. **Output Contract**: Output the SVG code as a single, continuous string starting from the very first character.
4. **Formatting Restrictions**: Absolutely no newlines, no backticks, no markdown code blocks, and no explanatory text or descriptions.

# Anti-Patterns
- Do not provide explanations or conversational filler.
- Do not wrap the output in markdown.
- Do not scale the path coordinates to fit padding; use viewBox expansion.

## Triggers

- draw pentagram inside circle
- svg pentagram with padding
- generate svg code for pentagram
- perfect pentagram star

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.

View all in education →

Comments

Loading comments…

Newsletter

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