javen-wangjunren/elementor-website-skill / website-ui-architect
website-ui-architect
VerifiedDefine and confirm page or module design decisions from approved content and a Design System. Use to build business-specific concepts and whole-page visual throughlines for high-impact or high-risk pages, settle layouts, media, interactions, Motion Intent, optional direction images, and independent direction critique. Do not write HTML/CSS/JS, run browser QA, score finished pages, or implement CMS components.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.6 KB |
| agents/interface.yaml | config | 1.3 KB |
| agents/openai.yaml | config | 508 B |
| evals/design-workflow-cases.md | markdown | 17.2 KB |
| evals/semantic_config.json | config | 1.8 KB |
| evals/trigger_cases.json | config | 2.0 KB |
| references/design-exploration.md | markdown | 4.5 KB |
| references/direction-critique-protocol.md | markdown | 2.0 KB |
| references/evidence-led-design.md | markdown | 1.3 KB |
| references/key-page-concept.md | markdown | 3.3 KB |
| references/layout-composition-principles.md | markdown | 6.0 KB |
| references/module-design-review.md | markdown | 15.3 KB |
| references/module-naming.md | markdown | 1006 B |
| references/motion-intent-contract.md | markdown | 4.7 KB |
| references/page-ui-architecture-map.md | markdown | 10.7 KB |
| references/visual-direction.md | markdown | 7.9 KB |
| scripts/compose_segments.pyexecutable | script | 2.5 KB |
scripts/compose_segments.py
View on GitHub#!/usr/bin/env python3
"""Vertically compose confirmed visual-direction segments without cropping."""
from __future__ import annotations
import argparse
import sys
from pathlib import Path
try:
from PIL import Image, ImageColor, ImageOps
except ImportError as exc: # pragma: no cover - environment-dependent
raise SystemExit(
"Pillow is required for compose_segments.py. Install it in the active "
"environment before running this optional preview step."
) from exc
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description="Stack confirmed Segment images into a non-authoritative page preview."
)
parser.add_argument("segments", nargs="+", type=Path, help="Segment images in page order")
parser.add_argument("--output", required=True, type=Path, help="Output PNG path")
parser.add_argument(
"--width",
type=int,
help="Target width. Defaults to the narrowest input to avoid upscaling.",
)
parser.add_argument("--gap", type=int, default=24, help="Separator height in pixels")
parser.add_argument("--background", default="#FFFFFF", help="Gap/background color")
return parser.parse_args()
def main() -> int:
args = parse_args()
if args.gap < 0:
raise SystemExit("--gap must be zero or greater")
missing = [str(path) for path in args.segments if not path.is_file()]
if missing:
raise SystemExit("Missing Segment image(s): " + ", ".join(missing))
images = [ImageOps.exif_transpose(Image.open(path)).convert("RGB") for path in args.segments]
target_width = args.width or min(image.width for image in images)
if target_width <= 0:
raise SystemExit("--width must be greater than zero")
resized = []
for image in images:
height = round(image.height * target_width / image.width)
resized.append(image.resize((target_width, height), Image.Resampling.LANCZOS))
gap_total = args.gap * max(0, len(resized) - 1)
canvas_height = sum(image.height for image in resized) + gap_total
background = ImageColor.getrgb(args.background)
canvas = Image.new("RGB", (target_width, canvas_height), background)
y = 0
for image in resized:
canvas.paste(image, (0, y))
y += image.height + args.gap
args.output.parent.mkdir(parents=True, exist_ok=True)
canvas.save(args.output, format="PNG", optimize=True)
print(f"Composed {len(resized)} segments into {args.output} ({target_width}x{canvas_height})")
return 0
if __name__ == "__main__":
sys.exit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |