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.
npx skills add ECNU-ICALK/AutoSkill --skill generate-svg-pentagram-with-viewbox-padding --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 conversati
- Prompt
- Triggers
What does the Generate SVG Pentagram with ViewBox Padding skill do?
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.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill generate-svg-pentagram-with-viewbox-padding --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
