zig
Zig Programming Language
Entry point for Zig development. Provides an overview and routes to focused skills.
When to Use This Skill
Activate when:
- Starting a new Zig project
- Needing a general overview of Zig capabilities
- Unsure which specific Zig skill to load
Available Skills
This plugin provides focused skills for specific Zig topics:
- zig:language - Core language: comptime, error handling, data types, slices, defer
- zig:build - Build system: build.zig, cross-compilation, dependencies, CI
- zig:allocators - Memory management: allocator types, patterns, leak detection
- zig:testing - Built-in test framework, test allocator, build integration
- zig:c-interop - C interoperability: @cImport, type mappings, translate-c, linking
- zig:troubleshooting - Common errors, debugging, runtime panics, memory issues
Quick Start
# Install via mise
mise use zig@0.14
# Create a new project
mkdir myproject && cd myproject
zig init
See templates/mise.toml for project task definitions.
Key Principles
- No hidden control flow: if code does not look like it calls a function, it does not
- No hidden memory allocations: allocators are explicit parameters
- No preprocessor, no macros: comptime replaces both
- Explicit over implicit: be clear about allocations, errors, ownership
- Performance and safety: both achievable without compromise
- C ecosystem integration: use existing C libraries without depending on libc
- Cross-compilation first-class: target any platform from any platform
More from vinnie357/claude-skills
material-design
Guide for implementing Material Design 3 (Material You). Use when designing Android apps, implementing dynamic theming, or following Material component patterns.
18elixir-testing
Guide for Elixir testing with ExUnit. Use when writing unit tests, implementing property-based tests, setting up mocks, or organizing test suites.
16elixir-anti-patterns
Identify and refactor Elixir anti-patterns. Use when reviewing Elixir code for smells, refactoring problematic patterns, or improving code quality.
15phoenix-framework
Guide for Phoenix web applications. Use when building Phoenix apps, implementing LiveView, designing contexts, setting up channels, or integrating Tidewave MCP dev tools.
14nushell
Guide for using Nushell for structured data pipelines and scripting. Use when writing shell scripts, processing structured data, or working with cross-platform automation.
14documentation-writing
Guide for writing technical documentation. Use when creating README files, API documentation, guides, or inline code documentation.
12