Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd contains the cobra command tree for the katalyst CLI.
|
Package cmd contains the cobra command tree for the katalyst CLI. |
|
gendocs
command
Command gendocs renders the check-type reference under docs/reference/check-types/ from the check descriptors in internal/checks/registry.go, and the inspector reference under docs/reference/inspectors/ from internal/inspect/registry.go.
|
Command gendocs renders the check-type reference under docs/reference/check-types/ from the check descriptors in internal/checks/registry.go, and the inspector reference under docs/reference/inspectors/ from internal/inspect/registry.go. |
|
skillpack
command
Command skillpack packages the product skills under skills/ into .skill archives (one zip per shippable skill, SKILL.md at the archive root, the shared bootstrap bundled in).
|
Command skillpack packages the product skills under skills/ into .skill archives (one zip per shippable skill, SKILL.md at the archive root, the shared bootstrap bundled in). |
|
internal
|
|
|
checks
Package checks is the core of the check engine: the shared types every check type is built on (Context, Check, CollectionCheck, Violation) plus the registry that check types self-register with.
|
Package checks is the core of the check engine: the shared types every check type is built on (Context, Check, CollectionCheck, Violation) plus the registry that check types self-register with. |
|
checks/all
Package all blank-imports every check-type family so their init() functions register with the core checks registry.
|
Package all blank-imports every check-type family so their init() functions register with the core checks registry. |
|
checks/argcheck
Package argcheck holds generic validators that check-type parsers use to produce uniform error phrasing without a central per-kind switch.
|
Package argcheck holds generic validators that check-type parsers use to produce uniform error phrasing without a central per-kind switch. |
|
checks/checktest
Package checktest holds tiny shared helpers for the check-type family test suites, so each family package can test its checks without redefining common document and context setup.
|
Package checktest holds tiny shared helpers for the check-type family test suites, so each family package can test its checks without redefining common document and context setup. |
|
checks/filesystem
Package filesystem holds the check types that validate filename and path conventions for items, plus the collection-scoped filesystem checks (unique_filename, index_file_required).
|
Package filesystem holds the check types that validate filename and path conventions for items, plus the collection-scoped filesystem checks (unique_filename, index_file_required). |
|
checks/jsonschema
Package jsonschema is the JSON Schema check library: the first schema-backed CheckLibrary.
|
Package jsonschema is the JSON Schema check library: the first schema-backed CheckLibrary. |
|
checks/markdownbodytext
Package markdownbodytext holds the check types that validate relationships between frontmatter metadata and markdown body content (headings, sections, code fences).
|
Package markdownbodytext holds the check types that validate relationships between frontmatter metadata and markdown body content (headings, sections, code fences). |
|
checks/plaintext
Package plaintext holds the check types that validate body content as raw text, independent of markdown structure (requires, forbids, denylist).
|
Package plaintext holds the check types that validate body content as raw text, independent of markdown structure (requires, forbids, denylist). |
|
checks/structuredobject
Package structuredobject holds the check types that validate structured frontmatter fields: schema validation and the field-shape checks.
|
Package structuredobject holds the check types that validate structured frontmatter fields: schema validation and the field-shape checks. |
|
codec/markdownbodytext
Package markdownbodytext parses and encodes markdown body text with optional structured frontmatter.
|
Package markdownbodytext parses and encodes markdown body text with optional structured frontmatter. |
|
examples
Package examples is the registry of worked examples: small input corpora paired with a `katalyst` command.
|
Package examples is the registry of worked examples: small input corpora paired with a `katalyst` command. |
|
fix
Package fix is the transform engine for `katalyst fix`: given an item's content and its collection, it computes the canonical, fixed form.
|
Package fix is the transform engine for `katalyst fix`: given an item's content and its collection, it computes the canonical, fixed form. |
|
inspect
Package inspect profiles content and returns evidence, the descriptive dual of internal/checks: a check asserts a predicate; an inspector reports the distribution that predicate would be tested against.
|
Package inspect profiles content and returns evidence, the descriptive dual of internal/checks: a check asserts a predicate; an inspector reports the distribution that predicate would be tested against. |
|
project
loader.go holds the project loader: it reads a project's .katalyst/ directory and answers two questions:
|
loader.go holds the project loader: it reads a project's .katalyst/ directory and answers two questions: |
|
project/projecttest
Package projecttest holds shared test helpers for constructing temporary Katalyst projects.
|
Package projecttest holds shared test helpers for constructing temporary Katalyst projects. |
|
skillpack
Package skillpack packages the product skills under skills/ into .skill archives for distribution.
|
Package skillpack packages the product skills under skills/ into .skill archives for distribution. |
|
storage
Package storage is the seam between a backend store and the katalyst domain model, issue #31's "narrow interface."
|
Package storage is the seam between a backend store and the katalyst domain model, issue #31's "narrow interface." |
|
storage/collection
Package collection is the backend-neutral contract for reading a collection's items from a storage backend: the CollectionDefinition interface and the thin Item it yields.
|
Package collection is the backend-neutral contract for reading a collection's items from a storage backend: the CollectionDefinition interface and the thin Item it yields. |
|
storage/collection/filesystem
Package filesystem is the filesystem backend's CollectionDefinition: it maps a directory tree onto collections of markdown files (one file is one item, its id the filename stem) and persists item writes.
|
Package filesystem is the filesystem backend's CollectionDefinition: it maps a directory tree onto collections of markdown files (one file is one item, its id the filename stem) and persists item writes. |
|
storage/collection/listing
Package listing runs the `item list` filter/grep/sort/skip/limit pipeline over in-memory records.
|
Package listing runs the `item list` filter/grep/sort/skip/limit pipeline over in-memory records. |
|
storage/collection/predicate
Package predicate parses and evaluates metadata predicates used by collection variants and listing filters.
|
Package predicate parses and evaluates metadata predicates used by collection variants and listing filters. |
|
storage/collection/sqlite
Package sqlite maps one SQLite table to one Katalyst collection: each row is one item, the configured id column is the item id, and configured column captures become item attributes.
|
Package sqlite maps one SQLite table to one Katalyst collection: each row is one item, the configured id column is the item id, and configured column captures become item attributes. |
Click to show internal directories.
Click to hide internal directories.