| Did you know ... | Search Documentation: |
| Pack logtalk -- logtalk-3.103.0/coding/ai/skills/logtalk-packs/SKILL.md |
name: logtalk-packs description: Create Logtalk packs and pack registries (pack_protocol, registry_protocol, version metadata, checksums, loaders). Use when authoring a distributable library or application pack, adding it to a registry, or publishing pack specs. license: Apache-2.0 metadata: copyright: "2026 Paulo Moura <pmoura@logtalk.org>" ---
Use the official packs tool and protocols to define and publish packs. Do not invent a parallel packaging scheme.
Read and follow:
Do not duplicate the handbook. Prefer linking to specific sections.
pack_protocol.registry_protocol and a loader.lgt.logtalk_packs / LOGTALKPACKS / `~/logtalk_packs` (virtual environments supported).
Load the tool:
| ?- logtalk_load(packs(loader)).
pack_protocol.lflat_pack in lflat_pack.lgt) to avoid clashes with the packâs own entities.version(Version, Status, URL, Checksum, Dependencies, Portability)Major:Minor:Patchsha256 - '...' over the archive[logtalk @>= 3:42:0] and other pack constraints as documentedall or as specified in the protocol docsREADME.md (or NOTES.md), loader.lgt (or `.logtalk`)tester.lgt so users and CI can run tests after install/.tar.gz`, `.tbz2/.tar.bz2` (and `.gpg` variants when encrypted)note(Action, Version, Note) for install/update/uninstall messages / .sig`) and encryption per handbook
my_registry/
LICENSE
README.md
my_registry_registry.lgt
loader.lgt
foo_pack.lgt
bar_pack.lgt
loader.lgt loads the registry object and every pack spec object (one file per object preferred for tool sanitization).
| ?- logtalk_load(packs(loader)).
| ?- registries::add('https://example.com/my_registry.git').
| ?- packs::install(Registry, Pack). % see packs API for exact install predicates
Exact install/update/uninstall messages: handbook and `packs::help`, `registries::help`.
pack_protocol and uses the _pack naming conventionsha256, dependencies, portabilitytester.lgt after installpacks / registriesloader.lgt or license files from the pack archive