zig-portable-application
/zig-portable-application
Zig portable JSON application. Use for Literate AI workflow tasks.
- Author
- jordanhubbard ↗
- Repository
- literate-ai ↗
- Licence
- Apache-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Zig portable JSON application. Use for Literate AI workflow tasks.
Original author description
Zig portable JSON application. Use for Literate AI workflow tasks.
How it works
SKILL.md has no level-two headings · 22 lines, 162 words
SKILL.md preview
---
name: "zig-portable-application"
description: "Zig portable JSON application. Use for Literate AI workflow tasks."
metadata:
author: "Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>"
schema: "urn:literate-ai:schema:v1:specification-to-source-skill"
skill_id: "zig-portable-application"
version: "1.0.2"
title: "Zig portable JSON application"
stages:
- "generate"
dependencies:
- schema: "urn:literate-ai:schema:v1:skill-reference"
skill_id: "portable-application-implementation"
version: "1.8.4"
identity:
schema: "urn:literate-ai:schema:v1:content-identity"
algorithm: "sha256"
digest: "55dece8843519c6ced884d7cd9eb5d8bff04ebccef055c74c5bfcf176ccd06cd"
limitations:
- "Do not create a build.zig.zon, fetch a package, use libc unless the specification requires it, or any import outside the Zig standard library."
- "Do not omit source/tests/litai_test.zig from any build target that compiles the entrypoint."
trust: "repository-reviewed"
---
# Zig portable JSON application
Implement the selected Zig Flavor as straightforward, auditable Zig source rooted at
`source/main.zig`, compilable by one direct `zig build-exe source/main.zig
-femit-bin=run` invocation with no package manager. Put the native generated-test
implementation at `source/tests/litai_test.zig` and dispatch the Standard `--litai-test`
and `--litai-smoke` modes before ordinary argument parsing without reading
`source/tests/manifest.json`.
`portable-application-implementation` fixes the general argument contract (one JSON
array argument). In Zig terms: parse `std.os.argv[1]` as JSON — never the raw argument
slice, which still carries the program name at index 0.
Read that one complete UTF-8 JSON arguments array from the first argument, validate
every shape and domain invariant used by the specification, perform the general
computation rather than matching examples, and write exactly one deterministic JSON
value plus a trailing newline to standard output. Keep output field ordering explicit.
Before completing generation, locate `zig` on `PATH` and compile plus run the generated
`--litai-test` mode. Repair until that command exits successfully. Treat this as a
generation-time self-check only.
Versions
The database has no other skills named zig-portable-application.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 43421f2df8ea (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 87go-portable-application
Go portable JSON application. Use for Literate AI workflow tasks. - 87portable-application-implementation
Portable application implementation. Use for Literate AI workflow tasks. - 96zig-best-practices
Use when reading or writing Zig files (.zig, build.zig, build.zig.zon). - 100zig
Guide for Zig programming language. Use when writing Zig code, setting up Zig projects, migrating between Zig versions, or needing an overview of Zig development workflows. - 95zig
Implement, debug, review, migrate, and optimize Zig code and build systems. Use when the task requires Zig-specific language or toolchain expertise. - 100xmake-zig
Use when building Zig projects with xmake — binary/library targets with `.zig` sources, cross-compilation (one of Zig's strengths), and mixing Zig with C.