Totoro-jam/battle-tested-patterns

Battle-tested programming patterns from production codebases — React, Linux, Go, Chromium, and more. Precise source links, multi-language examples, runnable exercises.

Latest release v1.16.2 · 9 Jul 2026

7 files for Claude Code, Codex and OpenCode: PreToolUse, battle-tested-patterns, diagnose, new-pattern and 3 more — 2,194 tokens loaded in every session.

343Stars on the repository
7Files it configures its agents with
2,194Tokens loaded in every session
3Agents configured

Instructions

Settings

Hooks

Skills

These files are Totoro-jam/battle-tested-patterns's own configuration — they tell Claude Code, Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.