---
title: "Kit check code-fences | Agent Ready Checklist"
description: "Kit check code-fences: Fenced, language-tagged code. The command that runs it, the evidence it prints and what it cannot prove. It maps to AR-READ-05."
canonical: https://agentreadychecklist.com/kit/code-fences
site: "Agent Ready Checklist"
last_updated: 2026-11-05
section: "Kit"
---

# Kit check code-fences | Agent Ready Checklist

> Kit check code-fences: Fenced, language-tagged code. The command that runs it, the evidence it prints and what it cannot prove. It maps to AR-READ-05.

Source: https://agentreadychecklist.com/kit/code-fences
Site: Agent Ready Checklist
Last reviewed: 2026-11-05
Agent endpoints: https://agentreadychecklist.com/llms.txt (index), https://agentreadychecklist.com/openapi.json (API), https://agentreadychecklist.com/mcp (MCP server), https://agentreadychecklist.com/ask (search)
Access: https://agentreadychecklist.com/auth.md (no key). Pricing: https://agentreadychecklist.com/pricing.md (free).

# Kit check: Fenced, language-tagged code

The code-fences check of the Verify Kit: Counts <pre><code> blocks and how many carry a language-\* class or data-language attribute; FAIL if any block has none. The code-fences check tests this: Fenced, language-tagged code. It maps to AR-READ-05. Run it alone with --only=code-fences. On the pass fixture it reports: 1 of 1 code blocks carry a language.

## Run it

```bash
curl -fsSL https://agentreadychecklist.com/kit/verify.sh | bash -s -- https://example.com --only=code-fences
```

```bash
node verify.mjs https://example.com --only=code-fences
```

## What it tests

Counts <pre><code> blocks and how many carry a language-\* class or data-language attribute; FAIL if any block has none.

## What it cannot prove

Does not run the code or check that the tag is the right language.

## Requirements it maps to

-   [AR-READ-05](https://agentreadychecklist.com/checklist/ar-read-05/)Fenced, language-tagged code

## Evidence on the fixtures

The pass fixture

PASS 1 of 1 code blocks carry a language

The js-only fixture

SKIP no <pre><code> blocks on this page

The 403 fixture

SKIP no <pre><code> blocks on this page

## The one-line sketch

The shipped script is more careful than this sketch, which shows the idea in one line of shell.

```bash
curl -s "$URL" > p.html; total=$(grep -o "<pre[^>]*><code[^>]*>" p.html | wc -l); tagged=$(grep -oE "<code[^>]*(language-|data-language)" p.html | wc -l); echo "$tagged/$total"
```

## Sources

-   [github.com/agentready-org/standard/blob/main/spec/spec.md](https://github.com/agentready-org/standard/blob/main/spec/spec.md)read 2026-11-04

Last reviewed 2026-11-05. AgentReady v2.0, read 2026-11-04.
