Ci
Emit a CI workflow that runs the Plumbline lint and budget check on every PR. Supports GitHub Actions, GitLab CI, and pre-commit. Prints the workflow to stdout; user reviews and saves.From its SKILL.md
npx -y skills add fallguyconsulting/plumbline --skill ciAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.4 KB, as published. Nobody here has run it
/plumbline:ci
Generate a CI workflow that invokes Plumbline against the project. The workflow runs the lint (failing on any violation) and the budget check (failing if .plumbline-budget.json exists and the count has gone up).
Supported platforms
github—.github/workflows/plumbline.ymlfor GitHub Actionsgitlab— a.gitlab-ci.ymljob snippetpre-commit— a.pre-commit-config.yamlentry for the pre-commit framework
Usage
/plumbline:ci github
/plumbline:ci gitlab
/plumbline:ci pre-commit
Run
platform="${1:-}"
if [ -z "$platform" ]; then
node "${CLAUDE_PLUGIN_ROOT%/}/bin/plumbline" ci
exit 0
fi
node "${CLAUDE_PLUGIN_ROOT%/}/bin/plumbline" ci "$platform"
After the script runs
Surface the proposed workflow to the user. Propose saving it at the conventional location for the platform:
- GitHub Actions:
.github/workflows/plumbline.yml - GitLab CI: append the job to
.gitlab-ci.yml - pre-commit: append to
.pre-commit-config.yaml
The default templates clone plumbline from GitHub at lint time. For pinned versions or air-gapped CI, propose editing the git clone step to a specific tag or a vendored copy.