Generate github cover
Skill ascendho/Generate-Project-Visuals/plugins/generate-github-cover/skills/generate-github-cover
Analyze a GitHub repository and generate PNG-only Logo Mark, Logo Lockup, README Cover, 1280x640 Social Preview, and 16:9 Promo assets. Generate English artwork by default and additional or alternative locales only when explicitly requested or already configured. Use for requests to create, refresh, localize, or standardize project logos, repository banners, Open Graph images, social cards, Covers, or shareable project artwork from repository evidence.From its SKILL.md
npx -y skills add ascendho/Generate-Project-Visuals --skill generate-github-coverAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.4 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
Generate Project Visuals
Create repository artwork from evidence in the repository. Use the bundled renderers for deterministic temporary SVG layout and final PNG output. Do not call an image model in the default workflow.
Resolve <skill-dir> to the directory containing this file. The Skill may be
installed through a Plugin, copied into a user Skill directory, or checked out
in a source repository; never assume it is inside the target repository.
Resolve <python> to an available Python 3.10+ interpreter, normally python3
on Unix-like systems or python on Windows, and use that executable for every
command below. Verify the candidate with <python> --version; if an unversioned
command is too old, check for a versioned executable such as python3.11. If no
compatible interpreter exists, stop and report the requirement.
Analyze the Repository
- Find the repository root, inspect
git status, and preserve unrelated work. - Read every applicable
AGENTS.md, primary and translated READMEs, package metadata, entry points, relevant documentation and configuration, existing visuals, and the Git remote. - Record the exact project name, audience, workflow, differentiator, visual direction, and repository-relative files actually used. Exclude secrets, caches, generated outputs, unrelated files, and unsupported claims.
- Normalize the project URL to an HTTPS GitHub repository URL. Ask rather than inventing it when no valid remote is available.
Check the Runtime
After repository analysis succeeds and before creating concepts or rendering files, run:
<python> <skill-dir>/scripts/check_runtime.py
Continue only when the command reports "ok": true. If it fails, show the
reported remediation commands and ask before installing packages or Chromium.
Never install dependencies without the user's approval.
Select Styles
Use clean-editorial for cover_style and clean-geometric for logo_style
unless the user requests another installed style. Read the selected references:
styles/cover/<cover-style>/reference.mdstyles/logo/<logo-style>/reference.md
Read references/style-authoring.md only when adding or changing a reusable style package.
Create the Logo
-
Derive three distinct, project-specific visual metaphors from the repository.
-
Author exactly three temporary
512x512Mark SVG inputs namedconcept-a.svg,concept-b.svg, andconcept-c.svgunder/tmp. Follow the selected Logo style reference; never place concepts in the repository. -
Generate and inspect the PNG contact sheet:
<python> <skill-dir>/scripts/render_logo.py preview \ --style clean-geometric \ --project-name "Example Project" \ --slug example-project \ --input-dir /tmp/example-project-logo-concepts \ --output-dir /tmp/example-project-logo-preview -
Present all three concepts and stop. Do not select one without user approval.
-
After approval, render and validate the selected concept:
<python> <skill-dir>/scripts/render_logo.py render \ --style clean-geometric \ --project-name "Example Project" \ --slug example-project \ --mark /tmp/example-project-logo-concepts/concept-a.svg \ --output-dir assets <python> <skill-dir>/scripts/render_logo.py validate \ --style clean-geometric --slug example-project --output-dir assets
Do not adopt a Logo in other artwork until the user confirms it. Public Logo
outputs are only transparent <slug>-logo-mark.png at 1024x1024 and
<slug>-logo-lockup.png at 3200x800.
Create Localized Artwork
Write assets/<slug>-cover.json with schema_version: 4, explicit
cover_style and logo_style, the approved Lockup PNG path, and all copy under
locales. Use source_files only as provenance for files actually read.
For a new specification with no requested languages, create only a complete
en entry with language: en and default_locale: en. Treat locales already
present in an existing specification as explicitly configured and preserve
them. When the user names a language set, generate exactly that set unless the
user asks to add, retain, or include languages. Use en as default_locale
when present; otherwise use the first language the user names. Translated
documentation alone does not authorize extra locales.
Each locale needs one concise positioning headline and exactly two supporting
lines for Cover and Promo. Optional social_preview copy falls back to Cover.
Keep Simplified Chinese headlines free of terminal punctuation unless requested.
Render to /tmp first, inspect every PNG at full and thumbnail sizes, then
render approved assets into assets/ and validate:
<python> <skill-dir>/scripts/render_cover.py render \
assets/<slug>-cover.json --output-dir /tmp/<slug>-preview
<python> <skill-dir>/scripts/render_cover.py render \
assets/<slug>-cover.json --output-dir assets --force
<python> <skill-dir>/scripts/render_cover.py validate \
assets/<slug>-cover.json --output-dir assets
Use --force only for an explicitly requested update. The default locale uses
unsuffixed filenames; other locales use -<locale>. Each locale produces only:
<slug>-cover[-<locale>].pngat4000x800;<slug>-social-preview[-<locale>].pngat1280x640;<slug>-promo[-<locale>].pngat3840x2160.
By default, generate assets only. Do not edit README files, GitHub settings, commits, tags, or remotes unless the user explicitly requests those actions.
Failure Handling
- Stop after a failed runtime preflight and report its actionable remediation.
- Reject schema v3, non-PNG Lockups, incomplete locales, unsafe paths, unexpected overwrites, invalid PNG transparency, and unsupported styles.
- Shorten copy that cannot fit at the style's minimum type sizes.
- Ask for positioning when repository evidence is insufficient.
- Revise Logo concepts that resemble known brands or fail at small sizes.
What ships with it: 16 files
113.9 KB alongside SKILL.md, 4 of them executable
agents/
- openai.yaml327 B
references/
- style-authoring.md1.1 KB
scripts/
- check_runtime.pyruns3.2 KB
- render_cover.pyruns59.3 KB
- render_logo.pyruns30.8 KB
- style_registry.pyruns3.3 KB
styles/
- cover/clean-editorial/reference.md938 B
- cover/clean-editorial/style.json2.2 KB
- cover/clean-editorial/templates/cover.svg2.5 KB
- cover/clean-editorial/templates/promo.svg4.4 KB
- cover/clean-editorial/templates/social.svg3.0 KB
- logo/clean-geometric/reference.md920 B
- logo/clean-geometric/style.json691 B
- logo/pixel-sharp/reference.md495 B
- logo/pixel-sharp/style.json696 B
- requirements.txt32 B