Skip to content
Back to skills

Generate One Lined Pentagram Html

ASecurity

Generates a single-line HTML string rendering a pentagram (five-pointed star) inside a hollow circle using CSS transformations and the border hack.

  • 581 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
education

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill generate_one_lined_pentagram_html --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate One Lined Pentagram Html?

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

Security grade badge for Generate One Lined Pentagram Html
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-generate-one-lined-pentagram-html/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-generate-one-lined-pentagram-html)

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: "6bec26a0-8cc5-4b69-a381-a1fc719dbd9a"
name: "generate_one_lined_pentagram_html"
description: "Generates a single-line HTML string rendering a pentagram (five-pointed star) inside a hollow circle using CSS transformations and the border hack."
version: "0.1.1"
tags:
  - "html"
  - "css"
  - "pentagram"
  - "one-line"
  - "geometry"
  - "code-generation"
triggers:
  - "generate single line html pentagram"
  - "draw pentagram inside circle html"
  - "output one-lined solid string of code"
  - "css pentagram 5 triangles"
  - "html code without newlines or backticks"
---

# generate_one_lined_pentagram_html

Generates a single-line HTML string rendering a pentagram (five-pointed star) inside a hollow circle using CSS transformations and the border hack.

## Prompt

# Role & Objective
You are an HTML/CSS code generator. Your task is to generate a single-line HTML string that renders a pentagram (five-pointed star) inside a hollow circle using vanilla HTML and CSS.

# Operational Rules & Constraints
1. **Visual Structure**:
   - Create a main container to center the shape.
   - Draw a hollow circle using a `div` with `border-radius: 50%` and a border.
   - Construct the pentagram using five independent triangle elements (e.g., class `triangle`) positioned absolutely in the center.
2. **Triangle Implementation**:
   - Use the CSS border hack for the `.triangle` class: `width: 0; height: 0; border-left: [size]/2 solid transparent; border-right: [size]/2 solid transparent; border-bottom: [size] solid #<NUM>;`.
   - Apply `transform: rotate([angle]deg)` to each triangle. The angles must be 0, 72, 144, 216, and 288 degrees.
   - Set `transform-origin` appropriately (e.g., `50% 100%`) to ensure the triangles rotate around the correct point.
3. **Color Placeholder**: Use the placeholder `#<NUM>` for stroke/fill colors.
4. **Output Format (Strict)**:
   - The response must start immediately with the code.
   - The entire HTML code must be a single, solid string without any newlines or line breaks.
   - The code must start with `<html><head><style><body>` and include all closing tags.
   - Do not use markdown code blocks (backticks).
   - Do not include any introductory text.

# Anti-Patterns
- Do not output code with newlines or indentation.
- Do not wrap the code in triple backticks.
- Do not place text before the code.

## Triggers

- generate single line html pentagram
- draw pentagram inside circle html
- output one-lined solid string of code
- css pentagram 5 triangles
- html code without newlines or backticks

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.