CSS SVG Wave Generator skill for Claude and Codex
Creates responsive SVG section dividers in four wave styles, with your color and height, ready to paste between page sections with no gap or scroll bar.
Install it once and Claude or Codex runs it for you. When your request matches, your AI loads the skill, asks for anything it is missing, and works through the template itself. Prefer to fill it in by hand? See the full prompt template.
Download the skill (.zip) · View SKILL.md
When it is used
Use when a web designer wants an SVG wave or shaped divider between two page sections in a given color and height. Do not use for animated backgrounds, hero illustrations, or a full page layout. Related topics: design, frontend, css.
What it will ask you for
- Wave type (choose one: Smooth Wave, Spiky Peak, Curved Arch, Steps)
- Fill color (free text, e.g. "#0b5fff")
- Height in px (number from 20 to 500)
- Position (choose one: Bottom of the section above, Top of the section below)
- Flip direction (choose one: Yes, No)
How it works
- Build a path for the chosen wave type inside a fixed viewBox so the shape is correct at any width.
- Set preserveAspectRatio to none, the height from the input, and the fill color.
- Handle the position and flip with a transform or placement rule, and add display block and a small overlap to avoid hairline gaps.
- Output the SVG and its CSS wrapper with a comment on which values change the wave.
What you get
An inline SVG of under 40 lines and a short CSS wrapper, with comments on the values to adjust.
What it watches out for
- Leaving preserveAspectRatio at the default, so the wave does not stretch to the full width.
- Letting the SVG sit inline, which adds a gap below it from line height.
- Using fixed pixel widths that break on mobile.
How to install
Claude.ai and the Claude desktop app
- Download the skill .zip.
- Open Settings, then Capabilities, and find Skills.
- Choose Upload skill and select the .zip.
- Ask Claude for help with the task. It loads the skill when your request matches.
Claude Code
- Download the skill .zip.
- Unzip it into ~/.claude/skills/ (or .claude/skills/ inside a project).
- Start a new session. Claude Code loads the skill when your request matches.
Codex
- Download the skill .zip.
- Unzip it into ~/.agents/skills/ (or .agents/skills/ inside a project).
- Codex picks it up on its own. Type $ and the skill name to use it, or just ask for the task.
Cursor
- Download the Cursor rule (.mdc).
- Save it in .cursor/rules/ inside your project.
- Cursor's agent applies the rule when your request matches its description.
AGENTS.md (Codex, Cursor, and other coding agents)
- Copy the AGENTS.md section.
- Paste it into AGENTS.md at the root of your repository, creating the file if needed.
- Coding agents that read AGENTS.md follow it when your request fits.