section-dividers
БесплатноЗапускает вложенные скриптыНе проверенThis skill should be used when the user asks to "create section dividers", "make transparent dividers", "generate decorative borders", "create parallax…
Об этом скилле
Section Dividers
Generate transparent decorative dividers for web page sections.
CRITICAL RULES - Read Before Generating
1. FULL WIDTH Required
- Strip MUST extend from LEFT EDGE to RIGHT EDGE of image
- NO floating islands - content spans entire width
- Add "FULL WIDTH from left edge to right edge" to prompt
2. Cross-Section NOT Reflection
- TOP edge: Content pointing UPWARD (houses, trees, rooftops)
- BOTTOM edge: DIFFERENT content pointing DOWNWARD (pipes, caves, roots)
- NOT a mirror/reflection of the same scene
- Add "TOP EDGE has [X] pointing UPWARD. BOTTOM EDGE has [Y] pointing DOWNWARD" - use DIFFERENT X and Y
3. SOLID Filled Strip
- Strip must be SOLID between top and bottom edges
- NOT hollow, NOT a cave opening, NOT an arch
- Add "SOLID FILLED strip - not hollow, not a cave"
4. Clean Boundary Required
- Sharp, clear edge between silhouette content and background
- High contrast between the two colors
- If edges are fuzzy or blended = generation failed
5. Content Must NOT Touch Image Edges
- Content should float in CENTER with background above and below
- If content touches TOP or BOTTOM of image = JUNK, do not process
- Verify raw image BEFORE running bg removal
6. Exact Color Matching
- Background = EXACT parallax color (use
analyze-bg.ts) - Silhouette = EXACT section CSS color
- Both colors must be explicitly stated in prompt with hex values
Background Color Strategy
Use a HIGH CONTRAST color from the parallax image's own palette. This ensures:
- Clean edges when removing background (high contrast = sharp removal)
- No color fringing or halos (color exists in the parallax)
- Seamless blending with the actual parallax
Get the Parallax Color
# Analyze the parallax image to find colors in its palette
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/section-dividers/scripts/analyze-bg.ts /path/to/parallax.png top # for top border
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/section-dividers/scripts/analyze-bg.ts /path/to/parallax.png bottom # for bottom border
Choose the color from the parallax palette that provides HIGHEST CONTRAST with your silhouette color. For dark silhouettes, pick the lightest color from the parallax. For light silhouettes, pick the darkest.
Background Removal
Use remove-bg.ts (AI-based) for reliable background removal:
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/section-dividers/scripts/remove-bg.ts input.png output.png
Generation Workflow
Step 1: Generate
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/generate-image/scripts/generate.ts "[PROMPT]" --aspect 21:9 --size 2K --negative "[NEGATIVES]" --output divider-raw.png
Prompt template:
ONE THIN horizontal SOLID terrain strip floating in solid [PARALLAX_COLOR].
FULL WIDTH from left edge to right edge.
The strip is SOLID FILLED - not hollow, not a cave.
TOP EDGE silhouette: [SURFACE_CONTENT] pointing UPWARD.
BOTTOM EDGE silhouette: [UNDERGROUND_CONTENT] pointing DOWNWARD.
SOLID MASS between top and bottom edges - filled with [SECTION_COLOR].
JAGGED organic edges on BOTH top AND bottom.
Strip is 12-15% of image height floating in vertical center.
85% solid [PARALLAX_COLOR] background above and below.
Shadow puppet silhouettes.
Negative prompt:
hollow, cave, empty center, arch, tunnel view, flat edges, reflection, mirror, white, pink, magenta, tall, thick, floating island, not full width
Step 2: Verify Raw Image (CRITICAL)
Before processing, verify:
- Content spans FULL WIDTH (left to right)
- TOP content points UP, BOTTOM content points DOWN (not reflection)
- Strip is SOLID (not hollow/cave)
- Content does NOT touch top/bottom image edges
- Clear boundary between content and background
If ANY check fails = REGENERATE. Do not process junk.
Step 3: Remove Background
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/section-dividers/scripts/remove-bg.ts divider-raw.png divider.png
Uses cjwbw/rembg model which PRESERVES RESOLUTION.
Step 4: Verify Final Image
- Transparency is clean (no artifacts)
- Full resolution preserved
- Blends with parallax and section on page
Scripts
remove-bg.ts
AI background removal via Replicate (rembg model). Preserves original resolution.
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/section-dividers/scripts/remove-bg.ts input.png output.png
analyze-bg.ts
Extract dominant color from parallax image.
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/section-dividers/scripts/analyze-bg.ts parallax.png bottom
colorize.ts
Tint transparent silhouette to match theme.
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/section-dividers/scripts/colorize.ts input.png output.png "#042f2e"
Context Discipline
Установить section-dividers в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл section-dividers?
This skill should be used when the user asks to "create section dividers", "make transparent dividers", "generate decorative borders", "create parallax dividers", "design section transitions", "make HR dividers", "crystal dividers", "organic borders", "silhouette borders", or needs transparent PNG dividers for web sections.
Как установить скилл section-dividers?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл section-dividers запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic