/tiger-style:tiger-style [analyze <file> | check]from tiger-style
Applies TigerBeetle's safety-critical Zig coding style prioritizing Safety > Performance > DX. Supports writing new code, analyzing files for aligned patterns/violations/gray areas, and quick violation checks.
Ships in tiger-style. 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.
Coding style from TigerBeetle optimized for Safety > Performance > DX.
| Invocation | Mode | Output |
|---|---|---|
/tiger-style | Writing | Guidance for writing new code |
/tiger-style analyze <file> | Analysis | Complete report: Aligned + Violations + Gray Areas |
/tiger-style check | Quick check | Violations only (brief) |
/tiger-style)When invoked without arguments, activate TigerStyle for all code you write or modify in this session:
/tiger-style analyze <file>)When invoked with analyze and a file path:
$ARGUMENTS (the path after analyze)./tiger-style check)When invoked with check:
SEVERITY | location | rule | issue (one line per violation).After analysis or check, guide the user through fixing:
/tiger-style check to verify fixes.| Topic | See | Key Rules |
|---|---|---|
| Assertions | SAFETY.md | Min 2 per function, pair assertions, split compound |
| Control flow | SAFETY.md | No recursion, split compound conditions, every if has else |
| Memory | SAFETY.md | Static only, no dynamic after init |
| Function size | SAFETY.md | Max 70 lines |
| Types | SAFETY.md | Explicit sizes (u32 not usize) |
| Performance | PERFORMANCE.md | Design-time thinking, batching, buffer bleeds |
| Resources | PERFORMANCE.md | Network > disk > memory > CPU |
| Naming | DX.md | snake_case, units last, semantic richness |
| Formatting | DX.md | 80 cols, 4-space indent, braces on ifs |
| Bug prevention | DX.md | Off-by-one, explicit division, options structs |
| Pre-submit | CHECKLIST.md | Quick validation checklist |
| Report format | REPORT_FORMAT.md | Analysis output template |
| Rule | TigerStyle | Our Standard |
|---|---|---|
| Line length | 100 columns | 80 columns |
| Assertions | 2+ per function | Same |
| Memory in structs | Never store allocator | Same + never store Io |
| Severity | Criteria |
|---|---|
| CRITICAL | Safety risk: missing assertions, unbounded loops, dynamic memory, ignored errors, missing else branches |
| MAJOR | Maintainability: function too long, complex control flow, usize instead of explicit type |
| MINOR | Style: naming, formatting, comments |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tigerbeetle, zig, coding-style, safety-critical, code-analysis
Other plugins' skills for the same job
npx claudepluginhub m64github/tiger-style --plugin tiger-style