Static fallback · Evidence in · Reviewable local preview out · Remote locked
English · 简体中文
readme-showcase is a Codex Skill that redesigns a GitHub repository homepage
from repository evidence—not invented product truth. One README Agent scans the
target, retrieves licensed editorial patterns, authors project-native copy and
visuals, checks every public byte, then stops at a fingerprinted local preview.
Important
A passing evaluation authorizes local review only. Commit, push, publication, and pull-request creation always require separate explicit approval.
Four hard gates lead to a local handoff; remote publication stays separately locked.
| Repository supplies | README Showcase produces | You keep control of |
|---|---|---|
| Tracked files, commands, configuration, tests | Evidence map and claim-bound narrative | Which scope is approved |
| Existing identity, UI, diagrams, real output | Project-native static or opt-in motion assets | What enters the README |
| Current base SHA and dirty-tree state | Validated bilingual candidates and local preview | Every Git and remote action |
The README remains useful when images fail: commands, prerequisites, limitations, links, and changing facts stay searchable Markdown.
One atomic installer, two explicit scopes, exact-byte verification.
Requirements: macOS or Linux, Python 3.11+, and Codex. Default operation adds no third-party Python runtime dependency.
# English install check
npx --yes github:Acfufu/readme-showcase skills install
npx --yes github:Acfufu/readme-showcase skills checkInteractive installation detects an existing scope. Automation can choose one explicitly:
# English explicit scopes
npx --yes github:Acfufu/readme-showcase skills install --project --yes
npx --yes github:Acfufu/readme-showcase skills install --user --yesProject scope writes .agents/skills/readme-showcase; user scope writes
${CODEX_HOME:-$HOME/.codex}/skills/readme-showcase. Observable success is
"status":"installed" followed by "status":"current". Use the same scope
with skills update to refresh an existing installation. Legacy no-argument
install and --check invocations remain supported.
Send this exact request to your coding Agent:
Please install this Skill: https://github.com/Acfufu/readme-showcase
The Agent should confirm scope, run the official installer and skills check,
then report the installed path and status.
This repository authors one portable Agent Skills package under skill/; it
does not maintain separate Codex, Claude Code, or OpenCode copies. Format
compatibility does not mean the current Codex-oriented installer supports every
platform path:
| Platform | Current discovery and installer support | Invocation |
|---|---|---|
| Codex | Officially installed and verified in project or user scope | $readme-showcase shape . |
| Claude Code | Recognizes readme-showcase under .claude/skills; audit-only runtime acceptance passed with Claude Code 2.1.222; the current installer does not write that target |
/readme-showcase shape . |
| OpenCode | Recognizes the current project install under .agents/skills; audit-only runtime acceptance passed with OpenCode 1.18.13; the current user install under ~/.codex/skills is not an OpenCode discovery path |
Ask it to use the readme-showcase Skill so its native skill tool loads it |
Runtime acceptance on 2026-08-06 verified that both CLIs loaded the Skill, executed its audit-only route, reported a seeded broken local link, and left the fixture unchanged.
Five user intents over three established execution modes.
Start a new Codex task so Skill discovery reloads:
| Command | Job | Default stop |
|---|---|---|
$readme-showcase shape [target] |
Map evidence, narrative, scope, and visual direction | Approval; no candidate files |
$readme-showcase audit [target] |
Inspect claims, structure, links, locale, and assets | Findings only |
$readme-showcase redesign [target] |
Rebuild an approved README scope | Validated local preview |
$readme-showcase polish [target] |
Refine a narrow area without hiding a redesign | Local diff and checks |
$readme-showcase visualize [target] |
Create a hero, diagram, workflow, or approved motion variant | Validated asset; not embedded |
These commands route into the existing README, asset-only, and
audit-only modes. status, resume, and preview remain operational routes;
none of them grants publication authority.
Patterns shape the story; target evidence remains the only source of truth. Editable ELK SVG
scan → retrieve → plan-import → generation-request → candidate
→ bundle-assemble → validation → evaluation → local preview
- Repository evidence is the only source of public target claims.
- Twenty production
trainpatterns may guide structure; two isolatedtestpatterns never enter production retrieval. - Retrieval exemplars form a separate, non-manifest category:
dataset/retrieval/exemplars/holds 10 curated records (8train, 2test) plus 4 synthetic train-only breakdowns, all provenance-bound and license-screened. They merge at the ranker input and never entermanifest["records"], whose 22 records and"retrieval-only"purpose stay unchanged. - Candidate assets bind to evidence, locale, exact bytes, and useful alt text.
- Failed gates cannot silently become a publishable result.
- Run state stays outside the target under
${CODEX_HOME:-$HOME/.codex}/state/readme-showcase/; no per-run virtual environment or target-adjacent state directory is created.
Each visual route keeps editable evidence-bound sources and fails closed.
| Route | Choose it when | Retained source |
|---|---|---|
none |
Markdown already explains the project | Markdown |
static |
Identity and compact geometry matter | Editable project-owned SVG |
elk |
Architecture, flowchart, or C4 relationships need layout | Semantic JSON + verified SVG |
compiled |
Plan v3 needs independent desktop/mobile projections | Visual Spec + immutable Stage 6 outputs |
animated |
Plan v3 opts in with static_frame: true; a state change or sequence adds understanding |
Animated SVG source + static frame variant + motion JSON + derived GIF |
| motion | A state change or sequence adds understanding | Static SVG + motion JSON + derived GIF |
Deterministic compiled route
Plan v3 opts in with diagram_route: "compiled" without changing the existing
eight-stage, one README Agent order. Outputs stay local-only under
stages/06-bundle-assemble/attempts/<attempt>/compiled/. The deterministic
desktop projection uses a 1,200-wide viewBox checked at 900 px; mobile is
planned independently at no more than 720 wide and checked at 360 px.
The none, static, and elk routes keep their normal behavior. Compiled
output, preview, build-pr-bundle, and delivery dry-run do not push or
publish. See visual-compiler.md.
| Contract | Repository evidence |
|---|---|
| Retrieval boundary | 22 reviewed records: 20 production train, 2 isolated test |
| Locale boundary | 7 allowed locale tags with explicit README and text-asset pairing |
| Runtime boundary | Python 3.11+; exact Node 22.22.3 for optional ELK |
| Diagram boundary | Vendored, hash-verified [email protected]; no runtime download |
| Delivery boundary | Candidate receipt, evaluation report, local preview, fingerprinted PR bundle |
| Installer boundary | Validation, lock, staging, hashes, backup, replacement, rollback |
# English local run
python3.11 skill/scripts/readme_pipeline.py run \
--root . \
--mode readme \
--project-type developer-tool \
--locale en \
--locale zh-Hans
python3.11 skill/scripts/readme_pipeline.py status
python3.11 skill/scripts/readme_pipeline.py resume
python3.11 skill/scripts/readme_pipeline.py previewThe orchestrator waits for an explicit plan and candidate instead of inventing
either. After evaluation passes, build-pr-bundle creates only a fingerprinted
local handoff. Remote checks and writes remain a later approval-bound step.
# English source verification
python3.11 skill/scripts/readme_pipeline.py validate-dataset --manifest dataset/retrieval/manifest.json
python3.11 skill/scripts/readme_pipeline.py screenshot-gate --root .
python3.11 skill/scripts/audit_readme.py README.md
python3.11 skill/scripts/audit_readme.py README_zh.md
python3.11 -m unittest discover -s tests -v
npm pack --dry-runMotion rendering additionally needs Pillow, ffmpeg, and rsvg-convert or
macOS sips. ELK details live in
elk-structure.md.
The screenshot-gate route renders every pipeline-owned SVG asset at 900/360,
runs the hard readability/clipping gates, and writes evidence under
stages/07-validation/attempts/<N>/screenshots/. Its optional tracks degrade
to skip notes when dependencies are absent: the rasterizer is resvg (or
rsvg-convert) on PATH — optional: npm install in skill/vendor/resvg-js/
(pinned @resvg/[email protected], hash-verified at install) enables the bbox
check; absent, the bbox check skips — --browser theme
capture needs node + playwright, and --review uses
VISION_REVIEW_API_KEY / VISION_REVIEW_MODEL / VISION_REVIEW_API_BASE for
the optional vision-LLM aesthetic review.
Motion survives on the live GitHub render pipeline only while both engines
play it. Replay the dual-engine contract (SMIL + CSS @keyframes in Chrome
and Firefox, four frames per 500 ms against the public test repository) with
the matrix verifier; --dry-run checks dependencies without launching a
browser, and full capture needs Pillow, numpy, node, Chrome, Firefox, and
geckodriver:
python3.11 skill/scripts/verify_animation_matrix.py --dry-run
python3.11 skill/scripts/verify_animation_matrix.py --jsonReport hard-gate failures, rule suggestions, or override decisions as GitHub
issues: https://github.com/Acfufu/readme-showcase/issues. Every evaluation
failure and identity override is also recorded locally as a candidate entry in
lessons-pending.json beside the evaluation report; human-confirmed lessons
migrate into skill/references/lessons.md.
skill/
├── SKILL.md # modes, commands, evidence and approval gates
├── references/ # narrative, visual, motion, compiler and ELK contracts
├── scripts/ # scan, orchestration, audit and renderers
└── vendor/elkjs/ # pinned bundle and EPL-2.0 license
dataset/retrieval/manifest.json
scripts/install_skill.py # atomic project/user installer
assets/readme/ # editable bilingual visual sources + derived GIFs
tests/ # contracts, hard gates and failure paths
Released under GNU General Public License v3.0. Visual and motion
guidance adapts MIT-licensed
oil-oil/beautify-github-readme;
notice: motion-production.md.
Vendored [email protected] remains under EPL-2.0; its unmodified
license ships with the Skill.





