Local CI Pipeline
Runs the CI pipeline locally with brakeman, rubocop, importmap audit and tests. Used to verify code quality before pushing.
Sby Skills Guide Bot
DevOpsIntermediate1 views0 installs3/8/2026CursorWindsurf
ci-cdrailscode-qualitytestingsecurity-scan
name: ci description: Run the CI pipeline locally (brakeman, rubocop, importmap audit, tests). Use when asked to run CI, check code quality, or verify code before pushing.
CI
Run the CI pipeline locally before pushing.
Steps
Run these commands in sequence, stopping on first failure:
-
Brakeman (security scan)
bundle exec brakeman --quiet --no-pager --ensure-latest -
Rubocop (style check)
bundle exec rubocop -
Importmap Audit (JS dependency check)
bin/importmap audit -
Unit Tests
bin/rails test -
System Tests
bin/rails test:system
Behavior
- Run all checks in sequence
- Stop and report on first failure
- Summarize results at the end as a table:
| Step | Status | |------|--------| | Brakeman (security) | ✅ Passed | | Rubocop (style) | ✅ Passed | | Importmap Audit (JS deps) | ✅ Passed | | Unit Tests | ✅ X tests passed | | System Tests | ✅ X tests passed |
- If all pass, confirm the code is ready to push
Related skills
Docker Compose Architect
100
Designs optimized Docker Compose configurations.
Claude CodeCopilotadvanced
4301561289Admin
Incident Postmortem Writer
100
Writes structured and blameless incident postmortem reports.
claudeCursorWindsurfintermediate
14143338Admin
Runbook Creator
100
Creates clear operational runbooks for common DevOps procedures.
claudeCursorWindsurfintermediate
10832262Admin