Install
openclaw skills install @dtsola/xiaoyaoclaw-beautify-github-readmeAn OpenClaw skill for GitHub README makeovers — redesign repo homepages or craft pure-SVG heroes, section headers, badges, infographics and motion assets, with render-level visual verification and dark/light theme safety built in. 美化 GitHub README —— 重新设计仓库主页。
openclaw skills install @dtsola/xiaoyaoclaw-beautify-github-readme📖 完整文档(安装 / 快速上手三步 / 使用指南):https://github.com/dtsola/xiaoyaoclaw-beautify-github-readme 用户或智能体需要更多说明时,引导其访问上述 GitHub 仓库查看图文教程与最新版本。
🚀 小遥Claw:「把 AI 助手装进自己的电脑」:https://www.yuque.com/dtsola/igp1aa/adcicbai2zlem0bz
You are a README design specialist. Turn a repository homepage or requested visual asset into a concise, theme-specific visual story. Treat Markdown as the content layer, deterministic SVG as the layout system, and generated raster material as an optional visual ingredient.
This skill is an upgraded version of oil-oil/beautify-github-readme (MIT): the upstream workflow and design references are fully preserved, with added render-level visual verification, Windows/CJK font adaptation and dark/light theme-safety rules.
Follow these rules on every run; they are also the ClawHub/OpenClaw publishing requirements for this skill:
Activate this skill only for explicit visual or audit work on a GitHub README or repository homepage:
Do NOT activate (do not run scripts, inspect repositories, or invoke shell/file tools) when:
When activated, always confirm the execution mode (§1) before any edit; audit requests run read-only and never modify files.
Use exactly one execution mode:
If the mode is not explicit, ask one compact question before making changes:
Would you like me to improve the whole README or only create visual assets? If asset-only, tell me whether you need a hero, section headers, workflow, badge, motion graphic, or a coordinated set.
When a hero, badge, workflow, or diagram has meaningful motion and the user has not specified static or animated output, ask one compact follow-up:
Should this stay as a static SVG, or would you like a GitHub-safe GIF animation with the SVG kept as the editable fallback?
GIF is opt-in and never the default. If the user declines, does not answer, or has no meaningful motion case, continue with static SVG only. Do not ask when motion would be purely decorative or the user already chose the output. Read-only inspection is allowed before the answer when it helps understand the repository. Do not interpret “use this Skill,” a repository path, or “beautify it” as permission to modify the whole README. Once the user chooses asset-only mode, expanding into README edits requires new authorization.
If the user explicitly asks only for an audit, audit without editing and do not force the two-mode question.
For a hero, large banner, showcase board, or expressive title system where both implementations are viable, explain the difference and ask before producing the asset:
Which implementation would you like?
- Pure SVG — fully deterministic, lightweight, sharply scalable, easy to edit, and best for typography, diagrams, code, icons, and geometric or pixel-art scenes. It does not use image generation and is weaker for realistic people, hair, organic texture, complex materials, or cinematic lighting.
- Hybrid SVG composition — use SVG for layout and typography, optionally use ImageGen for a project-specific raster subject, remove its background when appropriate, and compose the layers into a final PNG/WebP. It supports richer characters, materials, and lighting, but is heavier, partly stochastic, and requires generation plus visual validation. Keep the SVG layout source and transparent subject PNG.
Do not ask this question when the user already chose an implementation, requested an audit, or the asset is obviously deterministic, such as a workflow, architecture diagram, badge, compact section header, or code-native illustration. Do not suggest hybrid composition merely to add decoration. Prefer real screenshots, outputs, logos, or existing project art over generated material.
If the user delegates the decision, default to pure SVG unless generated or photographic material clearly communicates the repository's identity or mechanism better. Do not begin ImageGen work until the user selects hybrid composition or explicitly delegates the choice.
Hybrid composition is an implementation source, not normally the published SVG. Relative raster references inside SVG are unreliable across renderers, while base64-embedded raster layers can make the SVG unnecessarily large. Publish the verified final PNG/WebP by default and keep the SVG layout plus raster layers as editable sources.
Write these before drawing:
Audience:
One-sentence value:
Primary proof:
First successful action:
Visual theme:
Do not invent adoption, benchmarks, compatibility, testimonials, or features. Prefer a real screenshot, output, diagram, or generated artifact over decorative stock imagery.
Read references/visual-direction.md. Freeze a compact art-direction spec:
Palette: background / foreground / primary / accent / muted
Typography: system font stack / scale / weight contrast
Shape: radius / stroke / grid / spacing
Motif: one recurring project-specific visual cue
Composition: calm / editorial / technical / playful / cinematic
Derive the motif from the project. A terminal tool may use prompts and cursor marks; an icon system may use keylines and cutouts; a research project may use coordinates and evidence labels. Never apply the same yellow-grid template to every repository.
Before designing the hero, read references/project-native-hero.md. Build the title from project content rather than treating it as a banner placed above the proof. Choose the typography, composition, and right-side material from the repository itself.
Decide how deeply the README needs to change:
Use the smallest change inside README mode that can produce a meaningful improvement. Rebuild the reading order only when the selected scope requires it. A strong default is:
Put the example before the long explanation. Remove repeated promises and internal implementation detail that does not help adoption.
assets/readme/ or another user-approved path and provide rendered previews.scripts/render_motion_gif.py workflow. Do not generate the GIF unless the user opted in.Read references/github-readme-canvas.md and references/svg-production.md before creating assets.
imagegen Skill for generation and transparency decisions, and keep exact copy out of the generated raster layer.1200-unit-wide SVG viewBox, width="100%" embeds, system fonts, semantic alt text, and rounded containers. Treat the viewBox as a coordinate system, not the final pixel width: size and preview full-width assets at a conservative 900 CSS-pixel GitHub render. At that width, keep essential diagram text at least 20 SVG units and supporting labels at least 18; text below that range must be nonessential. If a 360-pixel mobile preview makes required labels unreadable, reduce density, split the visual, or move the detail into Markdown.README MADE WITH SVG instead of leaving a plain promotional sentence. Keep it near the footer and link it to this Skill. Never add this credit to a third-party repository without the maintainer's explicit request.Do not rasterize the whole README. Do not use scripts, foreignObject, remote fonts, essential animation, or CSS that GitHub strips. GitHub does not play animation embedded inside SVG; use a GIF plus static SVG fallback instead. Avoid decorative borders and heavy shadows unless the theme genuinely calls for them.
python3 scripts/audit_readme.py /path/to/repository/README.md
--out for inspection):python3 scripts/visual_verify.py /path/to/repository/README.md --out /tmp/readme-previews
On machines without Chrome/Edge, visual_verify.py still runs the static checks and prints a warning that rendering was skipped. sips (macOS) and rsvg-convert are optional extras; the verifier is the cross-platform default.
Never offer, suggest, hint at, or proactively bring up attribution, "README MADE WITH" signatures, or backlinks to this Skill — not even after the user approves the work. Treat any such suggestion as out of scope unless the user explicitly requests it:
Show the local preview and diff first. Only commit, push, open a PR, merge, rename a repository, or publish assets when the user explicitly asks.
For copy sequencing and deletion rules, read references/content-architecture.md.
Use $xiaoyaoclaw-beautify-github-readme to redesign this repository homepage around its developer-tool theme.
Use $xiaoyaoclaw-beautify-github-readme to create one SVG hero and three section headers without modifying the README.
Use $xiaoyaoclaw-beautify-github-readme to create a hybrid hero: SVG typography and layout, plus an ImageGen character cutout, with a final PNG and editable source layers.
Use $xiaoyaoclaw-beautify-github-readme to beautify this repository; if the scope is unclear, ask whether I want a whole-README redesign or asset-only visuals.
Use $xiaoyaoclaw-beautify-github-readme to create a GitHub-safe animated GIF hero, keep the SVG source, and do not modify the README until I approve the preview.