Not loaded · from literate-ai
Generates a portable Swift JSON application using only the standard library, compilable with a single swiftc invocation. For Literate AI workflow tasks.
Claude Code won't load this skill
It ships in literate-ai at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Implement the selected Swift Flavor as direct, auditable source rooted at
source/main.swift and compilable by one swiftc invocation. Put generated runtime
tests at source/tests/litai_test.swift and dispatch the Standard --litai-test and
--litai-smoke modes before normal argument parsing. Use only the Swift standard
library. Read one complete UTF-8 JSON arguments array from CommandLine.arguments[1],
validate all specified shapes and invariants, perform the general computation, and
write exactly one deterministic JSON value plus a newline to standard output. Implement
the required JSON parser and escaping locally with correct Unicode escape-pair,
integer-bound, nesting, and trailing-input handling. Write concise failures only to
standard error and exit nonzero.
Keep every API available without importing Foundation. In particular, decode UTF-8 byte
collections with String(decoding: bytes, as: UTF8.self) when replacement is acceptable,
or String(validating: bytes, as: UTF8.self) when invalid UTF-8 must be rejected. Do not
emit Foundation-only String(bytes:encoding:) calls. When assembling generated-test JSON,
concatenate the outcomes.joined(separator: ",") value between literal prefix and suffix
strings; do not escape the separator literal inside string interpolation.
The native builder compiles every .swift file beneath source/ together into one
executable. Put the only top-level executable statements in source/main.swift;
support and test files contain declarations only. Do not use @main with this
main.swift entrypoint, or generate an independent Swift cleanup/tool executable
inside this tree. Before returning the tree, compile the complete, recursively
collected Swift source set in one invocation of the selected swiftc, with -O
and without -parse-as-library, then run the resulting executable's generated
test and smoke modes. Checking only the main and test files misses helper conflicts.
Treat toolchain installation as selected realization policy, not source-generation policy. For missing prerequisites, defer to https://www.swift.org/install/macos/, https://www.swift.org/install/linux/, or https://www.swift.org/install/windows/ according to the locked OS/toolchain pair.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (jordanhubbard/literate-ai) — no native marketplace selected
npx claudepluginhub p/jordanhubbard-literate-ai41 skills in this plugin
/agentShared rules for Literate AI agent skills nested under skills/agent. Use when authoring or following any agent skill: wrap deterministic Python or litai commands, keep SKILL.md as routing and judgment, and treat nested skills as deltas of their parent directory.
/api-surfacePublic API surface. Use for Literate AI workflow tasks./architectureArchitecture boundaries. Use for Literate AI workflow tasks./backend-applicationFundamental back-end generation indexed off selected language Flavors. Use for Literate AI workflow tasks that select a server-side parent skill. Nested Python and Rust skills own ecosystem chapters./bazel-build-systemBazel-preferred build-system design. Use for Literate AI workflow tasks./behavior-stateBehavior and state. Use for Literate AI workflow tasks.Other plugins' skills for the same job