Package artifacts

From jordanhubbard/literate-ai · View interactive version

Package artifacts is an AI agent skill from the GitHub repository jordanhubbard/literate-ai. Plan, construct, and verify exact native packages for tagged Literate AI Components using a selected package.* Flavor. Use for litai package operations, release preparation that requires package evidence, or package-provider metadata generation for pip wheels, Conan, apt, Homebrew, WinGet, or Chocol

How to use this skill

Skill file

Package artifacts

Treat packaging as a reproducible transformation of one accepted Component artifact

closure. Never use packaging to repair source, tests, binaries, specifications, or SBOMs.

Preserve the package boundary

  1. Resolve one or more selected package.* Flavors for every tagged Component.

Default a Python-capable unpinned Component to package-pip; use

package-conan for an explicit cross-language wildcard. Repeated compatible

selections create separate package plans over the same accepted artifact closure.

  1. Run litai package plan and inspect the exact Component lock, target, artifact

graph, specification closure, source and resolved CycloneDX SBOMs, entrypoints,

runtime requirements, provider Flavor, and packager-tool identity before execution.

  1. Detect the selected native tool on PATH. A package command authorizes use of an

already available tool and writes only beneath OBJ_DIR; it does not authorize a

system/global install, package installation, registry login, or publication.

  1. Generate provider metadata only when deterministic projection is insufficient. If a

coding CLI is needed, pass the bounded PackagePlan and selected Flavor, inherit the

command's model scope, admit only declared files, and reject metadata that changes

product behavior or dependencies.

  1. Construct the native package from exact immutable inputs. Include the Component's

authored specification closure and bind final executable/library products plus both

CycloneDX SBOMs. Normalize timestamps and ordering where the native format permits it;

record unavoidable provider variation.

  1. Run litai package verify without installing or publishing. Inspect native

metadata and file tables, recompute every digest, and require a PackageResult bound

to the exact plan. A stale or missing result blocks release preparation.

  1. Let litai release publish --authorize-external-write own any registry upload,

repository submission, tap update, package push, signing-service write, or tag push.

Respect provider compatibility

payload paths, specifications and both CycloneDX SBOMs without imposing a language

ecosystem. The built-in packager binds its compression runtime; no external tool

installation is required.

erase target, compiler, architecture, runtime, or ABI identities.

when the release serves both package-manager communities.

Fail closed

Reject missing specifications, absent accepted products, stale SBOMs, undeclared package

files, changed native tools, output outside OBJ_DIR, install-time execution during

verification, implicit publication, or package bytes that do not match their result.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.