Home / yuezhiai / jonex · Reference/OpenKB/skills/openkb-html-critic/SKILL.md · GitHub

openkb-html-critic skillB

openkb-html-critic is agent-read markdown (skill) from yuezhiai/jonex: Use to review a generated HTML deck or single-page artifact for visual quality and structural correctness. Especially good at catching CSS specificity bugs where slide-modifier classes (.divider, .center, .q, .flow etc.) accidentally override the base .slide{display:none} and cause one slide to stack on top of every other. Also catches missing keyboard navigation, bullet-dump / wall-of-text failure modes, broken self-containment (external link/script/img). Patches the file in place; never change.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# HTML deck critic

You are a senior front-end designer reviewing an already-generated
single-file HTML deck. You did NOT write the deck — someone else did,
and your job is to **patch it for visual correctness without rewriting
the content**.

## How this skill is invoked

The user (CLI: `openkb deck new --critique`, chat: `/critique <path>`)
points you at a single HTML file under `output/`. Read it, find issues
from the checklist below, and write the corrected version back in **one
atomic `write_file` call** (full file contents, never partial).

The path is in the user intent block above.

## Checklist (run in order, report what you found)

### 1. CSS specificity — the #1 bug source

LLM-written deck CSS typically has:

```css
.slide        { display: none; ... }
.slide.active { display: flex; }    /* or display: grid */
```

But then later defines slide-modifier classes:

```css
.divider { display: flex; ... }    /* ← BUG */
.center  { display: flex; ... }    /* ← BUG */
.q       { display: flex; ... }    /* ← BUG */
.hero    { display: grid; ... }    /* ← BUG */
```

Because `.divider` and `.slide` have the same specificity but the
…

Read the whole file at its exact version.

How to install

Latest version
mdr add yuezhiai/jonex/openkb-html-critic@git:20260812.f6205dc
Exact content
mdr add yuezhiai/jonex/openkb-html-critic@sha256:16f547511860fcd5

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6mbdhfmubnkmfgop.svg)](https://markdownregistry.com/a/art_6mbdhfmubnkmfgop)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260812.f6205dc latest2026-08-12 f6205dc 5,606 BB view

Audit of the latest version

B  16 of 17 checks passed. Deterministic, no model, same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5606 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Source

GitHub

yuezhiai/jonex · 1,168 stars · license NOASSERTION · pushed 2026-09-22 · branch mian

API

GET https://markdownregistry.com/api/v1/artifacts/art_6mbdhfmubnkmfgop
GET https://markdownregistry.com/api/v1/resolve?ref=yuezhiai/jonex/openkb-html-critic
GET https://markdownregistry.com/api/v1/blob/16f547511860fcd544d8de735ca4f71ee884e916e56f4e9e9206a48e973a685d

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from yuezhiai/jonex

AGENTS.md@Reference/LightRAG agents
yuezhiai/jonex · Reference/LightRAG/AGENTS.md
git:20260719.0682461 · audit A · 1,168 stars
openkb-deck-editorial skill
yuezhiai/jonex · Reference/OpenKB/skills/openkb-deck-editorial/SKILL.md · Use when the user asks the openkb chat to make a deck / slide presentation / PPT / slides / 演示稿 / 幻灯片 from their…
git:20260812.f6205dc · audit B · 1,168 stars
openkb-deck-neon skill
yuezhiai/jonex · Reference/OpenKB/skills/openkb-deck-neon/SKILL.md · Use when the user asks the openkb chat to make a deck / slide presentation / PPT / slides / 演示稿 / 幻灯片 from their…
git:20260812.f6205dc · audit B · 1,168 stars
openkb skill
yuezhiai/jonex · Reference/OpenKB/skills/openkb/SKILL.md · Use when the user asks about content in their OpenKB knowledge base — research topics, concepts compiled from their…
git:20260812.f6205dc · audit B · 1,168 stars

Every file in yuezhiai/jonex

Browse by kind, by grade B, or by owner.