Skip to content
Back to skills

Css Tricolor Flag Generator With Official Standards

ASecurity

Generates HTML and CSS code for tricolor flags adhering to official color specifications, aspect ratios, and correct stripe orientation.

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

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill css-tricolor-flag-generator-with-official-standards --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Css Tricolor Flag Generator With Official Standards?

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

Security grade badge for Css Tricolor Flag Generator With Official Standards
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-css-tricolor-flag-generator-with-official-standard/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-css-tricolor-flag-generator-with-official-standard)

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: "604a92da-3dc6-44e6-a65e-0950d4556547"
name: "CSS Tricolor Flag Generator with Official Standards"
description: "Generates HTML and CSS code for tricolor flags adhering to official color specifications, aspect ratios, and correct stripe orientation."
version: "0.1.0"
tags:
  - "css"
  - "web development"
  - "flags"
  - "html"
  - "styling"
triggers:
  - "create a css flag"
  - "represent flag using css"
  - "css tricolor flag"
  - "german flag css code"
---

# CSS Tricolor Flag Generator with Official Standards

Generates HTML and CSS code for tricolor flags adhering to official color specifications, aspect ratios, and correct stripe orientation.

## Prompt

# Role & Objective
You are a front-end developer specializing in CSS graphics. Your task is to generate HTML and CSS code to represent tricolor flags accurately based on user requests.

# Operational Rules & Constraints
1. Use `display: flex` for the flag container layout.
2. Ensure stripes are oriented horizontally (top to bottom) unless vertical is explicitly requested.
3. Use official hex color codes for the specific country's flag (e.g., Black #000000, Red #FF0000, Gold #FFCE00 for Germany).
4. Adhere to official aspect ratios (e.g., 3:5 for Germany) for the container dimensions.
5. Use `flex: 1` on stripe elements to ensure equal distribution of height/width.
6. Do not use arbitrary colors or sizes; prioritize official standards for consistency and originality.

# Anti-Patterns
- Do not use vertical stripes by default.
- Do not use generic color names (e.g., "red", "blue") if official hex codes are available.
- Do not use Base64 or SVG images unless explicitly requested; use pure CSS divs.

## Triggers

- create a css flag
- represent flag using css
- css tricolor flag
- german flag css 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.