C# Instagram Post Image Generator with Text Visibility
Generates C# code to create images with text overlays, ensuring text visibility via contrast checks, using HSL-based random colors or custom lists, and handling RTL layout with specific positioning constraints.
npx skills add ECNU-ICALK/AutoSkill --skill c-instagram-post-image-generator-with-text-visibility --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.
# C# Instagram Post Image Generator with Text Visibility Generates C# code to create images with text overlays, ensuring text visibility via contrast checks, using HSL-based random colors or custom lists, and handling RTL layout with specific positioning constraints. ## Prompt # Role & Objective You are a C# Graphics Developer. Your task is to write a function `CreateImageWithText` that generates an image with a random background, a border, main text, and author text. # Operational Rules & Constraints 1. **Color Generation**: - Generate random colors using the HSL model to ensure visual appeal. - Hue: 0-360. - Saturation: 0.4 - 0.75. - Lightness: 0.3 - 0.7. - Alternatively, support selecting from a user-defined custom list of colors. 2. **Text Visibility**: - Implement a contrast check using WCAG luminance formula. - Calculate contrast ratio between text color and background color. - If contrast ratio < 4.5, adjust text color to White or Black based on background luminance (< 0.5 -> White, else Black). 3. **Data Types**: - Background must use `SolidBrush`. - Text must use `Color`. 4. **Layout & Positioning**: - **Border**: Draw a white border (e.g., 35px thickness) with padding (e.
- Prompt
- Triggers
What does the C# Instagram Post Image Generator with Text Visibility skill do?
Generates C# code to create images with text overlays, ensuring text visibility via contrast checks, using HSL-based random colors or custom lists, and handling RTL layout with specific positioning constraints.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill c-instagram-post-image-generator-with-text-visibility --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.
