Systems standards the agent follows in Zig — no negotiation.
Zig for systems — explicit memory control (allocators, no GC), comptime, error unions and C interop — with leak-checked tests, ReleaseSafe by default and the same security floor as the rest of the stack.
$ schematize install zigNon-negotiable floors
Never switched off "to go faster". Full list in the skill.
Explicit memory
Every alloc paired with a free. Leak-detecting allocator in tests; no hidden allocation.
ReleaseSafe by default
Unless a profile justifies it by ADR. No hidden control flow: what you read is what runs.
Secrets server-side
Never in the client. No concatenated SQL. Auth decided on the server.
IAM by design
A separate app at auth.<domain>; identity≠email, ≥2 factors, multi-tenant ReBAC. Sensitive auth usually fits Rust/Go — fit + ADR.
Code and index
≤750 lines/file, one function per file, /// doc-comments, the application MAP.
Mandatory archive
Decisions and context become .md in the archive. The index is the source of truth.
Commands
Installed in .claude/commands/. Run /zig-help anytime.
/zig-helpLists every command./zig-ccContext compact: writes context + checklist to the archive and runs /compact./zig-claudeCreates or updates the root CLAUDE.md with the current skill; backs up local edits./zig-handoffWrites the context handoff (context.md + checklist.md) without compacting./zig-iamForces/audits/scaffolds the house IAM (identity≠email, ≥2 factors, multi-tenant ReBAC) as a separate app at auth.<domain>; auth usually fits Rust/Go — logs an ADR./zig-index(Re)generates the micro-function index from doc-comments./zig-loadForce-loads the entire normative corpus and enforces it on the current project./zig-opsAudits/scaffolds the <project>_ops single interface: env flow, parallel install, service isolation./zig-qaPlan-first QA: plan, write the MD, ask for approval, then run./zig-reviewDefinition-of-Done and anti-pattern gate on the diff.For AI agents
Install with no human in the loop. Metadata in llms.txt.
- Run: git clone https://github.com/schematizeme/skill-zig.git && ./skill-zig/install.sh
- Or download: https://github.com/schematizeme/skill-zig/releases/latest/download/skill-zig.zip and unzip into .claude/skills/
- Copy assets/CLAUDE.md to the repo root (always-on rule).
- Confirm with /zig-help.
Обсуждение
Загрузка…