zigts-expert

Solid

Write handler code in the zigts TypeScript subset for zigttp's serverless runtime. Covers the language spec, virtual modules, compile-time verification, sound mode type safety, and idiomatic FaaS patterns. Use for any .ts/.tsx/.js/.jsx files targeting zigttp.

Web & Frontend 17 stars 1 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
42
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# zigts-expert - Skill + Compiler-in-the-Loop ## Architecture ``` 1. Read this SKILL.md (language expertise) 2. Write zigts code using the rules below 3. Run: zigts check --json handler.ts 4. Read structured JSON from stdout 5. Fix errors using suggestion fields 6. Repeat until success ``` No MCP server. No protocol. No config wiring. Just a binary and a skill. ## When to Use Trigger when: writing `.ts` files for zigttp handlers, compiling with `zigts`, debugging zigts compiler errors, or asking about the zigts language subset. ## CLI Reference ```bash # Verify handler and show proof card (human-readable) zigts check handler.ts # Verify with structured JSON output (use this in the loop) zigts check --json handler.ts # Compile handler to bytecode zigts compile handler.ts output.zig # List what's allowed and what's blocked zigts features zigts features --json # List available virtual modules zigts modules zigts modules --json # Show proof report (env vars, hosts, sandbox contract) zigts check --json --contract handler.ts # Contract comparison zigts prove old-contract.json new-contract.json ``` **Always use `--json` when running from Claude Code.** Parse the result. Never guess at errors from unstructured stderr. ## Compiler-in-the-Loop Workflow When writing or fixing zigts code, follow this exact loop: ``` 1. Write the handler using the rules in this skill 2. Run: zigts check --json <file> 3. If success -> done, report the proof summary to the user 4. If errors...

Details

Author
srdjan
Repository
srdjan/zigttp
Created
5 months ago
Last Updated
yesterday
Language
C
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category