Best for
- Use when the user provides text or core information and wants: (1) a complete responsive HTML info card, (2) the design to follow the stored editorial prompt, (3) output in fixed visual ratios such as 3:4, 4:3, 1:1, 16:…
ForceInjection/awesome-skills/skills/editorial-card-designer/SKILL.md
Design high-density editorial HTML info cards in a modern magazine and Swiss-international style, then render them as ratio-specific PNG screenshots. Use when the user provides text or core information and wants: (1) a complete responsive HTML info card, (2) the design to follow the stored editorial prompt, (3) output in fixed visual ratios such as 3:4, 4:3, 1:1, 16:9, 9:16, 2.35:1, 3:1, or 5:2, or (4) both HTML and a rendered PNG cover/card from the same content.
Decision brief
Design high-density editorial HTML info cards in a modern magazine and Swiss-international style, then render them as ratio-specific PNG screenshots. 35:1, 3:1, or 5:2, or (4) both HTML and a rendered PNG cover/card from the same content.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/ForceInjection/awesome-skills --skill "skills/editorial-card-designer"Inspect the Agent Skill "editorial-card-designer" from https://github.com/ForceInjection/awesome-skills/blob/b3409dc9b02d95bf93b9c4081a31b841960f0973/skills/editorial-card-designer/SKILL.md at commit b3409dc9b02d95bf93b9c4081a31b841960f0973. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Read references/content-fit.md. Inventory semantic units, estimate density, and choose layout strategy from both density and ratio:
Read references/content-fit.md. Inventory semantic units, estimate density, and choose layout strategy from both density and ratio:
Load references/editorial-card-prompt.md as the canonical source for the full typographic scale, spacing rhythm, decoration rules, and Chinese-facing prompt language. That file is authoritative; the bullets below are only the invariants the model must honor even if the reference…
Pick ratio-specific structure before writing final copy. See references/recommended-skeletons.md for detailed reusable patterns per ratio.
When HTML will be screenshotted, design the page as a fixed-size canvas instead of a responsive webpage:
Permission review
The documentation asks the agent to create, modify, or delete local files.
Save the generated HTML to a local file.Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 94/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 82 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Turn source text into a compact, high-contrast HTML information card that follows the user's editorial prompt, then render a screenshot in one of the supported aspect ratios. The goal is not just density but editorial quality: clear hierarchy, strong visual anchors, and screenshot-stable rendering without accidental cropping or dead space.
Always preserve three output stages unless the user explicitly asks to skip one:
Read references/content-fit.md. Inventory semantic units, estimate density, and choose layout strategy from both density and ratio:
Before compressing content, first change the layout skeleton.
Load references/editorial-card-prompt.md as the canonical source for the full typographic scale, spacing rhythm, decoration rules, and Chinese-facing prompt language. That file is authoritative; the bullets below are only the invariants the model must honor even if the reference is skipped.
Core invariants (do not override unless the user explicitly asks):
Noto Serif SC, Noto Sans SC, Oswald, Inter) and always declare local fallback font stacks so headless rendering stays stable when remote fonts fail.18px–20px; meta/tag text never drops below 13px.#ffffff) or near-white background with EMC Blue (#0083cb) as the primary accent, unless the user supplies another palette.Hybrid style mode; only switch to Bold or Refined when the user asks.For the full typographic scale (super-title 72–112px, large title 48–64px, etc.), spacing envelope, decoration palette, and per-ratio composition rules, defer to references/editorial-card-prompt.md instead of restating them here.
Pick ratio-specific structure before writing final copy. See references/recommended-skeletons.md for detailed reusable patterns per ratio.
Key heuristics:
4:3 — asymmetric left-right; heavy primary + narrower judgment stack + thin footer.3:4 — cover-style hero + mixed-scale modules; avoid a single narrow column.1:1 — one heavy quadrant + supporting blocks; avoid four equal tiles.16:9 — horizontal hero plus one structured support area; comfortable capacity is roughly two to five primary-point equivalents.9:16 — staged vertical reading path with a compact hero, one dominant middle module, and grouped lower supports; avoid repeating same-height modules down the full canvas.3:1, 5:2, 2.35:1) — fewer, larger blocks; aggressive paragraph reduction.When HTML will be screenshotted, design the page as a fixed-size canvas instead of a responsive webpage:
Match the exact pixel dimensions of the selected ratio preset from references/ratios.md.
Treat the card as a design board with explicit width and height, not as a fluid 100vw / 100vh layout.
Remove browser-default margins with html, body { margin: 0; }.
Make the card itself fill the screenshot viewport exactly.
Avoid interactions, sticky headers, or long scrolling sections.
Use fixed pixel wrappers, for example:
.frame {
width: 2000px;
height: 1500px;
}
.card {
width: 100%;
height: 100%;
padding: 48px;
background: #ffffff;
}
Do not rely on 100vw, 100vh, or responsive container widths as the primary design size for screenshot output.
If the user asks only for HTML, still make the layout screenshot-ready.
At the same time, preserve basic browser preview behavior:
html, body, and the outer frame should match the target canvas size exactly.Use these structural heuristics when composing the card:
4:3 landscape, asymmetric left-right layouts often work best for dense analytical content.3:4 portrait, use portrait-friendly mixed grids rather than a single narrow column.1fr rows or columns in ways that can create large accidental voids near the footer or push important content to the canvas edge.Use the bundled shell script when the user wants a PNG output:
./scripts/capture_card.sh input.html output.png 3:4
Supported ratios and render sizes live in references/ratios.md.
The rendering helper requires a local Chrome or Chromium binary.
It first respects CHROME_BIN when set, then falls back to common binary names and a macOS Chrome app path.
Before running the script:
After running the script:
If the screenshot has bottom whitespace, improve the layout first. Only consider a slight aspect-ratio deviation as a last resort, and only when the user explicitly accepts it.
Accept only these ratio presets:
3:44:31:116:99:162.35:13:15:2If the user gives a ratio outside this set, ask them to map it to the nearest supported preset rather than inventing a new one.
When responding to a card-generation request:
frame/canvas width and height in the HTML literally match the pixel preset for the chosen ratio in references/ratios.md before invoking the capture script. If they do not match, fix the HTML first — do not run the screenshot.references/ratios.mdOpen this when you need the exact preset names or capture dimensions.
references/editorial-card-prompt.mdUse this as the canonical prompt spec when the user wants the latest validated editorial-card behavior.
references/recommended-skeletons.mdUse this when you want ratio-specific reusable skeletons rather than one-off composition ideas.
references/content-fit.mdOpen this before choosing a skeleton and again after rendering. It defines semantic-unit density, ratio capacity, space allocation, and rejection checks for empty or crowded cards.
scripts/capture_card.shRun this to capture a PNG from a local HTML file using a supported ratio preset.
It requires a local Chrome or Chromium binary. The script resolves the binary in this order: CHROME_BIN env var → google-chrome / google-chrome-stable / chromium / chromium-browser / chrome on PATH → macOS Google Chrome / Chromium app paths. Set CHROME_BIN to override this auto-detection.
scripts/trim_card_bottom.shOptional post-process. Trims bottom whitespace from a PNG by detecting the background color.
Requires Python 3 and Pillow (pip install Pillow).
Only use this when the user explicitly accepts a shorter image in exchange for removing bottom whitespace.
assets/card-template.htmlUse this as a starting shell when you want a minimal ratio-ready HTML canvas before filling in real content. The template syncs its canvas size to the active viewport during capture, while still falling back to readable normal flow on narrower browser widths.
Before finalizing HTML or PNG, explicitly reject the result if any of these happen:
Frequently asked questions
Design high-density editorial HTML info cards in a modern magazine and Swiss-international style, then render them as ratio-specific PNG screenshots. 35:1, 3:1, or 5:2, or (4) both HTML and a rendered PNG cover/card from the same content.
The source record exposes this install command: npx skills add https://github.com/ForceInjection/awesome-skills --skill "skills/editorial-card-designer". Inspect the command and pinned source before running it.
Static rules flagged write-files in the source; the page lists the matching lines and excerpts.
Alternatives
prowler-cloud/prowler
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance
brucesongs/kali-claw
Insecure Design (OWASP A06:2025) focuses on security flaws in system architecture and design phases, rather than code implementation-level bugs.
NintendaDev/unikit-ai
Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th
Aperivue/medsci-skills
Generate publication-ready figures and visual abstracts for medical research papers. Supports ROC curves, forest plots, CONSORT/STARD/PRISMA flow diagrams, calibration plots, Kaplan-Meier curves, Bland-Altman plots, confusion matrices, pipeline diagrams, and journal-specific visual/graphical abstracts (python-pptx template-based).