Skip to content

Commit 318ba91

Browse files
docs(rtk): update RTK coverage from v0.16.0 to v0.28.0
New modules: docker compose, mypy, aws, psql, cargo nextest, Graphite CLI (gt), wc. Major features: TOML Filter DSL (declarative filters, 33+ built-in, no Rust required), rtk rewrite single source of truth (migration note: rtk init --global after upgrade), rtk gain -p per-project savings, rtk init --global settings.json auto-patch, exclude_commands config, SHA-256 hook integrity. Updated: ultimate-guide.md, third-party-tools.md, reference.yaml (version_tested bump). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2332ddc commit 318ba91

File tree

7 files changed

+95
-29
lines changed

7 files changed

+95
-29
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## [Unreleased]
88

9+
## [3.33.1] - 2026-03-10
10+
11+
### Updated
12+
13+
- **RTK documentation updated to v0.28.0** — Synced RTK coverage across `guide/ultimate-guide.md`, `guide/ecosystem/third-party-tools.md`, `machine-readable/reference.yaml`, and global `~/.claude/{CLAUDE.md,RTK.md}`. New content: TOML Filter DSL (declarative filters without Rust, 33+ built-in filters, `.rtk/filters.toml` project-local and `~/.config/rtk/filters.toml` global lookup chain); `rtk rewrite` command (v0.25.0 single source of truth for hook rewrites, migration note: `rtk init --global` required after upgrade); new modules — `rtk docker compose`, `rtk mypy`, `rtk aws`, `rtk psql`, `rtk cargo nextest`, `rtk gt` (Graphite CLI), `rtk wc`; `rtk gain -p` per-project savings; `rtk init --global` with settings.json auto-patch; `exclude_commands` config; SHA-256 hook integrity verification; hook outdated warning.
14+
915
## [3.33.0] - 2026-03-10
1016

1117
### Fixed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<p align="center">
88
<a href="https://github.com/FlorianBruniaux/claude-code-ultimate-guide/stargazers"><img src="https://img.shields.io/github/stars/FlorianBruniaux/claude-code-ultimate-guide?style=for-the-badge" alt="Stars"/></a>
9-
<a href="./CHANGELOG.md"><img src="https://img.shields.io/badge/Updated-Mar_10,_2026_·_v3.33.0-brightgreen?style=for-the-badge" alt="Last Update"/></a>
9+
<a href="./CHANGELOG.md"><img src="https://img.shields.io/badge/Updated-Mar_10,_2026_·_v3.33.1-brightgreen?style=for-the-badge" alt="Last Update"/></a>
1010
<a href="./quiz/"><img src="https://img.shields.io/badge/Quiz-271_questions-orange?style=for-the-badge" alt="Quiz"/></a>
1111
<a href="./examples/"><img src="https://img.shields.io/badge/Templates-204-green?style=for-the-badge" alt="Templates"/></a>
1212
<a href="./guide/security/security-hardening.md"><img src="https://img.shields.io/badge/🛡️_Threat_DB-15_vulnerabilities_·_655_malicious_skills-red?style=for-the-badge" alt="Threat Database"/></a>
@@ -872,7 +872,7 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
872872

873873
---
874874

875-
*Version 3.33.0 | Updated daily · Mar 10, 2026 | Crafted with Claude*
875+
*Version 3.33.1 | Updated daily · Mar 10, 2026 | Crafted with Claude*
876876

877877
<!-- SEO Keywords -->
878878
<!-- claude code, claude code tutorial, anthropic cli, ai coding assistant, claude code mcp,

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.33.0
1+
3.33.1

guide/cheatsheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tags: [cheatsheet, reference]
1212

1313
**Written with**: Claude (Anthropic)
1414

15-
**Version**: 3.33.0 | **Last Updated**: February 2026
15+
**Version**: 3.33.1 | **Last Updated**: February 2026
1616

1717
---
1818

@@ -638,4 +638,4 @@ Speed: `rg` (~20ms) → Serena (~100ms) → ast-grep (~200ms) → grepai (~500ms
638638

639639
**Author**: Florian BRUNIAUX | [@Méthode Aristote](https://methode-aristote.fr) | Written with Claude
640640

641-
*Last updated: February 2026 | Version 3.33.0*
641+
*Last updated: February 2026 | Version 3.33.1*

guide/ecosystem/third-party-tools.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,25 +142,29 @@ A CLI proxy that filters command outputs **before** they reach Claude's context.
142142
| **Website** | [rtk-ai.app](https://www.rtk-ai.app/) |
143143
| **Install** | `brew install rtk-ai/tap/rtk` or `cargo install rtk` |
144144
| **Language** | Rust (standalone binary) |
145-
| **Version** | v0.16.0 |
145+
| **Version** | v0.28.0 |
146146

147147
**Key features**:
148148

149149
- `rtk git log` (92% reduction), `rtk git status` (76% reduction), `rtk git diff` (56% reduction)
150150
- `rtk vitest run`, `rtk prisma`, `rtk pnpm` (70-90% reduction)
151-
- `rtk python pytest`, `rtk go test` (multi-language support)
152-
- `rtk cargo test/build/clippy` (Rust toolchain)
153-
- `rtk init` - hook-first install, `rtk tree` - project structure, `rtk learn` - interactive learning
154-
- `rtk gain` - token savings analytics (SQLite tracking)
155-
- `rtk discover` - find missed optimization opportunities
151+
- `rtk python pytest`, `rtk mypy`, `rtk go test` (multi-language support)
152+
- `rtk cargo test/build/clippy/nextest` (Rust toolchain)
153+
- `rtk aws`, `rtk psql`, `rtk docker compose`, `rtk gt` (Graphite CLI)
154+
- `rtk wc` - compact word/line/byte counts
155+
- `rtk init --global` - hook-first install with settings.json auto-patch
156+
- `rtk gain` / `rtk gain -p` - token savings analytics (global + per-project)
157+
- **TOML Filter DSL**: add custom output filters for any command without writing Rust — `.rtk/filters.toml` (project) or `~/.config/rtk/filters.toml` (global), 33+ built-in filters
158+
- `rtk rewrite` - single source of truth for hook command mapping (v0.25.0+, requires `rtk init --global` after upgrade)
159+
- `exclude_commands` config to exclude specific commands from auto-rewriting
156160

157161
**When to choose RTK vs ccusage/ccburn**:
158162

159163
- RTK **reduces** token consumption (preprocessing)
160164
- ccusage/ccburn **monitor** it (postprocessing)
161165
- Use both together for maximum efficiency
162166

163-
**Limitations**: Rapid development cadence (30 releases in 23 days). Not suitable for interactive commands or very small outputs.
167+
**Limitations**: Not suitable for interactive commands or very small outputs (<100 chars).
164168

165169
> **Cross-ref**: Full docs at [ultimate-guide.md Section 9](./ultimate-guide.md#command-output-optimization-with-rtk)
166170

guide/ultimate-guide.md

Lines changed: 65 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tags: [guide, reference, workflows, agents, hooks, mcp, security]
1616

1717
**Last updated**: January 2026
1818

19-
**Version**: 3.33.0
19+
**Version**: 3.33.1
2020

2121
---
2222

@@ -5034,7 +5034,7 @@ The `.claude/` folder is your project's Claude Code directory for memory, settin
50345034
| Personal preferences | `CLAUDE.md` | ❌ Gitignore |
50355035
| Personal permissions | `settings.local.json` | ❌ Gitignore |
50365036

5037-
### 3.33.0 Version Control & Backup
5037+
### 3.33.1 Version Control & Backup
50385038

50395039
**Problem**: Without version control, losing your Claude Code configuration means hours of manual reconfiguration across agents, skills, hooks, and MCP servers.
50405040

@@ -15977,10 +15977,10 @@ cargo install rtk
1597715977
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/main/install.sh | bash
1597815978

1597915979
# Verify installation
15980-
rtk --version # v0.16.0+
15980+
rtk --version # v0.28.0+
1598115981
```
1598215982

15983-
**Proven Token Savings (Benchmarked on v0.2.0):**
15983+
**Proven Token Savings (Benchmarked on real output):**
1598415984

1598515985
| Command | Baseline | RTK | Reduction |
1598615986
|---------|----------|-----|-----------|
@@ -15993,7 +15993,7 @@ rtk --version # v0.16.0+
1599315993

1599415994
**Average: 60-90% token reduction depending on commands**
1599515995

15996-
**Key Features (v0.16.0):**
15996+
**Key Features (v0.28.0):**
1599715997

1599815998
```bash
1599915999
# Git operations
@@ -16008,23 +16008,44 @@ rtk prisma migrate status # Migration status filtered
1600816008

1600916009
# Python
1601016010
rtk python pytest # Python test output condensed
16011+
rtk mypy # Type errors grouped by file
1601116012

1601216013
# Go
1601316014
rtk go test # Go test results filtered
1601416015

1601516016
# Rust
1601616017
rtk cargo test # Cargo test output condensed
16018+
rtk cargo nextest # cargo-nextest failures-only output
1601716019
rtk cargo build # Build output filtered
1601816020
rtk cargo clippy # Lints grouped by severity
1601916021

16020-
# Project Setup & Learning
16021-
rtk init # Initialize RTK in a project (hook-first install)
16022+
# Cloud & Database
16023+
rtk aws # AWS CLI output filtered
16024+
rtk psql # psql query results condensed
16025+
rtk docker # Docker output condensed
16026+
rtk docker compose # docker compose support
16027+
16028+
# Version control (extra)
16029+
rtk gt # Graphite CLI support
16030+
16031+
# File & Text Utilities
1602216032
rtk tree # Project structure condensed
16033+
rtk wc # Compact word/line/byte counts
16034+
rtk read file.ts # File contents condensed
16035+
16036+
# Project Setup & Learning
16037+
rtk init # Initialize RTK with hook auto-install
16038+
rtk init --global # Install hook globally (settings.json auto-patch)
1602316039
rtk learn # Interactive RTK learning
1602416040

1602516041
# Analytics
1602616042
rtk gain # Token savings dashboard (SQLite tracking)
16043+
rtk gain -p # Per-project token savings breakdown
1602716044
rtk discover # Find missed optimization opportunities
16045+
16046+
# Hook & Config Management
16047+
rtk rewrite <cmd> # Single source of truth for hook rewrites
16048+
rtk verify # Validate TOML filter rules
1602816049
```
1602916050

1603016051
**Real-World Impact:**
@@ -16036,11 +16057,30 @@ rtk discover # Find missed optimization opportunities
1603616057
- Savings: 109K tokens (72.6% reduction)
1603716058
```
1603816059

16060+
**TOML Filter DSL (v0.28.0 — add filters without writing Rust):**
16061+
16062+
RTK now supports a declarative filter engine via TOML config. You can add custom output filters for any command without touching Rust code.
16063+
16064+
```toml
16065+
# .rtk/filters.toml (project-local) or ~/.config/rtk/filters.toml (user-global)
16066+
16067+
[[filters]]
16068+
match_command = "my-build-tool"
16069+
strip_lines_matching = "^(DEBUG|TRACE|INFO):"
16070+
max_lines = 50
16071+
```
16072+
16073+
Lookup chain: `.rtk/filters.toml` (project) → `~/.config/rtk/filters.toml` (global) → 33 built-in filters (brew, poetry, dotnet, swift, uv, tofu, ansible, helm, etc.)
16074+
16075+
Available primitives: `strip_ansi`, `replace`, `match_output`, `strip/keep_lines_matching`, `truncate_lines_at`, `head/tail_lines`, `max_lines`, `on_empty`
16076+
16077+
Debug: `RTK_NO_TOML=1` bypasses all TOML filters. `RTK_TOML_DEBUG=1` shows which filter fires.
16078+
1603916079
**Integration Strategies:**
1604016080

1604116081
1. **Hook-first install** (recommended):
1604216082
```bash
16043-
rtk init # Sets up PreToolUse hook automatically
16083+
rtk init --global # Sets up PreToolUse hook + patches settings.json automatically
1604416084
```
1604516085

1604616086
2. **CLAUDE.md instruction** (manual wrapper):
@@ -16063,6 +16103,22 @@ rtk discover # Find missed optimization opportunities
1606316103
- PreToolUse hook intercepts bash commands
1606416104
- Applies RTK wrapper when beneficial
1606516105

16106+
**Configuration Options:**
16107+
16108+
```toml
16109+
# ~/.config/rtk/config.toml
16110+
exclude_commands = ["my-interactive-tool", "fzf"] # Never rewrite these
16111+
```
16112+
16113+
**Migration Note (v0.25.0+):**
16114+
16115+
After upgrading from v0.24.0 or earlier, run `rtk init --global` to install the new thin-delegator hook. The old hook still works, but won't pick up new command mappings automatically.
16116+
16117+
```bash
16118+
cargo install rtk # Upgrade binary
16119+
rtk init --global # Replace hook with thin delegator
16120+
```
16121+
1606616122
**Recommendation:**
1606716123

1606816124
- ✅ **Use RTK**: Full-stack projects (JS/TS, Rust, Python, Go), testing workflows, analytics
@@ -22810,4 +22866,4 @@ We'll evaluate and add it to this section if it meets quality criteria.
2281022866

2281122867
**Contributions**: Issues and PRs welcome.
2281222868

22813-
**Last updated**: January 2026 | **Version**: 3.33.0
22869+
**Last updated**: January 2026 | **Version**: 3.33.1

machine-readable/reference.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Source: guide/ultimate-guide.md
44
# Purpose: Condensed index for LLMs to quickly answer user questions about Claude Code
55

6-
version: "3.33.0"
6+
version: "3.33.1"
77
updated: "2026-03-03"
88

99
# ════════════════════════════════════════════════════════════════
@@ -107,7 +107,7 @@ deep_dive:
107107
rtk_skill: "examples/skills/rtk-optimizer/SKILL.md"
108108
rtk_hook: "examples/hooks/bash/rtk-auto-wrapper.sh"
109109
rtk_purpose: "Command output filtering before LLM context (60-90% avg reduction)"
110-
rtk_version_tested: "v0.16.0"
110+
rtk_version_tested: "v0.28.0"
111111
rtk_score: "5/5"
112112
rtk_installation: "cargo install rtk or brew install rtk-ai/tap/rtk"
113113
# Google Antigravity (Agent-First IDE)
@@ -1510,7 +1510,7 @@ ecosystem:
15101510
- "Cross-links modified → Update all 4 repos"
15111511
history:
15121512
- date: "2026-01-20"
1513-
event: "Code Landing sync v3.33.0, 66 templates, cross-links"
1513+
event: "Code Landing sync v3.33.1, 66 templates, cross-links"
15141514
commit: "5b5ce62"
15151515
- date: "2026-01-20"
15161516
event: "Cowork Landing fix (paths, README, UI badges)"
@@ -1522,7 +1522,7 @@ ecosystem:
15221522
onboarding_matrix_meta:
15231523
version: "2.1.0"
15241524
last_updated: "2026-03-09"
1525-
aligned_with_guide: "3.33.0"
1525+
aligned_with_guide: "3.33.1"
15261526
changelog:
15271527
- version: "2.1.0"
15281528
date: "2026-03-09"
@@ -1553,7 +1553,7 @@ onboarding_matrix:
15531553
core: [rules, sandbox_native_guide, commands]
15541554
time_budget: "5 min"
15551555
topics_max: 3
1556-
note: "SECURITY FIRST - sandbox before commands (v3.33.0 critical fix)"
1556+
note: "SECURITY FIRST - sandbox before commands (v3.33.1 critical fix)"
15571557

15581558
beginner_15min:
15591559
core: [rules, sandbox_native_guide, workflow, essential_commands]
@@ -1642,7 +1642,7 @@ onboarding_matrix:
16421642
- default: agent_validation_checklist
16431643
time_budget: "60 min"
16441644
topics_max: 6
1645-
note: "Dual-instance pattern for quality workflows (v3.33.0)"
1645+
note: "Dual-instance pattern for quality workflows (v3.33.1)"
16461646

16471647
learn_security:
16481648
intermediate_30min:
@@ -1653,7 +1653,7 @@ onboarding_matrix:
16531653
- default: permission_modes
16541654
time_budget: "30 min"
16551655
topics_max: 4
1656-
note: "NEW goal (v3.33.0) - Security-focused learning path"
1656+
note: "NEW goal (v3.33.1) - Security-focused learning path"
16571657

16581658
power_60min:
16591659
core: [sandbox_native_guide, mcp_secrets_management, security_hardening]
@@ -1678,7 +1678,7 @@ onboarding_matrix:
16781678
core: [rules, sandbox_native_guide, workflow, essential_commands, context_management, plan_mode]
16791679
time_budget: "60 min"
16801680
topics_max: 6
1681-
note: "Security foundation + core workflow (v3.33.0 sandbox added)"
1681+
note: "Security foundation + core workflow (v3.33.1 sandbox added)"
16821682

16831683
intermediate_120min:
16841684
core: [plan_mode, agents, skills, config_hierarchy, git_mcp_guide, hooks, mcp_servers]

0 commit comments

Comments
 (0)