From tiger-style
Apply TigerBeetle's TigerStyle coding principles (safety, performance, developer experience) when writing or reviewing code. Use when the user says "TigerStyle", "tiger style", "apply tiger style", asks for a TigerStyle review, or asks about the NASA Power of Ten rules, assertion density, 70-line function limit, or batching and back-of-envelope performance sketches. Language-agnostic — translates Zig-specific rules to the language at hand.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tiger-style:tiger-styleThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
TigerBeetle's coding style. Design goals, in priority order: **safety**, **performance**, **developer experience**. Source: [TIGER_STYLE.md](https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TIGER_STYLE.md).
TigerBeetle's coding style. Design goals, in priority order: safety, performance, developer experience. Source: TIGER_STYLE.md.
The TL;DR below is a shortlist, not the full guide. On first invocation in a session, use the Read tool to load the reference files you'll actually need before responding:
Exception: if the user asks a single narrow question that the TL;DR answers directly (e.g. "what's the function line limit in TigerStyle?"), you can answer from the TL;DR without loading references. When in doubt, read.
In subsequent turns of the same session, references are already in context — don't re-read unless you need a specific section you missed.
User is writing new code or asks "how should I write this in TigerStyle?". Apply the rules from principles.md proactively. Cite the rule you're applying when it's non-obvious.
User says "tiger style review" or asks you to review changes against TigerStyle. Walk review-checklist.md against git diff (or the files in scope), report violations with file:line citations grouped by severity.
Default to reference mode. If the user says "review", "audit", "check", or points at a diff/PR, switch to review mode.
TigerStyle originates in Zig, but most principles are language-agnostic. Apply cross-language rules everywhere; skip or translate Zig-only rules.
zig fmt, @divExact/@divFloor, @prefetch options, usize vs u32, *const for 16+ byte args, in-place init via out-pointer, struct field/type/method ordering idiom, the options: struct named-argument pattern, CamelCase struct files.For language-specific translations, load the matching reference:
For other languages (Python, Go, C++, etc.), apply the principles from references/principles.md directly and skip the Zig-only rules listed above.
ifs up and fors down. Centralize control flow in the parent; keep leaves pure.if/else.latency_ms_max, not max_latency_ms. Don't abbreviate. Match character lengths of related names (source/target, not src/dest).Full detail in references/principles.md.
When reviewing, group findings by severity:
## TigerStyle Review: <target>
### P0 — Safety violations
- path/to/file.ext:L42 — Unbounded loop over `items` (no fixed upper bound). Rule: "put a limit on everything".
- path/to/file.ext:L108 — Function is 94 lines. Rule: "hard 70-line limit". Suggest extracting <specific helper>.
### P1 — Assertion gaps
- path/to/file.ext:L15 — `process()` has no precondition assertions on its 3 arguments. Rule: "assert all function arguments".
### P2 — Naming / DX
- path/to/file.ext:L7 — `maxLatencyMs` should be `latencyMsMax` (units last, descending significance).
### Notes
- Zig-only rules skipped: <list>
- What's already TigerStyle-compliant: <brief note>
Cite the specific TigerStyle rule for each finding. Don't pad with things that aren't violations.
simplify skill or review normally.Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub fotoetienne/agent-essentials --plugin tiger-style