Not loaded · from literate-ai
Generates a self-contained Elixir .exs script that decodes JSON input, validates arguments, runs application logic, and outputs JSON results. Designed for Literate AI workflow tasks without Mix or Hex dependencies.
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 Elixir Flavor at source/main.exs with helper modules beneath
source/. Use Elixir 1.18+ and Erlang/OTP 27+ standard libraries. Decode the sole
System.argv() argument with JSON.decode!, require an arguments array, validate
its shapes and domain constraints, and call ordinary application functions with its
positional elements. Encode the complete specified result with JSON.encode! and
one newline. Preserve exact integers and represent fractional domain values as
specified decimal strings or scaled integers.
Resolve every Code.require_file helper and test path relative to __DIR__, so the
copied artifact works from any current directory after source custody is gone.
Dispatch --litai-test and --litai-smoke before JSON parsing. Put native behavior
cases in source/tests/litai_test.exs; assertions must call the real application
logic and fail nonzero. Report precisely the generated test result envelope required
by portable-application-implementation, without reading the manifest. When using
ExUnit, suppress its progress output and emit the envelope only after all cases pass.
Keep Mix/Hex/Phoenix and release assembly outside this dependency-free profile.
When Make or Bazel requires one export file, assemble a self-contained .exs
script containing its helper modules and native tests at EXPORT_PATH (Make) or
run.exs (Bazel). Run it with the selected Elixir tool; never ship a shell launcher
or leave helper paths pointing into the former generation workspace.
A selected build-system Flavor may supply a reviewed wrapper or faithful build;
it does not relax these dependency or source-custody requirements.
For Bazel actions, read the exact executable from LITAI_LANGUAGE_TOOL; Standard
supplies it through --action_env together with a PATH containing the bound BEAM
installation. Do not assume an ambient elixir is visible in Bazel's sandbox.
For Make, use the LITAI_LANGUAGE_TOOL make variable as one quoted executable.
On Windows, keep Make/Bazel assembly code in an .exs file and pass its paths to
the selected launcher. Framework runtime phases invoke the bound native Erlang
entry point to preserve multiline code and JSON without batch-shell evaluation.
For a library recipe, implement the exact locked import surface instead of a
product JSON entrypoint. Keep public .ex modules beneath source/<package>/
and inside the package's CamelCase namespace (invoice_api becomes InvoiceApi).
Implement every declared function or macro name, including ?/! suffixes when
declared. Put helpers inside the same retained package closure. Keep
source/main.exs --litai-test as the generated-test launcher; it must load retained
modules relative to __DIR__ and report the normal generated-test envelope.
Compile the package's .ex closure with Kernel.ParallelCompiler.compile/2 in
that launcher so struct and macro dependencies work independently of file order.
Define each module once; do not Code.require_file another package .ex file
from within a file in that same compiled closure.
The framework compiles the retained package closure for native import observation
and runs a separately reviewed .exs acceptance harness; generated tests do not
replace independent acceptance. Resolve library dependencies from the exact
runtime-provided provider artifact roots in the recipe, never from ambient modules
or a fetched Hex substitute.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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