npx claudepluginhub mrpuls/local-ciRun CI/CD pipelines locally using Docker containers. Validate builds, run tests in isolated environments, and spin up infrastructure — all without pushing to remote.
Local CI is a tool that allows you to run CI/CD pipelines locally using Docker containers. It helps developers test and debug their CI pipelines without pushing to remote repositories.
docker --versionbrew install --cask MrPuls/local-ci/local-ci
Requires Go 1.21 or later (download).
go install github.com/MrPuls/local-ci/cmd/local-ci@latest
Download the latest binary for your platform from the releases page.
local-ci --version
# Run using default .local-ci.yaml in current directory
local-ci run
# Run with a specific config file using --config/-c flag
local-ci run --config my-pipeline.yaml
# Run a specific job using --job/-j
local-ci run --job JobName
# Or to run multiple jobs
local-ci run --job jobName1,JobName2
# Run jobs from a specific stage using --stage/-s
local-ci run --stage stageName
# Or use multiple stages
local-ci run --stage stageName1,stageName2
# Clone/update the repository and run it's local-ci.yaml with --remote/-r
local-ci run --remote <repository_url>
# Pass additional environment variables with --env/-e
local-ci run --env NEW_VAR=var_value,SECOND_VAR=new_value
Start Docker
Create a .local-ci.yaml file in your project root:
stages:
- build
- test
variables:
GLOBAL_VAR: global_value
Build:
stage: build
image: golang:1.21
variables:
GO_FLAGS: "-v"
script:
- echo "Building application..."
- go build $GO_FLAGS
cache:
key: go-build-cache
paths:
- .go/
- build/
Test:
stage: test
image: golang:1.21
script:
- echo "Testing with global var: $GLOBAL_VAR"
- go test ./...
cache:
key: go-build-cache
paths:
- .go/
local-ci run
# Define stages and their order
stages:
- build
- test
- deploy
# Global variables (available to all jobs)
variables:
GLOBAL_KEY: global_value
# Job definitions
job_name:
stage: build # Must match one of the defined stages
image: image_name
workdir: /path # Optional
variables: # Job-specific variables (override globals)
KEY: value
script:
- command1
- command2
cache: # Optional cache configuration
key: cache-key
paths:
- path/to/cache
- another/path
Local CI ships as a Claude Code plugin. Once installed, Claude Code can autonomously write pipeline configs, run them, and validate your code in real Docker environments.
Install the plugin
/plugin marketplace add MrPuls/local-ci
/plugin install local-ci@MrPuls-local-ci
See the Technical Reference for details.
Contributions are welcome! Please feel free to submit a Pull Request.
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Production-ready workflow orchestration with 84 marketplace plugins, 192 local specialized agents, and 156 local skills - optimized for granular installation and minimal token usage
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations