### Install dev.kit using npm Source: https://github.com/udx/dev.kit/blob/latest/docs/installation.md Use this command to globally install the dev.kit package via npm. This is the recommended installation path when npm is available. ```bash npm install -g @udx/dev-kit ``` -------------------------------- ### Example Environment Configuration Source: https://github.com/udx/dev.kit/blob/latest/docs/environment-config.md An example YAML configuration file for dev.kit, demonstrating how to disable specific tools or credentials. ```yaml kind: envConfig version: udx.dev/dev.kit/v1 config: disabled_tools: - gh - docker disabled_credentials: - gh - aws ``` -------------------------------- ### Install dev.kit using curl Source: https://github.com/udx/dev.kit/blob/latest/docs/installation.md Use this command to install dev.kit if npm is not available or desired. The curl installer sets up the tool in `~/.udx/dev.kit` and creates an executable shim. ```bash curl -fsSL https://raw.githubusercontent.com/udx/dev.kit/latest/bin/scripts/install.sh | bash ``` -------------------------------- ### Example command to resolve repo context Source: https://github.com/udx/dev.kit/blob/latest/README.md Example command to trigger the resolution of repository and dependency context. ```bash dev.kit repo ``` -------------------------------- ### Install dev.kit using npm Source: https://github.com/udx/dev.kit/blob/latest/README.md Installs the dev.kit package globally using npm. ```bash npm install -g @udx/dev-kit ``` -------------------------------- ### Quick start commands Source: https://github.com/udx/dev.kit/blob/latest/README.md Basic commands to inspect environment and generate/refresh .rabbit/context.yaml. ```bash # make sure your dev.kit install is current first cd my-repo dev.kit # inspect environment and repo context status dev.kit repo # generate or refresh .rabbit/context.yaml ``` -------------------------------- ### Install dev.kit using curl Source: https://github.com/udx/dev.kit/blob/latest/README.md Installs the dev.kit using a shell script downloaded via curl. ```bash curl -fsSL https://raw.githubusercontent.com/udx/dev.kit/latest/bin/scripts/install.sh | bash ``` -------------------------------- ### Context Artifact Source: https://github.com/udx/dev.kit/blob/latest/docs/references/output-schemas.md Example file path for the context artifact. ```text .rabbit/context.yaml ``` -------------------------------- ### Example Gap Entry in context.yaml Source: https://github.com/udx/dev.kit/blob/latest/docs/context-coverage.md Illustrates a typical entry within the `gaps` section of `context.yaml`, detailing a missing configuration contract. ```yaml gaps: - factor: config status: missing message: No explicit configuration contract was detected. ``` -------------------------------- ### Versioned Manifest Header Example Source: https://github.com/udx/dev.kit/blob/latest/docs/smart-dependency-detection.md This YAML snippet demonstrates a versioned manifest header that can be normalized into a dependency repo contract when repository evidence is strong. ```yaml version: udx.io/worker-v1/deploy ``` -------------------------------- ### Repo Output Source: https://github.com/udx/dev.kit/blob/latest/docs/references/output-schemas.md Command to get the repo output schema. ```bash dev.kit repo --json ``` -------------------------------- ### Home Output Source: https://github.com/udx/dev.kit/blob/latest/docs/references/output-schemas.md Command to get the home output schema. ```bash dev.kit --json ``` -------------------------------- ### Environment Output Source: https://github.com/udx/dev.kit/blob/latest/docs/references/output-schemas.md Command to get the environment output schema. ```bash dev.kit env --json ``` -------------------------------- ### Uninstall dev.kit (interactive) Source: https://github.com/udx/dev.kit/blob/latest/docs/installation.md Removes the curl-managed installation of dev.kit. This command will prompt for confirmation. ```bash dev.kit uninstall ``` -------------------------------- ### Uninstall dev.kit using npm Source: https://github.com/udx/dev.kit/blob/latest/docs/installation.md Removes the globally installed dev.kit package using npm. ```bash npm uninstall -g @udx/dev-kit ``` -------------------------------- ### Uninstall dev.kit (non-interactive) Source: https://github.com/udx/dev.kit/blob/latest/docs/installation.md Removes the curl-managed installation of dev.kit without prompting for confirmation. ```bash dev.kit uninstall --yes ``` -------------------------------- ### Run the project Source: https://github.com/udx/dev.kit/blob/latest/tests/fixtures/docker-repo/README.md Executes the project using the Makefile run target. ```bash make run ``` -------------------------------- ### Build the project Source: https://github.com/udx/dev.kit/blob/latest/tests/fixtures/docker-repo/README.md Compiles the project using the Makefile build target. ```bash make build ``` -------------------------------- ### Test the project Source: https://github.com/udx/dev.kit/blob/latest/tests/fixtures/docker-repo/README.md Runs the test suite using the Makefile test target. ```bash make test ``` -------------------------------- ### Create or Update Environment Config Source: https://github.com/udx/dev.kit/blob/latest/docs/environment-config.md Use the --config flag to generate or update the environment configuration file located at $DEV_KIT_HOME/config/env.yaml. ```bash dev.kit env --config ``` -------------------------------- ### Run Default DevKit Command Source: https://github.com/udx/dev.kit/blob/latest/docs/how-it-works.md The default command to initiate the dev.kit process. It checks the environment, summarizes the context file status, and suggests next steps. ```bash dev.kit ``` -------------------------------- ### Inspect dev.kit environment capabilities Source: https://github.com/udx/dev.kit/blob/latest/docs/installation.md Use these commands to inspect or control environment capabilities directly. `dev.kit env` shows the current environment status, and `dev.kit env --config` displays the configuration. ```bash dev.kit env ``` ```bash dev.kit env --config ``` -------------------------------- ### DevKit Environment Command Source: https://github.com/udx/dev.kit/blob/latest/docs/how-it-works.md Use this command to inspect the current environment, including tools, authentication status, and local capabilities. This informs subsequent steps about what the machine can support. ```bash dev.kit env ``` -------------------------------- ### Run verification tests Source: https://github.com/udx/dev.kit/blob/latest/tests/fixtures/documented-shell-repo/README.md Executes the test suite using the provided shell script. ```bash bash tests/run.sh ``` -------------------------------- ### Run dev.kit commands locally Source: https://github.com/udx/dev.kit/blob/latest/docs/integration.md Execute these commands locally when actively editing the repo and local tools/auth are available. This ensures `dev.kit env` reflects your machine's capabilities. ```bash dev.kit dev.kit repo ``` -------------------------------- ### DevKit Repo Command Source: https://github.com/udx/dev.kit/blob/latest/docs/how-it-works.md Inspects repository-owned signals and writes the `.rabbit/context.yaml` file. This command is useful for refreshing the repository contract and can ensure a minimal baseline for new repositories. ```bash dev.kit repo ``` -------------------------------- ### Optional capability refresh Source: https://github.com/udx/dev.kit/blob/latest/README.md Command to refresh environment capabilities. ```bash dev.kit env ``` -------------------------------- ### Run core tests Source: https://github.com/udx/dev.kit/blob/latest/README.md This command runs the core test suite. ```bash bash tests/suite.sh --only core ``` -------------------------------- ### DevKit Command Roles Source: https://github.com/udx/dev.kit/blob/latest/docs/how-it-works.md Details the specific roles of the `env` and `repo` commands within the dev.kit suite. `env` checks the environment, while `repo` analyzes the repository and generates the context file. ```bash dev.kit env dev.kit repo ``` -------------------------------- ### Run Local UDX Matrix Source: https://github.com/udx/dev.kit/blob/latest/docs/real-repo-validation.md Execute the local UDX matrix using the script in tests/real-repos.sh. This command checks specified local repositories against the matrix defined in src/configs/repo-validation.yaml. ```bash bash tests/real-repos.sh --check ./reusable-workflows ./github-rabbit-action ``` -------------------------------- ### Run real repository validation Source: https://github.com/udx/dev.kit/blob/latest/README.md This command validates real repositories, specifying the paths to the repositories to check. ```bash bash tests/real-repos.sh --check /path/to/repo1 /path/to/repo2 ``` -------------------------------- ### Generate Context in Write Mode Source: https://github.com/udx/dev.kit/blob/latest/docs/real-repo-validation.md Generate .rabbit/context.yaml in the target repository using the write mode of the real-repos.sh script. This is intended for temporary clones or repositories where context regeneration is intentionally performed. ```bash tests/real-repos.sh --write ``` -------------------------------- ### Run worker smoke tests Source: https://github.com/udx/dev.kit/blob/latest/README.md This command executes smoke tests for the worker. ```bash bash tests/worker-smoke.sh ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.