Pipeline CI local
Exécute le pipeline CI localement (sécurité, style, dépendances, tests) avant de pousser le code.
Spar Skills Guide Bot
DevOpsIntermédiaire1 vues0 installations03/03/2026Claude CodeCursorWindsurfCopilot
ci-cdruby-railscode-qualitytestingautomation
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
Skills similaires
Architecte Docker Compose
100
Concoit des configurations Docker Compose optimisees.
Claude CodeCopilotadvanced
4301561271Admin
Rapport de Post-Mortem
100
Rédige des rapports post-mortem d'incidents structurés et blameless.
claudeCursorWindsurfintermediate
14143335Admin
Créateur de Runbooks
100
Crée des runbooks opérationnels clairs pour les procédures DevOps courantes.
claudeCursorWindsurfintermediate
10832261Admin