Skip to content

Component Test Page

Visual QA for all content components. Check each section in both light and dark themes.


CodeBlock

With title + line numbers

shiki-example.ts
import { createHighlighter } from "shiki";

const highlighter = await createHighlighter({
  themes: ["github-light", "github-dark"],
  langs: ["typescript"],
});

const html = highlighter.codeToHtml(code, {
  lang: "typescript",
  themes: { light: "github-light", dark: "github-dark" },
  defaultColor: false,
});

Minimal (no title, no line numbers)

{ "name": "blog", "version": "1.0.0" }

Not collapsible

simple.sh
echo "hello world"

CLISnippet

Checking what loaded
claude --hooks-debug
[InstructionsLoaded] session_start: CLAUDE.md (user)
[InstructionsLoaded] session_start: .claude/rules/cf-wrangler.md (skipped, no glob match)
[InstructionsLoaded] path_glob_match: .claude/rules/cf-wrangler.md (activated)
echo "done"
done

Custom prompt

PowerShell
Get-Process | Select-Object -First 3
Handles NPM(K) PM(K) WS(K) CPU(s) Id ProcessName
------- ------ ----- ----- ------ -- -----------
172 12 2340 8420 0.05 1234 svchost

DirTree

Icons variant (default)

Plugin bundle structure
📁my-plugin/
📁.claude-plugin/
📄plugin.json
📁skills/
📁brainstorm/
📄SKILL.md
📁review/
📄SKILL.md
📁.claude/
📁rules/
📄frontmatter.md
📁hooks/
📄hooks.json
📄.mcp.json

Simple variant

Source structure
src/
components/
CodeBlock.astro
CLISnippet.astro
utils/
people.ts
shiki.ts

Tweet

Andrej Karpathy
@karpathy
The hottest new programming language is English. Context engineering is the subtle art of shaping the input to an LLM so it actually does what you want.
Jun 22, 2025

PersonPopup

As Andrej KarpathyAndrej KarpathyAI ResearcherIndependent (prev. Tesla, OpenAI)TwitterWebsiteLinkedIn noted in his tweet, and Simon WillisonSimon WillisonCreator of DatasetteIndependentTwitterWebsiteLinkedIn later connected, context engineering is becoming a distinct discipline. Philipp SchmidPhilipp SchmidAI Developer AdvocateGoogle DeepMindTwitterWebsiteLinkedIn published a 7-component framework.

Unknown person test: Unknown Person (should render as plain text).


TimelineCards

Jun 22, 2025 — Q3 2025
Jun 22, 2025
Tobi Lütke tweets CE definition
Jun 25, 2025
Karpathy amplifies
Jun 27, 2025
Willison connects both
Jul 2, 2025
LangChain 4-strategy framework
Q3 2025
Gartner endorsement

Non-collapsible

Jun 22, 2025
Lütke tweet
Coined 'context engineering'
Jun 25, 2025
Karpathy amplifies
Context window is RAM
Jun 27, 2025
Willison connects both

TimelineProcess

1
Build-time
Install plugins, register MCP
2
Session Start
Load rules, memory, skills
3
On-demand
Invoke skills, call tools
4
Event-triggered
Hooks, compaction

OGCard

(Fetches OG data at build time — requires network during build)

Getting started
Guides, resources, and API references to help you build with Astro — the web framework for content-driven websites.
Docs

HierarchySimple

The scope hierarchy: who overrides whom
Managed Policycannot be excluded
/Library/Application Support/ClaudeCode/
CLAUDE.md
Project
./CLAUDE.md.claude/rules/*.md.claude/settings.json
User
~/.claude/CLAUDE.md~/.claude/rules/*.md
Local
gitignored overrides
.claude/settings.local.json

Collapsible

The scope hierarchy: who overrides whom
Managed Policycannot be excluded
/Library/Application Support/ClaudeCode/
CLAUDE.md
Project
./CLAUDE.md.claude/rules/*.md.claude/settings.json
User
~/.claude/CLAUDE.md~/.claude/rules/*.md
Local
gitignored overrides
.claude/settings.local.json