/claude-docs:claude-docs-changelogfrom claude-docs
Generates a self-contained HTML changelog report of recent documentation changes from git history, with interactive course generation buttons.
Ships in claude-docs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub costiash/claude-code-docs --plugin claude-docsGenerate a self-contained HTML report showing recent documentation changes. The report groups changes by category, summarizes what's new or updated, and includes a "Create Course" button on each card so the user can instantly generate an interactive course for any topic that caught their eye.
/docs --report, /docs changelog, or /docs --report <timeframe>Find what changed, from the manifest's git history:
~/.claude-code-docs/plugin/scripts/manifest-diff.sh --since <timeframe> --json
Default timeframe: Last 7 days. The user can specify a different window:
/docs --report → --since 7d/docs --report 24h → --since 24h/docs --report 30d → --since 30d/docs --report 2026-03-20 → --since 2026-03-20Parse the JSON — three arrays, each element a full page entry:
added = new pageschanged = content changed (keyed off sha256 deltas, so it catches every real update)removed = pages dropped from the manifestEach entry already carries .category, .title, .url, .filename — no filename-pattern
categorization needed. Map category to a label via manifest-reference.md.
If all three arrays are empty, tell the user and suggest a wider window.
Limit scope: If there are more than 30 changed pages total, focus on the most recent/notable 30 and note how many were omitted.
For each changed page (or the most significant ones if there are many):
~/.claude-code-docs/cache/<filename>; if missing, fetch it first with
~/.claude-code-docs/plugin/scripts/fetch-docs.sh get "<filename>".git diff — describe the page's
current content and why it matters (it appeared in added/changed for this window).For added entries: Read the full page and summarize what it covers.
For changed entries: The sha256 delta says the content changed but not where — read the current page and highlight the sections most likely to be new or updated.
For removed entries: The page is gone from the manifest (no content to read) — note what was removed with a one-line description built from its title and category.
Group related changes (e.g., if 6 SDK language docs were all updated the same way, combine them into one card).
Generate a single self-contained HTML file using the Obsidian & Amber design system. Save to:
mkdir -p ~/.claude-code-docs/courses
Name the file: ~/.claude-code-docs/courses/changelog-<date>.html (e.g., changelog-2026-03-28.html)
HTML structure:
├── Header (title, date range, sync status badge)
├── Stats bar (count per category with colored numbers)
├── Key Highlights box (3-6 most notable changes)
├── Section per category
│ ├── Section heading (icon, label, count)
│ └── Cards per changed doc
│ ├── Title + tag (New/Updated/Removed)
│ ├── Summary paragraph
│ ├── Bullet list of key changes
│ ├── Source link → official docs URL
│ └── "Create Course" button
└── Footer (generated from, doc count, date)
Design rules (Obsidian & Amber):
Use these exact CSS variables from the course design system:
:root {
--bg: #0D0D16;
--surface: #161624;
--surface-hover: #1C1A28;
--border: #2A2840;
--text: #E8E0D4;
--text-muted: #5C5852;
--accent: #F0A050;
--accent-dim: rgba(240, 160, 80, 0.08);
--blue: #60A0E0;
--blue-dim: rgba(96, 160, 224, 0.08);
--green: #50C8A0;
--green-dim: rgba(80, 200, 160, 0.08);
--purple: #C080E0;
--purple-dim: rgba(192, 128, 224, 0.08);
--red: #F06060;
--red-dim: rgba(240, 96, 96, 0.06);
--radius: 10px;
}
Typography: Use the same fonts as the course skill:
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
Instrument Serif for h1/h2 headingsOutfit for body textJetBrains Mono for code and badgesInclude the grain overlay (same as course design system):
body::after {
content: '';
position: fixed; top: 0; left: 0;
width: 100%; height: 100%;
pointer-events: none; z-index: 9999; opacity: 0.035;
background-image: url("data:image/svg+xml,..."); /* same noise SVG */
}
Card styling:
--surface with --border border--accent muted, subtle glowinset 0 1px 0 rgba(255,255,255,0.04)Tags:
New → green badge (--green-dim bg, --green text)Updated → blue badge (--blue-dim bg, --blue text)Removed → red badge (--red-dim bg, --red text)Beta → purple badge (--purple-dim bg, --purple text)Category icons:
>_ (terminal prompt){} (code braces)⟡ (diamond)◈ (nested diamond)✎ (pen)● (dot)Each card gets a button in its footer area that lets the user generate a course for that topic.
Button behavior (JavaScript):
/docs --course <topic> to the clipboardButton HTML pattern:
<button class="course-btn" data-topic="hooks" onclick="copyCourseCmd(this)">
<span class="course-btn-icon">▶</span>
Create Course
</button>
Button CSS:
.course-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: 999px;
border: 1px solid var(--accent);
background: var(--accent-dim);
color: var(--accent);
font-family: 'Outfit', sans-serif;
font-size: 0.78rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.course-btn:hover {
background: var(--accent);
color: var(--bg);
box-shadow: 0 0 20px rgba(240, 160, 80, 0.25);
}
.course-btn-icon {
font-size: 0.65rem;
}
Toast notification:
.toast {
position: fixed;
bottom: 2rem;
left: 50%;
transform: translateX(-50%) translateY(20px);
background: var(--surface);
border: 1px solid var(--accent);
color: var(--accent);
padding: 0.75rem 1.5rem;
border-radius: var(--radius);
font-family: 'Outfit', sans-serif;
font-size: 0.88rem;
font-weight: 500;
box-shadow: 0 8px 32px rgba(0,0,8,0.5), 0 0 20px rgba(240,160,80,0.15);
opacity: 0;
transition: opacity 0.3s, transform 0.3s;
z-index: 10000;
}
.toast.show {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
JavaScript:
function copyCourseCmd(btn) {
const topic = btn.dataset.topic;
const cmd = '/docs --course ' + topic;
navigator.clipboard.writeText(cmd).then(() => {
showToast('Copied! Paste in Claude Code: ' + cmd);
}).catch(() => {
// Fallback for older browsers
const ta = document.createElement('textarea');
ta.value = cmd; document.body.appendChild(ta);
ta.select(); document.execCommand('copy');
document.body.removeChild(ta);
showToast('Copied! Paste in Claude Code: ' + cmd);
});
}
function showToast(msg) {
let toast = document.getElementById('toast');
if (!toast) {
toast = document.createElement('div');
toast.id = 'toast';
toast.className = 'toast';
document.body.appendChild(toast);
}
toast.textContent = msg;
toast.classList.add('show');
clearTimeout(toast._timeout);
toast._timeout = setTimeout(() => toast.classList.remove('show'), 3000);
}
After generating the HTML:
~/.claude-code-docs/courses/changelog-<date>.htmlEach manifest-diff.sh entry already includes the exact .url field — use it directly.
(If you need a URL for a filename not in the diff output, look it up:
jq -r '.pages[] | select(.filename=="<filename>") | .url' ~/.claude-code-docs/paths_manifest.json.)
The data-topic attribute on each course button should be the human-readable topic name extracted from the filename:
claude-code__hooks.md → hooksclaude-code__hooks-guide.md → hooks guidedocs__en__agent-sdk__python.md → Agent SDK Pythondocs__en__build-with-claude__prompt-caching.md → prompt cachingdocs__en__agents-and-tools__tool-use__overview.md → tool useStrip the category prefix, replace __ and - with spaces, and capitalize naturally.
5 skills in this plugin
/claude-docsSearch and read locally-stored Claude documentation covering Claude Code CLI, Claude API (Messages, tool use, vision, streaming, batch), Agent SDK (Python and TypeScript), prompt engineering, and all Anthropic platform docs. Use this skill whenever the user asks about Claude Code features (hooks, MCP servers, skills, plugins, settings, permissions, keybindings, sub-agents), the Anthropic API or any of its SDKs (Python, TypeScript, Go, Java), the Agent SDK (sessions, hooks, custom tools, MCP), model capabilities (context windows, extended thinking, pricing, rate limits, vision), prompt engineering best practices, or troubleshooting any Claude-related error. This skill provides instant access to official documentation files without web searches — always prefer it over web lookups for Claude and Anthropic topics.
/claude-docs-courseGenerate an interactive, self-contained HTML course on any Claude documentation topic. Use this skill when the user wants to create an interactive course, tutorial, or deep-dive walkthrough about a Claude feature, API concept, SDK pattern, or prompt engineering technique. Triggers on: "create a course about", "interactive tutorial for", "teach me about X interactively", "make a course on", "I'd like a course", "/docs --course", "/docs course", or when the user accepts the post-docs course prompt. Produces a stunning single-page HTML file with scroll-based navigation, animated visualizations, quizzes, and code translations drawn from official Claude documentation.
/claude-docs-validateCheck the health and freshness of locally-stored Claude documentation. Use this skill when the user asks about documentation health, broken links, stale docs, freshness checks, or wants to validate that their local install is up-to-date and all URLs are reachable. Triggers on: "are my docs current", "check doc health", "validate documentation", "broken links", "stale docs".
/docsRouter for the /docs command. Look up Claude documentation, ask plain-English questions, generate interactive courses and HTML changelog reports, check freshness, and sync the local cache. Dispatches to the claude-docs, claude-docs-validate, claude-docs-course, and claude-docs-changelog skills.Other plugins' skills for the same job