Skip to main content

Crate claude_assets_core

Crate claude_assets_core 

Source
Expand description

§claude_assets_core

FileResponsibility
src/lib.rsCrate root; module re-exports
src/artifact.rsArtifactKind and ArtifactLayout enums with inherent methods
src/error.rsAssetError enum for domain-level operation failures
src/paths.rsAssetPaths: resolves source root from $PRO_CLAUDE env var
src/registry.rsInstallStatus; list_available, list_installed, list_all
src/install.rsinstall() and uninstall() with symlink-only semantics
docs/Behavioral requirements: feature and invariant doc instances
tests/Integration test suite directory
tests/install.rsReal-fs integration tests via tempfile
verb/Shell scripts for each do protocol verb.
Layer 1 domain logic for Claude Code artifact installation.

Provides symlink-based install/uninstall of rules, commands, agents, skills, plugins, and hooks from a central source ($PRO_CLAUDE) into project-local .claude/<kind>/ directories.

Zero CLI framework dependencies — no unilang, no clap.

Modules§

artifact
Artifact kind and layout classification.
error
Domain-level error types for asset operations.
install
Symlink-based artifact installation and removal.
paths
Source and target path resolution for Claude Code assets.
registry
Asset registry: enumerate available and installed artifacts.