Shared Context Engineering is AI-assisted software delivery with explicit, versioned context.
This crate publishes the sce CLI for Shared Context Engineering workflows.
Published Cargo releases target the shared-context-engineering crate and install the sce binary.
cargo install shared-context-engineering --lockedRepository source builds require Pkl-generated assets to be prepared before Cargo starts. From the repository root, use the repository-owned wrapper rather than invoking Cargo directly:
./scripts/run-cli-cargo.sh install --path cli --lockedThe wrapper creates a fresh temporary payload from the canonical Pkl inputs,
passes it to the build through SCE_CLI_GENERATED_INPUT_DIR, and removes it when
Cargo exits. Direct cargo install --git is not supported because a Git install
has no pre-Cargo generation boundary; use crates.io or a local checkout instead.
Use the same wrapper for supported Cargo development workflows:
./scripts/run-cli-cargo.sh build --manifest-path cli/Cargo.toml
./scripts/run-cli-cargo.sh test --manifest-path cli/Cargo.toml setup
./scripts/run-cli-cargo.sh clippy --manifest-path cli/Cargo.toml --all-targets -- -D warningsThe wrapper requires pkl, cargo, and sha256sum on PATH. The repository
Nix dev shell provides them when they are not installed by the host system.
- Nix:
nix run github:crocoder-dev/shared-context-engineering -- --help - npm:
npm install -g @crocoder-dev/sce
Built by CroCoder