| name | centered-readme |
| description | Format a README's header as a centered hero block (title, optional logo, tagline, badges, language links) matching the style jyje uses across his own repos (ansible, presentation, hermes-agent-helm, ...). Use when creating a new README from scratch, or asked to restyle/center an existing one. |
Centered README header
jyje's own repos (not forks of someone else's project) share a common README
header pattern: everything above the first real section is wrapped in a
centered block; the rest of the document stays normally left-aligned.
Template
<div align="center">
# <owner>/<repo>
<!-- center logo, omit entirely if no single icon represents the project -->
<img width="<150-250>" src="<logo-url>" alt="<Tech>" title="<Tech>"/>
<One-line tagline/description>
[](...)
[](...)
[English](<path>) / [한국어](<path>)
</div>
<intro paragraph, or a "found this useful? ⭐" call-to-action, or nothing —
dive straight into the next heading>
Choosing what to include
- Logo — one relevant tech/brand icon. Two related logos can be combined
with a "+" between them (see hermes-agent-helm's Helm + Hermes Agent combo).
Width 96-250px depending on the logo's aspect ratio. Skip it entirely rather
than inventing a placeholder icon for a project with no obvious single logo.
Prefer a
raw.githubusercontent.com URL (pinned to a branch/path in a repo
you control) over linking to an external domain — a personal site/blog can
go down, get redesigned, or change its asset paths, silently breaking the
image; GitHub's raw content URL doesn't carry that dependency.
- Badges — only ones that are actually true for this repo:
- CI/release workflow status:
https://github.com/<owner>/<repo>/actions/workflows/<file>.yaml/badge.svg
- GitHub stars:
https://img.shields.io/github/stars/<owner>/<repo>?style=social
- License:
https://img.shields.io/badge/License-<name>-yellow.svg (only if a LICENSE file exists)
- Package registries (Artifact Hub, npm, PyPI, ...) via their own badge endpoints
- Language links — only if the repo genuinely ships more than one
language's docs (e.g.
README.md / README-ko.md).
- After the closing
</div> — either dive straight into the next heading
(## Overview / ## Summary, see presentation), or add a one-line
star-ask first (see ansible, hermes-agent-helm).
Steps
- Identify the repo's real name, a 1-2 line tagline, and any logo/badges
that are genuinely applicable — don't add a badge for a workflow or
license that doesn't exist yet.
- Wrap that header in
<div align="center">...</div> per the template.
- Leave the rest of the README's body left-aligned and unchanged — only the
header block is centered.
- Re-render/preview if possible (GitHub markdown preview, or
make docs if
the README is templated) before considering it done.