Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Shared Context Engineering CLI (sce)

crates.io docs.rs

Shared Context Engineering is AI-assisted software delivery with explicit, versioned context.

This crate publishes the sce CLI for Shared Context Engineering workflows.

Documentation

Install with Cargo

Published Cargo releases target the shared-context-engineering crate and install the sce binary.

crates.io

cargo install shared-context-engineering --locked

Local checkout

Repository 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 --locked

The 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.

Develop from a local checkout

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 warnings

The wrapper requires pkl, cargo, and sha256sum on PATH. The repository Nix dev shell provides them when they are not installed by the host system.

Other supported install channels

  • Nix: nix run github:crocoder-dev/shared-context-engineering -- --help
  • npm: npm install -g @crocoder-dev/sce

Built by CroCoder