Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cc-guides
command
Command cc-guides: Canonical agent guides as a shipped Go binary — render AGENTS.md, CLAUDE.md, and shell artifacts from embedded, versioned fragments
|
Command cc-guides: Canonical agent guides as a shipped Go binary — render AGENTS.md, CLAUDE.md, and shell artifacts from embedded, versioned fragments |
|
Package guide is a generic, kind-aware renderer for source files that expand column-0 `{{> name}}` include directives against a Resolver and carry a stable GENERATED banner.
|
Package guide is a generic, kind-aware renderer for source files that expand column-0 `{{> name}}` include directives against a Resolver and carry a stable GENERATED banner. |
|
internal
|
|
|
cli
Package cli builds the cobra command tree and owns exit-code mapping.
|
Package cli builds the cobra command tree and owns exit-code mapping. |
|
legacy
Package legacy is init's first stage: it collapses stamped canonical blocks in a handwritten markdown artifact into `{{> name}}` directives and self-verifies the synthesized v1 source re-renders to the original.
|
Package legacy is init's first stage: it collapses stamped canonical blocks in a handwritten markdown artifact into `{{> name}}` directives and self-verifies the synthesized v1 source re-renders to the original. |
|
log
Package log configures the process-wide structured logger.
|
Package log configures the process-wide structured logger. |
|
migrate
Package migrate converts a v1 source (root X.src.md with {{> name}} directives) into the v3 shape: a .claude/fragments/<target>/ artifact dir holding repo-local `*.fragment.*` prose pieces and a layout.toml that composes them alongside imports of shared fragments.
|
Package migrate converts a v1 source (root X.src.md with {{> name}} directives) into the v3 shape: a .claude/fragments/<target>/ artifact dir holding repo-local `*.fragment.*` prose pieces and a layout.toml that composes them alongside imports of shared fragments. |
|
version
Package version exposes the build version.
|
Package version exposes the build version. |
|
Package layout parses and validates a `.claude/fragments/<target>/layout.toml` file — the per-repo config surface that composes an ordered list of local fragments and imports of shared fragments from another repo.
|
Package layout parses and validates a `.claude/fragments/<target>/layout.toml` file — the per-repo config surface that composes an ordered list of local fragments and imports of shared fragments from another repo. |
|
Package source resolves shared-fragment imports: it parses a `github:<owner>/<repo>//<path>[@<ref>]` spec, resolves a ref to an immutable commit sha (shelling out to `git ls-remote`), fetches that commit's tree as a codeload tarball, and caches the extracted subpath under the user cache dir.
|
Package source resolves shared-fragment imports: it parses a `github:<owner>/<repo>//<path>[@<ref>]` spec, resolves a ref to an immutable commit sha (shelling out to `git ls-remote`), fetches that commit's tree as a codeload tarball, and caches the extracted subpath under the user cache dir. |
Click to show internal directories.
Click to hide internal directories.
