docs(examples): add YAML frontmatter to 7 README files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Florian BRUNIAUX 2026-02-15 19:20:57 +01:00
parent 3029d1d3b8
commit 9170095320
7 changed files with 61 additions and 0 deletions

View file

@ -1,3 +1,9 @@
---
title: "Claude Code Examples"
description: "Annotated templates teaching why patterns work, with trade-offs and alternatives"
tags: [template, reference, workflows, architecture]
---
# Claude Code Examples
Annotated templates that teach you **why** patterns work, not just how to configure them. Each template includes comments explaining trade-offs, alternatives, and when to deviate.

View file

@ -1,3 +1,9 @@
---
title: "Analytics Agent with Built-in Evaluation"
description: "Production-ready analytics agent with automated metrics collection and safety validation"
tags: [agents, template, testing, performance]
---
# Analytics Agent with Built-in Evaluation
**Template**: Production-ready analytics agent with automated metrics collection

View file

@ -1,3 +1,9 @@
---
title: "GitHub Actions Workflows for Claude Code"
description: "Ready-to-use CI/CD workflows integrating Claude Code into GitHub Actions"
tags: [ci-cd, devops, template, workflows]
---
# GitHub Actions Workflows for Claude Code
Ready-to-use GitHub Actions workflows that integrate Claude Code into your CI/CD pipeline.

View file

@ -1,3 +1,9 @@
---
title: "Claude Code Hooks"
description: "Event-driven scripts for automation, security blocking, and context enrichment"
tags: [hooks, security, template, config]
---
# Claude Code Hooks
Hooks are scripts that execute automatically on Claude Code events. They enable automation, block dangerous operations, and enrich context.
@ -349,6 +355,10 @@ session-summary-config log 5 # Last 5 session summaries
- `ccusage` (optional, for accurate cost calculation)
- `rtk` (optional, for token savings tracking)
**Screenshot** (real session output):
![Session Summary v3](../../docs/images/session-summary-v3.png)
**Example Output** (all sections enabled):
```
═══ Session Summary ═══════════════════
@ -398,6 +408,21 @@ Turns: 12 (8 interactive · 4 auto) · Avg 6.7s/turn
**Quick Install**: `~/.claude/hooks/session-summary-config.sh install` (copies hooks + updates settings.json)
**How it compares to tweakcc's `/cost` patch**:
[tweakcc](https://github.com/Piebald-AI/tweakcc) (1K+ stars) patches Claude Code's `cli.js` to re-enable `/cost` for Pro/Max subscribers. Different approach, different trade-offs:
| | tweakcc `/cost` | session-summary.sh |
|---|---|---|
| Approach | Patches Claude Code binary | Official hooks API (no modification) |
| Survives CC updates | No (re-apply each update) | Yes |
| Trigger | Manual (`/cost` command) | Automatic on session exit |
| Metrics | Cost, duration, tokens, LOC | 15 sections (cost, tokens, tools, errors, files, features, git diff, LOC, cache, RTK, ratio...) |
| History | No | JSONL log with all metrics |
| Dependencies | Node.js | jq (bash native) |
tweakcc is a broader tool (themes, prompts, toolsets) — the `/cost` patch is one feature among many. This hook focuses specifically on session analytics with deeper metrics and zero modification of Claude Code internals.
### auto-format.sh / auto-format.ps1
**Event**: `PostToolUse` (Edit, Write)

View file

@ -1,3 +1,9 @@
---
title: "Agent Vibes TTS - Text-to-Speech for Claude Code"
description: "Community MCP server adding text-to-speech capabilities to Claude Code"
tags: [mcp, integration, plugin]
---
# Agent Vibes TTS - Text-to-Speech for Claude Code
**Status**: Community MCP Server (optional)

View file

@ -1,3 +1,9 @@
---
title: "Behavioral Modes"
description: "Ready-to-use behavioral mode files for customizing Claude Code behavior"
tags: [config, template, workflows]
---
# Behavioral Modes
Ready-to-use behavioral mode files for Claude Code. Copy to `~/.claude/` and reference in your `CLAUDE.md`.

View file

@ -1,3 +1,9 @@
---
title: "Scripts"
description: "Utility scripts for Claude Code power users: audits, health checks, and session management"
tags: [template, debugging, security, workflows]
---
# Scripts
Utility scripts for Claude Code power users.